mindforge-cc 2.1.4 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.agent/CLAUDE.md +14 -0
  2. package/.agent/forge/help.md +4 -0
  3. package/.agent/forge/init-project.md +4 -0
  4. package/.agent/forge/plan-phase.md +4 -0
  5. package/.agent/mindforge/approve.md +4 -0
  6. package/.agent/mindforge/audit.md +4 -0
  7. package/.agent/mindforge/auto.md +4 -0
  8. package/.agent/mindforge/benchmark.md +4 -0
  9. package/.agent/mindforge/browse.md +4 -0
  10. package/.agent/mindforge/complete-milestone.md +4 -0
  11. package/.agent/mindforge/costs.md +4 -0
  12. package/.agent/mindforge/cross-review.md +4 -0
  13. package/.agent/mindforge/dashboard.md +4 -0
  14. package/.agent/mindforge/debug.md +4 -0
  15. package/.agent/mindforge/discuss-phase.md +4 -0
  16. package/.agent/mindforge/execute-phase.md +4 -0
  17. package/.agent/mindforge/health.md +4 -0
  18. package/.agent/mindforge/help.md +4 -0
  19. package/.agent/mindforge/init-org.md +4 -0
  20. package/.agent/mindforge/init-project.md +4 -0
  21. package/.agent/mindforge/install-skill.md +4 -0
  22. package/.agent/mindforge/learn.md +4 -0
  23. package/.agent/mindforge/map-codebase.md +4 -0
  24. package/.agent/mindforge/marketplace.md +4 -0
  25. package/.agent/mindforge/metrics.md +4 -0
  26. package/.agent/mindforge/migrate.md +4 -0
  27. package/.agent/mindforge/milestone.md +4 -0
  28. package/.agent/mindforge/new-runtime.md +4 -0
  29. package/.agent/mindforge/next.md +4 -0
  30. package/.agent/mindforge/plan-phase.md +4 -0
  31. package/.agent/mindforge/plugins.md +4 -0
  32. package/.agent/mindforge/pr-review.md +4 -0
  33. package/.agent/mindforge/profile-team.md +4 -0
  34. package/.agent/mindforge/publish-skill.md +4 -0
  35. package/.agent/mindforge/qa.md +4 -0
  36. package/.agent/mindforge/quick.md +4 -0
  37. package/.agent/mindforge/release.md +4 -0
  38. package/.agent/mindforge/remember.md +4 -0
  39. package/.agent/mindforge/research.md +4 -0
  40. package/.agent/mindforge/retrospective.md +4 -0
  41. package/.agent/mindforge/review.md +4 -0
  42. package/.agent/mindforge/security-scan.md +4 -0
  43. package/.agent/mindforge/ship.md +4 -0
  44. package/.agent/mindforge/skills.md +4 -0
  45. package/.agent/mindforge/status.md +4 -0
  46. package/.agent/mindforge/steer.md +4 -0
  47. package/.agent/mindforge/sync-confluence.md +4 -0
  48. package/.agent/mindforge/sync-jira.md +4 -0
  49. package/.agent/mindforge/tokens.md +4 -0
  50. package/.agent/mindforge/update.md +4 -0
  51. package/.agent/mindforge/verify-phase.md +4 -0
  52. package/.agent/mindforge/workspace.md +4 -0
  53. package/.agent/workflows/forge:help.md +10 -0
  54. package/.agent/workflows/forge:init-project.md +35 -0
  55. package/.agent/workflows/forge:plan-phase.md +33 -0
  56. package/.agent/workflows/mindforge:add-backlog.md +24 -0
  57. package/.agent/workflows/mindforge:agent.md +25 -0
  58. package/.agent/workflows/mindforge:approve.md +21 -0
  59. package/.agent/workflows/mindforge:audit.md +33 -0
  60. package/.agent/workflows/mindforge:auto.md +25 -0
  61. package/.agent/workflows/mindforge:benchmark.md +36 -0
  62. package/.agent/workflows/mindforge:browse.md +29 -0
  63. package/.agent/workflows/mindforge:complete-milestone.md +21 -0
  64. package/.agent/workflows/mindforge:costs.md +14 -0
  65. package/.agent/workflows/mindforge:cross-review.md +20 -0
  66. package/.agent/workflows/mindforge:dashboard.md +101 -0
  67. package/.agent/workflows/mindforge:debug.md +129 -0
  68. package/.agent/workflows/mindforge:discuss-phase.md +141 -0
  69. package/.agent/workflows/mindforge:do.md +25 -0
  70. package/.agent/workflows/mindforge:execute-phase.md +193 -0
  71. package/.agent/workflows/mindforge:health.md +24 -0
  72. package/.agent/workflows/mindforge:help.md +26 -0
  73. package/.agent/workflows/mindforge:init-org.md +134 -0
  74. package/.agent/workflows/mindforge:init-project.md +169 -0
  75. package/.agent/workflows/mindforge:install-skill.md +27 -0
  76. package/.agent/workflows/mindforge:learn.md +146 -0
  77. package/.agent/workflows/mindforge:map-codebase.md +301 -0
  78. package/.agent/workflows/mindforge:marketplace.md +123 -0
  79. package/.agent/workflows/mindforge:metrics.md +25 -0
  80. package/.agent/workflows/mindforge:migrate.md +43 -0
  81. package/.agent/workflows/mindforge:milestone.md +15 -0
  82. package/.agent/workflows/mindforge:new-runtime.md +22 -0
  83. package/.agent/workflows/mindforge:next.md +108 -0
  84. package/.agent/workflows/mindforge:note.md +27 -0
  85. package/.agent/workflows/mindforge:plan-phase.md +128 -0
  86. package/.agent/workflows/mindforge:plant-seed.md +24 -0
  87. package/.agent/workflows/mindforge:plugins.md +43 -0
  88. package/.agent/workflows/mindforge:pr-review.md +44 -0
  89. package/.agent/workflows/mindforge:profile-team.md +26 -0
  90. package/.agent/workflows/mindforge:publish-skill.md +22 -0
  91. package/.agent/workflows/mindforge:qa.md +19 -0
  92. package/.agent/workflows/mindforge:quick.md +138 -0
  93. package/.agent/workflows/mindforge:release.md +13 -0
  94. package/.agent/workflows/mindforge:remember.md +29 -0
  95. package/.agent/workflows/mindforge:research.md +15 -0
  96. package/.agent/workflows/mindforge:retrospective.md +29 -0
  97. package/.agent/workflows/mindforge:review-backlog.md +26 -0
  98. package/.agent/workflows/mindforge:review.md +160 -0
  99. package/.agent/workflows/mindforge:security-scan.md +236 -0
  100. package/.agent/workflows/mindforge:session-report.md +31 -0
  101. package/.agent/workflows/mindforge:ship.md +103 -0
  102. package/.agent/workflows/mindforge:skills.md +144 -0
  103. package/.agent/workflows/mindforge:status.md +107 -0
  104. package/.agent/workflows/mindforge:steer.md +16 -0
  105. package/.agent/workflows/mindforge:sync-confluence.md +14 -0
  106. package/.agent/workflows/mindforge:sync-jira.md +15 -0
  107. package/.agent/workflows/mindforge:tokens.md +11 -0
  108. package/.agent/workflows/mindforge:ui-phase.md +27 -0
  109. package/.agent/workflows/mindforge:ui-review.md +28 -0
  110. package/.agent/workflows/mindforge:update.md +45 -0
  111. package/.agent/workflows/mindforge:validate-phase.md +25 -0
  112. package/.agent/workflows/mindforge:verify-phase.md +65 -0
  113. package/.agent/workflows/mindforge:workspace.md +32 -0
  114. package/.agent/workflows/mindforge:workstreams.md +27 -0
  115. package/.claude/CLAUDE.md +14 -0
  116. package/bin/installer-core.js +115 -19
  117. package/bin/wizard/theme.js +1 -1
  118. package/package.json +1 -1
package/.agent/CLAUDE.md CHANGED
@@ -569,3 +569,17 @@ After every phase that passes all gates:
569
569
  - /mindforge:marketplace — discover and install community skills
570
570
 
571
571
  ---
572
+
573
+
574
+ ## 🧠 Knowledge Context (Auto-loaded)
575
+ 🧠 Knowledge Base — 5 relevant memories loaded:
576
+ Preferences : 1
577
+ Code patterns: 1
578
+ Domain : 3
579
+ ### Team Preferences
580
+ - [90% confidence] Use Tailwind: Always use Tailwind for CSS.
581
+
582
+ ### Domain Knowledge
583
+ - Auth with JWT: Secure JWT with httpOnly cookies.
584
+ - Global Tip: Always fix lints.
585
+ - Database SQL: Use indexed columns for fast queries.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Show all available FORGE commands and what they do.
3
+ ---
4
+
1
5
  Show all available FORGE commands and what they do.
2
6
 
3
7
  List every .md file in .claude/commands/forge/ and display:
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Initialize a new project under the FORGE framework.
3
+ ---
4
+
1
5
  Initialize a new project under the FORGE framework.
2
6
 
3
7
  Follow these steps in order:
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Plan a phase of the project. Usage: /forge:plan-phase [N]
3
+ ---
4
+
1
5
  Plan a phase of the project. Usage: /forge:plan-phase [N]
2
6
 
3
7
  If N is not provided, check STATE.md for the current phase and use that.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Process pending approvals and emergency overrides. Usage:
3
+ ---
4
+
1
5
  Process pending approvals and emergency overrides. Usage:
2
6
  `/mindforge:approve [approval-id] [--approve|--reject] [--reason "..."] [--emergency]`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Query .planning/AUDIT.jsonl by phase, event, date, severity, integration, or
3
+ ---
4
+
1
5
  Query `.planning/AUDIT.jsonl` by phase, event, date, severity, integration, or
2
6
  agent. Usage: `/mindforge:audit [filters]`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Starts the MindForge Autonomous Execution Engine for the
3
+ ---
4
+
1
5
  # /mindforge:auto [Phase N]
2
6
 
3
7
  **Purpose**: Starts the MindForge Autonomous Execution Engine for the
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Measure skill effectiveness over time.
3
+ ---
4
+
1
5
  # MindForge — Benchmark Command
2
6
  # Usage: /mindforge:benchmark [--skill skill-name] [--compare skill-a skill-b]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: @mindforge browse <url | action>
3
+ ---
4
+
1
5
  # /mindforge:browse
2
6
 
3
7
  ## Usage
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Archive a completed milestone, generate a release report, and prepare the next
3
+ ---
4
+
1
5
  Archive a completed milestone, generate a release report, and prepare the next
2
6
  milestone. Usage: `/mindforge:complete-milestone <name> <version>`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Real-time cost tracking for all AI model usage.
3
+ ---
4
+
1
5
  # MindForge v2 — Costs Command
2
6
  # Usage: /mindforge:costs [--phase N] [--session ID] [--window 7d]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Get the same code diff reviewed by multiple AI models simultaneously.
3
+ ---
4
+
1
5
  # MindForge v2 — Cross-Review Command
2
6
  # Usage: /mindforge:cross-review [--phase N] [--models list] [--focus area]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Start the MindForge real-time web dashboard — a live observability UI for the
3
+ ---
4
+
1
5
  # MindForge v2 — Dashboard Command
2
6
  # Usage: /mindforge:dashboard [--port 7339] [--open] [--stop] [--status]
3
7
  # Version: v2.0.0-alpha.5
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Systematic debugging using the Debug Specialist persona with full RCA protocol.
3
+ ---
4
+
1
5
  # MindForge — Debug Command
2
6
  # Usage: /mindforge:debug [description]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Planning without discussion produces generic plans.
3
+ ---
4
+
1
5
  # MindForge — Discuss Phase Command
2
6
  # Usage: /mindforge:discuss-phase [N] [--batch] [--auto]
3
7
  # Captures implementation decisions before planning begins.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: 1. Read STATE.md — confirm phase [N] is in "planned" status.
3
+ ---
4
+
1
5
  # MindForge — Execute Phase Command
2
6
  # Usage: /mindforge:execute-phase [N]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Run all seven health-engine categories from .mindforge/intelligence/health-engine.md.
3
+ ---
4
+
1
5
  # MindForge — Health Command
2
6
  # Usage: /mindforge:health [--repair] [--category C] [--verbose]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Show all available MindForge commands.
3
+ ---
4
+
1
5
  Show all available MindForge commands.
2
6
 
3
7
  ## Pre-check
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Set up MindForge at the organisation level — create standardised org-level
3
+ ---
4
+
1
5
  # MindForge — Init Org Command
2
6
  # Usage: /mindforge:init-org [--org-name "Name"] [--update]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Initialise a new project under the MindForge framework.
3
+ ---
4
+
1
5
  Initialise a new project under the MindForge framework.
2
6
 
3
7
  ## Pre-check
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Follow the full installation protocol from .mindforge/distribution/registry-client.md.
3
+ ---
4
+
1
5
  Follow the full installation protocol from `.mindforge/distribution/registry-client.md`.
2
6
 
3
7
  Steps:
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Convert any knowledge source into a reusable, validated, committed MindForge SKILL.md.
3
+ ---
4
+
1
5
  # MindForge v2 — Learn Command
2
6
  # Usage: /mindforge:learn [url|path|--session|npm:package] [--name skill-name] [--tier project|org|core]
3
7
  # Version: v2.0.0-alpha.6
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: - Joining an existing project that has no MindForge context files
3
+ ---
4
+
1
5
  # MindForge — Map Codebase Command
2
6
  # Usage: /mindforge:map-codebase [area]
3
7
  # Onboards MindForge to an existing (brownfield) codebase.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Discover, evaluate, and install community-published MindForge skills from the
3
+ ---
4
+
1
5
  # MindForge v2 — Marketplace Command
2
6
  # Usage: /mindforge:marketplace [search|featured|trending|install|publish]
3
7
  # Version: v2.0.0-alpha.6
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Display session and phase quality trends with early warning signals.
3
+ ---
4
+
1
5
  # MindForge — Metrics Command
2
6
  # Usage: /mindforge:metrics [--phase N] [--window short|medium|long] [--export path]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Run explicit schema migrations for .planning/ files.
3
+ ---
4
+
1
5
  # MindForge — Migrate Command
2
6
  # Usage: /mindforge:migrate [--from X.Y.Z] [--to X.Y.Z] [--dry-run] [--force]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Create or update a milestone definition in .planning/milestones/ and track the
3
+ ---
4
+
1
5
  Create or update a milestone definition in `.planning/milestones/` and track the
2
6
  health of grouped phases. Usage: `/mindforge:milestone <name> [phase list]`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Scaffold support for a new AI coding runtime.
3
+ ---
4
+
1
5
  # /mindforge:new-runtime
2
6
 
3
7
  Scaffold support for a new AI coding runtime.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Auto-detect the current project state and execute the appropriate next step.
3
+ ---
4
+
1
5
  # MindForge — Next Command
2
6
  # Usage: /mindforge:next
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Plan a project phase. Usage: /mindforge:plan-phase [N]
3
+ ---
4
+
1
5
  Plan a project phase. Usage: /mindforge:plan-phase [N]
2
6
 
3
7
  ## Pre-check
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Read PLUGINS-MANIFEST.md. Display installed plugins with version and permissions.
3
+ ---
4
+
1
5
  # MindForge — Plugins Command
2
6
  # Usage: /mindforge:plugins [list|install|uninstall|info|validate|create] [name]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Run the AI PR review engine on a pull request diff.
3
+ ---
4
+
1
5
  # MindForge — PR Review Command
2
6
  # Usage: /mindforge:pr-review [--diff path] [--sha base..head] [--output github|json|markdown]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Generate and maintain team/developer profiles for response personalization.
3
+ ---
4
+
1
5
  # MindForge — Profile Team Command
2
6
  # Usage: /mindforge:profile-team [--refresh] [--developer email] [--questionnaire]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Publish a skill to the npm registry (or private registry).
3
+ ---
4
+
1
5
  # MindForge — Publish Skill Command
2
6
  # Usage: /mindforge:publish-skill [skill-dir] [--registry URL] [--dry-run]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: @mindforge qa [--phase N] [--auto]
3
+ ---
4
+
1
5
  # /mindforge:qa
2
6
 
3
7
  ## Usage
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Use QUICK for:
3
+ ---
4
+
1
5
  # MindForge — Quick Command
2
6
  # Usage: /mindforge:quick [--research] [--review] [--full]
3
7
  # For ad-hoc tasks that don't need full lifecycle management.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Execute the complete MindForge v1.0.0 (or any version) release pipeline.
3
+ ---
4
+
1
5
  # MindForge — Release Command
2
6
  # Usage: /mindforge:release [--version X.Y.Z] [--dry-run] [--checklist-only]
3
7
  # ⚠️ This command is for releasing the MindForge framework itself.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Manage the MindForge long-term memory (knowledge graph).
3
+ ---
4
+
1
5
  # /mindforge:remember
2
6
 
3
7
  Manage the MindForge long-term memory (knowledge graph).
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Deep research using Gemini 1.5 Pro's 1-million-token context window.
3
+ ---
4
+
1
5
  # MindForge v2 — Research Command
2
6
  # Usage: /mindforge:research [topic] [--type general|library|codebase|compliance] [--url URL]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Facilitate a structured retrospective with objective metrics + qualitative insights.
3
+ ---
4
+
1
5
  # MindForge — Retrospective Command
2
6
  # Usage: /mindforge:retrospective [phase N|milestone M] [--template agile|4ls|starfish]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: - /mindforge:review (no args) → review all uncommitted changes (git diff)
3
+ ---
4
+
1
5
  # MindForge — Review Command
2
6
  # Usage: /mindforge:review [path|phase N|--staged|--last-commit]
3
7
  # Performs a comprehensive code review using code-quality and security skills.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: - Default: OWASP Top 10 review on the changed files or specified path
3
+ ---
4
+
1
5
  # MindForge — Security Scan Command
2
6
  # Usage: /mindforge:security-scan [path] [--deep] [--deps] [--secrets]
3
7
  # Standalone security scan. Can be run independently of the phase lifecycle.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Create a release PR for a verified phase. Usage: /mindforge:ship [N]
3
+ ---
4
+
1
5
  Create a release PR for a verified phase. Usage: /mindforge:ship [N]
2
6
 
3
7
  ## Pre-check
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: /mindforge:skills list
3
+ ---
4
+
1
5
  # MindForge — Skills Command
2
6
  # Usage: /mindforge:skills [subcommand] [args]
3
7
  # Subcommands: list | add | update | validate | info | search
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Display a rich dashboard of the current project state.
3
+ ---
4
+
1
5
  # MindForge — Status Command
2
6
  # Usage: /mindforge:status
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Injects mid-execution guidance into the running autonomous engine.
3
+ ---
4
+
1
5
  # /mindforge:steer "[instruction]"
2
6
 
3
7
  **Purpose**: Injects mid-execution guidance into the running autonomous engine.
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Publish approved planning artifacts to Confluence. Usage:
3
+ ---
4
+
1
5
  Publish approved planning artifacts to Confluence. Usage:
2
6
  `/mindforge:sync-confluence [--architecture] [--phase N] [--milestone name]`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Synchronise MindForge phase and plan metadata to Jira. Usage:
3
+ ---
4
+
1
5
  Synchronise MindForge phase and plan metadata to Jira. Usage:
2
6
  `/mindforge:sync-jira [--phase N] [--plan M]`
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Display token consumption profile and efficiency analysis.
3
+ ---
4
+
1
5
  # MindForge — Token Usage Command
2
6
  # Usage: /mindforge:tokens [--phase N] [--session ID] [--window short|medium|long] [--optimise]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Check for and apply MindForge framework updates in a safe, scope-preserving way.
3
+ ---
4
+
1
5
  # MindForge — Update Command
2
6
  # Usage: /mindforge:update [--apply] [--force] [--check] [--skip-changelog]
3
7
 
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Human acceptance testing for a completed phase. Usage: /mindforge:verify-phase [N]
3
+ ---
4
+
1
5
  Human acceptance testing for a completed phase. Usage: /mindforge:verify-phase [N]
2
6
 
3
7
  ## Pre-check
@@ -1,3 +1,7 @@
1
+ ---
2
+ description: Monorepo workspace management.
3
+ ---
4
+
1
5
  # MindForge — Workspace Command
2
6
  # Usage: /mindforge:workspace [detect|list|plan phase N|test]
3
7
 
@@ -0,0 +1,10 @@
1
+ ---
2
+ description: Show all available FORGE commands and what they do.
3
+ ---
4
+ Show all available FORGE commands and what they do.
5
+
6
+ List every .md file in .claude/commands/forge/ and display:
7
+ - Command name (filename without extension)
8
+ - First line of the file as its description
9
+
10
+ Format as a clean table. Also remind the user to read CLAUDE.md if they haven't yet.
@@ -0,0 +1,35 @@
1
+ ---
2
+ description: Initialize a new project under the FORGE framework.
3
+ ---
4
+ Initialize a new project under the FORGE framework.
5
+
6
+ Follow these steps in order:
7
+
8
+ 1. Ask the user these questions one at a time (wait for each answer before asking the next):
9
+ - What is this project? (1-2 sentence description)
10
+ - Who is the target user?
11
+ - What is the core problem it solves?
12
+ - What tech stack do you want to use? (or "help me decide")
13
+ - What is absolutely NOT in scope for v1?
14
+ - What does success look like at the end of v1?
15
+
16
+ 2. If the user said "help me decide" on tech stack, ask 3 clarifying questions then recommend a stack with brief reasoning.
17
+
18
+ 3. Create `.planning/PROJECT.md` with:
19
+ - Project name and one-line description
20
+ - Problem statement
21
+ - Target user
22
+ - Tech stack (with brief rationale for each choice)
23
+ - v1 scope (what's in)
24
+ - Out of scope (what's explicitly not in v1)
25
+ - Success criteria
26
+
27
+ 4. Create `.planning/STATE.md` with:
28
+ - Status: Project initialized
29
+ - Current phase: None (not started)
30
+ - Last action: Project initialization
31
+ - Next step: Run /forge:plan-phase 1
32
+
33
+ 5. Create `.planning/REQUIREMENTS.md` (blank template with sections)
34
+
35
+ 6. Tell the user: "Project initialized. Run /forge:plan-phase 1 to begin planning your first phase."
@@ -0,0 +1,33 @@
1
+ ---
2
+ description: Plan a phase of the project. Usage: /forge:plan-phase [N]
3
+ ---
4
+ Plan a phase of the project. Usage: /forge:plan-phase [N]
5
+
6
+ If N is not provided, check STATE.md for the current phase and use that.
7
+
8
+ Steps:
9
+ 1. Read PROJECT.md, REQUIREMENTS.md, and STATE.md.
10
+ 2. Ask the user: "Describe what phase [N] should accomplish in 2-3 sentences."
11
+ 3. Ask: "Are there any specific implementation decisions you've already made for this phase?"
12
+ 4. Spawn a research subagent: Read the project's tech stack from PROJECT.md and research the best patterns, libraries, and pitfalls for implementing this phase. Write findings to `.planning/phases/phase-[N]/RESEARCH.md`.
13
+ 5. Create 3-6 atomic task plans in `.planning/phases/phase-[N]/`. Each PLAN file must use this XML format:
14
+ ```xml
15
+ <plan>
16
+ <task>Task name</task>
17
+ <files>
18
+ specific/file/paths/to/touch.ts
19
+ </files>
20
+ <instructions>
21
+ Precise implementation instructions. Include:
22
+ - Which library to use and why (mention specific version if relevant)
23
+ - Any gotchas or anti-patterns to avoid
24
+ - The exact approach, not just "implement X"
25
+ </instructions>
26
+ <verify>Specific command or check that confirms this task is done</verify>
27
+ <done>One sentence definition of done for this task</done>
28
+ </plan>
29
+ ```
30
+
31
+ 6. Check each plan against REQUIREMENTS.md. If a plan implements something out of scope, revise it.
32
+ 7. Update STATE.md: current phase = N, status = "Phase [N] planned, ready to execute"
33
+ 8. Tell the user: "Phase [N] has [X] task plans ready. Run /forge:execute-phase [N] to begin execution."
@@ -0,0 +1,24 @@
1
+ ---
2
+ description: Capture ideas in a "parking lot" to keep them out of the active phase sequence
3
+ ---
4
+ <objective>
5
+ Capture an idea, task, or feature request in a "parking lot" section of the ROADMAP.md to prevent it from cluttering the active development phases.
6
+ </objective>
7
+
8
+ <execution_context>
9
+ .claude/commands/mindforge/add-backlog.md
10
+ </execution_context>
11
+
12
+ <context>
13
+ Arguments: $ARGUMENTS (The description of the backlog item)
14
+ Target File: ROADMAP.md
15
+ State: Uses 999.x numbering scheme for backlog items.
16
+ </context>
17
+
18
+ <process>
19
+ 1. **Read ROADMAP.md**: Locate the `## Backlog` or `## Future Milestones` section.
20
+ 2. **Initialize if missing**: If no backlog section exists, create `## Backlog` at the end of the file.
21
+ 3. **Determine numbering**: Find the last `999.x` item. If none, start with `999.1`.
22
+ 4. **Append item**: Add the new backlog item with the determined number and the provided description.
23
+ 5. **Confirm**: Notify the user that the item has been parked in the backlog.
24
+ </process>
@@ -0,0 +1,25 @@
1
+ ---
2
+ description: Spawn or invoke a specialized enterprise persona from the MindForge library
3
+ ---
4
+ <objective>
5
+ Provide an on-demand mechanism to "spawn" any of the 13+ standardized MindForge personas. This allows the user to switch the AI assistant's context, role, and process to a specific specialized mode (e.g., Roadmapper, Security Reviewer, Analyst).
6
+ </objective>
7
+
8
+ <execution_context>
9
+ .claude/commands/mindforge/agent.md
10
+ </execution_context>
11
+
12
+ <context>
13
+ Personas Directory: `.mindforge/personas/`
14
+ State: Loads the persona's XML-tagged structure into the active system context.
15
+ </context>
16
+
17
+ <process>
18
+ 1. **List Personas**: If no arguments are provided, list all available `.md` files in `.mindforge/personas/` with their name and description (parsed from YAML).
19
+ 2. **Load Persona**: If a name is provided:
20
+ - Locate `.mindforge/personas/[name].md`.
21
+ - Read the file content.
22
+ - Present the persona's role and success criteria to the user.
23
+ 3. **Switch Mode**: Instruct the AI (through the current session context) to adopt the role, philosophy, and process defined in the loaded file.
24
+ 4. **Initial Task**: If a prompt is provided as the second argument, immediately execute that prompt using the newly adopted persona.
25
+ </process>
@@ -0,0 +1,21 @@
1
+ ---
2
+ description: Process pending approvals and emergency overrides. Usage:
3
+ ---
4
+ Process pending approvals and emergency overrides. Usage:
5
+ `/mindforge:approve [approval-id] [--approve|--reject] [--reason "..."] [--emergency]`
6
+
7
+ ## Listing approvals
8
+ Scan `.planning/approvals/` and show only files with `status: pending` unless
9
+ the user explicitly asks for historical records.
10
+
11
+ ## Standard approval flow
12
+ 1. Read the approval file
13
+ 2. Confirm current identity from `git config user.email` or `$USER`
14
+ 3. Validate approver eligibility from `INTEGRATIONS-CONFIG.md`
15
+ 4. Record approval or rejection with timestamp and reason
16
+
17
+ ## Emergency overrides
18
+ Emergency override requires the `--emergency` flag.
19
+ Read `EMERGENCY_APPROVERS` from `INTEGRATIONS-CONFIG.md` and deny the request if
20
+ the current identity is not listed. Document that git-config-based identity is
21
+ a convenience layer, not a high-assurance identity proof.