PTENES
TRACK 3

🚀 Advanced use

Composing skills, customizing them, and integrating with other agents.

3
Modules
18
Topics
~1h50
Duration
Advanced
Level

Track map

Detailed content

3.1 ~35 min

🧩 Skill composition

Skills become pipelines when you chain them — one output feeds the next.

What is:

Typical ways to chain skills — sequential, parallel, conditional — each with its own trigger.

Why learn:

Without a standard, you reinvent the pipeline with every feature. Named patterns speed up decisions.

Key concepts:

Pipeline, fan-out/fan-in, gate, orchestration.

What is:

Matt's default workflow — alignment becomes a PRD, then issues, then TDD cycles until merge.

Why learn:

It’s the living example of composition. Reproducing the flow delivers immediate results.

Key concepts:

Handoff, output contract, canonical flow.

What is:

A skill that orchestrates other skills — used when the same sequence repeats across multiple projects.

Why learn:

A macro too early is premature abstraction. Too late, and you get pipeline copy-paste.

Key concepts:

Rule of three, timely abstraction, composer skill.

What is:

Skills don’t store state — CONTEXT.md is the memory channel between them within the project.

Why learn:

Without shared state, each skill relearns the domain. With CONTEXT.md, you get continuity.

Key concepts:

Persistence, documentary contract, single source of truth.

What is:

Overly long chains, skills with overlapping scope, cyclic dependencies.

Why learn:

Detecting early prevents a fragile pipeline no one understands.

Key concepts:

Overcoupling, fuzzy scope, cycles, prompt explosion.

What is:

Refactoring case: /zoom-out → /improve-codebase-architecture → /to-issues → /tdd → review.

Why learn:

Seeing the full composition in a real-world problem makes the pattern stick.

Key concepts:

Safe refactoring, real chaining, intermediate gates.

3.2 ~40 min

✏️ Customizing skills

Take the skill and make it your own — no unnecessary fork, no losing upstream.

What is:

File anatomy: YAML front matter (name, description, triggers) and Markdown body with instructions.

Why learn:

Without understanding the structure, customization breaks skill loading.

Key concepts:

Frontmatter, body, required sections, parser.

What is:

Fields that determine when the agent loads the skill—phrases, contexts, and explicit triggers.

Why learn:

Bad trigger = the skill never fires or always fires. Weak description = the agent ignores it.

Key concepts:

Trigger phrase, description, scope, false positive.

What is:

Skills have templates (PRD, ADR, issue). Editing templates adjusts output without changing the logic.

Why learn:

Cheaper and safer customization — you change the form, keep the behavior.

Key concepts:

Template, output contract, sections, placeholders.

What is:

Fork = independent copy; override = a local skill with the same name overrides the global one in that project.

Why learn:

A fork loses upstream. An override keeps updates. The wrong decision becomes costly later.

Key concepts:

Local/global scope, precedence, upstream, drift.

What is:

Treating the skills directory as a repo—with branches, PRs, reviews, and a changelog for changes.

Why learn:

Without version control, customization becomes ".skill.bak.final.v2". The team loses traceability.

Key concepts:

Skills as code, semver, changelog, skill review.

What is:

Walkthrough adapting /grill-with-docs to a specific domain—its own terms, questions, and references.

Why learn:

Seeing a real customization eases the fear of changing an "official" skill.

Key concepts:

Domain fit, local prompt, specific refs, minimal fork.

3.3 ~35 min

🤝 Integration with other agents

Claude Code, Codex, Cursor—one skill for all, no rewriting.

What is:

Each agent loads skills differently. Map what’s portable versus what’s specific.

Why learn:

Maintaining N versions of the same skill is unsustainable. Knowing what’s common reduces duplication.

Key concepts:

Runtime, portability, capability matrix, surface area.

What is:

A skill that packages a SKILL.md in a portable format and outputs it for Claude Code, Codex, and others.

Why learn:

Build once, run anywhere — without polyskill, you maintain N divergent copies.

Key concepts:

Source of truth, transpile, adapter, runtime target.

What is:

Slash commands, hooks, MCP, permissions — each runtime exposes a subset. Know which ones break portability.

Why learn:

A skill that assumes a Claude Code hook won’t work in Codex. Mapping gaps beforehand avoids confusing debugging.

Key concepts:

Hook, MCP, slash command, permission, sandbox.

What is:

Expose skills through an MCP server — any compatible agent can use them without installing them locally.

Why learn:

The whole team uses the same skill version, updated centrally.

Key concepts:

MCP server, tool, manifest, dynamic discovery.

What is:

Run skills in pipelines (GitHub Actions, GitLab CI) — automated review, linting, and doc updates.

Why learn:

A skill in CI becomes a reliable gate. It goes from “if you remember to run it” to “it always runs.”

Key concepts:

Pipeline, gate, headless agent, artifact, idempotency.

What is:

Workflow that runs /tdd on new PRs—the agent generates a failing test, implements the fix, and opens a commit.

Why learn:

A hands-on project wraps up the learning path: everything you learned runs without you opening the IDE.

Key concepts:

Workflow YAML, secret, agent runner, PR automation.