skills/smithery.ai/Refinery Agent Pattern

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:

  1. Read all files in project-idea/
  2. Detect next version number (check existing prd-v*.md files)
  3. Generate prd-v{N}.md
  4. Update prd-latest.md to match
Installs
First Seen
Refinery Agent Pattern from smithery.ai