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,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:embeddings
|
|
3
|
+
description: "Design embedding and vector search system. Usage: /mindforge:embeddings [domain] [--db pinecone|weaviate|qdrant|pgvector] [--hybrid true|false]"
|
|
4
|
+
argument-hint: "[domain] [--db pinecone|weaviate|qdrant|pgvector] [--hybrid true|false]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design a comprehensive embedding and vector search system for semantic retrieval, recommendation engines, or similarity matching. This command creates architecture for embedding generation, vector database selection, indexing strategies, and hybrid search combining dense vectors with keyword search for optimal recall and precision.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/embedding-systems/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/embedding-systems/`
|
|
20
|
+
State: Analyzes domain requirements, data characteristics, query patterns, and scale constraints to recommend embedding models, vector databases, indexing configurations, and retrieval strategies.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Domain and Data Analysis**: Characterize input data types (text, images, multimodal), assess volume and dimensionality, analyze query patterns (exact match, semantic similarity, filtering), and define latency/throughput requirements.
|
|
25
|
+
|
|
26
|
+
2. **Embedding Model Selection**: Recommend models by domain (text: OpenAI ada-002/text-embedding-3, Cohere, E5; images: CLIP, DINOv2), evaluate trade-offs (dimensionality vs accuracy, speed vs quality), and specify fine-tuning requirements for domain adaptation.
|
|
27
|
+
|
|
28
|
+
3. **Vector Database Architecture**: Compare database options (Pinecone for managed simplicity, Qdrant for control, Weaviate for multimodal, pgvector for SQL integration), design sharding and replication strategies for scale, and specify index types (HNSW, IVF, flat) based on query patterns.
|
|
29
|
+
|
|
30
|
+
4. **Hybrid Search Implementation**: Design keyword search integration (BM25, Elasticsearch) alongside vector search, implement score fusion strategies (RRF, weighted combination), and optimize for both semantic understanding and exact term matching.
|
|
31
|
+
|
|
32
|
+
5. **Indexing and Optimization**: Configure HNSW parameters (M, ef_construction) for speed/accuracy balance, implement quantization (product quantization, scalar quantization) for memory efficiency, and design incremental indexing for real-time updates.
|
|
33
|
+
|
|
34
|
+
6. **Query Optimization**: Implement query preprocessing (normalization, expansion, reranking), design filtered search with metadata constraints, and create multi-stage retrieval pipelines (coarse-to-fine, two-tower reranking).
|
|
35
|
+
|
|
36
|
+
7. **Monitoring and Evaluation**: Define retrieval quality metrics (precision@k, recall@k, MRR, NDCG), implement latency tracking and cost monitoring per query, and design A/B testing framework for embedding model comparisons.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:environments
|
|
3
|
+
description: "Design environment management system. Usage: /mindforge:environments [scope] [--type preview|ephemeral|staging] [--lifecycle hours|days|permanent]"
|
|
4
|
+
argument-hint: "[scope] [--type preview|ephemeral|staging] [--lifecycle hours|days|permanent]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive environments system architecture with best practices and production-ready patterns.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/environment-management/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/environment-management/`
|
|
20
|
+
State: Analyzes requirements, constraints, and scale to generate optimized environments 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,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Score the last task using eval-harness rubrics and track pass@k metrics. Usage - /mindforge:eval [eval-name] [--grader code|model|human] [--k 5] [--type capability|regression]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Apply structured evaluation to the last task output, tracking metrics over time
|
|
7
|
+
to detect capability regression and measure improvement.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/eval-harness/SKILL.md
|
|
12
|
+
</execution_context>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
$ARGUMENTS
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. Parse eval-name (required — identifies the evaluation being run).
|
|
20
|
+
2. Load or create eval config from `.mindforge/evals/[eval-name]/config.json`.
|
|
21
|
+
3. Determine grader type: --grader code (deterministic assertions) | model (LLM-as-judge) | human (flag for review).
|
|
22
|
+
4. Determine eval type: --type capability (new feature) or regression (existing behavior).
|
|
23
|
+
5. If pass@k requested (--k N): generate N outputs for the same input.
|
|
24
|
+
6. Apply grading rubric from `.mindforge/evals/[eval-name]/rubric.md`.
|
|
25
|
+
7. For code grader: run assertions, compute binary pass/fail per criterion.
|
|
26
|
+
8. For model grader: score each criterion 1-5 with reasoning, compute average.
|
|
27
|
+
9. For human grader: present output with rubric, collect scores interactively.
|
|
28
|
+
10. Compute pass@k: how many of k attempts passed all criteria.
|
|
29
|
+
11. Compare result to baseline in `results.jsonl` — detect regression (score drop > 10%).
|
|
30
|
+
12. Append result to `.mindforge/evals/[eval-name]/results.jsonl`.
|
|
31
|
+
13. Report: score, pass@k, trend (improving/stable/regressing), delta from baseline.
|
|
32
|
+
14. Log eval event in AUDIT.
|
|
33
|
+
</process>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design event-driven message flow with ordering and delivery guarantees. Usage - /mindforge:events [domain] [--broker kafka|rabbitmq|sqs] [--guarantee at-least-once]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design an event-driven architecture with explicit ordering guarantees, delivery
|
|
7
|
+
semantics, and failure handling. Covers event schema design, partitioning
|
|
8
|
+
strategy, consumer idempotency, and dead letter handling.
|
|
9
|
+
</objective>
|
|
10
|
+
|
|
11
|
+
<execution_context>
|
|
12
|
+
@.mindforge/skills/event-driven-architecture/SKILL.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Identify domain events by analyzing state transitions and side effects. Name events in past tense (OrderPlaced, PaymentProcessed). Map event flows between bounded contexts.
|
|
21
|
+
2. Design event schemas using Avro or Protobuf with a schema registry. Include metadata envelope (event_id, timestamp, correlation_id, causation_id, schema_version). Plan for schema evolution (backward/forward compatibility).
|
|
22
|
+
3. Configure partitioning strategy using entity ID as partition key to guarantee ordering within an entity (e.g., all events for order-123 go to same partition). Calculate partition count based on throughput needs.
|
|
23
|
+
4. Set delivery guarantees based on --guarantee flag: at-least-once (default, requires idempotent consumers), at-most-once (fire-and-forget, acceptable loss), or exactly-once (transactional outbox + idempotent consumer).
|
|
24
|
+
5. Implement idempotent consumers using deduplication strategies: idempotency key table (event_id + consumer_id), natural idempotency (SET operations), or conditional writes (optimistic locking with version).
|
|
25
|
+
6. Configure dead letter topics/queues for messages that fail after max retries. Set up alerting on DLQ depth, implement DLQ replay tooling, and define manual review workflow for poison messages.
|
|
26
|
+
7. Build an event catalog documenting every event type: schema, producer, consumers, SLA (max processing latency), retention period, and example payloads. Keep catalog as code alongside schemas.
|
|
27
|
+
8. Set up monitoring: consumer lag (how far behind real-time), processing latency (event age at consumption), error rate per consumer group, and partition skew detection.
|
|
28
|
+
9. Design the transactional outbox pattern for reliable event publishing: write event to outbox table in same transaction as state change, poll/CDC outbox to broker, mark as published.
|
|
29
|
+
10. Log events invocation in AUDIT with: domain, broker, guarantee level, event count, partition strategy.
|
|
30
|
+
</process>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Review mature instincts and promote qualifying ones to full skills. Usage - /mindforge:evolve-skills [--dry-run] [--threshold 0.85] [--min-applications 5]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Scan the instinct store for entries that have proven themselves through repeated
|
|
7
|
+
successful application, and promote them to full MindForge skills.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/engine/instincts/promotion-engine.md
|
|
12
|
+
@.mindforge/engine/instincts/instinct-schema.md
|
|
13
|
+
@.mindforge/skills/continuous-learning/SKILL.md
|
|
14
|
+
@.mindforge/org/skills/MANIFEST.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
$ARGUMENTS
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
1. Parse flags: --dry-run (show candidates without acting), --threshold (confidence minimum, default 0.85), --min-applications (default 5).
|
|
23
|
+
2. Read `.mindforge/engine/instincts/instinct-store.jsonl`.
|
|
24
|
+
3. **Identify candidates** meeting ALL criteria:
|
|
25
|
+
- confidence >= threshold
|
|
26
|
+
- times_applied >= min-applications
|
|
27
|
+
- times_succeeded >= 80% of times_applied
|
|
28
|
+
- status == "active"
|
|
29
|
+
- No existing skill covers same behavior (check MANIFEST.md triggers)
|
|
30
|
+
4. **Rank candidates** by impact score: confidence * times_applied.
|
|
31
|
+
5. **Present candidates** to user:
|
|
32
|
+
```
|
|
33
|
+
Promotion Candidates (ranked by impact):
|
|
34
|
+
1. [observation] — confidence: 0.92, applied: 12x, success: 11/12
|
|
35
|
+
2. [observation] — confidence: 0.88, applied: 7x, success: 6/7
|
|
36
|
+
```
|
|
37
|
+
6. If --dry-run: stop here, report what would be promoted.
|
|
38
|
+
7. **For each approved candidate:**
|
|
39
|
+
a. Generate SKILL.md draft:
|
|
40
|
+
- name: derived from instinct tags
|
|
41
|
+
- triggers: derived from observation keywords
|
|
42
|
+
- content: expanded from behavior field
|
|
43
|
+
b. Create `.mindforge/skills/[name]/SKILL.md`
|
|
44
|
+
c. Add entry to MANIFEST.md (Project tier by default)
|
|
45
|
+
d. Mark instinct as promoted: `"status": "promoted", "promoted_to_skill": "[name]"`
|
|
46
|
+
8. Report: "Promoted [N] instincts to skills. New skills: [list]."
|
|
47
|
+
9. Log in AUDIT: skill_promoted events with instinct_id and skill_name.
|
|
48
|
+
10. Remind: "Monitor promoted skills — if they prove unhelpful, they can be reverted."
|
|
49
|
+
</process>
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 1. Read STATE.md — confirm phase [N] is in "planned" status.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Execute Phase Command
|
|
6
|
+
# Usage: /mindforge:execute-phase [N]
|
|
7
|
+
|
|
8
|
+
## Pre-checks (all must pass before execution starts)
|
|
9
|
+
|
|
10
|
+
1. Read STATE.md — confirm phase [N] is in "planned" status.
|
|
11
|
+
If STATE.md shows phase [N] as already "complete": ask user to confirm re-execution.
|
|
12
|
+
|
|
13
|
+
2. Verify plan files exist:
|
|
14
|
+
```
|
|
15
|
+
.planning/phases/[N]/PLAN-[N]-01.md (minimum one plan required)
|
|
16
|
+
```
|
|
17
|
+
If missing: stop. Tell user: "No plans found for Phase [N]. Run /mindforge:plan-phase [N] first."
|
|
18
|
+
|
|
19
|
+
3. Verify REQUIREMENTS.md exists and has content.
|
|
20
|
+
If empty: warn user but allow continuation.
|
|
21
|
+
|
|
22
|
+
4. Run the dependency parser (`.mindforge/engine/dependency-parser.md`).
|
|
23
|
+
If validation fails (circular deps, missing deps): stop and report. Do not execute.
|
|
24
|
+
|
|
25
|
+
## Step 1 — Build and display the execution plan
|
|
26
|
+
|
|
27
|
+
After dependency parsing succeeds, display the wave plan to the user:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
Phase [N] Execution Plan
|
|
31
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
32
|
+
|
|
33
|
+
Wave 1 (parallel) Wave 2 (parallel) Wave 3
|
|
34
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
35
|
+
│ Plan 01 │ │ Plan 03 │ │ Plan 05 │
|
|
36
|
+
│ User model │──┐ │ User API │──┐ │ Checkout UI │
|
|
37
|
+
└─────────────┘ │ └─────────────┘ │ └─────────────┘
|
|
38
|
+
┌─────────────┐ │ ┌─────────────┐ │
|
|
39
|
+
│ Plan 02 │──┘ │ Plan 04 │──┘
|
|
40
|
+
│ Product │ │ Product API │
|
|
41
|
+
└─────────────┘ └─────────────┘
|
|
42
|
+
|
|
43
|
+
Total tasks: 5 Waves: 3 Est. time: depends on model speed
|
|
44
|
+
|
|
45
|
+
Proceed? (yes/no)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
If the user says no: stop. Do not execute anything.
|
|
49
|
+
|
|
50
|
+
## Step 2 — Write pre-execution audit entry
|
|
51
|
+
|
|
52
|
+
Append to `.planning/AUDIT.jsonl`:
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"id": "[uuid-v4]",
|
|
56
|
+
"timestamp": "[ISO-8601]",
|
|
57
|
+
"event": "phase_execution_started",
|
|
58
|
+
"phase": [N],
|
|
59
|
+
"wave_count": [total waves],
|
|
60
|
+
"task_count": [total tasks],
|
|
61
|
+
"agent": "mindforge-orchestrator",
|
|
62
|
+
"session_id": "[session identifier]"
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Step 3 — Execute waves using the wave executor
|
|
67
|
+
|
|
68
|
+
Follow the complete protocol in `.mindforge/engine/wave-executor.md`.
|
|
69
|
+
|
|
70
|
+
For each wave:
|
|
71
|
+
|
|
72
|
+
### Wave start
|
|
73
|
+
Write to console:
|
|
74
|
+
```
|
|
75
|
+
━━━ Wave [W] of [total] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
76
|
+
Starting [X] tasks in parallel...
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Per-task execution (inject context per `context-injector.md`)
|
|
80
|
+
For each plan in the wave:
|
|
81
|
+
1. Load context package (per `context-injector.md`)
|
|
82
|
+
2. Execute the plan instructions
|
|
83
|
+
- Run `<verify>` — capture exact output
|
|
84
|
+
- If verify PASSES:
|
|
85
|
+
- Run `<verify-visual>` via `visual-verify-executor.js`
|
|
86
|
+
- If visual verify FAILS: stop and report (treat as verify failure)
|
|
87
|
+
- Write SUMMARY-[N]-[M].md
|
|
88
|
+
- Execute commit: `git add [files] && git commit -m "[type]([scope]): [task name]"`
|
|
89
|
+
- Capture git SHA
|
|
90
|
+
- Write AUDIT entry for task completion
|
|
91
|
+
5. If verify FAILS:
|
|
92
|
+
- Write SUMMARY-[N]-[M].md with failure details
|
|
93
|
+
- Write AUDIT entry for task failure
|
|
94
|
+
- STOP this wave immediately
|
|
95
|
+
- Report: "Task [plan ID] failed: [verify output]. Stopping Phase [N]."
|
|
96
|
+
- Do not start next wave
|
|
97
|
+
- Ask user: "Spawn debug agent to diagnose? (yes/no)"
|
|
98
|
+
|
|
99
|
+
### Wave completion (before starting next wave)
|
|
100
|
+
After all tasks in wave complete:
|
|
101
|
+
1. Run: `[project test command]`
|
|
102
|
+
2. If tests fail:
|
|
103
|
+
- Identify failing tests
|
|
104
|
+
- Run `git log --oneline -[wave-task-count]` to see wave commits
|
|
105
|
+
- Report which commit likely introduced the failure
|
|
106
|
+
- Stop. Ask user how to proceed.
|
|
107
|
+
3. If tests pass:
|
|
108
|
+
- Report: "Wave [W] complete. All [X] tasks passed. Tests passing. ✅"
|
|
109
|
+
- Run `/mindforge:record-learning` if any architectural "Aha!" moments or significant anti-patterns were discovered during this wave.
|
|
110
|
+
- Write WAVE-REPORT update
|
|
111
|
+
|
|
112
|
+
## Step 4 — Phase-level verification
|
|
113
|
+
|
|
114
|
+
After all waves complete, run the verification pipeline:
|
|
115
|
+
|
|
116
|
+
1. Read every v1 requirement from REQUIREMENTS.md for this phase
|
|
117
|
+
2. For each requirement, verify it is implemented:
|
|
118
|
+
- Search the codebase for the implementation
|
|
119
|
+
- Check if a test covers it
|
|
120
|
+
- Mark: ✅ implemented + tested | ⚠️ implemented, no test | ❌ not found
|
|
121
|
+
3. Write `.planning/phases/[N]/VERIFICATION.md`
|
|
122
|
+
4. Run the full test suite one final time
|
|
123
|
+
5. If any requirement is ❌: create a fix plan and report to user
|
|
124
|
+
|
|
125
|
+
## Step 5 — Update state and write wave report
|
|
126
|
+
|
|
127
|
+
Write `.planning/phases/[N]/WAVE-REPORT-[N].md` (per template in wave-executor.md)
|
|
128
|
+
|
|
129
|
+
Update STATE.md:
|
|
130
|
+
```markdown
|
|
131
|
+
## Current phase
|
|
132
|
+
[N] — Execution complete ✅
|
|
133
|
+
|
|
134
|
+
## Last completed task
|
|
135
|
+
Phase [N]: All [X] tasks completed across [W] waves.
|
|
136
|
+
|
|
137
|
+
## Next action
|
|
138
|
+
Run /mindforge:verify-phase [N] for human acceptance testing.
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Update HANDOFF.json with completed phase info.
|
|
142
|
+
|
|
143
|
+
## Step 5.1 — Final Intelligence Sync
|
|
144
|
+
1. Read `AGENTS_LEARNING.md` one last time.
|
|
145
|
+
2. Run `/mindforge:record-learning` to capture the final phase-level learnings (Mistakes discovered during UAT, architectural refinements).
|
|
146
|
+
3. Commit `AGENTS_LEARNING.md` if updated.
|
|
147
|
+
|
|
148
|
+
Write final AUDIT entry:
|
|
149
|
+
```json
|
|
150
|
+
{
|
|
151
|
+
"id": "[uuid-v4]",
|
|
152
|
+
"timestamp": "[ISO-8601]",
|
|
153
|
+
"event": "phase_execution_completed",
|
|
154
|
+
"phase": [N],
|
|
155
|
+
"tasks_completed": [X],
|
|
156
|
+
"waves_executed": [W],
|
|
157
|
+
"commits": ["sha1", "sha2", "..."],
|
|
158
|
+
"test_result": "passing",
|
|
159
|
+
"agent": "mindforge-orchestrator"
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Step 6 — Report to user
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
167
|
+
✅ Phase [N] execution complete
|
|
168
|
+
|
|
169
|
+
Tasks completed : [X] / [X]
|
|
170
|
+
Waves executed : [W]
|
|
171
|
+
Commits made : [X]
|
|
172
|
+
Tests : All passing
|
|
173
|
+
Requirements : [X] / [X] implemented
|
|
174
|
+
|
|
175
|
+
Next step: Run /mindforge:verify-phase [N] for UAT sign-off.
|
|
176
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
|
+
|
|
178
|
+
## Step 7 — Auto-capture check (when AUTO_CAPTURE_SKILLS=true)
|
|
179
|
+
|
|
180
|
+
After all gates pass and the phase is verified:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
# Check if auto-capture is enabled
|
|
184
|
+
CAPTURE=$(grep -m1 "^AUTO_CAPTURE_SKILLS=" MINDFORGE.md 2>/dev/null | cut -d= -f2 | tr -d ' ')
|
|
185
|
+
if [ "$CAPTURE" = "true" ]; then
|
|
186
|
+
node -e "
|
|
187
|
+
const { detectPatterns, formatForPresentation } = require('./bin/skills-builder/pattern-detector');
|
|
188
|
+
detectPatterns(${PHASE_NUM}).then(result => {
|
|
189
|
+
const display = formatForPresentation(result);
|
|
190
|
+
console.log(display);
|
|
191
|
+
}).catch(err => console.error('[auto-capture] Error:', err.message));
|
|
192
|
+
"
|
|
193
|
+
fi
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
If patterns are found: display the prompt and await user input.
|
|
197
|
+
If user selects yes: run `/mindforge:learn --session` targeting this phase's SUMMARY files.
|
|
198
|
+
If user selects no: write AUDIT entry `auto_capture_skipped` and continue.
|
|
199
|
+
If no patterns found: exit silently (no noise in the output).
|
|
200
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design A/B test with statistical rigor. Usage: /mindforge:experiment [feature] [--metric conversion|engagement|revenue] [--duration 2w]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a statistically rigorous A/B experiment with proper hypothesis formation, sample size calculation, guardrail metrics, and pre-registered decision rules to avoid p-hacking and ensure valid conclusions.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/experiment-design/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (feature or change being tested, optional --metric, optional --duration)
|
|
15
|
+
Knowledge: Current baseline metrics, traffic volume, previous experiment results, business goals.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Form Hypothesis**: Write a falsifiable hypothesis in the format: "If we [change X], then [metric Y] will [increase/decrease] by [minimum detectable effect Z%], because [theory]." Distinguish between exploratory and confirmatory experiments.
|
|
20
|
+
2. **Define Primary Metric and Guardrails**: Select one primary metric (the decision metric) and 2-4 guardrail metrics that must not degrade. Define what "degradation" means quantitatively for each guardrail.
|
|
21
|
+
3. **Calculate Required Sample Size**: Using baseline conversion rate, minimum detectable effect, significance level (default alpha=0.05), and power (default 0.8), calculate the required sample size per variant. Account for multiple comparisons if testing more than 2 variants.
|
|
22
|
+
4. **Choose Randomization Unit**: Select the randomization unit (user, session, device, organization). Consider: consistency of experience, network effects, and statistical independence. Document why.
|
|
23
|
+
5. **Set Experiment Duration**: Run for at least 1 full business cycle (typically 1-2 weeks minimum). Account for day-of-week effects, novelty effects, and learning effects. Never peek at results before predetermined end date.
|
|
24
|
+
6. **Design Variants**: Define control and treatment(s) precisely. Document the exact user experience for each variant. Ensure only one variable changes between variants (isolation).
|
|
25
|
+
7. **Configure Analysis Plan**: Pre-register the statistical test (t-test, chi-squared, Mann-Whitney), correction method for multiple comparisons (Bonferroni, Holm), and segmentation plan. Document before launching.
|
|
26
|
+
8. **Define Success Criteria**: Specify the exact threshold for shipping: primary metric improvement is statistically significant AND guardrails are not violated AND practical significance (effect size) justifies the complexity.
|
|
27
|
+
9. **Document Decision Rules**: Pre-commit to outcomes: if significant positive = ship; if significant negative = kill; if inconclusive = extend duration or iterate on treatment. Define "inconclusive" precisely.
|
|
28
|
+
</process>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design feature flag strategy with lifecycle management. Usage - /mindforge:feature-flags [feature] [--type release|experiment|operational] [--rollout 5%]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a feature flag strategy with full lifecycle management — from creation
|
|
7
|
+
through gradual rollout to cleanup. Covers flag typing, targeting rules,
|
|
8
|
+
kill switches, success metrics, and mandatory flag removal deadlines.
|
|
9
|
+
</objective>
|
|
10
|
+
|
|
11
|
+
<execution_context>
|
|
12
|
+
@.mindforge/skills/feature-flag-management/SKILL.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Classify the flag type based on --type flag: release (temporary, gates incomplete feature, remove after launch), experiment (A/B test with metrics, remove after decision), or operational (long-lived, controls system behavior like rate limits or circuit breakers).
|
|
21
|
+
2. Define targeting rules: percentage rollout (--rollout flag), user segment targeting (beta users, internal, enterprise), geographic targeting, or device/platform targeting. Use consistent hashing on user ID for sticky assignment.
|
|
22
|
+
3. Set the rollout percentage and define the rollout plan: 5% (canary) -> 25% (early adopters) -> 50% (half) -> 100% (GA). Define success criteria for each stage gate (error rate, latency, business metrics).
|
|
23
|
+
4. Configure kill switch: every flag must have an emergency off switch that immediately disables the feature for all users. Kill switch activation should not require a deploy — remote config only.
|
|
24
|
+
5. Define success metrics that determine whether the flag should be fully enabled or rolled back: conversion rate, error rate delta, latency impact, user engagement, and business KPIs specific to the feature.
|
|
25
|
+
6. Set cleanup deadline: release flags must be removed within 90 days of 100% rollout. Experiment flags within 30 days of decision. Create a tracking ticket for flag removal at flag creation time.
|
|
26
|
+
7. Implement flag evaluation in code: use SDK with local caching (no network call per evaluation), provide sensible defaults for SDK initialization failure, and log flag evaluations for debugging.
|
|
27
|
+
8. Plan flag removal process: remove flag check from code, remove flag from configuration, verify no references remain (grep), and deploy. Ensure removal is atomic (single PR, not split across deploys).
|
|
28
|
+
9. Set up flag hygiene tooling: dashboard showing all active flags with age, lint rules that warn on flags past deadline, automated Slack notifications for stale flags, and quarterly flag audit.
|
|
29
|
+
10. Log feature-flags invocation in AUDIT with: feature name, flag type, initial rollout percentage, cleanup deadline, targeting rules.
|
|
30
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:feature-store
|
|
3
|
+
description: "Design ML feature store. Usage: /mindforge:feature-store [domain] [--store feast|tecton|vertex] [--type batch|realtime|both]"
|
|
4
|
+
argument-hint: "[domain] [--store feast|tecton|vertex] [--type batch|realtime|both]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive feature-store system architecture.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/ml-feature-store/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/ml-feature-store/`
|
|
20
|
+
State: Analyzes requirements and constraints to generate feature-store architecture.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Requirement Analysis**: Analyze domain-specific requirements and constraints.
|
|
25
|
+
2. **Architecture Design**: Design scalable system architecture with best practices.
|
|
26
|
+
3. **Component Selection**: Select appropriate technologies and tools for implementation.
|
|
27
|
+
4. **Integration Strategy**: Define integration patterns with existing systems.
|
|
28
|
+
5. **Optimization Approach**: Implement performance and cost optimization strategies.
|
|
29
|
+
6. **Monitoring Framework**: Design observability and alerting mechanisms.
|
|
30
|
+
7. **Deployment Planning**: Create deployment strategy with rollback procedures.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Estimate and optimize cloud infrastructure costs. Usage - /mindforge:finops [service] [--forecast 6m] [--target-savings 20%]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Estimate current cloud infrastructure costs, identify optimization opportunities,
|
|
7
|
+
model cost reduction alternatives, and create an actionable implementation plan
|
|
8
|
+
that achieves the target savings percentage without degrading service reliability
|
|
9
|
+
or performance within the forecast period.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@.mindforge/skills/cost-estimation/SKILL.md
|
|
14
|
+
</execution_context>
|
|
15
|
+
|
|
16
|
+
<context>
|
|
17
|
+
$ARGUMENTS
|
|
18
|
+
</context>
|
|
19
|
+
|
|
20
|
+
<process>
|
|
21
|
+
1. Inventory current resources by category: compute (instances, containers, serverless), storage (block, object, database), network (egress, load balancers, CDN), and managed services (queues, caches, search). Tag each with monthly cost and owner team.
|
|
22
|
+
2. Measure utilization for each resource: CPU average/peak, memory average/peak, storage used vs provisioned, network bandwidth vs capacity. Flag resources with average utilization below 30% as candidates for right-sizing.
|
|
23
|
+
3. Identify waste across categories: unused resources (no traffic for 7+ days), oversized instances (peak utilization < 50% of capacity), idle load balancers, unattached volumes, orphaned snapshots, and over-provisioned databases.
|
|
24
|
+
4. Model cost alternatives based on --target-savings: reserved instances (1yr/3yr commitment for steady-state), spot/preemptible for fault-tolerant workloads, smaller instance families, ARM-based options, and serverless conversion for spiky workloads. Calculate break-even for each.
|
|
25
|
+
5. Estimate savings per optimization: calculate monthly/annual savings, implementation effort (hours), risk level (low/medium/high), and payback period. Rank by savings-to-effort ratio.
|
|
26
|
+
6. Create implementation plan with phases: Phase 1 (quick wins, <1 day, no risk), Phase 2 (right-sizing, 1 week, low risk), Phase 3 (architectural changes, 1 month, medium risk). Include rollback plan for each phase.
|
|
27
|
+
7. Set up cost alerts and budgets: configure alerts at 80%/100%/120% of monthly budget, per-team cost allocation tags, anomaly detection for unexpected spikes (>20% day-over-day), and weekly cost reports to stakeholders.
|
|
28
|
+
8. Track reduction over --forecast period: establish baseline month, measure actual vs projected savings, identify new cost growth areas, and adjust plan quarterly. Report ROI of optimization effort (hours saved in cost / hours invested).
|
|
29
|
+
9. Design cost governance policies: mandatory resource tagging, auto-shutdown for dev/staging outside business hours, maximum instance size without approval, and reserved instance utilization monitoring.
|
|
30
|
+
10. Log FinOps analysis in AUDIT with: service, current monthly cost, identified savings, target savings percentage, implementation phases, and forecast period.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:fintech
|
|
3
|
+
description: "Design fintech payment/ledger architecture. Usage: /mindforge:fintech [service] [--domain payments|ledger|kyc] [--compliance pci|sox]"
|
|
4
|
+
argument-hint: "[service] [--domain payments|ledger|kyc] [--compliance pci|sox]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Designs secure, compliant fintech architectures for payment processing, double-entry ledgers, and KYC/AML systems. Produces PCI-DSS and SOX-compliant designs with idempotency guarantees, audit trails, and fraud detection patterns for financial service applications.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/fintech-patterns/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/fintech-patterns/`
|
|
20
|
+
State: Evaluates fintech service requirements, compliance domains (PCI-DSS, SOX, KYC/AML), and produces architectures with transaction integrity, idempotency, reconciliation, and fraud prevention mechanisms.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Domain Analysis**: Identify fintech domain (payment gateway, ledger system, KYC verification, lending platform) and classify transaction types, monetary precision requirements, and regulatory scope.
|
|
25
|
+
2. **Compliance Framework**: Map compliance requirements (PCI-DSS SAQ levels, SOX control objectives, KYC/AML screening) to architectural layers and define cardholder data environments, change control procedures, and audit evidence collection.
|
|
26
|
+
3. **Transaction Architecture**: Design idempotent transaction processing with unique transaction IDs, state machines for payment flows (authorized → captured → settled), and distributed transaction patterns (Saga, 2PC) with compensation logic.
|
|
27
|
+
4. **Ledger Design**: Implement double-entry bookkeeping with immutable transaction logs, account balance reconciliation, and temporal consistency guarantees using event sourcing or append-only ledgers.
|
|
28
|
+
5. **Security Controls**: Define tokenization for card data, encryption key hierarchies, secure key storage (HSM), mTLS for inter-service communication, and fraud detection rules (velocity checks, geolocation, device fingerprinting).
|
|
29
|
+
6. **Reconciliation Pipeline**: Design automated reconciliation workflows comparing internal ledger against external payment processors, bank statements, and third-party APIs with alerting for discrepancies.
|
|
30
|
+
7. **Audit and Reporting**: Generate immutable audit logs for all financial transactions, access to sensitive data, and configuration changes with compliance report generation (PCI quarterly scans, SOX control testing evidence).
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:flutter
|
|
3
|
+
description: "Flutter architecture and pattern guidance. Usage: /mindforge:flutter [feature] [--state riverpod|bloc|provider]"
|
|
4
|
+
argument-hint: "[feature] [--state riverpod|bloc|provider]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design Flutter applications using BLoC or Riverpod patterns with platform channels for native integration, optimized widget trees, and Dart-native performance.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/flutter-architecture/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/flutter-architecture/`
|
|
20
|
+
State: Recommends state management approach, widget composition patterns, platform channel design, and Flutter-specific performance optimizations.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **State Management**: Riverpod 2.0 → type-safe, compile-time DI, async support, testing-friendly (recommended). BLoC → event-driven, good for complex flows, reactive streams. Provider → simple but verbose, being phased out. GetX → avoid (too much magic, hard to debug).
|
|
25
|
+
|
|
26
|
+
2. **Widget Architecture**: Composition over inheritance. Extract reusable widgets. Use const constructors (performance win). Separate stateful logic from UI. Keys for list performance. Avoid deep widget trees (>10 levels).
|
|
27
|
+
|
|
28
|
+
3. **Platform Channels**: Method channels for one-time calls. Event channels for streams. Use pigeon for type-safe codegen. Handle threading (iOS main thread requirement). Implement proper error handling across boundary.
|
|
29
|
+
|
|
30
|
+
4. **Performance**: Use ListView.builder (lazy loading). DevTools for widget rebuild analysis. Avoid setState in loops. Use RepaintBoundary strategically. Profile with Observatory. Target 60fps (120fps on ProMotion).
|
|
31
|
+
|
|
32
|
+
5. **Code Generation**: Freezed for immutable models. json_serializable for JSON parsing. built_value for value objects. auto_route for type-safe navigation. Run build_runner watch during development.
|
|
33
|
+
|
|
34
|
+
6. **Testing**: Unit tests (business logic). Widget tests (UI components). Integration tests (full app flows). Golden tests (pixel-perfect UI). Mock platform channels. Aim for >80% coverage.
|
|
35
|
+
|
|
36
|
+
7. **Release**: Obfuscate Dart code. Minimize app size (tree-shaking, deferred loading). Configure ProGuard rules. Test on min SDK version. Set up code push (Shorebird) for hotfixes.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:gaming
|
|
3
|
+
description: "Design gaming backend architecture. Usage: /mindforge:gaming [feature] [--mode realtime|turn-based] [--scale small|massive]"
|
|
4
|
+
argument-hint: "[feature] [--mode realtime|turn-based] [--scale small|massive]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Designs high-performance gaming backend architectures for real-time multiplayer, turn-based games, and massively multiplayer systems. Produces designs for matchmaking, game state synchronization, leaderboards, anti-cheat systems, and live operations with low-latency requirements.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/gaming-backend/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/gaming-backend/`
|
|
20
|
+
State: Evaluates game type, player concurrency requirements, and produces architecture with real-time communication (WebSocket/UDP), state synchronization, matchmaking algorithms, and operational analytics for live games.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Game Type Analysis**: Classify game mode (real-time shooter/MOBA, turn-based strategy, MMO, battle royale) and define latency requirements (<50ms for FPS, <200ms for turn-based), player concurrency (10s, 100s, 10000s), and session duration patterns.
|
|
25
|
+
2. **Network Architecture**: Design network topology with dedicated game servers vs P2P hybrid, protocol selection (WebSocket for web, UDP for mobile/console), regional server distribution for latency optimization, and client-side prediction with server reconciliation.
|
|
26
|
+
3. **Matchmaking System**: Implement matchmaking algorithms (skill-based rating like ELO/TrueSkill, latency-based region matching), queue management with backfill for in-progress games, and party system for group matchmaking with balanced team composition.
|
|
27
|
+
4. **Game State Management**: Design authoritative server architecture with client input validation, tick-based simulation loops, state synchronization patterns (full snapshots, delta compression, interest management for MMOs), and cheat prevention with server-side validation.
|
|
28
|
+
5. **Persistence Layer**: Architect player data storage (progression, inventory, achievements) with eventually consistent writes, caching for frequently accessed data (player profiles, loadouts), and leaderboard systems using sorted sets (Redis) or time-series databases.
|
|
29
|
+
6. **Live Operations**: Implement event systems for limited-time challenges, A/B testing frameworks for game balance tuning, analytics pipelines for player behavior tracking (retention, engagement, monetization), and operational dashboards for server health monitoring.
|
|
30
|
+
7. **Scalability Patterns**: Design horizontal scaling for game servers with auto-scaling based on player concurrency, stateful server migration for maintenance windows, database sharding by player ID or region, and CDN distribution for game assets and patches.
|
|
31
|
+
</process>
|