From agentflow
Convert a SPEC.md into a structured Kanban board with atomic tasks, dependencies, and acceptance criteria. Detects which PM tool MCP is available and adapts automatically.
npx claudepluginhub urrhb/agentflowThis skill uses the workspace's default tool permissions.
Convert a product spec into a fully structured Kanban project board for the AgentFlow pipeline.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
Convert a product spec into a fully structured Kanban project board for the AgentFlow pipeline.
This skill works with any supported PM tool. It detects which MCP is available:
The skill uses adapter-neutral language. See core/adapters/interface.md for mapping.
Before running, you need:
conventions.mdIf a SPEC.md path is provided as argument, read it.
If no argument provided, ask the user:
docs/specs/ directoryDetermine project code: Check conventions.md for existing codes. If new project, ask user for 3-letter code.
Read the project's file structure:
Glob: **/*.ts, **/*.tsx, **/*.js pattern in the project directory
This gives predicted files context for decomposition.
Read package.json: Get current dependencies (needed for research trigger evaluation).
Select model cost profile: Ask the user: "Which Claude model will workers use? (sonnet/opus)" This sets the cost profile in conventions.md (affects cost ceilings and guardrails).
Read the decomposition prompt: prompts/decompose.md
For each phase/section in the SPEC.md:
Run the decomposition validator (from decompose.md) BEFORE creating anything in the PM tool:
rm -rf, no eval, no sudo.If validation fails, fix the decomposition. Do NOT proceed with invalid tasks.
Step 1: Create the project
Create the project with 8 sections:
project_name: "[SDLC] <CODE> Phase <N> - <Phase Title>"
sections:
- name: "0 - Needs Human"
tasks: []
- name: "1 - Backlog"
tasks: [... all atomic tasks ...]
- name: "2 - Research"
tasks: []
- name: "3 - Build"
tasks: []
- name: "4 - Review"
tasks: []
- name: "5 - Test"
tasks: []
- name: "6 - Integrate"
tasks: []
- name: "7 - Done"
tasks: []
Each task in the Backlog section includes the full description template from conventions.md.
Step 2: Set dependencies
After project creation, set dependencies between tasks using the PM tool's API. Batch updates where possible.
Step 3: Create pinned Status task
Create a task in "0 - Needs Human" section:
name: "SDLC Status"
description: |
[STATUS] [SPEC_HASH:<sha256 of SPEC.md>]
---
## System Status
Active: 0 tasks
Completed: 0/<total> tasks
Total retries: 0
Est. cost: ~$0
Blocked: 0
ETA: not started
This serves as the dashboard and spec drift detector.
Step 4: Add decomposition summary comment
Post a comment on the Status task:
## Decomposition Summary
Phase: <phase title>
Total tasks: <N>
Sub-phases: <N>
Dependencies: <N edges>
Research required: <N tasks>
Estimated total cost: ~$<N>
### Dependency Graph
<sub-phase groupings showing parallel tracks>
### Risk Assessment
- Highest-dependency task: [CODE-NNN] (blocks N others)
- Longest chain: [CODE-001] → [CODE-003] → [CODE-007] (3 deep)
- Shared-file serializations: N
Show the user:
Ask: "Board created. Want me to start the workers, or do you want to review the board first?"