planning
Skill56 starsChanged 8 months agoMITView on GitHub
Decompose approved specs into ordered task frontiers with dependency DAGs, token estimates, and repo tags
43 other projects use a version of this.
Adopted by
Most recently taken up by
- iliaal/ai-skillstheir own version, first seen Oct 3, 2026
- nivoset/skillstheir own version, first seen Oct 2, 2026
- F-e-u-e-r/skillstheir own version, first seen Sep 23, 2026
- mxrsv/agents-skillstheir own version, first seen Sep 19, 2026
- gener8v/gener8v.claude-skillstheir own version, first seen Sep 15, 2026
- mblode/agent-skillstheir own version, first seen Sep 11, 2026
Used with
Projects with it also use media-processing, repomix and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 3 projects that use this
mrgoonieSkillrepomix
Package entire code repositories into single AI-friendly files using Repomix. Capabilities include pack codebases with customizable include/exclude patterns, generate multiple output formats (XML, Markdown, plain text), preserve file structure and context, optimize for AI consumption with token counting, filter by file types and directories, add custom headers and summaries. Use when packaging codebases for AI analysis, creating repository snapshots for LLM context, analyzing third-party libraries, preparing for security audits, generating documentation context, or evaluating unfamiliar codebases.
Also in 3 projects that use this
truongtv22Skillmobile-development
Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.
Also in 3 projects that use this
ShopifySkillshopify
Build anything on Shopify. One skill covering every Shopify developer surface: Use Shopify CLI, Admin API, ShopifyQL, Storefront GraphQL API, Partner API, Customer Account API, Payments Apps API, Shopify Functions, Polaris App Home, Polaris Admin Extensions, Polaris Checkout Extensions, Polaris Customer Account Extensions, POS UI, Hydrogen, Liquid, Custom Data, Shopify App Pricing, App Store Review, Developer Onboarding, Merchant Onboarding. Use it for any Shopify API, extension, theme, storefront, function, or CLI task — writing or explaining code, looking up operations, fields, components and valid values, validating generated code, and choosing which surface a request belongs to. Also use it when someone asks to make, build, open, or set up a store or shop that sells something, and when a prompt mentions or asks for any of: metafields or metaobjects, make me a store that sells pet supplies, mock.shop reference stores, build a storefront without an account — even without saying Shopify.
Also in 3 projects that use this
AnthropicSkillmemory-management
Two-tier memory system that makes Claude a true workplace collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Claude understands requests like a colleague would. CLAUDE.md for working memory, memory/ directory for the full knowledge base.
Also in 3 projects that use this
BlockSkilldebugging
Debugging guidelines and best practices
Also in 7 projects that use this
- +4 more from mrgoonie
Other versions43 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 43
- langchain-ai/deepagents★ 30ksame name
- open-metadata/OpenMetadata★ 15ksame name
- awslabs/agent-plugins★ 910same name
- markmdev/meridian★ 185same name
- mblode/agent-skills★ 142same name
- Towow-ai/Flowness★ 105same name
- duongthinh03/portfolio★ 85same name
- iliaal/ai-skills★ 43same name
- neuron-one/GODMODE★ 33same name
- Hongyu-yu/matsci-ai-skills★ 19same name
33 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- backpropagationSkill
- brainstormingSkill
- caveman-internalSkill
- collaboratingSkill
- design-systemSkill
- executingSkill
- graphify-integrationSkill
- karpathy-guardrailsSkill
- reviewingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 8 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read the file and parse its YAML frontmatter
- Very specific: line 26
Verify status: approved — skip any spec that is not approved
- Very specific: line 45
Knowledge Graph: If graphify-out/graph.json exists, load it and extract:
- Very specific: line 52
Design System: If the spec has a design: field or DESIGN.md exists in the project root, load it.
- Distinctive: line 70
After receiving each frontier from the planner agent:
- Distinctive: line 72
Requirement coverage: Verify every R-number from the spec maps to at least one task.
- Very specific: line 73
Dependency validity: Verify all depends: references point to real task IDs.
- Very specific: line 75
Repo ordering: If cross_repo_rules.api_first is true, API tasks in the same tier must be listed before frontend tasks.
- Distinctive: line 76
Task count: Verify the task count falls within the depth range (e.g., 6-12 for standard).
- Distinctive: line 77
Token estimates: Verify per-task estimates are reasonable for the depth level.
- Very specific: line 108
Write initial estimates to .forge/token-ledger.json:
- Very specific: line 127
Write .forge/state.md with the first spec queued:
- Distinctive: line 157
After all frontiers are written, present a summary showing:
- Very specific: line 168
When designing tasks (enforced by the forge-planner agent):
- Distinctive: line 172
Dependency-minimal: Prefer fewer dependencies.
- Distinctive: line 176
Requirement-traced: Every task should trace back to one or more R-numbers from the spec.
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Planning Skill
This skill guides the decomposition of approved specifications into executable task frontiers. Each frontier is a dependency-ordered list of tasks grouped into parallelizable tiers.
Inputs
You will receive:
- Spec files: One or more approved spec files from
.forge/specs/ - Depth:
quick,standard, orthorough - Repo config: From
.forge/config.json(may include multiple repos with ordering) - Capabilities: From
.forge/capabilities.json(optional, informs task design) - Knowledge graph:
graphify-out/graph.json(optional, enables architecture-aware decomposition) - Design system: DESIGN.md (optional, enables design-tagged UI tasks)
Procedure
Step 1: Read and Validate Specs
For each spec file in .forge/specs/ (or the filtered subset):
- Read the file and parse its YAML frontmatter
- Verify
status: approved— skip any spec that is not approved - Extract all R-numbered requirements and their acceptance criteria
- Note the
linked_reposfield — this determines which repos tasks will target - Note the
complexityfield — this informs task sizing
Step 2: Determine Depth Parameters
Reference references/token-profiles.md for depth-specific settings:
| Parameter | Quick | Standard | Thorough |
| Tasks per spec | 3-5 | 6-12 | 12-20 |
| Tokens per task | ~3k | ~6k | ~12k |
| Review steps | None | After critical tasks | After every task |
| TDD enforcement | No | If skill available | Always |
| Phase verification | Skip | Quick check | Full goal-backward |
Step 2.5: Load Architecture Context (optional)
Knowledge Graph: If graphify-out/graph.json exists, load it and extract:
- God nodes (highest-connectivity concepts) for task prioritization
- Community structure for aligning task boundaries with module boundaries
- Cross-module dependencies for implicit dependency edges in the DAG
See skills/graphify-integration/SKILL.md for details.
Design System: If the spec has a design: field or DESIGN.md exists in the project root, load it. UI tasks will be tagged with design: DESIGN.md in the frontier, and a design verification task will be added for depth >= standard.
See skills/design-system/SKILL.md for details.
Step 3: Dispatch Planner Agent Per Spec
For each approved spec, dispatch a forge-planner agent (via the Agent tool) with:
- The full spec content (requirements + acceptance criteria)
- The resolved depth level
- The repo configuration (which repos are available, their roles and ordering)
- The capabilities map (which MCP servers and skills are available)
- The knowledge graph summary (if available: god nodes, communities, key dependencies)
- The design system reference (if available: DESIGN.md path)
The agent returns a frontier file in the template format. See templates/plan.md.
Step 4: Validate and Refine Frontiers
After receiving each frontier from the planner agent:
- Requirement coverage: Verify every R-number from the spec maps to at least one task. If any requirement is missing, add tasks to cover it.
- Dependency validity: Verify all
depends:references point to real task IDs. No circular dependencies. - Tier correctness: Tier 1 tasks must have zero dependencies. Tier N tasks must depend only on tasks in Tiers 1 through N-1.
- Repo ordering: If
cross_repo_rules.api_firstis true, API tasks in the same tier must be listed before frontend tasks. - Task count: Verify the task count falls within the depth range (e.g., 6-12 for standard). Adjust if needed.
- Token estimates: Verify per-task estimates are reasonable for the depth level. Total should be sum of all tasks.
Step 5: Write Frontier Files
For each spec, write the frontier to .forge/plans/{spec-domain}-frontier.md.
The frontier file format (matching templates/plan.md):
---
spec: {domain}
total_tasks: {N}
estimated_tokens: {total}
depth: {quick|standard|thorough}
---
# {Domain} Frontier
## Tier 1 (parallel -- no dependencies)
- [T001] Task name | est: ~Nk tokens | repo: REPO
- [T002] Task name | est: ~Nk tokens | repo: REPO
## Tier 2 (depends on Tier 1)
- [T003] Task name | est: ~Nk tokens | repo: REPO | depends: T001, T002
## Tier 3 (depends on Tier 2)
- [T004] Task name | est: ~Nk tokens | repo: REPO | depends: T003Step 6: Write Token Ledger
Write initial estimates to .forge/token-ledger.json:
{
"total": 0,
"iterations": 0,
"per_spec": {
"auth": { "estimated": 45000, "actual": 0 },
"ui": { "estimated": 32000, "actual": 0 }
},
"estimated_total": 77000,
"last_transcript_tokens": 0
}The estimated_total is the sum of all frontier estimated tokens. The total (actual usage) starts at 0 and is updated during execution by the stop hook.
Step 7: Initialize State
Write .forge/state.md with the first spec queued:
---
phase: idle
spec: {first-spec-domain}
current_task: null
task_status: null
iteration: 0
tokens_used: 0
tokens_budget: {from config, default 500000}
depth: {resolved depth}
autonomy: {from config, default gated}
handoff_requested: false
---
## What's Done
## In-Flight Work
## What's Next
{List all specs and their task counts}
## Key Decisions
- Depth: {depth} ({reason -- auto-detected or user-specified})
- Planning generated {N} total tasks across {M} specsStep 8: Present Summary
After all frontiers are written, present a summary showing:
- Number of specs planned
- Total tasks across all frontiers
- Estimated total tokens
- Depth level used
- List of frontier files with task counts
Then instruct the user to run /forge execute to begin implementation.
Task Design Principles
When designing tasks (enforced by the forge-planner agent):
- Atomic: Each task has one clear deliverable. "Implement user model + migration" is one task, not "implement entire auth system."
- Testable: Each task's completion can be verified by running tests or checking observable output.
- Dependency-minimal: Prefer fewer dependencies. Tasks should be as parallelizable as possible.
- API-first: For multi-repo projects, API/backend tasks come before frontend tasks that depend on them.
- Scaffolding first: Structural tasks (models, controllers, routes) in early tiers, logic tasks (business logic, validation) in later tiers.
- Cross-repo boundary: Tasks that cross repo boundaries should be split into separate tasks per repo.
- Requirement-traced: Every task should trace back to one or more R-numbers from the spec. Every R-number must be covered by at least one task.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

