mindforge-cc 11.3.0 → 11.3.1
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.
- package/.agent/forge/help.md +11 -0
- package/.agent/forge/init-project.md +36 -0
- package/.agent/forge/plan-phase.md +34 -0
- package/.agent/mindforge/add-backlog.md +32 -0
- package/.agent/mindforge/agent-deploy.md +34 -0
- package/.agent/mindforge/agent-design.md +31 -0
- package/.agent/mindforge/agent-eval.md +27 -0
- package/.agent/mindforge/agent-memory.md +27 -0
- package/.agent/mindforge/agent.md +31 -0
- package/.agent/mindforge/ai-cost.md +31 -0
- package/.agent/mindforge/ai-safety.md +37 -0
- package/.agent/mindforge/analytics.md +28 -0
- package/.agent/mindforge/approve.md +22 -0
- package/.agent/mindforge/audit.md +34 -0
- package/.agent/mindforge/auth-flow.md +76 -0
- package/.agent/mindforge/auto.md +26 -0
- package/.agent/mindforge/benchmark.md +37 -0
- package/.agent/mindforge/brd.md +90 -0
- package/.agent/mindforge/browse.md +30 -0
- package/.agent/mindforge/build-opt.md +31 -0
- package/.agent/mindforge/build-vs-buy.md +29 -0
- package/.agent/mindforge/cache.md +30 -0
- package/.agent/mindforge/causal.md +31 -0
- package/.agent/mindforge/cdn.md +34 -0
- package/.agent/mindforge/change.md +37 -0
- package/.agent/mindforge/cli.md +30 -0
- package/.agent/mindforge/cluster-instincts.md +35 -0
- package/.agent/mindforge/code-tour.md +85 -0
- package/.agent/mindforge/communicate.md +37 -0
- package/.agent/mindforge/complete-milestone.md +22 -0
- package/.agent/mindforge/compliance.md +31 -0
- package/.agent/mindforge/consult.md +37 -0
- package/.agent/mindforge/context-budget.md +70 -0
- package/.agent/mindforge/contract-test.md +30 -0
- package/.agent/mindforge/cost-report.md +44 -0
- package/.agent/mindforge/costs.md +15 -0
- package/.agent/mindforge/council.md +35 -0
- package/.agent/mindforge/create-skill.md +34 -0
- package/.agent/mindforge/cross-review.md +21 -0
- package/.agent/mindforge/dashboard.md +102 -0
- package/.agent/mindforge/data-mesh.md +31 -0
- package/.agent/mindforge/data-model.md +75 -0
- package/.agent/mindforge/data-pipeline.md +34 -0
- package/.agent/mindforge/de-slop.md +33 -0
- package/.agent/mindforge/debug.md +133 -0
- package/.agent/mindforge/degrade.md +31 -0
- package/.agent/mindforge/delegate.md +37 -0
- package/.agent/mindforge/deploy.md +32 -0
- package/.agent/mindforge/design-tokens.md +80 -0
- package/.agent/mindforge/discuss-phase.md +142 -0
- package/.agent/mindforge/dmux.md +32 -0
- package/.agent/mindforge/do.md +31 -0
- package/.agent/mindforge/ecommerce.md +31 -0
- package/.agent/mindforge/edge.md +34 -0
- package/.agent/mindforge/edtech.md +31 -0
- package/.agent/mindforge/embeddings.md +37 -0
- package/.agent/mindforge/environments.md +31 -0
- package/.agent/mindforge/eval.md +33 -0
- package/.agent/mindforge/events.md +30 -0
- package/.agent/mindforge/evolve-skills.md +49 -0
- package/.agent/mindforge/execute-phase.md +200 -0
- package/.agent/mindforge/experiment.md +28 -0
- package/.agent/mindforge/feature-flags.md +30 -0
- package/.agent/mindforge/feature-store.md +31 -0
- package/.agent/mindforge/finops.md +31 -0
- package/.agent/mindforge/fintech.md +31 -0
- package/.agent/mindforge/flutter.md +37 -0
- package/.agent/mindforge/gaming.md +31 -0
- package/.agent/mindforge/graphql.md +31 -0
- package/.agent/mindforge/health.md +31 -0
- package/.agent/mindforge/healthcare.md +31 -0
- package/.agent/mindforge/help.md +33 -0
- package/.agent/mindforge/hire.md +37 -0
- package/.agent/mindforge/hitl.md +27 -0
- package/.agent/mindforge/i18n.md +31 -0
- package/.agent/mindforge/idempotent.md +31 -0
- package/.agent/mindforge/init-org.md +135 -0
- package/.agent/mindforge/init-project.md +170 -0
- package/.agent/mindforge/install-skill.md +28 -0
- package/.agent/mindforge/introspect.md +46 -0
- package/.agent/mindforge/iot.md +31 -0
- package/.agent/mindforge/knowledge-graph.md +37 -0
- package/.agent/mindforge/lakehouse.md +31 -0
- package/.agent/mindforge/lead.md +31 -0
- package/.agent/mindforge/learn-instinct.md +58 -0
- package/.agent/mindforge/learn.md +147 -0
- package/.agent/mindforge/learning.md +20 -0
- package/.agent/mindforge/llm-route.md +37 -0
- package/.agent/mindforge/load-test.md +30 -0
- package/.agent/mindforge/logistics.md +31 -0
- package/.agent/mindforge/map-codebase.md +302 -0
- package/.agent/mindforge/market-research.md +94 -0
- package/.agent/mindforge/marketplace.md +124 -0
- package/.agent/mindforge/mcp-server.md +88 -0
- package/.agent/mindforge/meeting-design.md +37 -0
- package/.agent/mindforge/metrics.md +26 -0
- package/.agent/mindforge/microservices.md +64 -0
- package/.agent/mindforge/migrate.md +44 -0
- package/.agent/mindforge/migration-mgmt.md +31 -0
- package/.agent/mindforge/milestone.md +16 -0
- package/.agent/mindforge/mobile.md +37 -0
- package/.agent/mindforge/monorepo.md +30 -0
- package/.agent/mindforge/multi-tenant.md +31 -0
- package/.agent/mindforge/multimodal.md +37 -0
- package/.agent/mindforge/new-runtime.md +23 -0
- package/.agent/mindforge/next.md +109 -0
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/observability-platform.md +31 -0
- package/.agent/mindforge/observability.md +75 -0
- package/.agent/mindforge/offline.md +37 -0
- package/.agent/mindforge/onboard.md +37 -0
- package/.agent/mindforge/orchestrate.md +74 -0
- package/.agent/mindforge/payments.md +28 -0
- package/.agent/mindforge/pipeline.md +84 -0
- package/.agent/mindforge/plan-phase.md +131 -0
- package/.agent/mindforge/plan-write.md +95 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/platform.md +31 -0
- package/.agent/mindforge/plugins.md +44 -0
- package/.agent/mindforge/pr-review.md +45 -0
- package/.agent/mindforge/privacy-eng.md +31 -0
- package/.agent/mindforge/product-spec.md +90 -0
- package/.agent/mindforge/profile-team.md +27 -0
- package/.agent/mindforge/prompt.md +78 -0
- package/.agent/mindforge/proofread.md +87 -0
- package/.agent/mindforge/publish-skill.md +23 -0
- package/.agent/mindforge/push-notify.md +37 -0
- package/.agent/mindforge/pwa.md +37 -0
- package/.agent/mindforge/qa.md +20 -0
- package/.agent/mindforge/quality-audit.md +34 -0
- package/.agent/mindforge/queue.md +31 -0
- package/.agent/mindforge/quick.md +139 -0
- package/.agent/mindforge/rag.md +30 -0
- package/.agent/mindforge/rate-limit.md +31 -0
- package/.agent/mindforge/react-native.md +37 -0
- package/.agent/mindforge/realtime-analytics.md +31 -0
- package/.agent/mindforge/record-learning.md +22 -0
- package/.agent/mindforge/release.md +14 -0
- package/.agent/mindforge/remember.md +30 -0
- package/.agent/mindforge/research.md +16 -0
- package/.agent/mindforge/retro.md +28 -0
- package/.agent/mindforge/retrospective.md +31 -0
- package/.agent/mindforge/review-backlog.md +34 -0
- package/.agent/mindforge/review-guide.md +63 -0
- package/.agent/mindforge/review.md +161 -0
- package/.agent/mindforge/rfc.md +34 -0
- package/.agent/mindforge/santa.md +33 -0
- package/.agent/mindforge/secrets-mgmt.md +31 -0
- package/.agent/mindforge/secrets.md +31 -0
- package/.agent/mindforge/security-scan.md +242 -0
- package/.agent/mindforge/serverless.md +34 -0
- package/.agent/mindforge/session-report.md +39 -0
- package/.agent/mindforge/ship.md +111 -0
- package/.agent/mindforge/skills.md +145 -0
- package/.agent/mindforge/status.md +113 -0
- package/.agent/mindforge/steer.md +17 -0
- package/.agent/mindforge/stream.md +31 -0
- package/.agent/mindforge/sync-confluence.md +15 -0
- package/.agent/mindforge/sync-jira.md +16 -0
- package/.agent/mindforge/system-design.md +87 -0
- package/.agent/mindforge/team-topology.md +27 -0
- package/.agent/mindforge/tech-debt.md +31 -0
- package/.agent/mindforge/tech-radar.md +28 -0
- package/.agent/mindforge/threat-model.md +48 -0
- package/.agent/mindforge/tokens.md +12 -0
- package/.agent/mindforge/ui-phase.md +34 -0
- package/.agent/mindforge/ui-review.md +36 -0
- package/.agent/mindforge/update.md +46 -0
- package/.agent/mindforge/validate-phase.md +31 -0
- package/.agent/mindforge/verify-loop.md +45 -0
- package/.agent/mindforge/verify-phase.md +66 -0
- package/.agent/mindforge/vibe-check.md +37 -0
- package/.agent/mindforge/workspace.md +33 -0
- package/.agent/mindforge/workstreams.md +35 -0
- package/.agent/mindforge/worktrees.md +86 -0
- package/.agent/mindforge/write-rfc.md +64 -0
- package/.agent/mindforge/zero-trust.md +34 -0
- package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
- package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
- package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
- package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
- package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
- package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
- package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
- package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
- package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
- package/.agent/skills/mindforge-brainstorming/scripts/helper.js +90 -0
- package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
- package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
- package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
- package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
- package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
- package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
- package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
- package/.agent/skills/mindforge-debug/SKILL.md +163 -0
- package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
- package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
- package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
- package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
- package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
- package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
- package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
- package/.agent/skills/mindforge-do/SKILL.md +26 -0
- package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
- package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
- package/.agent/skills/mindforge-fast/SKILL.md +23 -0
- package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
- package/.agent/skills/mindforge-health/SKILL.md +17 -0
- package/.agent/skills/mindforge-help/SKILL.md +23 -0
- package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
- package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
- package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
- package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
- package/.agent/skills/mindforge-manager/SKILL.md +32 -0
- package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
- package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
- package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
- package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
- package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
- package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
- package/.agent/skills/mindforge-next/SKILL.md +19 -0
- package/.agent/skills/mindforge-note/SKILL.md +29 -0
- package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
- package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
- package/.agent/skills/mindforge-plan-phase/SKILL.md +38 -0
- package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
- package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
- package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
- package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
- package/.agent/skills/mindforge-progress/SKILL.md +19 -0
- package/.agent/skills/mindforge-quick/SKILL.md +38 -0
- package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
- package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
- package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
- package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-review/SKILL.md +31 -0
- package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
- package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
- package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
- package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
- package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
- package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
- package/.agent/skills/mindforge-settings/SKILL.md +32 -0
- package/.agent/skills/mindforge-ship/SKILL.md +16 -0
- package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
- package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
- package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
- package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
- package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
- package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
- package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
- package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
- package/.agent/skills/mindforge-stats/SKILL.md +16 -0
- package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
- package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
- package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
- package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
- package/.agent/skills/mindforge-system-architecture/SKILL.md +136 -0
- package/.agent/skills/mindforge-system-architecture/examples.md +120 -0
- package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +76 -0
- package/.agent/skills/mindforge-tdd/SKILL.md +112 -0
- package/.agent/skills/mindforge-tdd/deep-modules.md +21 -0
- package/.agent/skills/mindforge-tdd/interface-design.md +22 -0
- package/.agent/skills/mindforge-tdd/mocking.md +24 -0
- package/.agent/skills/mindforge-tdd/refactoring.md +21 -0
- package/.agent/skills/mindforge-tdd/tests.md +28 -0
- package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
- package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
- package/.agent/skills/mindforge-thread/SKILL.md +123 -0
- package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
- package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
- package/.agent/skills/mindforge-update/SKILL.md +35 -0
- package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
- package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
- package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
- package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
- package/.claude/CLAUDE.md +102 -0
- package/.claude/commands/forge/help.md +7 -0
- package/.claude/commands/forge/init-project.md +32 -0
- package/.claude/commands/forge/plan-phase.md +30 -0
- package/.claude/commands/mindforge/add-backlog.md +32 -0
- package/.claude/commands/mindforge/agent-deploy.md +34 -0
- package/.claude/commands/mindforge/agent-design.md +31 -0
- package/.claude/commands/mindforge/agent-eval.md +27 -0
- package/.claude/commands/mindforge/agent-memory.md +27 -0
- package/.claude/commands/mindforge/agent.md +31 -0
- package/.claude/commands/mindforge/ai-cost.md +31 -0
- package/.claude/commands/mindforge/ai-safety.md +37 -0
- package/.claude/commands/mindforge/analytics.md +28 -0
- package/.claude/commands/mindforge/approve.md +22 -0
- package/.claude/commands/mindforge/audit.md +34 -0
- package/.claude/commands/mindforge/auth-flow.md +76 -0
- package/.claude/commands/mindforge/auto.md +26 -0
- package/.claude/commands/mindforge/benchmark.md +37 -0
- package/.claude/commands/mindforge/brd.md +90 -0
- package/.claude/commands/mindforge/browse.md +30 -0
- package/.claude/commands/mindforge/build-opt.md +31 -0
- package/.claude/commands/mindforge/build-vs-buy.md +29 -0
- package/.claude/commands/mindforge/cache.md +30 -0
- package/.claude/commands/mindforge/causal.md +31 -0
- package/.claude/commands/mindforge/cdn.md +34 -0
- package/.claude/commands/mindforge/change.md +37 -0
- package/.claude/commands/mindforge/cli.md +30 -0
- package/.claude/commands/mindforge/cluster-instincts.md +35 -0
- package/.claude/commands/mindforge/code-tour.md +85 -0
- package/.claude/commands/mindforge/communicate.md +37 -0
- package/.claude/commands/mindforge/complete-milestone.md +22 -0
- package/.claude/commands/mindforge/compliance.md +31 -0
- package/.claude/commands/mindforge/consult.md +37 -0
- package/.claude/commands/mindforge/context-budget.md +70 -0
- package/.claude/commands/mindforge/contract-test.md +30 -0
- package/.claude/commands/mindforge/cost-report.md +44 -0
- package/.claude/commands/mindforge/costs.md +15 -0
- package/.claude/commands/mindforge/council.md +83 -0
- package/.claude/commands/mindforge/create-skill.md +34 -0
- package/.claude/commands/mindforge/cross-review.md +21 -0
- package/.claude/commands/mindforge/dashboard.md +102 -0
- package/.claude/commands/mindforge/data-mesh.md +31 -0
- package/.claude/commands/mindforge/data-model.md +75 -0
- package/.claude/commands/mindforge/data-pipeline.md +34 -0
- package/.claude/commands/mindforge/de-slop.md +33 -0
- package/.claude/commands/mindforge/debug.md +133 -0
- package/.claude/commands/mindforge/degrade.md +31 -0
- package/.claude/commands/mindforge/delegate.md +37 -0
- package/.claude/commands/mindforge/deploy.md +32 -0
- package/.claude/commands/mindforge/design-tokens.md +80 -0
- package/.claude/commands/mindforge/discuss-phase.md +142 -0
- package/.claude/commands/mindforge/dmux.md +32 -0
- package/.claude/commands/mindforge/do.md +31 -0
- package/.claude/commands/mindforge/ecommerce.md +31 -0
- package/.claude/commands/mindforge/edge.md +34 -0
- package/.claude/commands/mindforge/edtech.md +31 -0
- package/.claude/commands/mindforge/embeddings.md +37 -0
- package/.claude/commands/mindforge/environments.md +31 -0
- package/.claude/commands/mindforge/eval.md +33 -0
- package/.claude/commands/mindforge/events.md +30 -0
- package/.claude/commands/mindforge/evolve-skills.md +49 -0
- package/.claude/commands/mindforge/execute-phase.md +200 -0
- package/.claude/commands/mindforge/experiment.md +28 -0
- package/.claude/commands/mindforge/feature-flags.md +30 -0
- package/.claude/commands/mindforge/feature-store.md +31 -0
- package/.claude/commands/mindforge/finops.md +31 -0
- package/.claude/commands/mindforge/fintech.md +31 -0
- package/.claude/commands/mindforge/flutter.md +37 -0
- package/.claude/commands/mindforge/gaming.md +31 -0
- package/.claude/commands/mindforge/graphql.md +31 -0
- package/.claude/commands/mindforge/health.md +31 -0
- package/.claude/commands/mindforge/healthcare.md +31 -0
- package/.claude/commands/mindforge/help.md +33 -0
- package/.claude/commands/mindforge/hire.md +37 -0
- package/.claude/commands/mindforge/hitl.md +27 -0
- package/.claude/commands/mindforge/i18n.md +31 -0
- package/.claude/commands/mindforge/idempotent.md +31 -0
- package/.claude/commands/mindforge/init-org.md +135 -0
- package/.claude/commands/mindforge/init-project.md +170 -0
- package/.claude/commands/mindforge/install-skill.md +28 -0
- package/.claude/commands/mindforge/introspect.md +46 -0
- package/.claude/commands/mindforge/iot.md +31 -0
- package/.claude/commands/mindforge/knowledge-graph.md +37 -0
- package/.claude/commands/mindforge/lakehouse.md +31 -0
- package/.claude/commands/mindforge/lead.md +31 -0
- package/.claude/commands/mindforge/learn-instinct.md +58 -0
- package/.claude/commands/mindforge/learn.md +147 -0
- package/.claude/commands/mindforge/learning.md +20 -0
- package/.claude/commands/mindforge/llm-route.md +37 -0
- package/.claude/commands/mindforge/load-test.md +30 -0
- package/.claude/commands/mindforge/logistics.md +31 -0
- package/.claude/commands/mindforge/map-codebase.md +302 -0
- package/.claude/commands/mindforge/market-research.md +94 -0
- package/.claude/commands/mindforge/marketplace.md +124 -0
- package/.claude/commands/mindforge/mcp-server.md +88 -0
- package/.claude/commands/mindforge/meeting-design.md +37 -0
- package/.claude/commands/mindforge/metrics.md +26 -0
- package/.claude/commands/mindforge/microservices.md +64 -0
- package/.claude/commands/mindforge/migrate.md +44 -0
- package/.claude/commands/mindforge/migration-mgmt.md +31 -0
- package/.claude/commands/mindforge/milestone.md +16 -0
- package/.claude/commands/mindforge/mobile.md +37 -0
- package/.claude/commands/mindforge/monorepo.md +30 -0
- package/.claude/commands/mindforge/multi-tenant.md +31 -0
- package/.claude/commands/mindforge/multimodal.md +37 -0
- package/.claude/commands/mindforge/new-runtime.md +23 -0
- package/.claude/commands/mindforge/next.md +109 -0
- package/.claude/commands/mindforge/note.md +35 -0
- package/.claude/commands/mindforge/observability-platform.md +31 -0
- package/.claude/commands/mindforge/observability.md +75 -0
- package/.claude/commands/mindforge/offline.md +37 -0
- package/.claude/commands/mindforge/onboard.md +37 -0
- package/.claude/commands/mindforge/orchestrate.md +74 -0
- package/.claude/commands/mindforge/payments.md +28 -0
- package/.claude/commands/mindforge/pipeline.md +84 -0
- package/.claude/commands/mindforge/plan-phase.md +131 -0
- package/.claude/commands/mindforge/plan-write.md +95 -0
- package/.claude/commands/mindforge/plant-seed.md +31 -0
- package/.claude/commands/mindforge/platform.md +31 -0
- package/.claude/commands/mindforge/plugins.md +44 -0
- package/.claude/commands/mindforge/pr-review.md +45 -0
- package/.claude/commands/mindforge/privacy-eng.md +31 -0
- package/.claude/commands/mindforge/product-spec.md +90 -0
- package/.claude/commands/mindforge/profile-team.md +27 -0
- package/.claude/commands/mindforge/prompt.md +78 -0
- package/.claude/commands/mindforge/proofread.md +87 -0
- package/.claude/commands/mindforge/publish-skill.md +23 -0
- package/.claude/commands/mindforge/push-notify.md +37 -0
- package/.claude/commands/mindforge/pwa.md +37 -0
- package/.claude/commands/mindforge/qa.md +20 -0
- package/.claude/commands/mindforge/quality-audit.md +34 -0
- package/.claude/commands/mindforge/queue.md +31 -0
- package/.claude/commands/mindforge/quick.md +139 -0
- package/.claude/commands/mindforge/rag.md +30 -0
- package/.claude/commands/mindforge/rate-limit.md +31 -0
- package/.claude/commands/mindforge/react-native.md +37 -0
- package/.claude/commands/mindforge/realtime-analytics.md +31 -0
- package/.claude/commands/mindforge/record-learning.md +22 -0
- package/.claude/commands/mindforge/release.md +14 -0
- package/.claude/commands/mindforge/remember.md +30 -0
- package/.claude/commands/mindforge/research.md +16 -0
- package/.claude/commands/mindforge/retro.md +28 -0
- package/.claude/commands/mindforge/retrospective.md +31 -0
- package/.claude/commands/mindforge/review-backlog.md +34 -0
- package/.claude/commands/mindforge/review-guide.md +63 -0
- package/.claude/commands/mindforge/review.md +161 -0
- package/.claude/commands/mindforge/rfc.md +34 -0
- package/.claude/commands/mindforge/santa.md +33 -0
- package/.claude/commands/mindforge/secrets-mgmt.md +31 -0
- package/.claude/commands/mindforge/secrets.md +31 -0
- package/.claude/commands/mindforge/security-scan.md +242 -0
- package/.claude/commands/mindforge/serverless.md +34 -0
- package/.claude/commands/mindforge/session-report.md +39 -0
- package/.claude/commands/mindforge/ship.md +111 -0
- package/.claude/commands/mindforge/skills.md +145 -0
- package/.claude/commands/mindforge/status.md +113 -0
- package/.claude/commands/mindforge/steer.md +17 -0
- package/.claude/commands/mindforge/stream.md +31 -0
- package/.claude/commands/mindforge/sync-confluence.md +15 -0
- package/.claude/commands/mindforge/sync-jira.md +16 -0
- package/.claude/commands/mindforge/system-design.md +87 -0
- package/.claude/commands/mindforge/team-topology.md +27 -0
- package/.claude/commands/mindforge/tech-debt.md +31 -0
- package/.claude/commands/mindforge/tech-radar.md +28 -0
- package/.claude/commands/mindforge/threat-model.md +48 -0
- package/.claude/commands/mindforge/tokens.md +12 -0
- package/.claude/commands/mindforge/ui-phase.md +34 -0
- package/.claude/commands/mindforge/ui-review.md +36 -0
- package/.claude/commands/mindforge/update.md +46 -0
- package/.claude/commands/mindforge/validate-phase.md +31 -0
- package/.claude/commands/mindforge/verify-loop.md +45 -0
- package/.claude/commands/mindforge/verify-phase.md +66 -0
- package/.claude/commands/mindforge/vibe-check.md +37 -0
- package/.claude/commands/mindforge/workspace.md +33 -0
- package/.claude/commands/mindforge/workstreams.md +35 -0
- package/.claude/commands/mindforge/worktrees.md +86 -0
- package/.claude/commands/mindforge/write-rfc.md +64 -0
- package/.claude/commands/mindforge/zero-trust.md +34 -0
- package/.mindforge/config.json +2 -2
- package/.mindforge/governance/GOVERNANCE-CONFIG.md +17 -0
- package/.mindforge/governance/approval-workflow.md +37 -0
- package/.mindforge/governance/change-classifier.md +63 -0
- package/.mindforge/governance/compliance-gates.md +31 -0
- package/.mindforge/governance/policies/sovereign-default.json +16 -0
- package/.mindforge/integrations/confluence.md +27 -0
- package/.mindforge/integrations/connection-manager.md +163 -0
- package/.mindforge/integrations/github.md +25 -0
- package/.mindforge/integrations/gitlab.md +13 -0
- package/.mindforge/integrations/jira.md +102 -0
- package/.mindforge/integrations/slack.md +41 -0
- package/.mindforge/intelligence/antipattern-detector.md +75 -0
- package/.mindforge/intelligence/difficulty-scorer.md +55 -0
- package/.mindforge/intelligence/health-engine.md +208 -0
- package/.mindforge/intelligence/skill-gap-analyser.md +40 -0
- package/.mindforge/intelligence/smart-compaction.md +71 -0
- package/.mindforge/memory/MEMORY-SCHEMA.md +155 -0
- package/.mindforge/memory/engine/capture-protocol.md +36 -0
- package/.mindforge/memory/engine/global-sync-spec.md +42 -0
- package/.mindforge/memory/engine/retrieval-spec.md +44 -0
- package/.mindforge/memory/sync-manifest.json +6 -0
- package/.mindforge/metrics/METRICS-SCHEMA.md +42 -0
- package/.mindforge/metrics/quality-tracker.md +32 -0
- package/.mindforge/models/model-registry.md +48 -0
- package/.mindforge/models/model-router.md +30 -0
- package/.mindforge/org/CONVENTIONS.md +62 -0
- package/.mindforge/org/ORG.md +51 -0
- package/.mindforge/org/SECURITY.md +50 -0
- package/.mindforge/org/TOOLS.md +53 -0
- package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +58 -0
- package/.mindforge/org/skills/MANIFEST.md +255 -0
- package/.mindforge/plugins/PLUGINS-MANIFEST.md +23 -0
- package/.mindforge/plugins/plugin-loader.md +93 -0
- package/.mindforge/plugins/plugin-registry.md +44 -0
- package/.mindforge/plugins/plugin-schema.md +68 -0
- package/.mindforge/team/TEAM-PROFILE.md +42 -0
- package/.mindforge/team/multi-handoff.md +23 -0
- package/.mindforge/team/profiles/README.md +13 -0
- package/.mindforge/team/session-merger.md +18 -0
- package/CHANGELOG.md +37 -0
- package/MINDFORGE.md +3 -3
- package/bin/installer-core.js +17 -11
- package/docs/References/audit-events.md +59 -0
- package/docs/References/checkpoints.md +778 -0
- package/docs/References/commands.md +107 -0
- package/docs/References/config-reference.md +122 -0
- package/docs/References/continuation-format.md +249 -0
- package/docs/References/decimal-phase-calculation.md +64 -0
- package/docs/References/git-integration.md +295 -0
- package/docs/References/git-planning-commit.md +38 -0
- package/docs/References/model-profile-resolution.md +36 -0
- package/docs/References/model-profiles.md +139 -0
- package/docs/References/phase-argument-parsing.md +61 -0
- package/docs/References/planning-config.md +202 -0
- package/docs/References/questioning.md +162 -0
- package/docs/References/sdk-api.md +53 -0
- package/docs/References/skills-api.md +57 -0
- package/docs/References/tdd.md +263 -0
- package/docs/References/ui-brand.md +160 -0
- package/docs/References/user-profiling.md +681 -0
- package/docs/References/verification-patterns.md +612 -0
- package/docs/References/workstream-flag.md +58 -0
- package/docs/Templates/Agents/CLAUDE-MD.md +122 -0
- package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
- package/docs/Templates/Agents/DEBUGGER-PROMPT.md +91 -0
- package/docs/Templates/Agents/PLANNER-PROMPT.md +117 -0
- package/docs/Templates/Codebase/architecture.md +255 -0
- package/docs/Templates/Codebase/concerns.md +310 -0
- package/docs/Templates/Codebase/conventions.md +307 -0
- package/docs/Templates/Codebase/integrations.md +280 -0
- package/docs/Templates/Codebase/stack.md +186 -0
- package/docs/Templates/Codebase/structure.md +285 -0
- package/docs/Templates/Codebase/testing.md +480 -0
- package/docs/Templates/Execution/CONTINUE-HERE.md +78 -0
- package/docs/Templates/Execution/DISCUSSION-LOG.md +63 -0
- package/docs/Templates/Execution/PHASE-PROMPT.md +610 -0
- package/docs/Templates/Execution/STATE.md +176 -0
- package/docs/Templates/Execution/SUMMARY-COMPLEX.md +59 -0
- package/docs/Templates/Execution/SUMMARY-MINIMAL.md +41 -0
- package/docs/Templates/Execution/SUMMARY-STANDARD.md +48 -0
- package/docs/Templates/Execution/SUMMARY.md +248 -0
- package/docs/Templates/Profile/DEV-PREFERENCES.md +21 -0
- package/docs/Templates/Profile/USER-PROFILE.md +146 -0
- package/docs/Templates/Profile/USER-SETUP.md +311 -0
- package/docs/Templates/Project/AGENTS_LEARNING.md +88 -0
- package/docs/Templates/Project/DISCOVERY.md +146 -0
- package/docs/Templates/Project/MILESTONE-ARCHIVE.md +123 -0
- package/docs/Templates/Project/MILESTONE.md +115 -0
- package/docs/Templates/Project/PROJECT.md +206 -0
- package/docs/Templates/Project/REQUIREMENTS.md +231 -0
- package/docs/Templates/Project/RETROSPECTIVE.md +54 -0
- package/docs/Templates/Project/ROADMAP.md +202 -0
- package/docs/Templates/Quality/DEBUG.md +164 -0
- package/docs/Templates/Quality/UAT.md +280 -0
- package/docs/Templates/Quality/UI-SPEC.md +100 -0
- package/docs/Templates/Quality/VALIDATION.md +76 -0
- package/docs/Templates/Quality/VERIFICATION-REPORT.md +322 -0
- package/docs/Templates/Research/ARCHITECTURE.md +204 -0
- package/docs/Templates/Research/FEATURES.md +147 -0
- package/docs/Templates/Research/PITFALLS.md +200 -0
- package/docs/Templates/Research/STACK.md +120 -0
- package/docs/Templates/Research/SUMMARY.md +170 -0
- package/docs/Templates/System/CONFIG.json +43 -0
- package/docs/Templates/System/CONTEXT.md +352 -0
- package/examples/starter-project/.planning/ARCHITECTURE.md +23 -0
- package/examples/starter-project/.planning/RELEASE-CHECKLIST.md +22 -0
- package/examples/starter-project/.planning/REQUIREMENTS.md +31 -0
- package/examples/starter-project/.planning/ROADMAP.md +28 -0
- package/package.json +22 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Injects mid-execution guidance into the running autonomous engine.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /mindforge:steer "[instruction]"
|
|
6
|
+
|
|
7
|
+
**Purpose**: Injects mid-execution guidance into the running autonomous engine.
|
|
8
|
+
Steering guidance is applied at the next task boundary to course-correct MindForge.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
- `/mindforge:steer "Use the new logger in all created files"`
|
|
12
|
+
- `/mindforge:steer --task 3-05 "This plan is too broad, focus on login only"`
|
|
13
|
+
- `/mindforge:steer --cancel` (Clears the steering queue)
|
|
14
|
+
|
|
15
|
+
## Precedence
|
|
16
|
+
- Steering instructions take precedence over the original `PLAN-N-MM.md` actions.
|
|
17
|
+
- Steering cannot override core security constraints or governance gates.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:stream
|
|
3
|
+
description: "Design stream processing pipeline. Usage: /mindforge:stream [pipeline] [--engine kafka|flink|spark] [--guarantee exactly-once|at-least-once]"
|
|
4
|
+
argument-hint: "[pipeline] [--engine kafka|flink|spark] [--guarantee exactly-once|at-least-once]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive stream system architecture with best practices and production-ready patterns.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/stream-processing/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/stream-processing/`
|
|
20
|
+
State: Analyzes requirements, constraints, and scale to generate optimized stream architecture.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Requirement Analysis**: Analyze domain-specific requirements, performance constraints, and scalability needs.
|
|
25
|
+
2. **Architecture Design**: Design system architecture with component interaction patterns and data flow.
|
|
26
|
+
3. **Technology Selection**: Evaluate and select appropriate technologies, tools, and frameworks.
|
|
27
|
+
4. **Integration Strategy**: Define integration patterns with existing systems and external dependencies.
|
|
28
|
+
5. **Optimization Approach**: Implement performance, cost, and resource optimization strategies.
|
|
29
|
+
6. **Monitoring Framework**: Design observability, alerting, and debugging mechanisms.
|
|
30
|
+
7. **Deployment Planning**: Create deployment strategy with rollback procedures and disaster recovery.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Publish approved planning artifacts to Confluence. Usage:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Publish approved planning artifacts to Confluence. Usage:
|
|
6
|
+
`/mindforge:sync-confluence [--architecture] [--phase N] [--milestone name]`
|
|
7
|
+
|
|
8
|
+
## Behaviour
|
|
9
|
+
- verify Confluence availability through `connection-manager.md`
|
|
10
|
+
- publish idempotently by existing page title or page ID
|
|
11
|
+
- never publish secrets, raw approval notes, or raw audit logs
|
|
12
|
+
- log success, skip, or failure to AUDIT
|
|
13
|
+
|
|
14
|
+
Publishing failures are non-fatal and create a pending manual action in
|
|
15
|
+
`STATE.md`.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Synchronise MindForge phase and plan metadata to Jira. Usage:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Synchronise MindForge phase and plan metadata to Jira. Usage:
|
|
6
|
+
`/mindforge:sync-jira [--phase N] [--plan M]`
|
|
7
|
+
|
|
8
|
+
## Behaviour
|
|
9
|
+
- verify Jira availability through `connection-manager.md`
|
|
10
|
+
- create or update Epic and Story mappings in `.planning/jira-sync.json`
|
|
11
|
+
- use dynamic transition lookup, never hardcoded IDs
|
|
12
|
+
- preserve manual Jira edits
|
|
13
|
+
- log all actions to AUDIT
|
|
14
|
+
|
|
15
|
+
Integration failures are non-fatal and should be written to `STATE.md` for
|
|
16
|
+
manual retry.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Architect large-scale distributed systems with capacity planning. Usage: /mindforge:system-design [system] [--qps N] [--latency Nms]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a scalable distributed system from requirements through capacity planning, selecting appropriate patterns, designing for failure, and documenting trade-offs with concrete numbers.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/system-design/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (system name or description, optional --qps and --latency constraints)
|
|
15
|
+
Knowledge: Current ARCHITECTURE.md, infrastructure topology, known bottlenecks.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Quantify requirements**: Establish concrete numbers for the system:
|
|
20
|
+
- QPS (queries per second) — read vs write ratio
|
|
21
|
+
- Latency targets (p50, p95, p99)
|
|
22
|
+
- Storage requirements (current + 3-year growth projection)
|
|
23
|
+
- Bandwidth (ingress/egress)
|
|
24
|
+
- Availability target (99.9%, 99.99%, etc.) and implied error budget
|
|
25
|
+
|
|
26
|
+
2. **Back-of-envelope calculations**: Compute:
|
|
27
|
+
- Daily/monthly active users to QPS conversion
|
|
28
|
+
- Storage per entity * entity count * retention period
|
|
29
|
+
- Network bandwidth = QPS * avg payload size
|
|
30
|
+
- Cache hit ratio needed to meet latency targets
|
|
31
|
+
- Replication factor impact on storage and write amplification
|
|
32
|
+
|
|
33
|
+
3. **Identify bottlenecks**: Given the numbers, identify where the system will break first:
|
|
34
|
+
- Database write throughput limits
|
|
35
|
+
- Network bandwidth saturation points
|
|
36
|
+
- Memory constraints for caching layers
|
|
37
|
+
- CPU-bound computation hotspots
|
|
38
|
+
- Connection pool exhaustion thresholds
|
|
39
|
+
|
|
40
|
+
4. **Select architectural patterns**: Choose patterns that address identified bottlenecks:
|
|
41
|
+
- Caching strategy (write-through, write-behind, cache-aside)
|
|
42
|
+
- Sharding strategy (hash-based, range-based, geographic)
|
|
43
|
+
- Replication topology (leader-follower, multi-leader, leaderless)
|
|
44
|
+
- Message queue placement (decouple writes, absorb spikes)
|
|
45
|
+
- CDN and edge caching for read-heavy paths
|
|
46
|
+
|
|
47
|
+
5. **Design for failure**: For each component, define:
|
|
48
|
+
- Failure mode (crash, slow, corrupt, partition)
|
|
49
|
+
- Detection mechanism (health checks, heartbeats, anomaly detection)
|
|
50
|
+
- Recovery strategy (failover, retry, degrade gracefully)
|
|
51
|
+
- Blast radius containment (bulkheads, cell-based architecture)
|
|
52
|
+
- Data durability guarantees during failure
|
|
53
|
+
|
|
54
|
+
6. **Capacity plan**: Produce a concrete resource estimate:
|
|
55
|
+
- Compute: instance type * count per tier
|
|
56
|
+
- Storage: disk type * size * IOPS requirement
|
|
57
|
+
- Network: load balancer capacity, cross-AZ traffic cost
|
|
58
|
+
- Cache: memory per node * node count * eviction headroom
|
|
59
|
+
- Scale triggers: auto-scaling thresholds with cooldown periods
|
|
60
|
+
|
|
61
|
+
7. **Define data flow**: Draw the request lifecycle:
|
|
62
|
+
- Client → CDN/Edge → Load Balancer → Application tier → Cache → Database
|
|
63
|
+
- Async paths: Application → Queue → Worker → Database/External
|
|
64
|
+
- Mark latency budget allocation at each hop
|
|
65
|
+
|
|
66
|
+
8. **Document trade-offs**: For every major decision, state:
|
|
67
|
+
- What was chosen and why
|
|
68
|
+
- What was rejected and why
|
|
69
|
+
- Under what conditions the decision should be revisited
|
|
70
|
+
- CAP theorem positioning (CP vs AP per subsystem)
|
|
71
|
+
|
|
72
|
+
9. **Observability design**: Define monitoring for the system:
|
|
73
|
+
- Golden signals per service (latency, traffic, errors, saturation)
|
|
74
|
+
- Distributed tracing span architecture
|
|
75
|
+
- Alerting thresholds tied to SLO error budget burn rate
|
|
76
|
+
- Dashboard layout (overview → drill-down hierarchy)
|
|
77
|
+
|
|
78
|
+
10. **Output system design document**: Produce a structured design doc:
|
|
79
|
+
- Requirements summary with numbers
|
|
80
|
+
- High-level architecture diagram (ASCII or description)
|
|
81
|
+
- Component breakdown with responsibilities
|
|
82
|
+
- Data model and storage design
|
|
83
|
+
- API design (external and internal)
|
|
84
|
+
- Capacity estimates table
|
|
85
|
+
- Trade-off decision log
|
|
86
|
+
- Open questions and risks
|
|
87
|
+
</process>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design team structure with interaction modes. Usage: /mindforge:team-topology [teams] [--type stream-aligned|platform|enabling] [--load-assess]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design or evaluate team structures using Team Topologies principles, assessing cognitive load, defining team types and interaction modes, and planning transitions to reduce delivery bottlenecks.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/team-topology-design/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (team names or org scope, optional --type, optional --load-assess)
|
|
15
|
+
Knowledge: Current org chart, service ownership map, deployment frequency per team, incident escalation patterns.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Inventory Current Teams**: Map all existing teams, their members, owned services/domains, and current responsibilities. Identify any shared ownership or unclear boundaries.
|
|
20
|
+
2. **Assess Cognitive Load Per Team**: For each team, evaluate: number of services owned, technology diversity, domain complexity, on-call burden, and cross-team dependencies. Flag teams exceeding sustainable load.
|
|
21
|
+
3. **Identify Overloaded Teams**: Teams with cognitive load score > 7/10 are candidates for splitting. Teams with < 3/10 may be candidates for merging or expanding scope.
|
|
22
|
+
4. **Recommend Team Type**: Classify each team as stream-aligned (delivers end-to-end value), platform (provides self-service capabilities), enabling (helps others adopt new skills), or complicated-subsystem (manages complex domain requiring specialists).
|
|
23
|
+
5. **Define Team Boundaries**: Draw clear boundaries using domain-driven design bounded contexts. Each team should own a coherent domain with minimal cross-cutting concerns.
|
|
24
|
+
6. **Specify Interaction Modes**: For each team pair that interacts, define the mode: collaboration (working closely together, time-limited), X-as-a-service (clear API contract), or facilitating (helping another team learn).
|
|
25
|
+
7. **Identify Team APIs**: Define what each team exposes to others: service contracts, documentation, support channels, SLAs. Platform teams need explicit self-service interfaces.
|
|
26
|
+
8. **Plan Transition**: If restructuring is needed, create a phased migration plan with intermediate states, communication plan, and success metrics. Avoid big-bang reorgs.
|
|
27
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Inventory and prioritize technical debt with payoff ROI. Usage - /mindforge:tech-debt [--audit] [--budget 20%] [--prioritize]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Systematically inventory technical debt across the codebase, classify by type
|
|
7
|
+
and severity, calculate the ongoing interest cost (time lost per sprint), compute
|
|
8
|
+
payoff ROI for each item, and allocate sprint budget to maximize debt reduction
|
|
9
|
+
impact while maintaining feature velocity.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@.mindforge/skills/technical-debt-management/SKILL.md
|
|
14
|
+
</execution_context>
|
|
15
|
+
|
|
16
|
+
<context>
|
|
17
|
+
$ARGUMENTS
|
|
18
|
+
</context>
|
|
19
|
+
|
|
20
|
+
<process>
|
|
21
|
+
1. Scan for debt signals across the codebase: TODO/FIXME/HACK comments, skipped tests (@skip, .skip()), outdated dependencies (major versions behind), high cyclomatic complexity (>15), duplicated code blocks (>30 lines), and missing type coverage (<80%).
|
|
22
|
+
2. Classify each debt item by type: deliberate (conscious trade-off documented in ADR), inadvertent (accidental, discovered post-hoc), bit-rot (gradual decay from ecosystem changes), or reckless (no justification, likely under time pressure). Tag with affected domain.
|
|
23
|
+
3. Calculate interest for each item: estimate time lost per sprint due to the debt (slower development, extra bugs, onboarding friction, workarounds). Express as hours/sprint and annualized cost at team rate ($).
|
|
24
|
+
4. Compute payoff ROI for each item: (annual interest saved - one-time fix cost) / one-time fix cost. Items with ROI > 3x are high-priority, 1-3x are medium, <1x are low-priority or acceptable debt.
|
|
25
|
+
5. Rank all items by payoff ratio descending, with tiebreakers: items blocking new features first, items causing production incidents second, items affecting developer happiness third.
|
|
26
|
+
6. Allocate sprint budget based on --budget flag (default 20%): assign top-ranked items to the debt budget, ensure each item is completable within one sprint, create stories with clear acceptance criteria and definition of done.
|
|
27
|
+
7. Assign debt items to sprints: distribute across team members based on domain expertise, pair high-risk items with thorough test coverage requirements, and schedule refactoring spikes for items needing design exploration.
|
|
28
|
+
8. Track reduction trend over time: maintain a debt ledger with total estimated interest, plot interest reduction sprint-over-sprint, celebrate when annual interest drops below threshold, and flag when new debt outpaces reduction.
|
|
29
|
+
9. Establish debt prevention gates: complexity threshold in CI (fail on cyclomatic > 20), dependency update cadence (monthly minor, quarterly major), test coverage floor (never decrease), and mandatory ADR for deliberate debt.
|
|
30
|
+
10. Log tech-debt audit in AUDIT with: total items found, classification breakdown, top 5 by ROI, sprint budget allocation, and estimated interest reduction.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Assess technology for adoption, trial, hold, or retirement. Usage: /mindforge:tech-radar [technology] [--action adopt|trial|assess|hold|retire]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Evaluate a technology for placement on the project's technology radar, determining whether it should be adopted, trialed, held, assessed, or retired based on ecosystem maturity, team readiness, and strategic fit.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/technology-radar/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (technology name, optional --action to force a ring)
|
|
15
|
+
Knowledge: Current tech stack, team skills inventory, existing radar entries, industry benchmarks.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Identify Technology**: Clarify the technology, its category (language, framework, tool, platform, technique), and the specific use case being evaluated.
|
|
20
|
+
2. **Evaluate Ecosystem Maturity**: Assess release stability, backward compatibility track record, documentation quality, and production usage at scale by known companies.
|
|
21
|
+
3. **Assess Community and Hiring Pool**: Check GitHub stars/activity, Stack Overflow questions, conference presence, and availability of engineers with this skill in the hiring market.
|
|
22
|
+
4. **Check Breaking Change Frequency**: Review the last 12 months of releases for breaking changes, deprecation policy clarity, and migration tooling availability.
|
|
23
|
+
5. **Benchmark Performance**: Compare against current solution on relevant metrics (throughput, latency, bundle size, memory usage). Use published benchmarks and validate with a spike if high-stakes.
|
|
24
|
+
6. **Evaluate Team Skill Gap**: Assess current team proficiency, estimated ramp-up time, training resources available, and whether champions exist internally.
|
|
25
|
+
7. **Determine Ring Placement**: Based on evidence, place in one of: Adopt (proven, use by default), Trial (worth pursuing in a low-risk project), Assess (explore with research), Hold (do not start new usage), Retire (actively migrate away).
|
|
26
|
+
8. **Document Rationale**: Write a radar blip entry with the ring, rationale, evidence links, and date. Include dissenting opinions if any.
|
|
27
|
+
9. **Define Migration Path If Retiring**: If the recommendation is Hold or Retire, document the migration path, estimated effort, and timeline for moving to the replacement.
|
|
28
|
+
</process>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run STRIDE/DREAD threat modeling on the current change or specified component. Usage - /mindforge:threat-model [component-path] [--scope full|diff] [--output DFD]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Perform structured threat modeling on a system component using STRIDE methodology
|
|
7
|
+
with DREAD scoring. Identify attack surfaces, trust boundaries, and recommend mitigations.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/threat-modeling/SKILL.md
|
|
12
|
+
@.mindforge/personas/threat-modeler.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Parse arguments: component path (or current diff), --scope (full component or just diff), --output format.
|
|
21
|
+
2. Switch to threat-modeler persona.
|
|
22
|
+
3. **Scope definition:**
|
|
23
|
+
- If component path provided: analyze that directory/file
|
|
24
|
+
- If --scope diff: analyze only current uncommitted changes
|
|
25
|
+
- If no path: analyze most recently modified files
|
|
26
|
+
4. **Data flow mapping:**
|
|
27
|
+
- Identify entry points (user input, API calls, file uploads)
|
|
28
|
+
- Identify storage (databases, caches, files)
|
|
29
|
+
- Identify processing (business logic)
|
|
30
|
+
- Identify exit points (responses, exports, logs)
|
|
31
|
+
- Mark ALL trust boundary crossings
|
|
32
|
+
5. **STRIDE analysis:**
|
|
33
|
+
- For each trust boundary: apply all 6 STRIDE categories
|
|
34
|
+
- Document each identified threat with concrete example
|
|
35
|
+
6. **DREAD scoring:**
|
|
36
|
+
- Score each threat (Damage, Reproducibility, Exploitability, Affected Users, Discoverability)
|
|
37
|
+
- Calculate risk score (average of 5 dimensions)
|
|
38
|
+
- Classify: Low (1-3), Medium (4-6), High (7-10)
|
|
39
|
+
7. **Attack trees** (for threats scoring 7+):
|
|
40
|
+
- Build prerequisite chain showing attack path
|
|
41
|
+
- Identify cheapest path for attacker
|
|
42
|
+
8. **Mitigation recommendations:**
|
|
43
|
+
- For each threat: recommend specific mitigation
|
|
44
|
+
- Prioritize by: risk score * ease of fix
|
|
45
|
+
9. Write output to `.planning/THREAT-MODEL-[component]-[timestamp].md`
|
|
46
|
+
10. Log threat model in AUDIT with finding counts by severity.
|
|
47
|
+
11. If any Critical/High findings: flag that these MUST be addressed before shipping.
|
|
48
|
+
</process>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Display token consumption profile and efficiency analysis.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Token Usage Command
|
|
6
|
+
# Usage: /mindforge:tokens [--phase N] [--session ID] [--window short|medium|long] [--optimise]
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Display token consumption profile and efficiency analysis.
|
|
10
|
+
Helps identify where tokens are being spent and how to reduce waste.
|
|
11
|
+
|
|
12
|
+
## Default output (no flags — last 5 sessions)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ui-phase
|
|
3
|
+
description: Generate a UI Design Contract (UI-SPEC.md) for the current phase
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- list_dir
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Generate a detailed UI design contract (UI-SPEC.md) for a frontend development phase to ensure consistent spacing, typography, color palettes, and accessibility standards before implementation.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/ui-phase.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
21
|
+
Configuration: MINDFORGE.md `UI_PHASE_ACCESSIBILITY_STANDARD`
|
|
22
|
+
State: Resolves the phase from STATE.md if N is not provided.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Identify Phase**: Get the current or targeted phase number.
|
|
27
|
+
2. **Read Inputs**: Read `REQUIREMENTS.md` and `DESIGN_SYSTEM.md`.
|
|
28
|
+
3. **Generate UI-SPEC.md**:
|
|
29
|
+
- Define component-level spacing and layout for the phase.
|
|
30
|
+
- Specify required colors and typography from the design system.
|
|
31
|
+
- List accessibility requirements (WCAG level).
|
|
32
|
+
4. **Finalize**: Write `UI-SPEC.md` to the phase's planning directory or the root `.planning/`.
|
|
33
|
+
5. **Confirm**: Provide a link to the user for review.
|
|
34
|
+
</process>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ui-review
|
|
3
|
+
description: Perform a retroactive visual audit of implemented UI against the DESIGN_SYSTEM.md and UI-SPEC.md
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- read_browser_page
|
|
9
|
+
- open_browser_url
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Perform a retroactive, multi-pillar visual audit of implemented UI features against the defined Design System and UI-SPEC.md to ensure pixel-perfect fidelity and accessibility compliance.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/ui-review.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
22
|
+
Sources: `DESIGN_SYSTEM.md`, `UI-SPEC.md`, and the live application UI.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Identify Target**: Determine the phase to review.
|
|
27
|
+
2. **Audit Application**:
|
|
28
|
+
- Use the browser tool to inspect the implemented features.
|
|
29
|
+
- Compare against the `UI-SPEC.md` for spacing, colors, and layout.
|
|
30
|
+
- Audit for accessibility (ARIA labels, contrast, keyboard navigation).
|
|
31
|
+
3. **Generate UI-REVIEW.md**:
|
|
32
|
+
- Grade each pillar (Layout, Color, Typography, etc.).
|
|
33
|
+
- List specific "Needs Work" items.
|
|
34
|
+
- Provide "Approved" status if all criteria are met.
|
|
35
|
+
4. **Finalize**: Notify the user of the audit results.
|
|
36
|
+
</process>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Check for and apply MindForge framework updates in a safe, scope-preserving way.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Update Command
|
|
6
|
+
# Usage: /mindforge:update [--apply] [--force] [--check] [--skip-changelog]
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Check for and apply MindForge framework updates in a safe, scope-preserving way.
|
|
10
|
+
|
|
11
|
+
## Execution flow
|
|
12
|
+
|
|
13
|
+
### 1. Version check
|
|
14
|
+
Execute `bin/updater/self-update.js` `checkAndUpdate()`.
|
|
15
|
+
Always show: current version, latest version, update type (major/minor/patch).
|
|
16
|
+
|
|
17
|
+
### 2. Changelog display (unless --skip-changelog)
|
|
18
|
+
Fetch and display the relevant CHANGELOG.md section.
|
|
19
|
+
For major updates: prefix with ⚠️ BREAKING CHANGES notice.
|
|
20
|
+
Limit display to 3,000 characters — link to full CHANGELOG for the rest.
|
|
21
|
+
|
|
22
|
+
### 3. Confirmation gate (unless --apply)
|
|
23
|
+
Without --apply: show update info, stop. Do not modify any files.
|
|
24
|
+
Message: "To apply this update: /mindforge:update --apply"
|
|
25
|
+
|
|
26
|
+
### 4. Apply (with --apply)
|
|
27
|
+
a. Detect original install scope (local vs global, claude vs antigravity)
|
|
28
|
+
b. Read schema_version from HANDOFF.json (captures current version BEFORE update)
|
|
29
|
+
c. Run `npx mindforge-cc@[latest] --[runtime] --[scope]`
|
|
30
|
+
d. Run migration: `node bin/migrations/migrate.js` with captured schema_version
|
|
31
|
+
e. Run /mindforge:health to verify update succeeded
|
|
32
|
+
|
|
33
|
+
### 5. Post-update health check
|
|
34
|
+
If health errors: surface them immediately with specific fix instructions.
|
|
35
|
+
Common post-update issue: CLAUDE.md and .agent/CLAUDE.md drifted → auto-repair.
|
|
36
|
+
|
|
37
|
+
## Error scenarios and recovery
|
|
38
|
+
|
|
39
|
+
| Error | Recovery |
|
|
40
|
+
|---|---|
|
|
41
|
+
| npm registry unreachable | Message: "Check internet. Manual: npm info mindforge-cc version" |
|
|
42
|
+
| Update download fails | Retry once, then suggest manual: `npx mindforge-cc@latest` |
|
|
43
|
+
| Migration fails | Restored from backup automatically. Run /mindforge:migrate manually. |
|
|
44
|
+
| Install scope detection fails | Prompt user: "Is your install global or local?" |
|
|
45
|
+
|
|
46
|
+
## AUDIT entry
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:validate-phase
|
|
3
|
+
description: Audit the current phase for requirement coverage and test gaps
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- list_dir
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Audit a completed project phase to ensure every requirement has been addressed and that corresponding automated tests have been implemented and are passing.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/validate-phase.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
20
|
+
Knowledge: `STATE.md`, `REQUIREMENTS.md`, and the codebase test suite.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Identify Phase**: Resolve the targeted phase.
|
|
25
|
+
2. **Cross-reference**:
|
|
26
|
+
- List all requirements in `REQUIREMENTS.md` marked for this phase.
|
|
27
|
+
- Verify implementation of each requirement in the code.
|
|
28
|
+
- Check for the existence of passing tests for each requirement.
|
|
29
|
+
3. **Analyze Gaps**: Identify any "orphaned" requirements or features missing tests.
|
|
30
|
+
4. **Report Findings**: Summarize coverage and call out specific gaps to the user.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the full 6-phase verification gate (Build, Type Check, Lint, Test, Security Scan, Diff Review). Usage - /mindforge:verify-loop [--phase N] [--fix] [--skip-build]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Execute the complete verification pipeline to confirm code is ready to ship.
|
|
7
|
+
Runs 6 sequential quality gates, failing fast on any issue.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/verification-loop/SKILL.md
|
|
12
|
+
@.mindforge/engine/verification-pipeline.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Parse flags: --phase (start from specific phase), --fix (auto-fix where possible), --skip-build.
|
|
21
|
+
2. **Phase 1 — Build** (skip if --skip-build):
|
|
22
|
+
- Run `npm run build` (or project equivalent)
|
|
23
|
+
- PASS: zero errors. FAIL: report errors, halt.
|
|
24
|
+
3. **Phase 2 — Type Check:**
|
|
25
|
+
- Run `npx tsc --noEmit` (or project equivalent)
|
|
26
|
+
- PASS: zero type errors. FAIL: report errors, halt.
|
|
27
|
+
4. **Phase 3 — Lint:**
|
|
28
|
+
- Run `npm run lint`
|
|
29
|
+
- If --fix: run with `--fix` flag first, then re-check
|
|
30
|
+
- PASS: zero errors. FAIL: report errors, halt.
|
|
31
|
+
5. **Phase 4 — Test:**
|
|
32
|
+
- Run `npm test`
|
|
33
|
+
- PASS: zero failures, no skipped tests without reason. FAIL: report failures, halt.
|
|
34
|
+
6. **Phase 5 — Security Scan:**
|
|
35
|
+
- Grep for hardcoded secrets, dangerous patterns, new vulnerable deps
|
|
36
|
+
- Apply security-review skill checklist to the diff
|
|
37
|
+
- PASS: no findings. FAIL: report findings with severity, halt.
|
|
38
|
+
7. **Phase 6 — Diff Review:**
|
|
39
|
+
- Run `git diff --staged` or `git diff main...HEAD`
|
|
40
|
+
- Check for: debug code, unintended changes, sensitive data, logic errors
|
|
41
|
+
- PASS: clean diff. FAIL: flag specific lines, halt.
|
|
42
|
+
8. On any failure: report which phase failed, what the error is, suggest fix.
|
|
43
|
+
9. On all pass: report "All 6 verification gates passed. Safe to proceed."
|
|
44
|
+
10. Log verification result in AUDIT with per-phase timing.
|
|
45
|
+
</process>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Human acceptance testing for a completed phase. Usage: /mindforge:verify-phase [N]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Human acceptance testing for a completed phase. Usage: /mindforge:verify-phase [N]
|
|
6
|
+
|
|
7
|
+
## Pre-check
|
|
8
|
+
`.planning/phases/[N]/VERIFICATION.md` must exist.
|
|
9
|
+
If it does not: instruct the user to run /mindforge:execute-phase [N] first.
|
|
10
|
+
|
|
11
|
+
## Step 1 — Extract testable deliverables
|
|
12
|
+
Read REQUIREMENTS.md and the phase PLAN files.
|
|
13
|
+
Generate a list of testable deliverables — things the user can actually check.
|
|
14
|
+
|
|
15
|
+
Format each as a clear, actionable test instruction:
|
|
16
|
+
"Navigate to /login and submit a form with a valid email and password.
|
|
17
|
+
You should be redirected to /dashboard within 2 seconds."
|
|
18
|
+
|
|
19
|
+
## Step 2 — Walk through each deliverable
|
|
20
|
+
Present one at a time. After each:
|
|
21
|
+
"Please test this now and tell me: pass ✅ or fail ❌ — and describe what you saw."
|
|
22
|
+
|
|
23
|
+
Wait for the user's response before proceeding to the next.
|
|
24
|
+
|
|
25
|
+
## Step 3 — Handle failures
|
|
26
|
+
If the user reports a failure:
|
|
27
|
+
1. Ask: "What exactly happened? (error message, wrong behaviour, nothing happened)"
|
|
28
|
+
2. Spawn a debug subagent with: the failure description, the relevant PLAN file,
|
|
29
|
+
and the relevant source files. Instruct it to find the root cause.
|
|
30
|
+
3. Create a fix plan: `.planning/phases/[N]/FIX-PLAN-[N]-[NN].md`
|
|
31
|
+
using the same XML format as regular plans.
|
|
32
|
+
4. Ask the user: "Fix plan created. Run /mindforge:execute-phase [N] again
|
|
33
|
+
to apply the fixes?"
|
|
34
|
+
|
|
35
|
+
## Step 4 — Write UAT record
|
|
36
|
+
Write `.planning/phases/[N]/UAT.md`:
|
|
37
|
+
|
|
38
|
+
```markdown
|
|
39
|
+
# UAT — Phase [N]
|
|
40
|
+
|
|
41
|
+
## Tester
|
|
42
|
+
[User name or "developer"]
|
|
43
|
+
|
|
44
|
+
## Date
|
|
45
|
+
[ISO 8601 date]
|
|
46
|
+
|
|
47
|
+
## Results
|
|
48
|
+
|
|
49
|
+
| # | Deliverable | Result | Notes |
|
|
50
|
+
|---|------------------------------------|--------|------------------------|
|
|
51
|
+
| 1 | [description] | ✅ | [what was observed] |
|
|
52
|
+
| 2 | [description] | ❌ | [what went wrong] |
|
|
53
|
+
|
|
54
|
+
## Overall status
|
|
55
|
+
All passed ✅ / Issues found — fix plans created ❌
|
|
56
|
+
|
|
57
|
+
## Sign-off
|
|
58
|
+
[Passed / Pending fixes]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Step 5 — Update state if all pass
|
|
62
|
+
If all deliverables pass:
|
|
63
|
+
Update STATE.md: phase N = verified and signed off.
|
|
64
|
+
Tell the user:
|
|
65
|
+
"✅ Phase [N] verified and signed off.
|
|
66
|
+
Run /mindforge:ship [N] to create the release PR."
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Quick security assessment across 7 attack domains in 2-5 minutes. Usage - /mindforge:vibe-check [path] [--domain web|api|cli|all] [--headers-only]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Rapid security gut-check covering the most common vulnerability categories.
|
|
7
|
+
Faster than full threat modeling — catches 80% of issues in 20% of the time.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/vibe-security/SKILL.md
|
|
12
|
+
@.mindforge/skills/security-review/SKILL.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Parse target path (default: current diff) and domain filter (default: all).
|
|
21
|
+
2. If --headers-only: skip code analysis, check security headers only, report.
|
|
22
|
+
3. Identify application type (web app, API, CLI tool, library) to scope checks.
|
|
23
|
+
4. Quick-scan all 7 domains applicable to the type:
|
|
24
|
+
- Access Control: check for sequential IDs, missing ownership verification, broken authz
|
|
25
|
+
- XSS: check output encoding, CSP presence, unsafe innerHTML or React raw-HTML usage
|
|
26
|
+
- CSRF: check token presence, SameSite cookies, state-changing GET requests
|
|
27
|
+
- SSRF: check URL inputs, allowlists, metadata endpoint blocking
|
|
28
|
+
- SQL Injection: check for string concatenation in queries, missing parameterization
|
|
29
|
+
- File Upload: check extension vs magic bytes validation, storage location
|
|
30
|
+
- Path Traversal: check user input in file paths, canonicalization
|
|
31
|
+
5. Check security headers: HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy.
|
|
32
|
+
6. Check for common IP bypass patterns if SSRF-relevant code found.
|
|
33
|
+
7. Classify findings by severity: LOW / MEDIUM / HIGH / CRITICAL.
|
|
34
|
+
8. If any HIGH/CRITICAL: recommend escalating to `/mindforge:threat-model` for full analysis.
|
|
35
|
+
9. Write VIBE-SECURITY-CHECK.md to `.planning/` with findings + remediation.
|
|
36
|
+
10. Log vibe-check event in AUDIT. Total time target: under 5 minutes.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Monorepo workspace management.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Workspace Command
|
|
6
|
+
# Usage: /mindforge:workspace [detect|list|plan phase N|test]
|
|
7
|
+
|
|
8
|
+
Monorepo workspace management.
|
|
9
|
+
|
|
10
|
+
## detect
|
|
11
|
+
Run workspace detector from `.mindforge/monorepo/workspace-detector.md`.
|
|
12
|
+
Write WORKSPACE-MANIFEST.json.
|
|
13
|
+
Report: workspace type, packages found, dependency order.
|
|
14
|
+
|
|
15
|
+
## list
|
|
16
|
+
Read WORKSPACE-MANIFEST.json and display package list:
|
|
17
|
+
```
|
|
18
|
+
Workspace: Turborepo (4 packages)
|
|
19
|
+
packages/shared → @myapp/shared (lib, 0 dependents)
|
|
20
|
+
apps/api → @myapp/api (api, depends on: shared)
|
|
21
|
+
apps/web → @myapp/web (web, depends on: shared, api)
|
|
22
|
+
apps/mobile → @myapp/mobile (mobile, depends on: shared)
|
|
23
|
+
Execution order: shared → api → (web, mobile in parallel)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## plan phase N
|
|
27
|
+
Create a phase plan that spans multiple packages.
|
|
28
|
+
Uses cross-package-planner.md to determine package execution order.
|
|
29
|
+
Each PLAN file includes a `<package>` and `<working-dir>` field.
|
|
30
|
+
|
|
31
|
+
## test
|
|
32
|
+
Run tests across all packages in dependency order.
|
|
33
|
+
Report per-package test results and aggregate coverage.
|