From forge
Generate development plans with Sprint Contracts, dependency graphs, and task breakdowns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate development plans with Sprint Contracts, dependency graphs, and task breakdowns.
Generate development plans with Sprint Contracts, dependency graphs, and task breakdowns.
/forge:setup first if it does not)Run these 6 phases in order.
CLAUDE.md exists. If not, warn: "No CLAUDE.md found. Run /forge:setup first, or proceed with manual stack info?"
plans/ folder exists. If it does:
plans/README.md to get the current plan versionScan the codebase to understand what already exists. This determines which features are "done" vs "to build".
Frontend scan:
app/ or src/app/ — existing pages and routescomponents/ — existing UI componentshooks/ — custom hookslib/ or utils/ — utility functionspublic/ — static assetsBackend scan:
Controllers/ — existing API endpointsModels/ or Entities/ — data modelsServices/ — business logicMigrations/ — database stateDTOs/ — data transfer objectsInfrastructure scan:
Build an internal ExistingState object:
{
pages: ["home", "about", "contact"],
components: ["Header", "Footer", "Navigation"],
apiEndpoints: ["/api/auth", "/api/products"],
models: ["User", "Product"],
hasAuth: true,
hasDatabase: true,
hasCICD: false,
hasDeployment: false
}
${CLAUDE_PLUGIN_ROOT}/references/archetypes/{projectType}.mdExistingState## Feature Proposal
Based on your project type (Portfolio) and current state:
| # | Feature | Status | Sprint |
|---|---------|--------|--------|
| 1 | Foundation (layout, nav, theme) | DONE | - |
| 2 | Core Pages (home, about, work) | PARTIAL | Sprint 1 |
| 3 | Content System (Sanity CMS) | TODO | Sprint 2 |
| 4 | i18n (EN/KA) | TODO | Sprint 3 |
| 5 | Polish (animations, SEO, perf) | TODO | Sprint 4 |
| 6 | Launch (deploy, analytics, OG) | TODO | Sprint 5 |
Customize? (add / remove / reorder / proceed)
For each TODO/PARTIAL feature, generate a detailed breakdown:
Present each feature for user confirmation before generating:
## Feature: Content System (Sanity CMS)
**Dependencies:** Foundation (DONE), Core Pages (PARTIAL)
**Estimated effort:** 8-12 hours
### Tasks
1. Initialize Sanity project and configure studio
2. Define schemas (Project, BlogPost, SiteSettings)
3. Set up GROQ queries for each content type
4. Create content components (PortableText renderer, Image pipeline)
5. Connect pages to Sanity data source
6. Set up preview mode for draft content
7. Configure Sanity webhook for ISR/revalidation
8. Seed initial content
### Acceptance Criteria
- All pages render content from Sanity
- Images optimized through Sanity CDN pipeline
- Preview mode works for draft content
- Content editors can manage site from Sanity Studio
Approve? (yes / edit)
Generate the following file structure:
plans/
├── README.md — Master plan with version, status table, timeline
└── v{N}/
├── DEPENDENCY_GRAPH.md — ASCII dependency tree showing feature order
├── 01-{feature-slug}/
│ ├── PLAN.md — Sprint Contract
│ └── dependencies.md — Upstream and downstream dependencies
├── 02-{feature-slug}/
│ ├── PLAN.md
│ └── dependencies.md
└── ...
README.md — Use template from ${CLAUDE_PLUGIN_ROOT}/templates/plan-md.md:
DEPENDENCY_GRAPH.md — Use template from ${CLAUDE_PLUGIN_ROOT}/templates/dependency-graph.md:
Sprint Contract (PLAN.md) — Use template from ${CLAUDE_PLUGIN_ROOT}/templates/sprint-contract.md:
dependencies.md — For each feature:
Print a final summary:
## Plan Generated
- Version: v{N}
- Features: {N} total ({done} done, {partial} partial, {todo} to build)
- Sprints: {N}
- Estimated total effort: {hours} hours
- Critical path: {feature} → {feature} → {feature}
Files created:
plans/README.md
plans/v{N}/DEPENDENCY_GRAPH.md
plans/v{N}/01-{feature}/PLAN.md
plans/v{N}/01-{feature}/dependencies.md
...
Start building with Sprint 1. Each Sprint Contract has a task checklist — work through them in order.
npx claudepluginhub shavidze/forge --plugin forgeGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.