Skip to content
Documentation
Skill

/SKILL_TEMPLATE

[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].

From plugin
prd-driven-context-engineering
193100 skills7 agents
Install
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill SKILL_TEMPLATE --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/SKILL_TEMPLATE

Context preview

The summary Claude sees to decide when to auto-load this skill.

[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].

SKILL.md

SKILL_TEMPLATE.SKILL.md
name: prd-vXX-skill-name
description: >
  [1-2 sentence description of what this skill does].
  Triggers on [specific phrases/contexts that should activate this skill].
  Outputs [what the skill produces].
context: fork
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep

[Skill Name]

[One sentence summary of the skill's purpose.]

Workflow Overview

1. **Step 1** → Brief description 2. **Step 2** → Brief description 3. **Step 3** → Brief description

Core Output Template

[Define the primary output structure this skill produces]

| Element | Definition | Evidence | |---------|------------|----------| | **Field 1** | What this captures | How to validate | | **Field 2** | What this captures | How to validate |

See `assets/output-template.md` for copy-paste template.

Step 1: [First Major Step]

[Detailed instructions for this step]

Checklist

  • [ ] Item 1
  • [ ] Item 2

Step 2: [Second Major Step]

[Detailed instructions for this step]

Step 3: [Third Major Step]

[Detailed instructions for this step]

Quality Gates

Pass Checklist

  • [ ] Gate 1: [Specific, measurable criterion]
  • [ ] Gate 2: [Specific, measurable criterion]
  • [ ] Gate 3: [Specific, measurable criterion]

Testability Check

  • [ ] Can this output be validated?
  • [ ] Does it reference IDs from SoT/?

> **How this is evaluated**: This skill's output is scored by `scripts/readiness.py` (a deterministic, $0, no-LLM proxy). Clearing a gate is permission to advance, not the goal — the goal is evidence. Padding inputs to move the score without moving the evidence is a *frozen-replay defect*. See [`PRINCIPLES.md` P7](../PRINCIPLES.md).

Anti-Patterns

| Pattern | Example | Fix | |---------|---------|-----| | Bad pattern 1 | "Example" | → "Better approach" | | Bad pattern 2 | "Example" | → "Better approach" | | Evidence fabrication | Back-filling confidence/evidence to clear a gate | → Cite a real source or mark the gap; never invent to pass (P4 anti-leakage, P7) |

Bundled Resources

  • **`references/[file].md`** — [Description of when to use]
  • **`assets/[template].md`** — [Description of template purpose]

Handoff

[What happens after this skill completes? What stage/skill comes next?]

Read more
Ships withprd-driven-context-engineering

PRD-driven Context Engineering: A systematic approach to building AI-powered products using progressive documentation and context-aware development workflows

Get the whole plugin