Agent Skill
2/7/2026

understanding-specs

Read all specs for a story, feature, or capability including PRDs, TRDs, ADRs, and PDRs. Use when starting implementation, checking progress, or asked to "read the spec".

S
simonheimlicher
1GitHub Stars
1Views
npx skills add simonheimlicher/spx-claude

SKILL.md

Nameunderstanding-specs
DescriptionRead all specs for a story, feature, or capability including PRDs, TRDs, ADRs, and PDRs. Use when starting implementation, checking progress, or asked to "read the spec".

name: understanding-specs description: Read all specs for a story, feature, or capability including PRDs, TRDs, ADRs, and PDRs. Use when starting implementation, checking progress, or asked to "read the spec". allowed-tools: Read, Glob, Grep

<accessing_skill_files> When this skill is invoked, Claude Code provides the base directory in the loading message:

Base directory for this skill: {skill_dir}

Use this path to access skill files:

  • References: {skill_dir}/references/
  • Workflows: {skill_dir}/workflows/

IMPORTANT: Do NOT search the project directory for skill files. </accessing_skill_files>

<essential_principles> COMPLETE CONTEXT OR ABORT. NO EXCEPTIONS.

  • Every work item requires its spec file (.capability.md, .feature.md, .story.md)
  • Missing spec file = ABORT immediately with clear error
  • PRD/TRD are optional enrichment - read if present, offer to create spec from them if spec is missing
  • Read order: Product → Capability → Feature → Story (top-down)
  • All ADRs and PDRs at all levels must be read and understood
  • This skill runs BEFORE any implementation work begins

</essential_principles>

<objective> Verify and load complete hierarchical context for a work item by reading all specification documents from product level down to the target work item. Fails fast with actionable errors when required documents are missing. Ensures implementation skills have complete context including all constraints (ADRs), product decisions (PDRs), requirements (PRD/TRD), and specifications before starting work. </objective>

<quick_start> Invoke with FULL work item path:

# ALWAYS use full path (REQUIRED)
/understanding-specs capability-10_cli/feature-20_commands/story-30_build

🚨 NEVER use bare story/feature numbers - BSP numbers are sibling-unique, not globally unique:

# ❌ WRONG: Ambiguous - which story-30?
/understanding-specs story-30_build

# ✅ CORRECT: Unambiguous full path
/understanding-specs capability-10_cli/feature-20_commands/story-30_build

The skill will:

  1. Locate the work item in specs/work/
  2. Read all documents from product level down to target
  3. Fail immediately if any required document is missing
  4. Output structured context summary when complete

</quick_start>

<intake> Provide the **FULL work item path** you're working on:
  • Full path (REQUIRED): capability-NN_slug/feature-NN_slug/story-NN_slug

🚨 BSP numbers are sibling-unique, not globally unique.

❌ WRONG (Ambiguous)✅ CORRECT (Unambiguous)
"story-30_build""capability-10_cli/feature-20_commands/story-30_build"
"implement feature-20""implement capability-10_cli/feature-20_commands"

The skill will locate and verify all documents in the hierarchy. </intake>

<routing> All inputs route to: `workflows/ingest-context.md`

This skill has a single workflow that handles all context ingestion. </routing>

<reference_index> Detailed patterns and error handling:

FilePurpose
references/abort-protocol.mdError messages and remediation guidance
references/document-types.mdRequired documents at each level

</reference_index>

<workflows_index>

WorkflowPurpose
workflows/ingest-context.mdHierarchical document verification

</workflows_index>

<success_criteria> Context ingestion succeeds when:

  • Work item located in specs/work/
  • Product guide (specs/CLAUDE.md) read
  • All product ADRs and PDRs read
  • Capability spec exists and read
  • Capability PRD/TRD read if present (optional enrichment)
  • All capability ADRs and PDRs read
  • Feature spec exists and read (if working on feature/story)
  • Feature PRD/TRD read if present (optional enrichment)
  • All feature ADRs and PDRs read
  • Story spec exists and read (if working on story)
  • Structured context summary generated with document count and decision record list

</success_criteria>

Skills Info
Original Name:understanding-specsAuthor:simonheimlicher