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,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Create PRD with user stories and prioritized backlog. Usage: /mindforge:product-spec [feature] [--framework RICE|MoSCoW]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Generate a Product Requirements Document with well-defined personas, user journeys, scored user stories, and a prioritized backlog ready for sprint planning. Outputs an actionable PRD with acceptance criteria.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/product-manager/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (feature name or description, optional --framework for prioritization)
|
|
15
|
+
Knowledge: PROJECT.md, existing BRDs, market research, competitive analysis, user feedback.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Define personas**: Create 2-4 user personas relevant to the feature:
|
|
20
|
+
- Name, role, and demographic summary
|
|
21
|
+
- Goals and motivations
|
|
22
|
+
- Pain points and frustrations
|
|
23
|
+
- Technical proficiency level
|
|
24
|
+
- Key quote that captures their mindset
|
|
25
|
+
- Usage frequency (daily, weekly, monthly)
|
|
26
|
+
|
|
27
|
+
2. **Map user journeys**: For each persona, trace the end-to-end journey:
|
|
28
|
+
- Trigger (what initiates the journey)
|
|
29
|
+
- Steps (each action the user takes)
|
|
30
|
+
- Touchpoints (where they interact with the system)
|
|
31
|
+
- Emotions at each step (frustrated, neutral, delighted)
|
|
32
|
+
- Drop-off risk points
|
|
33
|
+
- Success criteria for journey completion
|
|
34
|
+
|
|
35
|
+
3. **Write user stories**: For each journey step that requires system behavior:
|
|
36
|
+
- Format: "As a [persona], I want to [action] so that [outcome]"
|
|
37
|
+
- Include edge cases as separate stories
|
|
38
|
+
- Tag with epic/theme grouping
|
|
39
|
+
- Estimate complexity (story points: 1, 2, 3, 5, 8, 13)
|
|
40
|
+
|
|
41
|
+
4. **Score with framework**: Apply the selected prioritization framework:
|
|
42
|
+
- **RICE**: Reach * Impact * Confidence / Effort (score each 1-10)
|
|
43
|
+
- **MoSCoW**: Must have / Should have / Could have / Won't have
|
|
44
|
+
- Document scoring rationale for each story
|
|
45
|
+
- Flag any stories where team disagrees on score
|
|
46
|
+
|
|
47
|
+
5. **Prioritize backlog**: Rank all stories by framework score:
|
|
48
|
+
- Group into release milestones (MVP, v1.1, v1.2, future)
|
|
49
|
+
- Identify dependencies between stories (must-before relationships)
|
|
50
|
+
- Mark stories that can be parallelized
|
|
51
|
+
- Calculate total effort per milestone
|
|
52
|
+
|
|
53
|
+
6. **Define acceptance criteria**: For each Must-have story:
|
|
54
|
+
- Given-When-Then scenarios (happy path + error paths)
|
|
55
|
+
- Performance expectations (load time, response time)
|
|
56
|
+
- Accessibility requirements (WCAG level)
|
|
57
|
+
- Cross-browser/device requirements
|
|
58
|
+
- Data validation rules
|
|
59
|
+
|
|
60
|
+
7. **Output PRD**: Write the complete PRD with sections:
|
|
61
|
+
- Problem Statement (what pain are we solving, for whom, why now)
|
|
62
|
+
- Goals and Non-Goals (explicitly state what we will NOT do)
|
|
63
|
+
- Personas and User Journeys
|
|
64
|
+
- Feature Requirements (prioritized backlog)
|
|
65
|
+
- Technical Constraints and Dependencies
|
|
66
|
+
- Success Metrics (leading and lagging indicators)
|
|
67
|
+
- Release Plan (milestones with dates)
|
|
68
|
+
- Open Questions and Risks
|
|
69
|
+
|
|
70
|
+
8. **Define success metrics**: For the feature overall:
|
|
71
|
+
- Adoption metric (% of target users who try it)
|
|
72
|
+
- Engagement metric (frequency/depth of usage)
|
|
73
|
+
- Retention metric (continued usage after 30 days)
|
|
74
|
+
- Business metric (revenue, cost reduction, NPS impact)
|
|
75
|
+
- Technical metric (error rate, latency, support tickets)
|
|
76
|
+
|
|
77
|
+
9. **Risk assessment**: Identify risks to successful delivery:
|
|
78
|
+
- Technical risks (feasibility, integration complexity)
|
|
79
|
+
- Market risks (user adoption, competitive response)
|
|
80
|
+
- Resource risks (team availability, skill gaps)
|
|
81
|
+
- Timeline risks (dependencies, scope creep triggers)
|
|
82
|
+
- Mitigation plan for each risk
|
|
83
|
+
|
|
84
|
+
10. **Stakeholder review package**: Prepare summary for review:
|
|
85
|
+
- One-page executive summary
|
|
86
|
+
- Prioritized feature list with effort estimates
|
|
87
|
+
- Key trade-off decisions requiring input
|
|
88
|
+
- Timeline with confidence intervals
|
|
89
|
+
- Request specific decisions from specific stakeholders
|
|
90
|
+
</process>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate and maintain team/developer profiles for response personalization.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Profile Team Command
|
|
6
|
+
# Usage: /mindforge:profile-team [--refresh] [--developer email] [--questionnaire]
|
|
7
|
+
|
|
8
|
+
Generate and maintain team/developer profiles for response personalization.
|
|
9
|
+
|
|
10
|
+
## Data sources
|
|
11
|
+
1. Declared questionnaire preferences
|
|
12
|
+
2. Inferred patterns from AUDIT + git history + metrics
|
|
13
|
+
3. Defaults from org conventions
|
|
14
|
+
|
|
15
|
+
## Outputs
|
|
16
|
+
- `.mindforge/team/TEAM-PROFILE.md`
|
|
17
|
+
- `.mindforge/team/profiles/PROFILE-[dev-id].md`
|
|
18
|
+
|
|
19
|
+
## Modes
|
|
20
|
+
- `--refresh`: inference-only update
|
|
21
|
+
- `--developer`: target one developer profile
|
|
22
|
+
- `--questionnaire`: prompt preference questions before writing
|
|
23
|
+
|
|
24
|
+
## AUDIT
|
|
25
|
+
```json
|
|
26
|
+
{ "event": "team_profile_updated", "developers_profiled": 1, "method": "inferred" }
|
|
27
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design and optimize AI prompts with caching strategy. Usage: /mindforge:prompt [task-description] [--style system|few-shot|cot] [--cache]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design and optimize AI prompts with appropriate structure, caching strategy, and iteration based on edge-case testing — producing production-grade prompts that maximize model performance.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/prompt-engineering/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (task description, optional --style system|few-shot|cot, optional --cache flag)
|
|
15
|
+
Knowledge: Current system prompts, model capabilities, prompt caching mechanics, few-shot example libraries.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Analyze task**: Understand the task requirements:
|
|
20
|
+
- What is the desired output format and quality bar?
|
|
21
|
+
- What model will execute this prompt? (capabilities, context window)
|
|
22
|
+
- What failure modes are likely? (hallucination, refusal, drift)
|
|
23
|
+
- What constraints exist? (token budget, latency, cost)
|
|
24
|
+
- Is this a one-shot task or a recurring pattern?
|
|
25
|
+
|
|
26
|
+
2. **Select prompt style**: Based on --style flag or task analysis:
|
|
27
|
+
- `system`: Structured system prompt with role, constraints, and output format
|
|
28
|
+
- `few-shot`: System prompt + curated examples demonstrating desired behavior
|
|
29
|
+
- `cot`: Chain-of-thought with explicit reasoning steps before answer
|
|
30
|
+
- Hybrid: Combine styles when task complexity demands it
|
|
31
|
+
- Document rationale for style selection
|
|
32
|
+
|
|
33
|
+
3. **Design system prompt structure**: Build the prompt skeleton:
|
|
34
|
+
- Identity/role definition (who the model is)
|
|
35
|
+
- Task description (what to do)
|
|
36
|
+
- Constraints and guardrails (what NOT to do)
|
|
37
|
+
- Output format specification (exact structure expected)
|
|
38
|
+
- Edge-case handling instructions (when ambiguous, do X)
|
|
39
|
+
- Prioritization rules (if conflicts, prefer Y over Z)
|
|
40
|
+
|
|
41
|
+
4. **Add few-shot examples if needed**: When --style includes few-shot:
|
|
42
|
+
- Select 3-5 diverse examples covering the input distribution
|
|
43
|
+
- Include at least one edge case example
|
|
44
|
+
- Include at least one "refusal" example (when to say no)
|
|
45
|
+
- Order examples from simple to complex
|
|
46
|
+
- Ensure examples are representative, not cherry-picked
|
|
47
|
+
|
|
48
|
+
5. **Implement caching strategy**: When --cache flag is set:
|
|
49
|
+
- Place static content first (system prompt, examples, reference docs)
|
|
50
|
+
- Mark cache breakpoint after static prefix
|
|
51
|
+
- Keep dynamic content (user input, session context) after breakpoint
|
|
52
|
+
- Estimate cache hit rate based on usage pattern
|
|
53
|
+
- Calculate cost savings (cached tokens at 90% discount)
|
|
54
|
+
- Ensure static prefix exceeds minimum cacheable length (1024 tokens)
|
|
55
|
+
|
|
56
|
+
6. **Test with edge cases**: Validate the prompt against:
|
|
57
|
+
- Adversarial inputs (prompt injection attempts)
|
|
58
|
+
- Ambiguous inputs (multiple valid interpretations)
|
|
59
|
+
- Empty/minimal inputs (graceful handling)
|
|
60
|
+
- Maximum-length inputs (truncation behavior)
|
|
61
|
+
- Out-of-domain inputs (appropriate refusal)
|
|
62
|
+
- Multi-language inputs if applicable
|
|
63
|
+
|
|
64
|
+
7. **Iterate on failures**: For each failure mode discovered:
|
|
65
|
+
- Identify root cause (missing constraint, ambiguous instruction, weak example)
|
|
66
|
+
- Add targeted fix (new constraint, clarified instruction, better example)
|
|
67
|
+
- Re-test to confirm fix without regression
|
|
68
|
+
- Document the failure and fix for future reference
|
|
69
|
+
- Version the prompt iteration (v1, v2, v3...)
|
|
70
|
+
|
|
71
|
+
8. **Output final prompt**: Deliver the production prompt:
|
|
72
|
+
- Complete prompt text with clear section markers
|
|
73
|
+
- Token count breakdown (system, examples, dynamic budget)
|
|
74
|
+
- Caching configuration if applicable
|
|
75
|
+
- Known limitations and edge cases
|
|
76
|
+
- Recommended model and temperature settings
|
|
77
|
+
- Eval criteria for ongoing quality monitoring
|
|
78
|
+
</process>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Run copy editing pass for grammar, tone, clarity, and readability. Usage: /mindforge:proofread [file] [--tone formal|casual|technical] [--fix]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Perform a thorough copy editing pass on a document or code comments, checking grammar, tone consistency, clarity, terminology, and readability — then either report findings or apply fixes directly.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/proofreader/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (file path to proofread, optional --tone target, optional --fix to auto-apply corrections)
|
|
15
|
+
Knowledge: Project terminology from CONVENTIONS.md, brand voice guidelines, target audience.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Read for flow**: Read the entire document once without marking issues. Assess:
|
|
20
|
+
- Does the document have a clear logical structure?
|
|
21
|
+
- Does each section follow naturally from the previous?
|
|
22
|
+
- Are there abrupt transitions or missing connective tissue?
|
|
23
|
+
- Is the overall length appropriate for the content?
|
|
24
|
+
- Does it achieve its stated purpose?
|
|
25
|
+
|
|
26
|
+
2. **Check grammar**: Scan for grammatical issues:
|
|
27
|
+
- Subject-verb agreement
|
|
28
|
+
- Tense consistency (past/present/future mixed incorrectly)
|
|
29
|
+
- Dangling modifiers and misplaced clauses
|
|
30
|
+
- Pronoun-antecedent agreement and clarity
|
|
31
|
+
- Run-on sentences and comma splices
|
|
32
|
+
- Incorrect word usage (affect/effect, its/it's, their/there)
|
|
33
|
+
|
|
34
|
+
3. **Check clarity**: Evaluate sentence-level clarity:
|
|
35
|
+
- Sentence length (flag any over 30 words — suggest splitting)
|
|
36
|
+
- Active vs passive voice ratio (prefer active, flag unnecessary passive)
|
|
37
|
+
- Nominalization (verbs turned to nouns: "implementation of" → "implement")
|
|
38
|
+
- Hedge words that weaken claims (somewhat, rather, quite, basically)
|
|
39
|
+
- Ambiguous pronouns ("this", "it" without clear referent)
|
|
40
|
+
|
|
41
|
+
4. **Check tone consistency**: Against --tone flag or inferred tone:
|
|
42
|
+
- `formal`: No contractions, no colloquialisms, third person
|
|
43
|
+
- `casual`: Contractions OK, direct address (you/we), conversational
|
|
44
|
+
- `technical`: Precise terminology, no anthropomorphism, specification-style
|
|
45
|
+
- Flag any sections that deviate from the target tone
|
|
46
|
+
- Note if tone shifts are intentional (e.g., callout boxes)
|
|
47
|
+
|
|
48
|
+
5. **Check terminology**: Verify consistent term usage:
|
|
49
|
+
- Build a glossary of domain terms used in the document
|
|
50
|
+
- Flag synonyms used interchangeably (user/customer/client — pick one)
|
|
51
|
+
- Verify capitalization consistency for product names and features
|
|
52
|
+
- Check abbreviation introduction (first use should be spelled out)
|
|
53
|
+
- Cross-reference with CONVENTIONS.md terminology if available
|
|
54
|
+
|
|
55
|
+
6. **Score readability**: Compute metrics:
|
|
56
|
+
- Average sentence length (target: 15-20 words)
|
|
57
|
+
- Average paragraph length (target: 3-5 sentences)
|
|
58
|
+
- Flesch-Kincaid grade level (target depends on audience)
|
|
59
|
+
- Percentage of passive voice (target: <15%)
|
|
60
|
+
- Jargon density (specialized terms per 100 words)
|
|
61
|
+
|
|
62
|
+
7. **Check formatting**: Verify structural consistency:
|
|
63
|
+
- Heading hierarchy (no skipped levels)
|
|
64
|
+
- List formatting (parallel structure within lists)
|
|
65
|
+
- Code block syntax highlighting language tags
|
|
66
|
+
- Link text is descriptive (not "click here")
|
|
67
|
+
- Consistent use of bold/italic/code formatting
|
|
68
|
+
|
|
69
|
+
8. **Report findings**: If --fix is NOT set, output a structured report:
|
|
70
|
+
- Summary statistics (word count, readability score, issue count by severity)
|
|
71
|
+
- Issues grouped by type (grammar, clarity, tone, terminology)
|
|
72
|
+
- Each issue: line number, original text, suggested fix, severity (error/warning/style)
|
|
73
|
+
- Top 3 most impactful improvements to make
|
|
74
|
+
|
|
75
|
+
9. **Apply fixes**: If --fix IS set:
|
|
76
|
+
- Apply all error-severity fixes automatically
|
|
77
|
+
- Apply warning-severity fixes automatically
|
|
78
|
+
- Present style-level suggestions for user approval
|
|
79
|
+
- Show a diff summary of all changes made
|
|
80
|
+
- Preserve the author's voice — improve, don't rewrite
|
|
81
|
+
|
|
82
|
+
10. **Final assessment**: Provide an overall quality rating:
|
|
83
|
+
- Grade: A (publish-ready) / B (minor polish needed) / C (significant editing needed) / D (rewrite recommended)
|
|
84
|
+
- Strengths of the writing (what works well)
|
|
85
|
+
- Top 3 areas for improvement
|
|
86
|
+
- Estimated time to address remaining issues
|
|
87
|
+
</process>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Publish a skill to the npm registry (or private registry).
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Publish Skill Command
|
|
6
|
+
# Usage: /mindforge:publish-skill [skill-dir] [--registry URL] [--dry-run]
|
|
7
|
+
|
|
8
|
+
Publish a skill to the npm registry (or private registry).
|
|
9
|
+
|
|
10
|
+
Pre-publication checklist:
|
|
11
|
+
1. Run full skill validation (Level 1 + 2 + 3 from skill-validator.md)
|
|
12
|
+
Fail if Level 1 or 2 fails. Warn if Level 3 fails.
|
|
13
|
+
2. Verify package.json has `mindforge` field with all required sub-fields
|
|
14
|
+
3. Verify CHANGELOG.md has an entry for the current version
|
|
15
|
+
4. Check if version already published: `npm info [package-name]@[version]`
|
|
16
|
+
If already published: error "Version already exists. Bump the version."
|
|
17
|
+
5. Run `npm pack --dry-run` to preview what will be published
|
|
18
|
+
6. Confirm with user: "These files will be published: [list]. Proceed? (yes/no)"
|
|
19
|
+
7. If --dry-run: stop here, show preview only
|
|
20
|
+
8. Publish: `npm publish --access public`
|
|
21
|
+
9. Verify: `npm info [package-name]@[version]` — confirm publication succeeded
|
|
22
|
+
10. Write AUDIT: `{ "event": "skill_published", "package": "...", "version": "..." }`
|
|
23
|
+
11. Report: "✅ [package-name]@[version] published to npm registry"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:push-notify
|
|
3
|
+
description: "Design push notification architecture. Usage: /mindforge:push-notify [channel] [--platform ios|android|web] [--priority high|normal|low]"
|
|
4
|
+
argument-hint: "[channel] [--platform ios|android|web] [--priority high|normal|low]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design push notification systems with platform-specific optimizations, delivery guarantees, user preference management, and A/B testing capabilities.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/push-notification-architecture/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/push-notification-architecture/`
|
|
20
|
+
State: Designs notification delivery pipeline, platform integration (APNS/FCM), segmentation rules, opt-in flows, and analytics tracking.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Platform Integration**: iOS (APNs, certificates or token-based auth, silent/regular notifications). Android (FCM, priority handling, notification channels). Web (Push API, VAPID keys, service worker required). Use vendor SDKs (OneSignal, Pusher, Firebase) or direct APIs.
|
|
25
|
+
|
|
26
|
+
2. **Delivery Architecture**: Queue-based system (SQS, RabbitMQ). Worker processes consume queue. Batch sends (1000/request). Exponential backoff on failure. Dead-letter queue for permanent failures. Monitor send rate and latency.
|
|
27
|
+
|
|
28
|
+
3. **User Preferences**: Opt-in prompt timing (after first value delivered, not immediately). Granular channels (promotions, updates, transactional). Quiet hours (no notifications 10pm-8am). Frequency caps (max 3/day). Persistent preferences in user profile.
|
|
29
|
+
|
|
30
|
+
4. **Personalization**: User segmentation (behavior, demographics, device). Dynamic content (name, location, recent activity). A/B testing (message variants, send times). Predictive send time optimization. Track conversion per variant.
|
|
31
|
+
|
|
32
|
+
5. **Rich Notifications**: Images/videos in notification. Action buttons (reply, snooze, deep link). Grouped notifications (conversation threads). Badge count management. Sound/vibration customization. Lock screen vs notification center.
|
|
33
|
+
|
|
34
|
+
6. **Analytics**: Delivery rate (sent vs delivered). Open rate (by platform, time, segment). Conversion rate (notification → action). Opt-out tracking (which channels). Notification fatigue metrics (declining engagement over time).
|
|
35
|
+
|
|
36
|
+
7. **Compliance**: GDPR (explicit consent, right to withdraw). CAN-SPAM (transactional vs promotional). Time-sensitive (medical, financial) vs marketing. Unsubscribe mechanism. Audit log of sends. Rate limiting to prevent spam.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:pwa
|
|
3
|
+
description: "Progressive Web App design. Usage: /mindforge:pwa [app] [--cache networkfirst|cachefirst|stale] [--scope full|partial]"
|
|
4
|
+
argument-hint: "[app] [--cache networkfirst|cachefirst|stale] [--scope full|partial]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design Progressive Web Apps with service worker caching strategies, offline capabilities, install prompts, and native-like experiences on web.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/progressive-web-app/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/progressive-web-app/`
|
|
20
|
+
State: Designs service worker architecture, caching strategies, manifest configuration, and progressive enhancement patterns for installable web apps.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Service Worker Strategy**: Network-first (fresh data, fallback to cache) → news apps. Cache-first (performance, stale data OK) → static assets, docs. Stale-while-revalidate (instant + fresh) → social feeds. Network-only → auth endpoints. Cache-only → app shell.
|
|
25
|
+
|
|
26
|
+
2. **Caching Layers**: App shell (HTML/CSS/JS core, precache on install). Static assets (images/fonts, long cache TTL). API responses (runtime cache, short TTL). User content (IndexedDB for structured data). Max 50MB quota (mobile browsers).
|
|
27
|
+
|
|
28
|
+
3. **Offline UX**: Detect offline with navigator.onLine. Show offline indicator. Queue mutations (background sync API). Cached content with freshness timestamp. Graceful feature degradation. Custom offline page.
|
|
29
|
+
|
|
30
|
+
4. **Install Experience**: Manifest.json (name, icons, theme_color, display:standalone). Defer install prompt (show after user engagement). A2HS (Add to Home Screen) button. Track install analytics. Update prompt when new version available.
|
|
31
|
+
|
|
32
|
+
5. **Performance**: Lighthouse score >90. First Contentful Paint <1.8s. Time to Interactive <3.5s. Cumulative Layout Shift <0.1. Code splitting. Lazy load images. Preload critical resources.
|
|
33
|
+
|
|
34
|
+
6. **Platform Features**: Push notifications (with user permission). Background sync (retry failed requests). Share target (receive shared content). Shortcuts (quick actions in app icon menu). Badging API (unread count).
|
|
35
|
+
|
|
36
|
+
7. **Update Strategy**: Skip waiting for critical updates. Prompt user for non-critical updates. Version in cache names. Migration logic for schema changes. Test update flow in CI. Monitor update adoption rate.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: @mindforge qa [--phase N] [--auto]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /mindforge:qa
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
`@mindforge qa [--phase N] [--auto]`
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
Runs systematic visual QA on UI surfaces changed in the current phase.
|
|
12
|
+
Analyzes git diff to find pages, navigates to them, and looks for errors.
|
|
13
|
+
|
|
14
|
+
## Options
|
|
15
|
+
- `--phase N`: Target specific phase for reporting (defaults to current).
|
|
16
|
+
- `--auto`: Automatically run after successful wave execution if configured.
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
- `QA-REPORT-[N].md`: Found bugs with screenshots.
|
|
20
|
+
- `tests/regression/*.test.ts`: Playwright tests to prevent bug recurrence.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run weighted 4-dimension quality scoring on current output. Usage - /mindforge:quality-audit [target] [--mode quick|full|comparative] [--compare path]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Score output quality across four weighted dimensions (Clarity, Completeness,
|
|
7
|
+
Accuracy, Usefulness) with a blocking accuracy gate.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/quality-audit/SKILL.md
|
|
12
|
+
</execution_context>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
$ARGUMENTS
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. Parse target (file/diff/output to evaluate) and mode (default: full).
|
|
20
|
+
2. If --mode quick: evaluate Accuracy dimension only (fast gate check).
|
|
21
|
+
3. If --mode full: evaluate all 4 dimensions.
|
|
22
|
+
4. If --mode comparative: load --compare target, score BOTH, produce delta.
|
|
23
|
+
5. For each dimension, score 1-5 with specific evidence citations:
|
|
24
|
+
- Clarity (25%): Is it understandable? Unambiguous? Well-structured?
|
|
25
|
+
- Completeness (25%): Does it cover all requirements? Any gaps?
|
|
26
|
+
- Accuracy (30%): Is it factually correct? Do code refs exist? Do examples work?
|
|
27
|
+
- Usefulness (20%): Does it solve the actual problem? Is it actionable?
|
|
28
|
+
6. Compute weighted average: (clarity*0.25 + completeness*0.25 + accuracy*0.30 + usefulness*0.20).
|
|
29
|
+
7. Check blocking gate: if accuracy < 3.0 → FAIL regardless of other scores.
|
|
30
|
+
8. Determine verdict: weighted avg >= 3.0 AND accuracy >= 3.0 → PASS.
|
|
31
|
+
9. Report per-dimension scores, weighted average, verdict, and evidence.
|
|
32
|
+
10. If comparative: show side-by-side scores with improvement/regression indicators.
|
|
33
|
+
11. Log quality audit in AUDIT.
|
|
34
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design message queue topology and broker selection. Usage - /mindforge:queue [domain] [--broker kafka|rabbitmq|sqs] [--pattern fanout|topic|p2p]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a message queue topology that selects the right broker for the workload,
|
|
7
|
+
configures routing patterns for decoupled communication, implements dead-letter
|
|
8
|
+
handling for poison messages, and provides observability into queue depth,
|
|
9
|
+
consumer throughput, and delivery guarantees.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@.mindforge/skills/queue-design/SKILL.md
|
|
14
|
+
</execution_context>
|
|
15
|
+
|
|
16
|
+
<context>
|
|
17
|
+
$ARGUMENTS
|
|
18
|
+
</context>
|
|
19
|
+
|
|
20
|
+
<process>
|
|
21
|
+
1. Identify messaging needs by analyzing the domain: message volume (msgs/sec), payload size, ordering requirements, delivery guarantee (at-most-once, at-least-once, exactly-once), and retention period. Classify as command (point-to-point) or event (broadcast).
|
|
22
|
+
2. Select broker based on --broker flag or requirements: Kafka for high-throughput ordered event streams with replay, RabbitMQ for complex routing with flexible patterns and low-latency RPC, SQS for serverless with minimal ops overhead. Document selection rationale.
|
|
23
|
+
3. Design topic/queue topology based on --pattern: fanout (all consumers receive all messages), topic (content-based routing with wildcards), point-to-point (single consumer per message). Map domain events to topics/exchanges with clear naming conventions.
|
|
24
|
+
4. Configure consumers: competing consumers for horizontal scaling (consumer groups), broadcast consumers for event notification, and exclusive consumers for ordered processing. Set prefetch count and acknowledgment mode.
|
|
25
|
+
5. Set TTL and dead-letter queue (DLQ) policies: define message expiration per queue, max delivery attempts before DLQ routing, DLQ retention period, and DLQ monitoring with alerting on depth > 0. Implement DLQ replay tooling.
|
|
26
|
+
6. Plan partition strategy (Kafka) or queue sharding (RabbitMQ): partition by entity key for ordering, configure replication factor for durability, set min-ISR for write safety. For SQS, configure visibility timeout and batch size.
|
|
27
|
+
7. Configure monitoring and alerting: track queue depth, consumer lag, publish/consume rates, unacknowledged messages, and DLQ depth. Set alerts on queue depth exceeding 10x normal and consumer lag exceeding processing SLA.
|
|
28
|
+
8. Document message schemas: define payload contracts (JSON Schema or Avro), versioning strategy (envelope with schema_version field), backward/forward compatibility rules, and schema registry integration.
|
|
29
|
+
9. Design retry and error handling: exponential backoff with jitter for transient failures, circuit breaker for downstream unavailability, poison message detection (fail count > threshold), and manual intervention workflow for unprocessable messages.
|
|
30
|
+
10. Log queue design decision in AUDIT with: domain, broker, pattern, throughput target, delivery guarantee, DLQ policy, and partition count.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use QUICK for:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Quick Command
|
|
6
|
+
# Usage: /mindforge:quick [--research] [--review] [--full]
|
|
7
|
+
# For ad-hoc tasks that don't need full lifecycle management.
|
|
8
|
+
|
|
9
|
+
## When to use quick vs plan-phase
|
|
10
|
+
Use QUICK for:
|
|
11
|
+
- Bug fixes not tied to a current phase
|
|
12
|
+
- Small improvements (< 3 files, < 2 hours)
|
|
13
|
+
- Dependency updates
|
|
14
|
+
- Documentation corrections
|
|
15
|
+
- One-off scripts or utilities
|
|
16
|
+
|
|
17
|
+
Use PLAN-PHASE for:
|
|
18
|
+
- Feature development
|
|
19
|
+
- Anything touching more than 6 files
|
|
20
|
+
- Anything requiring research before implementation
|
|
21
|
+
- Anything with external dependencies or stakeholder requirements
|
|
22
|
+
|
|
23
|
+
## Step 1 — Task intake
|
|
24
|
+
|
|
25
|
+
Ask the user:
|
|
26
|
+
"What do you want to do?"
|
|
27
|
+
|
|
28
|
+
Listen to the description. If the task sounds larger than "quick" scope
|
|
29
|
+
(more than 6 files, architectural change, new feature), say:
|
|
30
|
+
"This sounds like more than a quick task. I recommend using /mindforge:plan-phase
|
|
31
|
+
instead to ensure it's properly planned and verified. Want to proceed with quick anyway?"
|
|
32
|
+
|
|
33
|
+
## Step 2 — Optional research (--research flag or user requests it)
|
|
34
|
+
|
|
35
|
+
If `--research` is provided or the task involves unfamiliar libraries:
|
|
36
|
+
Spawn a focused research subagent. Give it:
|
|
37
|
+
- The task description
|
|
38
|
+
- The current tech stack from PROJECT.md
|
|
39
|
+
Ask it to: investigate the best approach, identify gotchas, recommend specific
|
|
40
|
+
libraries (with versions), and write a brief research note.
|
|
41
|
+
|
|
42
|
+
Report research findings to the user before proceeding.
|
|
43
|
+
|
|
44
|
+
## Step 3 — Create a quick plan
|
|
45
|
+
|
|
46
|
+
### Sequential quick task numbering
|
|
47
|
+
Determine the next quick task number by scanning `.planning/quick/`:
|
|
48
|
+
1. List directories matching `[0-9][0-9][0-9]-*`
|
|
49
|
+
2. Take the max numeric prefix and add 1 (start at 001 if none exist)
|
|
50
|
+
3. If a directory already exists for the chosen number, require `--force` to proceed
|
|
51
|
+
|
|
52
|
+
Create `.planning/quick/[NNN]-[slug]/PLAN.md` where NNN is a sequential number
|
|
53
|
+
and slug is a 2-4 word kebab-case description.
|
|
54
|
+
|
|
55
|
+
Example: `.planning/quick/001-fix-login-null-check/PLAN.md`
|
|
56
|
+
|
|
57
|
+
Use the standard XML plan format:
|
|
58
|
+
```xml
|
|
59
|
+
<task type="quick">
|
|
60
|
+
<n>[task name]</n>
|
|
61
|
+
<persona>[appropriate persona]</persona>
|
|
62
|
+
<files>[files to touch]</files>
|
|
63
|
+
<context>[relevant context]</context>
|
|
64
|
+
<action>[implementation instructions]</action>
|
|
65
|
+
<verify>[verification command]</verify>
|
|
66
|
+
<done>[definition of done]</done>
|
|
67
|
+
</task>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Show the plan to the user. Wait for approval before executing.
|
|
71
|
+
|
|
72
|
+
## Step 4 — Execute the quick plan
|
|
73
|
+
|
|
74
|
+
### Security auto-trigger (mandatory)
|
|
75
|
+
Before execution, scan the task description and files for security keywords:
|
|
76
|
+
auth, authentication, login, password, token, JWT, session, payment, PII, upload,
|
|
77
|
+
credential, secret, key.
|
|
78
|
+
|
|
79
|
+
If any keyword matches: load `security-review/SKILL.md` and activate
|
|
80
|
+
`security-reviewer.md` persona for the implementation. This is required even
|
|
81
|
+
without the `--full` flag.
|
|
82
|
+
|
|
83
|
+
1. Load persona from `.mindforge/personas/`
|
|
84
|
+
2. Load any relevant skills based on task keywords
|
|
85
|
+
3. Execute the plan
|
|
86
|
+
4. Run `<verify>` — must pass before committing
|
|
87
|
+
5. Commit: `[type](quick/[NNN]): [task name]`
|
|
88
|
+
6. Write `.planning/quick/[NNN]-[slug]/SUMMARY.md`
|
|
89
|
+
|
|
90
|
+
### STATE.md update policy
|
|
91
|
+
Quick tasks do not change phase status. If there is no active phase, note the
|
|
92
|
+
quick task completion in STATE.md under "Last completed task".
|
|
93
|
+
|
|
94
|
+
## Step 5 — Optional review (--review flag)
|
|
95
|
+
|
|
96
|
+
If `--review` is provided:
|
|
97
|
+
Activate `code-quality.md` skill on the diff.
|
|
98
|
+
Report any issues before committing.
|
|
99
|
+
If BLOCKING issues found: fix before commit.
|
|
100
|
+
|
|
101
|
+
## Step 6 — Optional full mode (--full flag)
|
|
102
|
+
|
|
103
|
+
If `--full` is provided, additionally:
|
|
104
|
+
- Run the project's full test suite (not just task-specific verify)
|
|
105
|
+
- Run the type checker and linter
|
|
106
|
+
- Activate `security-reviewer.md` if the task touches any security-sensitive code
|
|
107
|
+
- Write an AUDIT entry for the quick task
|
|
108
|
+
|
|
109
|
+
## Linting always runs
|
|
110
|
+
Regardless of flags, after every quick task execution:
|
|
111
|
+
1. Run the project's linter (from CONVENTIONS.md — check which linter applies)
|
|
112
|
+
2. If lint errors found: fix them before committing.
|
|
113
|
+
3. Linting is not part of `--full` — it is always part of quick.
|
|
114
|
+
|
|
115
|
+
## Flags are composable
|
|
116
|
+
```
|
|
117
|
+
/mindforge:quick # minimal — task, plan, execute
|
|
118
|
+
/mindforge:quick --research # adds domain research step
|
|
119
|
+
/mindforge:quick --review # adds code quality review of diff
|
|
120
|
+
/mindforge:quick --full # adds full test suite + linting + security
|
|
121
|
+
/mindforge:quick --research --full # all of the above
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## AUDIT entry for quick tasks
|
|
125
|
+
```json
|
|
126
|
+
{
|
|
127
|
+
"id": "uuid",
|
|
128
|
+
"timestamp": "ISO-8601",
|
|
129
|
+
"event": "quick_task_completed",
|
|
130
|
+
"agent": "mindforge-orchestrator",
|
|
131
|
+
"phase": null,
|
|
132
|
+
"session_id": "sess_abc",
|
|
133
|
+
"quick_id": "001",
|
|
134
|
+
"task_name": "Fix login null check",
|
|
135
|
+
"commit_sha": "abc1234",
|
|
136
|
+
"files_changed": ["src/auth/login.ts"],
|
|
137
|
+
"flags_used": ["--review"]
|
|
138
|
+
}
|
|
139
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design RAG pipeline architecture with chunking and retrieval. Usage - /mindforge:rag [corpus] [--chunking semantic|fixed] [--retrieval hybrid] [--rerank]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a production RAG (Retrieval-Augmented Generation) pipeline with optimized
|
|
7
|
+
chunking, hybrid retrieval, and re-ranking. Covers corpus ingestion, embedding
|
|
8
|
+
strategy, retrieval quality evaluation, and context window packing.
|
|
9
|
+
</objective>
|
|
10
|
+
|
|
11
|
+
<execution_context>
|
|
12
|
+
@.mindforge/skills/rag-architecture/SKILL.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Analyze the corpus: document types (PDF, markdown, code, HTML), average document length, structure (headings, tables, code blocks), and total size. Identify natural semantic boundaries.
|
|
21
|
+
2. Choose chunking strategy based on --chunking flag: semantic (split at paragraph/section boundaries, variable size 200-1000 tokens) or fixed (512 tokens with 50-token overlap). For code: chunk at function/class boundaries.
|
|
22
|
+
3. Select embedding model based on corpus domain and latency requirements: OpenAI text-embedding-3-large (general, high quality), Cohere embed-v3 (multilingual), or local (BAAI/bge-large for privacy). Benchmark on domain-specific queries.
|
|
23
|
+
4. Configure retrieval strategy based on --retrieval flag: dense-only (vector similarity), sparse-only (BM25/TF-IDF), or hybrid (dense + sparse with Reciprocal Rank Fusion, alpha=0.7 dense weight). Hybrid recommended for most cases.
|
|
24
|
+
5. Add re-ranking if --rerank flag is set: retrieve top-50 candidates with fast retrieval, then re-rank with cross-encoder (ms-marco-MiniLM or Cohere rerank-v3) to get top-k (k=5-10). Dramatically improves precision.
|
|
25
|
+
6. Design context packing strategy: order chunks by relevance, fit within context window budget (reserve 30% for generation), deduplicate overlapping chunks, and include metadata (source, page, section title).
|
|
26
|
+
7. Set up evaluation pipeline: measure recall@k (are relevant chunks in top-k?), MRR (Mean Reciprocal Rank), and end-to-end answer quality. Build a golden test set of 50+ query-answer pairs with source attribution.
|
|
27
|
+
8. Iterate on retrieval quality: tune chunk size, overlap, embedding model, retrieval weights, and re-ranker threshold. Use evaluation metrics to drive decisions. Target recall@10 > 0.9 on golden set.
|
|
28
|
+
9. Design the ingestion pipeline: document parsing, chunking, embedding generation, vector store upsert. Handle incremental updates (add/modify/delete documents) without full re-index.
|
|
29
|
+
10. Log rag invocation in AUDIT with: corpus size, chunking strategy, embedding model, retrieval method, evaluation metrics (recall@k, MRR).
|
|
30
|
+
</process>
|