mindforge-cc 11.7.0 → 11.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/.agent/mindforge/wf-accessibility-audit.md +31 -0
  2. package/.agent/mindforge/wf-ai-model-eval.md +31 -0
  3. package/.agent/mindforge/wf-api-contract-test.md +31 -0
  4. package/.agent/mindforge/wf-api-migration.md +31 -0
  5. package/.agent/mindforge/wf-architecture-modernization.md +32 -0
  6. package/.agent/mindforge/wf-catalog.md +25 -2
  7. package/.agent/mindforge/wf-code-explainer.md +31 -0
  8. package/.agent/mindforge/wf-competitive-teardown.md +31 -0
  9. package/.agent/mindforge/wf-cost-analysis.md +31 -0
  10. package/.agent/mindforge/wf-data-pipeline-validate.md +31 -0
  11. package/.agent/mindforge/wf-database-migration.md +31 -0
  12. package/.agent/mindforge/wf-debug-detective.md +32 -0
  13. package/.agent/mindforge/wf-dependency-health.md +31 -0
  14. package/.agent/mindforge/wf-design-system-audit.md +31 -0
  15. package/.agent/mindforge/wf-documentation-gen.md +31 -0
  16. package/.agent/mindforge/wf-multi-repo-sync.md +31 -0
  17. package/.agent/mindforge/wf-mutation-testing.md +31 -0
  18. package/.agent/mindforge/wf-security-hardening.md +32 -0
  19. package/.agent/mindforge/wf-security-threat-model.md +31 -0
  20. package/.agent/mindforge/wf-test-coverage-gap.md +31 -0
  21. package/.agent/mindforge/wf-ux-heuristic-audit.md +31 -0
  22. package/.agent/mindforge/wf-writer-reviewer.md +30 -0
  23. package/.claude/commands/mindforge/wf-accessibility-audit.md +31 -0
  24. package/.claude/commands/mindforge/wf-ai-model-eval.md +31 -0
  25. package/.claude/commands/mindforge/wf-api-contract-test.md +31 -0
  26. package/.claude/commands/mindforge/wf-api-migration.md +31 -0
  27. package/.claude/commands/mindforge/wf-architecture-modernization.md +32 -0
  28. package/.claude/commands/mindforge/wf-catalog.md +25 -2
  29. package/.claude/commands/mindforge/wf-code-explainer.md +31 -0
  30. package/.claude/commands/mindforge/wf-competitive-teardown.md +31 -0
  31. package/.claude/commands/mindforge/wf-cost-analysis.md +31 -0
  32. package/.claude/commands/mindforge/wf-data-pipeline-validate.md +31 -0
  33. package/.claude/commands/mindforge/wf-database-migration.md +31 -0
  34. package/.claude/commands/mindforge/wf-debug-detective.md +32 -0
  35. package/.claude/commands/mindforge/wf-dependency-health.md +31 -0
  36. package/.claude/commands/mindforge/wf-design-system-audit.md +31 -0
  37. package/.claude/commands/mindforge/wf-documentation-gen.md +31 -0
  38. package/.claude/commands/mindforge/wf-multi-repo-sync.md +31 -0
  39. package/.claude/commands/mindforge/wf-mutation-testing.md +31 -0
  40. package/.claude/commands/mindforge/wf-security-hardening.md +32 -0
  41. package/.claude/commands/mindforge/wf-security-threat-model.md +31 -0
  42. package/.claude/commands/mindforge/wf-test-coverage-gap.md +31 -0
  43. package/.claude/commands/mindforge/wf-ux-heuristic-audit.md +31 -0
  44. package/.claude/commands/mindforge/wf-writer-reviewer.md +30 -0
  45. package/.mindforge/config.json +2 -2
  46. package/.mindforge/dynamic-workflows/REGISTRY.md +58 -60
  47. package/.mindforge/dynamic-workflows/index.json +296 -0
  48. package/.mindforge/dynamic-workflows/scripts/accessibility-audit.js +119 -0
  49. package/.mindforge/dynamic-workflows/scripts/ai-model-eval.js +82 -0
  50. package/.mindforge/dynamic-workflows/scripts/api-contract-test.js +114 -0
  51. package/.mindforge/dynamic-workflows/scripts/api-migration.js +156 -0
  52. package/.mindforge/dynamic-workflows/scripts/architecture-modernization.js +111 -0
  53. package/.mindforge/dynamic-workflows/scripts/code-explainer.js +138 -0
  54. package/.mindforge/dynamic-workflows/scripts/competitive-teardown.js +142 -0
  55. package/.mindforge/dynamic-workflows/scripts/cost-analysis.js +107 -0
  56. package/.mindforge/dynamic-workflows/scripts/data-pipeline-validate.js +69 -0
  57. package/.mindforge/dynamic-workflows/scripts/database-migration.js +113 -0
  58. package/.mindforge/dynamic-workflows/scripts/debug-detective.js +124 -0
  59. package/.mindforge/dynamic-workflows/scripts/dependency-health.js +110 -0
  60. package/.mindforge/dynamic-workflows/scripts/design-system-audit.js +115 -0
  61. package/.mindforge/dynamic-workflows/scripts/documentation-gen.js +91 -0
  62. package/.mindforge/dynamic-workflows/scripts/multi-repo-sync.js +63 -0
  63. package/.mindforge/dynamic-workflows/scripts/mutation-testing.js +148 -0
  64. package/.mindforge/dynamic-workflows/scripts/security-hardening.js +154 -0
  65. package/.mindforge/dynamic-workflows/scripts/security-threat-model.js +159 -0
  66. package/.mindforge/dynamic-workflows/scripts/test-coverage-gap.js +95 -0
  67. package/.mindforge/dynamic-workflows/scripts/ux-heuristic-audit.js +122 -0
  68. package/.mindforge/dynamic-workflows/scripts/writer-reviewer.js +85 -0
  69. package/.mindforge/memory/sync-manifest.json +1 -1
  70. package/CHANGELOG.md +23 -0
  71. package/MINDFORGE.md +2 -2
  72. package/README.md +26 -4
  73. package/RELEASENOTES.md +36 -0
  74. package/bin/parse-workflow-args.js +47 -0
  75. package/bin/workflows/workflow-runner.js +18 -2
  76. package/docs/commands-reference.md +40 -14
  77. package/docs/getting-started.md +13 -1
  78. package/docs/user-guide.md +20 -1
  79. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "10 Nielsen heuristics parallel audit → severity ranking → fix brief"
3
+ ---
4
+ # /mindforge:wf-ux-heuristic-audit
5
+
6
+ Runs the **UX Heuristic Audit** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-ux-heuristic-audit <UI codebase or app description>`
10
+
11
+ ## What it does
12
+ - **Scope**: Define target UI and identify key user flows to audit
13
+ - **Audit**: 10 parallel heuristic evaluators — one per Nielsen heuristic
14
+ - **Rank**: Severity ranking of all violations by impact on user experience
15
+ - **Brief**: Prioritized fix brief with specific design recommendations
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/ux-heuristic-audit.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info ux-heuristic-audit
31
+ ```
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: "Anthropic Writer/Reviewer pattern: implement in Context A → fresh Context B reviews the diff"
3
+ ---
4
+ # /mindforge:wf-writer-reviewer
5
+
6
+ Runs the **Writer Reviewer** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-writer-reviewer <implementation task description>`
10
+
11
+ ## What it does
12
+ - **Implement**: Writer agent implements the requested change
13
+ - **Review**: Fresh reviewer agent inspects only the diff without implementation context
14
+ - **Verdict**: Accept / request-changes verdict with specific actionable feedback
15
+
16
+ ## Running
17
+
18
+ Invoke via Claude Code's Workflow tool:
19
+
20
+ ```
21
+ Workflow({
22
+ scriptPath: ".mindforge/dynamic-workflows/scripts/writer-reviewer.js",
23
+ args: "<your input>"
24
+ })
25
+ ```
26
+
27
+ Or discover via CLI:
28
+ ```bash
29
+ node bin/mindforge-cli.js workflow info writer-reviewer
30
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "WCAG 2.2 parallel per-criterion audit → 3-vote adversarial verify failures → remediation spec"
3
+ ---
4
+ # /mindforge:wf-accessibility-audit
5
+
6
+ Runs the **Accessibility Audit** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-accessibility-audit <UI codebase path or component>`
10
+
11
+ ## What it does
12
+ - **Scope**: Define target UI and map components/pages to audit
13
+ - **Audit**: 6 parallel WCAG principle auditors (Perceivable/Operable/Understandable/Robust + ARIA + Keyboard)
14
+ - **Verify**: 3-vote adversarial verification of all Level A and AA failures
15
+ - **Spec**: Remediation spec with exact ARIA attributes, HTML fixes, and WCAG references
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/accessibility-audit.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info accessibility-audit
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "4-parallel model benchmark agents → scoring matrix → cost/performance recommendation"
3
+ ---
4
+ # /mindforge:wf-ai-model-eval
5
+
6
+ Runs the **AI Model Evaluation** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-ai-model-eval <use case description>`
10
+
11
+ ## What it does
12
+ - **Scope**: Define evaluation criteria and test prompts for the use case
13
+ - **Benchmark**: 4 parallel model evaluators (quality / reasoning / speed / cost)
14
+ - **Score**: Scoring matrix across all dimensions
15
+ - **Recommend**: Ranked recommendation with break-even cost analysis
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/ai-model-eval.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info ai-model-eval
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Writer/Reviewer pattern: spec reader vs implementation reader → contract violation report"
3
+ ---
4
+ # /mindforge:wf-api-contract-test
5
+
6
+ Runs the **API Contract Test** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-api-contract-test <target or question>`
10
+
11
+ ## What it does
12
+ - **ReadSpec**: Parse the API specification (OpenAPI/GraphQL/Protobuf/docs)
13
+ - **ReadImpl**: Read the actual implementation in a fresh context
14
+ - **Diff**: Cross-reference spec contracts vs implementation
15
+ - **Report**: Violation report with severity and fix instructions
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/api-contract-test.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info api-contract-test
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Breaking change detection → versioning strategy → migration guide → compatibility matrix"
3
+ ---
4
+ # /mindforge:wf-api-migration
5
+
6
+ Runs the **API Migration** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-api-migration <old API path or description of changes>`
10
+
11
+ ## What it does
12
+ - **Detect**: Detect breaking vs non-breaking changes between old and new API versions
13
+ - **Version**: Propose versioning strategy: semver, URL versioning, or header versioning
14
+ - **Guide**: Generate migration guide for API consumers
15
+ - **Matrix**: Compatibility matrix: which client versions work with which API versions
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/api-migration.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info api-migration
31
+ ```
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: "Legacy architecture map → target design → migration sequencing → risk gates"
3
+ ---
4
+ # /mindforge:wf-architecture-modernization
5
+
6
+ Runs the **Architecture Modernization** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-architecture-modernization <codebase or modernization goal>`
10
+
11
+ ## What it does
12
+ - **Map**: Map current architecture: components, dependencies, coupling, pain points
13
+ - **Design**: 3 parallel target architecture proposals with trade-off analysis
14
+ - **Select**: Judge panel selects best design, synthesizes hybrid
15
+ - **Sequence**: Migration sequencing with risk gates and rollback checkpoints
16
+ - **Roadmap**: Sprint-by-sprint modernization roadmap
17
+
18
+ ## Running
19
+
20
+ Invoke via Claude Code's Workflow tool:
21
+
22
+ ```
23
+ Workflow({
24
+ scriptPath: ".mindforge/dynamic-workflows/scripts/architecture-modernization.js",
25
+ args: "<your input>"
26
+ })
27
+ ```
28
+
29
+ Or discover via CLI:
30
+ ```bash
31
+ node bin/mindforge-cli.js workflow info architecture-modernization
32
+ ```
@@ -1,9 +1,9 @@
1
1
  ---
2
- description: "Browse the MindForge dynamic workflow library — 12 pre-built multi-agent workflows"
2
+ description: "Browse the MindForge dynamic workflow library — 33 pre-built multi-agent workflows across 5 tiers"
3
3
  ---
4
4
  # /mindforge:wf-catalog
5
5
 
6
- Browse and discover the MindForge **Dynamic Workflow Library** — 12 pre-built multi-agent workflows that run via Claude Code's Workflow tool.
6
+ Browse and discover the MindForge **Dynamic Workflow Library** — 33 pre-built multi-agent workflows that run via Claude Code's Workflow tool.
7
7
 
8
8
  ## Usage
9
9
  `/mindforge:wf-catalog` — show all workflows grouped by tier
@@ -14,6 +14,9 @@ Browse and discover the MindForge **Dynamic Workflow Library** — 12 pre-built
14
14
  - `/mindforge:wf-deep-research` — Multi-source fact-checked research report
15
15
  - `/mindforge:wf-competitive-analysis` — SWOT and positioning summary
16
16
  - `/mindforge:wf-tech-evaluation` — Scored technology comparison matrix
17
+ - `/mindforge:wf-ai-model-eval` — Benchmark AI models → scoring matrix → recommendation
18
+ - `/mindforge:wf-ux-heuristic-audit` — 10 Nielsen heuristics parallel audit → fix brief
19
+ - `/mindforge:wf-competitive-teardown` — 5 competitor angles → positioning report
17
20
 
18
21
  **Dev** — Coding-assistant power workflows
19
22
  - `/mindforge:wf-code-audit` — Parallel security + quality + performance audit
@@ -21,14 +24,34 @@ Browse and discover the MindForge **Dynamic Workflow Library** — 12 pre-built
21
24
  - `/mindforge:wf-pr-review` — 4-dimensional parallel PR review
22
25
  - `/mindforge:wf-tdd-sprint` — Strict Red-Green-Refactor TDD loop
23
26
  - `/mindforge:wf-refactor-plan` — Technical debt scan → safe refactor plan
27
+ - `/mindforge:wf-test-coverage-gap` — Per-module coverage analysis → test-writing plan
28
+ - `/mindforge:wf-api-contract-test` — Spec vs impl Writer/Reviewer → violation report
29
+ - `/mindforge:wf-debug-detective` — 4-hypothesis parallel investigation → scientific RCA
30
+ - `/mindforge:wf-writer-reviewer` — Implement → fresh context review → verdict
31
+ - `/mindforge:wf-mutation-testing` — Mutant generator → parallel kill-test → score
32
+ - `/mindforge:wf-code-explainer` — Structure → domain → architecture → narrative tour
33
+ - `/mindforge:wf-design-system-audit` — 5-dimension parallel audit → consistency score
24
34
 
25
35
  **Ops** — Infrastructure and release workflows
26
36
  - `/mindforge:wf-incident-response` — Parallel investigation → RCA → postmortem
27
37
  - `/mindforge:wf-release-prep` — Tests → changelog → version bump → PR
38
+ - `/mindforge:wf-dependency-health` — CVE + license + staleness audit → risk matrix
39
+ - `/mindforge:wf-database-migration` — Schema diff → risk → scripts → runbook
40
+ - `/mindforge:wf-multi-repo-sync` — Per-repo audit → divergence map → sync plan
41
+ - `/mindforge:wf-cost-analysis` — Infra/API/query/bundle cost agents → ROI plan
28
42
 
29
43
  **Intelligence** — Deep analysis and optimization
30
44
  - `/mindforge:wf-onboard-codebase` — Map → domain → architecture → guided tour
31
45
  - `/mindforge:wf-perf-optimize` — Profile → bottleneck hunt → prioritized fix plan
46
+ - `/mindforge:wf-architecture-modernization` — Legacy map → 3 designs → migration roadmap
47
+ - `/mindforge:wf-documentation-gen` — Parallel doc gen → normalize → publish-ready
48
+ - `/mindforge:wf-api-migration` — Breaking change detection → guide → compat matrix
49
+ - `/mindforge:wf-data-pipeline-validate` — Stage-by-stage validation → quality gates
50
+
51
+ **Beast** — Compound workflows (5 phases, 8+ agents, adversarial verification)
52
+ - `/mindforge:wf-security-hardening` — 5-angle OWASP scout → 3-vote verify → STRIDE → roadmap
53
+ - `/mindforge:wf-accessibility-audit` — WCAG 2.2 per-criterion → 3-vote verify → remediation spec
54
+ - `/mindforge:wf-security-threat-model` — Asset inventory → STRIDE x6 → mitigations → CVSS matrix
32
55
 
33
56
  ## CLI Discovery
34
57
  ```bash
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Structural map → domain extraction → architecture patterns → guided narrative tour for onboarding"
3
+ ---
4
+ # /mindforge:wf-code-explainer
5
+
6
+ Runs the **Code Explainer** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-code-explainer <codebase path or module to explain>`
10
+
11
+ ## What it does
12
+ - **Structure**: Map file structure, entry points, and module boundaries
13
+ - **Domain**: Extract domain concepts, business logic, and key abstractions
14
+ - **Architecture**: Identify architectural patterns, data flow, and design decisions
15
+ - **Tour**: Synthesize a guided narrative tour for a new developer
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/code-explainer.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info code-explainer
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "5 parallel competitor angle agents → pipeline synthesis into competitive positioning report"
3
+ ---
4
+ # /mindforge:wf-competitive-teardown
5
+
6
+ Runs the **Competitive Teardown** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-competitive-teardown <your product and competitors to analyze>`
10
+
11
+ ## What it does
12
+ - **Scope**: Identify competitors and define evaluation framework
13
+ - **Research**: 5 parallel competitor angle agents: product/tech/pricing/hiring/community
14
+ - **Analyze**: Synthesize competitive landscape from all angles
15
+ - **Synthesis**: Competitive positioning report with differentiation opportunities
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/competitive-teardown.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info competitive-teardown
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Parallel infra/API/query/bundle cost agents → reduction plan with ROI estimates"
3
+ ---
4
+ # /mindforge:wf-cost-analysis
5
+
6
+ Runs the **Cost Analysis** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-cost-analysis <project or service to analyze>`
10
+
11
+ ## What it does
12
+ - **Scope**: Identify cost centers and establish current baseline
13
+ - **Analyze**: 4 parallel cost dimension agents: infra / API / database / bundle
14
+ - **Model**: Cost model with reduction opportunities and ROI estimates
15
+ - **Plan**: Prioritized cost reduction plan with implementation steps
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/cost-analysis.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info cost-analysis
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Pipeline stage-by-stage validation → data quality gates → anomaly detection report"
3
+ ---
4
+ # /mindforge:wf-data-pipeline-validate
5
+
6
+ Runs the **Data Pipeline Validation** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-data-pipeline-validate <pipeline directory or description>`
10
+
11
+ ## What it does
12
+ - **Map**: Map all pipeline stages from source to sink
13
+ - **Validate**: Parallel validation per stage (schema / completeness / transforms / outputs)
14
+ - **Quality**: Data quality gate assessment — freshness, completeness, consistency
15
+ - **Report**: Validation report with stage health scores and fix recommendations
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/data-pipeline-validate.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info data-pipeline-validate
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Schema diff → risk analysis → migration scripts → rollback plan"
3
+ ---
4
+ # /mindforge:wf-database-migration
5
+
6
+ Runs the **Database Migration** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-database-migration <migration files or schema diff path>`
10
+
11
+ ## What it does
12
+ - **SchemaDiff**: Parse current and target schema, compute structural diff
13
+ - **RiskAnalysis**: Assess data loss risk, locking impact, and rollback complexity
14
+ - **Scripts**: Generate forward migration + rollback scripts
15
+ - **Runbook**: Step-by-step production runbook with verification checks
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/database-migration.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info database-migration
31
+ ```
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: "4-hypothesis parallel investigation → evidence gathering → scientific RCA"
3
+ ---
4
+ # /mindforge:wf-debug-detective
5
+
6
+ Runs the **Debug Detective** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-debug-detective <bug description, symptoms, and context>`
10
+
11
+ ## What it does
12
+ - **Intake**: Document symptoms, context, and reproduction steps
13
+ - **Hypothesize**: 4 parallel hypothesis agents from different angles
14
+ - **Evidence**: Parallel evidence gathering per hypothesis
15
+ - **RCA**: Scientific root cause analysis from evidence
16
+ - **Fix**: Targeted fix plan with regression test spec
17
+
18
+ ## Running
19
+
20
+ Invoke via Claude Code's Workflow tool:
21
+
22
+ ```
23
+ Workflow({
24
+ scriptPath: ".mindforge/dynamic-workflows/scripts/debug-detective.js",
25
+ args: "<your input>"
26
+ })
27
+ ```
28
+
29
+ Or discover via CLI:
30
+ ```bash
31
+ node bin/mindforge-cli.js workflow info debug-detective
32
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Parallel per-dependency audit (CVEs / licenses / staleness / maintenance) → risk matrix"
3
+ ---
4
+ # /mindforge:wf-dependency-health
5
+
6
+ Runs the **Dependency Health** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-dependency-health <target or question>`
10
+
11
+ ## What it does
12
+ - **Inventory**: Extract full dependency tree from package manifests
13
+ - **Audit**: Parallel audit per batch: CVEs, license risk, staleness, maintenance status
14
+ - **RiskMatrix**: Consolidate into risk matrix with severity tiers
15
+ - **Action**: Prioritized upgrade / replace / accept recommendations
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/dependency-health.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info dependency-health
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "5 parallel dimension auditors (spacing/color/typography/icons/a11y) → consistency score"
3
+ ---
4
+ # /mindforge:wf-design-system-audit
5
+
6
+ Runs the **Design System Audit** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-design-system-audit <frontend codebase or design system path>`
10
+
11
+ ## What it does
12
+ - **Inventory**: Discover design tokens, component files, and styling approach
13
+ - **Audit**: 5 parallel dimension auditors: spacing, color, typography, icons, accessibility
14
+ - **Score**: Aggregate consistency scores per dimension and overall
15
+ - **Report**: Design system health report with specific violation fixes
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/design-system-audit.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info design-system-audit
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Parallel per-file doc generation → style normalization → publish-ready documentation"
3
+ ---
4
+ # /mindforge:wf-documentation-gen
5
+
6
+ Runs the **Documentation Generation** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-documentation-gen <codebase or module path>`
10
+
11
+ ## What it does
12
+ - **Scope**: Discover files needing documentation
13
+ - **Generate**: Parallel doc generation per file/module
14
+ - **Normalize**: Style consistency pass across all generated docs
15
+ - **Publish**: Assemble README, API reference, and changelog entries
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/documentation-gen.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info documentation-gen
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Parallel per-repo audit → cross-repo divergence map → sync plan"
3
+ ---
4
+ # /mindforge:wf-multi-repo-sync
5
+
6
+ Runs the **Multi-Repo Sync** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-multi-repo-sync <workspace path or comma-separated repo paths>`
10
+
11
+ ## What it does
12
+ - **Discover**: List target repos and their relationships
13
+ - **Audit**: Parallel audit per repo for divergence from the reference
14
+ - **DivergenceMap**: Cross-repo divergence map with severity
15
+ - **SyncPlan**: Prioritized sync plan — what to align and how
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/multi-repo-sync.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info multi-repo-sync
31
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: "Mutant generator → parallel kill-test agents → mutation score + survival report"
3
+ ---
4
+ # /mindforge:wf-mutation-testing
5
+
6
+ Runs the **Mutation Testing** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-mutation-testing <source file or module to mutation-test>`
10
+
11
+ ## What it does
12
+ - **Analyze**: Identify mutable source lines: conditions, operators, return values
13
+ - **Mutate**: Generate 10-15 specific mutation descriptions
14
+ - **Kill**: Parallel kill-test per mutation — would existing tests catch it?
15
+ - **Report**: Mutation score report with killed/survived/timeout breakdown
16
+
17
+ ## Running
18
+
19
+ Invoke via Claude Code's Workflow tool:
20
+
21
+ ```
22
+ Workflow({
23
+ scriptPath: ".mindforge/dynamic-workflows/scripts/mutation-testing.js",
24
+ args: "<your input>"
25
+ })
26
+ ```
27
+
28
+ Or discover via CLI:
29
+ ```bash
30
+ node bin/mindforge-cli.js workflow info mutation-testing
31
+ ```
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: "5-angle OWASP parallel scout → 3-vote adversarial verification → threat model + remediation roadmap"
3
+ ---
4
+ # /mindforge:wf-security-hardening
5
+
6
+ Runs the **Security Hardening** dynamic workflow.
7
+
8
+ ## Usage
9
+ `/mindforge:wf-security-hardening <target or question>`
10
+
11
+ ## What it does
12
+ - **Scope**: Define attack surface and target context
13
+ - **Scout**: 5 parallel OWASP/CWE dimension scouts
14
+ - **Verify**: 3-vote adversarial verification per critical finding
15
+ - **ThreatModel**: STRIDE threat model from confirmed findings
16
+ - **Roadmap**: Prioritized remediation roadmap with severity/effort matrix
17
+
18
+ ## Running
19
+
20
+ Invoke via Claude Code's Workflow tool:
21
+
22
+ ```
23
+ Workflow({
24
+ scriptPath: ".mindforge/dynamic-workflows/scripts/security-hardening.js",
25
+ args: "<your input>"
26
+ })
27
+ ```
28
+
29
+ Or discover via CLI:
30
+ ```bash
31
+ node bin/mindforge-cli.js workflow info security-hardening
32
+ ```