本文へ移動
cccskills
無料GitHub で公開

ghm-harvest

Extracts 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.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md4.5 KB
  • assets/harvest-log-template.md4.2 KB
  • references/examples.md5.2 KB
  • references/harvest-patterns.md7.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Harvest

Extract durable insights from temporary files to Source of Truth during EPIC Phase E (Finish).

Workflow Overview

  1. Enumerate Temps → List all temp/ files from current EPIC
  2. Identify SoT-worthy → Determine what should persist
  3. Format Entries → Convert to proper SoT templates
  4. Archive → Move temps to archive, update manifest

Core Output Template

ElementDefinitionEvidence
Temp FilesFiles processedList with paths
New SoT EntriesIDs createdBR-XXX, UJ-XXX, etc.
Archive ManifestWhat was archivedPaths and dates
DiscardedWhat was not keptReason for each

Harvest Decision Matrix

Content TypeActionDestination
Business rule discoveredExtractSoT/SoT.BUSINESS_RULES.md
User flow documentedExtractSoT/SoT.USER_JOURNEYS.md
API design finalizedExtractSoT/SoT.API_CONTRACTS.md
Customer feedback capturedExtractSoT/SoT.customer_feedback.md
Session notesArchive onlyarchive/YYYY-MM/
Scratch workDiscardDelete after review

Step 1: Enumerate Temp Files

  1. Read EPIC Execution Plan for temp file references
  2. List all files in temp/ directory
  3. Match temps to EPIC (by date or naming)

Checklist

  • All EPIC-referenced temps identified
  • Temp directory scanned
  • Files categorized by content type

Step 2: Identify SoT-Worthy Content

For each temp file, evaluate:

QuestionIf YesIf No
Is this a business rule?Extract as BR-XXXContinue
Is this a user flow?Extract as UJ-XXXContinue
Is this an API design?Extract as API-XXXContinue
Is this customer evidence?Extract as CFD-XXXContinue
Is this useful context?ArchiveContinue
Is this scratch work?Discard-

Checklist

  • Each temp file evaluated
  • Extract/Archive/Discard decision made
  • Decisions documented

Step 3: Format SoT Entries

For each extracted item:

  1. Generate appropriate ID using ghm-id-register
  2. Format per SoT template
  3. Add cross-references
  4. Insert into correct SoT file

Entry Template

### [ID]: [Title]

**Status**: Active
**Created**: YYYY-MM-DD
**Source**: temp/[filename].md (EPIC-XX)
**Cross-References**: [Related IDs]

[Extracted content, properly formatted]

Checklist

  • All extracts have valid IDs
  • Formatting matches SoT templates
  • Cross-references verified

Step 4: Archive and Cleanup

  1. Create archive directory: archive/YYYY-MM/
  2. Move processed temps to archive
  3. Generate manifest
  4. Update EPIC Phase E checklist

Archive Manifest Template

## Archive Manifest: EPIC-XX

**Date**: YYYY-MM-DD
**Archived To**: archive/YYYY-MM/

### Extracted to SoT
| Temp File | New ID | SoT File |
|-----------|--------|----------|
| temp/file.md | BR-XXX | SoT.BUSINESS_RULES.md |

### Archived Only
| Temp File | Reason |
|-----------|--------|
| temp/notes.md | Session context |

### Discarded
| Temp File | Reason |
|-----------|--------|
| temp/scratch.md | No durable value |

Quality Gates

Pass Checklist

  • All temps processed (none orphaned)
  • Extracted content has valid IDs
  • Archive manifest is complete
  • EPIC Phase E checklist updated

Testability Check

  • SoT entries are findable by ID
  • Archive manifest matches actual files
  • Temp directory is clean

Anti-Patterns

PatternExampleFix
Orphan tempsTemps not in manifest→ Process all files
Lost contextArchive without manifest→ Always create manifest
Over-extractionEverything becomes SoT→ Apply decision matrix
Under-extractionValuable insights lost→ Review before discard

Boundaries

DO:

  • Extract durable insights
  • Format per templates
  • Create complete manifests
  • Clean up temps

DON'T:

  • Create new analysis
  • Modify conclusions
  • Skip the manifest
  • Delete without review

Handoff

After harvest completes:

  • SoT files updated with new entries
  • Temps archived with manifest
  • EPIC Phase E marked complete
  • Ready to close EPIC

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Validates 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`.

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

Validates 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.

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo. Runs an interactive wizard that seeds the framework (.claude/ hooks, skills, agents, rules, scripts) without clobbering product content. Triggers on "install the methodology", "adopt this into my repo", "self-install", "set up PRD lifecycle here", "onboard existing project". Outputs an installed framework + a verification report.

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

Creates 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.

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

Synchronizes 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.

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

Detect 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".

日本語の概要は準備中です。原文の説明を表示しています。

mattgierhart/PRD-driven-context-engineering1812026年8月31日 更新

mattgierhart のスキルをすべて見る

このスキルの問題を報告する