From PRD-Driven Context Engineering
Creates new Source of Truth (SoT) files when existing templates don't fit. Guides schema design, template drafting, and registration for durable project artifacts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prd-ce:ghm-sot-builderThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create new Source of Truth files that fit your product's unique needs while maintaining template purity.
Create new Source of Truth files that fit your product's unique needs while maintaining template purity.
This skill is for rare occasions (3-4 times per product lifecycle) when:
Do NOT use when:
temp/ instead)ghm-id-registerSee assets/sot-template.md for the copy-paste starter template.
| Element | Definition | Required |
|---|---|---|
| YAML Frontmatter | version, purpose, id_prefix, authority | Yes |
| Purpose Block | Single paragraph explaining what this tracks | Yes |
| Navigation Section | Category links for quick access | Yes |
| Entry Template | Repeatable structure for each ID | Yes |
| Cross-Reference Index | Bidirectional links to other SoT files | Yes |
| Update Protocol | When/how to add new entries | Yes |
Before creating a new SoT, verify:
What artifact type does this track?
Why can't existing SoT files handle this?
What ID prefix will you use?
SoT/SoT.UNIQUE_ID_SYSTEM.md for existing prefixesDefine the structure before writing:
Format: [PREFIX]-[XXX]
Examples: PIC-001, INT-042, MIG-003
Rules:
SoT/SoT.UNIQUE_ID_SYSTEM.mdReserve ID ranges for logical groupings:
**Category A** (XXX-001 to XXX-099):
**Category B** (XXX-101 to XXX-199):
**Category C** (XXX-201 to XXX-299):
Define the minimum fields every entry needs:
| Field | Purpose | Example |
|---|---|---|
| ID | Unique identifier | PIC-001 |
| Title | Human-readable name | "Stripe Payment Integration" |
| Status | Current state | Active / Deprecated / Planned |
| Created | Origin date | 2025-01-10 |
| Last Updated | Last modification | 2025-01-15 |
| Related IDs | Cross-references | BR-101, API-045 |
Add domain-specific fields as needed, but keep them structural (not methodology):
Use assets/sot-template.md as your starting point.
KEEP in the template (self-documentation):
MOVE to skill references (methodology teaching):
For each section, ask:
"Is this teaching me how to maintain the FILE STRUCTURE, or teaching me DOMAIN KNOWLEDGE about what makes good content?"
Before finalizing, run this checklist:
After creating the SoT file:
Add entry to the structure table:
| `SoT.{YOUR_FILE}.md` | {PREFIX}-### | {Purpose description} |
Add new prefix to Section 1.2 Standard Prefixes:
| **{PREFIX}** | {Meaning} | `SoT.{YOUR_FILE}.md` |
Add empty index table in Part 2 of SoT.UNIQUE_ID_SYSTEM.md:
#### {Your Type} ({PREFIX}-XXX)
| ID | Title | Status | Used By |
|----|-------|--------|---------|
| {PREFIX}-001 | {Title} | Active | {IDs} |
| Pattern | Example | Fix |
|---|---|---|
| Methodology in template | "Best practices for partner selection" | Move to skill references |
| Duplicate prefix | Using BR- for a new file | Choose unique prefix |
| Too generic | "Notes.md" | Be specific: "Partner_Integrations.md" |
| No update protocol | Template with no maintenance section | Add "Update Protocol" section |
| Orphan SoT | Not registered in SoT.README.md | Always register new files |
references/sot-patterns.md — Common patterns across existing SoT filesreferences/examples.md — Before/after examples of SoT creationassets/sot-template.md — Copy-paste starter templateAfter creating a new SoT:
SoT/SoT.{NAME}.mdghm-id-register for adding entriesnpx claudepluginhub mattgierhart/prd-driven-context-engineering --plugin prd-ceProvides template patterns, maturity lifecycles, and naming conventions for knowledge storage, documentation systems, and configuration management.
Guides project documentation structure, content requirements, and best practices. Includes templates for README, ARCHITECTURE, API docs, and change history.
Structures Standard Operating Procedures (SOPs) with core sections (Title, Overview, Parameters, Steps), .sop.md naming conventions, and markdown formatting best practices. Use for consistent workflow documentation.