/prd-ce:ghm-self-installfrom PRD-Driven Context Engineering
Installs the PRD-Driven Context Engineering methodology into any repository via an interactive wizard that seeds .claude/ hooks, skills, agents, and scripts without overwriting existing product content.
Ships in PRD-Driven Context Engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Install the methodology into a target repo from the install manifest, the way Xantham's blueprint installs from markdown: the agent runtime is the installer, so the whole thing runs inside your Claude Code subscription — no API key, no metered calls, no service to stand up.
Two paths, one manifest. This skill is the interactive path.
install.shis the deterministic CLI path. Both read.claude/install-manifest.yaml, so they can't drift. Prefer drivinginstall.shfrom this skill; fall back to manual copies only when the script isn't reachable.
.claude/install-manifest.yaml — authoritative framework / template_seed /
never_touch lists (the keystone; never hardcode file lists).install.sh — the deterministic installer this skill normally drives.ghm-template-sync Phase "Safety Rules" — never overwrite
MEMORY.md, SoT/*, PRD.md, README.md content.readiness.py runs).git, python3, awk are present; warn if the target isn't a git repo..claude/) vs brownfield (existing .claude/).
Brownfield means merge, never overwrite product.Ask only what changes the outcome (honor the execution mode's budget):
product (default) · library · infrastructure · research.[standard+]: keep all 4 agents + all skills (default), or trim to a role
subset. Quick mode skips this and installs everything.install.sh)Run the deterministic installer so behavior matches the CLI path exactly:
bash install.sh --target <DIR> --profile <PROFILE> # add --dry-run to preview
--dry-run plan first [standard+], then execute.--force
after the user confirms (mirrors ghm-template-sync "show diff before destructive").never_touch list.verify-blueprint.sh analog).claude/hooks/*.sh in the target; assert valid JSON on stdout.python scripts/readiness.py run — a non-zero exit on an empty scaffold is the
expected BLOCK gate (no content yet), not a failure. Report the score.README.md + PRD.md, then "Let's frame the problem".| Pattern | Fix |
|---|---|
| Hardcoding the file list in the skill | Read .claude/install-manifest.yaml |
Overwriting a brownfield repo's PRD.md/SoT | Honor never_touch; seed templates once |
| Treating readiness BLOCK on a fresh scaffold as a bug | It's the gate working — report the score |
Re-implementing copy logic instead of driving install.sh | One code path = no drift |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mattgierhart/prd-driven-context-engineering --plugin prd-ce50 skills in this plugin
/ghm-gate-checkValidates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS / WARN / BLOCK verdict with top blockers and their causal chain. Triggers before advancing from v0.X to v0.Y or explicit `/ghm-gate-check`.
/ghm-harvestExtracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT entries and archive manifest.
/ghm-id-registerValidates and registers new SoT IDs with cross-reference integrity. Triggers when creating BR-XXX, UJ-XXX, API-XXX, or CFD-XXX entries. Outputs formatted SoT entry with validated cross-references.
/ghm-sot-builderCreates new Source of Truth (SoT) files when existing templates don't fit your needs. Triggers on requests to create a new SoT file, add a new artifact type, or when user says "I need to track [X] but there's no SoT for it", "create SoT", "new source of truth". Outputs a properly structured SoT.*.md file with ID prefix, frontmatter, and update protocol.
/ghm-status-syncSynchronizes README.md Command Center with current project state. Triggers on gate changes, EPIC status changes, or explicit `/ghm-status-sync` invocation. Outputs updated README.md dashboard with current lifecycle stage, blockers, and metrics.
/ghm-template-syncDetect template version drift and guide migration to the latest template version. Compares current repo against the template, identifies what's outdated, and automates safe updates while protecting product-specific content. Triggers on requests to sync with template, update template version, check for template drift, or when user asks "sync template", "update to v3", "template drift", "check template version".
Other plugins' skills for the same job