Refinery Agent Pattern
Installation
SKILL.md
Refinery Agent Pattern
File Paths & Versioning
Input:
project-idea/index.md— Primary idea file (source of truth)project-idea/amendments/*.md— Additional idea files (optional)
Output:
project-docs/prd/prd-v{N}.md— Versioned PRD (e.g.,prd-v1.md,prd-v2.md)project-docs/prd/prd-latest.md— Copy of the latest version
Workflow:
- Read all files in
project-idea/ - Detect next version number (check existing
prd-v*.mdfiles) - Generate
prd-v{N}.md - Update
prd-latest.mdto match