diff --git a/.claude/skills/bmad-os-review-pr/prompts/instructions.md b/.claude/skills/bmad-os-review-pr/prompts/instructions.md
index 74512128e..2df118d5f 100644
--- a/.claude/skills/bmad-os-review-pr/prompts/instructions.md
+++ b/.claude/skills/bmad-os-review-pr/prompts/instructions.md
@@ -130,9 +130,9 @@ Likely tag:
### 1.2 Run Edge Case Hunter (subagent)
-Spawn a subagent that executes the task defined in `_bmad/core/tasks/review-edge-case-hunter.xml`. Pass the full PR diff as the `content` input. Omit `also_consider` unless the user specified extra focus areas.
+Spawn a subagent that invokes the `bmad-review-edge-case-hunter` skill. Pass the full PR diff as the `content` input. Omit `also_consider` unless the user specified extra focus areas.
-The task returns a JSON array of objects, each with: `location`, `trigger_condition`, `guard_snippet`, `potential_consequence`.
+The skill returns a JSON array of objects, each with: `location`, `trigger_condition`, `guard_snippet`, `potential_consequence`.
**Map each JSON finding to the standard finding format:**
diff --git a/.github/workflows/publish-latest.yaml b/.github/workflows/publish-latest.yaml
new file mode 100644
index 000000000..a70dc5738
--- /dev/null
+++ b/.github/workflows/publish-latest.yaml
@@ -0,0 +1,82 @@
+name: Publish Latest
+
+on:
+ workflow_dispatch:
+ inputs:
+ bump:
+ description: "Version bump type"
+ required: true
+ default: "patch"
+ type: choice
+ options:
+ - patch
+ - minor
+ - major
+
+concurrency:
+ group: publish-latest
+
+permissions:
+ id-token: write
+ contents: write
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version-file: ".nvmrc"
+ cache: "npm"
+ registry-url: "https://registry.npmjs.org"
+
+ - name: Configure git user
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run tests
+ run: npm test
+
+ - name: Bump version
+ run: 'npm version ${{ inputs.bump }} -m "chore(release): v%s [skip ci]"'
+
+ - name: Publish to npm
+ run: npm publish --tag latest --provenance
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+ - name: Push version commit and tag
+ run: git push origin main --follow-tags
+
+ - name: Create GitHub Release
+ run: |
+ TAG="v$(node -p 'require("./package.json").version')"
+ gh release create "$TAG" --generate-notes
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Notify Discord
+ continue-on-error: true
+ run: |
+ set -o pipefail
+ source .github/scripts/discord-helpers.sh
+ [ -z "$WEBHOOK" ] && exit 0
+
+ VERSION=$(node -p 'require("./package.json").version')
+ RELEASE_URL="${{ github.server_url }}/${{ github.repository }}/releases/tag/v${VERSION}"
+ MSG=$(printf '📦 **[bmad-method v%s released](<%s>)**' "$VERSION" "$RELEASE_URL" | esc)
+
+ jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
+ env:
+ WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
diff --git a/.github/workflows/publish-next.yaml b/.github/workflows/publish-next.yaml
new file mode 100644
index 000000000..7bf0a4b18
--- /dev/null
+++ b/.github/workflows/publish-next.yaml
@@ -0,0 +1,65 @@
+name: Publish Next
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "src/**"
+ - "tools/cli/**"
+ - "package.json"
+
+concurrency:
+ group: publish-next
+ cancel-in-progress: true
+
+permissions:
+ id-token: write
+ contents: read
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version-file: ".nvmrc"
+ cache: "npm"
+ registry-url: "https://registry.npmjs.org"
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run tests
+ run: npm test
+
+ - name: Derive next prerelease version
+ run: |
+ NEXT_VER=$(npm view bmad-method@next version 2>/dev/null || echo "")
+ LATEST_VER=$(npm view bmad-method@latest version 2>/dev/null || echo "")
+
+ # Determine the best base version for the next prerelease
+ BASE=$(node -e "
+ const semver = require('semver');
+ const next = process.argv[1] || null;
+ const latest = process.argv[2] || null;
+ if (!next && !latest) process.exit(0);
+ if (!next) { console.log(latest); process.exit(0); }
+ if (!latest) { console.log(next); process.exit(0); }
+ // If latest is newer than next's base, use latest (next prerelease will be based on it)
+ const nextBase = next.replace(/-next\.\d+$/, '');
+ console.log(semver.gt(latest, nextBase) ? latest : next);
+ " "$NEXT_VER" "$LATEST_VER")
+
+ if [ -n "$BASE" ]; then
+ npm version "$BASE" --no-git-tag-version --allow-same-version
+ fi
+ npm version prerelease --preid=next --no-git-tag-version
+
+ - name: Publish to npm
+ run: npm publish --tag next --provenance
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
new file mode 100644
index 000000000..3e1dc82e5
--- /dev/null
+++ b/.github/workflows/publish.yaml
@@ -0,0 +1,121 @@
+name: Publish
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "src/**"
+ - "tools/cli/**"
+ - "package.json"
+ workflow_dispatch:
+ inputs:
+ bump:
+ description: "Version bump type"
+ required: true
+ default: "patch"
+ type: choice
+ options:
+ - patch
+ - minor
+ - major
+
+concurrency:
+ group: publish
+ cancel-in-progress: ${{ github.event_name == 'push' }}
+
+permissions:
+ id-token: write
+ contents: write
+
+jobs:
+ publish:
+ if: github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main'
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version-file: ".nvmrc"
+ cache: "npm"
+ registry-url: "https://registry.npmjs.org"
+
+ - name: Configure git user
+ if: github.event_name == 'workflow_dispatch'
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run tests
+ run: npm test
+
+ - name: Derive next prerelease version
+ if: github.event_name == 'push'
+ run: |
+ NEXT_VER=$(npm view bmad-method@next version 2>/dev/null || echo "")
+ LATEST_VER=$(npm view bmad-method@latest version 2>/dev/null || echo "")
+
+ # Determine the best base version for the next prerelease.
+ BASE=$(node -e "
+ const semver = require('semver');
+ const next = process.argv[1] || null;
+ const latest = process.argv[2] || null;
+ if (!next && !latest) process.exit(0);
+ if (!next) { console.log(latest); process.exit(0); }
+ if (!latest) { console.log(next); process.exit(0); }
+ const nextBase = next.replace(/-next\.\d+$/, '');
+ console.log(semver.gt(latest, nextBase) ? latest : next);
+ " "$NEXT_VER" "$LATEST_VER")
+
+ if [ -n "$BASE" ]; then
+ npm version "$BASE" --no-git-tag-version --allow-same-version
+ fi
+ npm version prerelease --preid=next --no-git-tag-version
+
+ - name: Bump stable version
+ if: github.event_name == 'workflow_dispatch'
+ run: 'npm version ${{ inputs.bump }} -m "chore(release): v%s [skip ci]"'
+
+ - name: Publish prerelease to npm
+ if: github.event_name == 'push'
+ run: npm publish --tag next --provenance
+
+ - name: Publish stable release to npm
+ if: github.event_name == 'workflow_dispatch'
+ run: npm publish --tag latest --provenance
+
+ - name: Push version commit and tag
+ if: github.event_name == 'workflow_dispatch'
+ run: git push origin main --follow-tags
+
+ - name: Create GitHub Release
+ if: github.event_name == 'workflow_dispatch'
+ run: |
+ TAG="v$(node -p 'require("./package.json").version')"
+ gh release create "$TAG" --generate-notes
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Notify Discord
+ if: github.event_name == 'workflow_dispatch'
+ continue-on-error: true
+ run: |
+ set -o pipefail
+ source .github/scripts/discord-helpers.sh
+ [ -z "$WEBHOOK" ] && exit 0
+
+ VERSION=$(node -p 'require("./package.json").version')
+ RELEASE_URL="${{ github.server_url }}/${{ github.repository }}/releases/tag/v${VERSION}"
+ MSG=$(printf '📦 **[bmad-method v%s released](<%s>)**' "$VERSION" "$RELEASE_URL" | esc)
+
+ jq -n --arg content "$MSG" '{content: $content}' | curl -sf --retry 2 -X POST "$WEBHOOK" -H "Content-Type: application/json" -d @-
+ env:
+ WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d9c12655f..459195916 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -73,7 +73,7 @@ After searching, use the [feature request template](https://github.com/bmad-code
### Target Branch
-Submit PRs to the `main` branch. We use [trunk-based development](https://trunkbaseddevelopment.com/branch-for-release/): `main` is the trunk where all work lands, and stable release branches receive only cherry-picked fixes.
+Submit PRs to the `main` branch. We use trunk-based development. Every push to `main` auto-publishes to `npm` under the `next` tag. Stable releases are cut ~weekly to the `latest` tag.
### PR Size
diff --git a/src/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md b/src/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md
index 9e0955b77..7363f7c95 100644
--- a/src/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md
+++ b/src/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md
@@ -128,7 +128,7 @@ Recap that the brief captures everything needed to guide subsequent product deve
### 5. Suggest next steps
-Product Brief complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+Product Brief complete. Invoke the `bmad-help` skill.
---
diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md b/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md
index 9f88be6ee..04204e8a9 100644
--- a/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md
+++ b/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md
@@ -87,7 +87,7 @@ Offer validation workflows to ensure PRD is ready for implementation:
### 4. Suggest Next Workflows
-PRD complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+PRD complete. Invoke the `bmad-help` skill.
### 5. Final Completion Confirmation
diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md b/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md
index 46c98f7f9..dd331bf48 100644
--- a/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md
+++ b/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md
@@ -197,7 +197,7 @@ Display:
- **IF X (Exit):**
- Display: "**Validation Report Saved:** {validationReportPath}"
- Display: "**Summary:** {overall status} - {recommendation}"
- - PRD Validation complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+ - PRD Validation complete. Invoke the `bmad-help` skill.
- **IF Any other:** Help user, then redisplay menu
diff --git a/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md b/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md
index 62a02cf45..73b07217d 100644
--- a/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md
+++ b/src/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md
@@ -82,7 +82,7 @@ Update the main workflow status file:
### 3. Suggest Next Steps
-UX Design complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+UX Design complete. Invoke the `bmad-help` skill.
### 5. Final Completion Confirmation
diff --git a/src/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md b/src/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md
index fe80fc23a..548aa8f6d 100644
--- a/src/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md
+++ b/src/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md
@@ -109,7 +109,7 @@ The assessment found [number] issues requiring attention. Review the detailed re
The implementation readiness workflow is now complete. The report contains all findings and recommendations for the user to consider.
-Implementation Readiness complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+Implementation Readiness complete. Invoke the `bmad-help` skill.
---
diff --git a/src/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md b/src/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md
index f44850b2b..e378fc97e 100644
--- a/src/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md
+++ b/src/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md
@@ -41,7 +41,7 @@ completedAt: '{{current_date}}'
### 3. Next Steps Guidance
-Architecture complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+Architecture complete. Invoke the `bmad-help` skill.
Upon Completion of task output: offer to answer any questions about the Architecture Document.
diff --git a/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md b/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md
index adc3f497c..8d074e313 100644
--- a/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md
+++ b/src/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md
@@ -144,6 +144,6 @@ If all validations pass:
When C is selected, the workflow is complete and the epics.md is ready for development.
-Epics and Stories complete. Read fully and follow: `{project-root}/_bmad/core/tasks/help.md`
+Epics and Stories complete. Invoke the `bmad-help` skill.
Upon Completion of task output: offer to answer any questions about the Epics and Stories.
diff --git a/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md b/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md
index 0693e7331..32fbea446 100644
--- a/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md
+++ b/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md
@@ -2,7 +2,6 @@
name: 'step-04-review'
description: 'Adversarial review, classify findings, optional spec loop'
-edge_case_hunter_task: '{project-root}/_bmad/core/tasks/review-edge-case-hunter.xml'
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
specLoopIteration: 1
---
@@ -31,7 +30,7 @@ Do NOT `git add` anything — this is read-only inspection.
**Plan-code-review:** Launch three subagents without conversation context. If no sub-agents are available, generate three review prompt files in `{implementation_artifacts}` — one per reviewer role below — and HALT. Ask the human to run each in a separate session (ideally a different LLM) and paste back the findings.
- **Blind hunter** — receives `{diff_output}` only. No spec, no context docs, no project access. Invoke via the `bmad-review-adversarial-general` skill.
-- **Edge case hunter** — receives `{diff_output}` and read access to the project. Invoke via `{edge_case_hunter_task}`.
+- **Edge case hunter** — receives `{diff_output}` and read access to the project. Invoke via the `bmad-review-edge-case-hunter` skill.
- **Acceptance auditor** — receives `{diff_output}`, `{spec_file}`, and read access to the project. Must also read the docs listed in `{spec_file}` frontmatter `context`. Checks for violations of acceptance criteria, rules, and principles from the spec and context docs.
### Classify
diff --git a/src/core/agents/bmad-master.agent.yaml b/src/core/agents/bmad-master.agent.yaml
index 1304c1cc9..796a91b38 100644
--- a/src/core/agents/bmad-master.agent.yaml
+++ b/src/core/agents/bmad-master.agent.yaml
@@ -18,7 +18,7 @@ agent:
- Load resources at runtime, never pre-load, and always present numbered lists for choices.
critical_actions:
- - "Always greet the user and let them know they can use `/bmad-help` at any time to get advice on what to do next, and they can combine that with what they need help with `/bmad-help where should I start with an idea I have that does XYZ`"
+ - 'Always greet the user and let them know they can invoke the `bmad-help` skill at any time to get advice on what to do next, and they can combine it with what they need help with Invoke the `bmad-help` skill with a question like "where should I start with an idea I have that does XYZ?"'
menu:
- trigger: "LT or fuzzy match on list-tasks"
diff --git a/src/core/module-help.csv b/src/core/module-help.csv
index a56f33772..9e8fe7f3e 100644
--- a/src/core/module-help.csv
+++ b/src/core/module-help.csv
@@ -1,10 +1,10 @@
module,phase,name,code,sequence,workflow-file,command,required,agent,options,description,output-location,outputs
core,anytime,Brainstorming,BSP,,_bmad/core/workflows/brainstorming/workflow.md,bmad-brainstorming,false,analyst,,"Generate diverse ideas through interactive techniques. Use early in ideation phase or when stuck generating ideas.",{output_folder}/brainstorming/brainstorming-session-{{date}}.md,,
core,anytime,Party Mode,PM,,_bmad/core/workflows/party-mode/workflow.md,bmad-party-mode,false,party-mode facilitator,,"Orchestrate multi-agent discussions. Use when you need multiple agent perspectives or want agents to collaborate.",,
-core,anytime,bmad-help,BH,,_bmad/core/tasks/help.md,bmad-help,false,,,"Get unstuck by showing what workflow steps come next or answering BMad Method questions.",,
+core,anytime,bmad-help,BH,,skill:bmad-help,bmad-help,false,,,"Get unstuck by showing what workflow steps come next or answering BMad Method questions.",,
core,anytime,Index Docs,ID,,_bmad/core/tasks/index-docs.xml,bmad-index-docs,false,,,"Create lightweight index for quick LLM scanning. Use when LLM needs to understand available docs without loading everything.",,
core,anytime,Shard Document,SD,,_bmad/core/tasks/shard-doc.xml,bmad-shard-doc,false,,,"Split large documents into smaller files by sections. Use when doc becomes too large (>500 lines) to manage effectively.",,
core,anytime,Editorial Review - Prose,EP,,_bmad/core/tasks/editorial-review-prose.xml,bmad-editorial-review-prose,false,,,"Review prose for clarity, tone, and communication issues. Use after drafting to polish written content.",report located with target document,"three-column markdown table with suggested fixes",
core,anytime,Editorial Review - Structure,ES,,_bmad/core/tasks/editorial-review-structure.xml,bmad-editorial-review-structure,false,,,"Propose cuts, reorganization, and simplification while preserving comprehension. Use when doc produced from multiple subprocesses or needs structural improvement.",report located with target document,
core,anytime,Adversarial Review (General),AR,,skill:bmad-review-adversarial-general,bmad-review-adversarial-general,false,,,"Review content critically to find issues and weaknesses. Use for quality assurance or before finalizing deliverables. Code Review in other modules run this automatically, but its useful also for document reviews",,
-core,anytime,Edge Case Hunter Review,ECH,,_bmad/core/tasks/review-edge-case-hunter.xml,bmad-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
+core,anytime,Edge Case Hunter Review,ECH,,skill:bmad-review-edge-case-hunter,bmad-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
diff --git a/src/core/tasks/bmad-help/SKILL.md b/src/core/tasks/bmad-help/SKILL.md
new file mode 100644
index 000000000..fbd6ff60e
--- /dev/null
+++ b/src/core/tasks/bmad-help/SKILL.md
@@ -0,0 +1,6 @@
+---
+name: bmad-help
+description: 'Analyzes what is done and the users query and offers advice on what to do next. Use if user says what should I do next or what do I do now'
+---
+
+Follow the instructions in [workflow.md](workflow.md).
diff --git a/src/core/tasks/bmad-help/bmad-skill-manifest.yaml b/src/core/tasks/bmad-help/bmad-skill-manifest.yaml
new file mode 100644
index 000000000..d0f08abdb
--- /dev/null
+++ b/src/core/tasks/bmad-help/bmad-skill-manifest.yaml
@@ -0,0 +1 @@
+type: skill
diff --git a/src/core/tasks/help.md b/src/core/tasks/bmad-help/workflow.md
similarity index 96%
rename from src/core/tasks/help.md
rename to src/core/tasks/bmad-help/workflow.md
index 88f4a4d55..537f42322 100644
--- a/src/core/tasks/help.md
+++ b/src/core/tasks/bmad-help/workflow.md
@@ -1,7 +1,3 @@
----
-name: help
-description: 'Analyzes what is done and the users query and offers advice on what to do next. Use if user says what should I do next or what do I do now'
----
# Task: BMAD Help
diff --git a/src/core/tasks/bmad-review-edge-case-hunter/SKILL.md b/src/core/tasks/bmad-review-edge-case-hunter/SKILL.md
new file mode 100644
index 000000000..872fff46f
--- /dev/null
+++ b/src/core/tasks/bmad-review-edge-case-hunter/SKILL.md
@@ -0,0 +1,6 @@
+---
+name: bmad-review-edge-case-hunter
+description: 'Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven.'
+---
+
+Follow the instructions in [workflow.md](workflow.md).
diff --git a/src/core/tasks/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml b/src/core/tasks/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml
new file mode 100644
index 000000000..d0f08abdb
--- /dev/null
+++ b/src/core/tasks/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml
@@ -0,0 +1 @@
+type: skill
diff --git a/src/core/tasks/bmad-review-edge-case-hunter/workflow.md b/src/core/tasks/bmad-review-edge-case-hunter/workflow.md
new file mode 100644
index 000000000..4d21c3961
--- /dev/null
+++ b/src/core/tasks/bmad-review-edge-case-hunter/workflow.md
@@ -0,0 +1,62 @@
+# Edge Case Hunter Review
+
+**Goal:** You are a pure path tracer. Never comment on whether code is good or bad; only list missing handling.
+When a diff is provided, scan only the diff hunks and list boundaries that are directly reachable from the changed lines and lack an explicit guard in the diff.
+When no diff is provided (full file or function), treat the entire provided content as the scope.
+Ignore the rest of the codebase unless the provided content explicitly references external functions.
+
+**Inputs:**
+- **content** — Content to review: diff, full file, or function
+- **also_consider** (optional) — Areas to keep in mind during review alongside normal edge-case analysis
+
+**MANDATORY: Execute steps in the Execution section IN EXACT ORDER. DO NOT skip steps or change the sequence. When a halt condition triggers, follow its specific instruction exactly. Each action within a step is a REQUIRED action to complete that step.**
+
+**Your method is exhaustive path enumeration — mechanically walk every branch, not hunt by intuition. Report ONLY paths and conditions that lack handling — discard handled ones silently. Do NOT editorialize or add filler — findings only.**
+
+
+## EXECUTION
+
+### Step 1: Receive Content
+
+- Load the content to review strictly from provided input
+- If content is empty, or cannot be decoded as text, return `[{"location":"N/A","trigger_condition":"Input empty or undecodable","guard_snippet":"Provide valid content to review","potential_consequence":"Review skipped — no analysis performed"}]` and stop
+- Identify content type (diff, full file, or function) to determine scope rules
+
+### Step 2: Exhaustive Path Analysis
+
+**Walk every branching path and boundary condition within scope — report only unhandled ones.**
+
+- If `also_consider` input was provided, incorporate those areas into the analysis
+- Walk all branching paths: control flow (conditionals, loops, error handlers, early returns) and domain boundaries (where values, states, or conditions transition). Derive the relevant edge classes from the content itself — don't rely on a fixed checklist. Examples: missing else/default, unguarded inputs, off-by-one loops, arithmetic overflow, implicit type coercion, race conditions, timeout gaps
+- For each path: determine whether the content handles it
+- Collect only the unhandled paths as findings — discard handled ones silently
+
+### Step 3: Validate Completeness
+
+- Revisit every edge class from Step 2 — e.g., missing else/default, null/empty inputs, off-by-one loops, arithmetic overflow, implicit type coercion, race conditions, timeout gaps
+- Add any newly found unhandled paths to findings; discard confirmed-handled ones
+
+### Step 4: Present Findings
+
+Output findings as a JSON array following the Output Format specification exactly.
+
+
+## OUTPUT FORMAT
+
+Return ONLY a valid JSON array of objects. Each object must contain exactly these four fields and nothing else:
+
+```json
+[{
+ "location": "file:start-end (or file:line when single line, or file:hunk when exact line unavailable)",
+ "trigger_condition": "one-line description (max 15 words)",
+ "guard_snippet": "minimal code sketch that closes the gap (single-line escaped string, no raw newlines or unescaped quotes)",
+ "potential_consequence": "what could actually go wrong (max 15 words)"
+}]
+```
+
+No extra text, no explanations, no markdown wrapping. An empty array `[]` is valid when no unhandled paths are found.
+
+
+## HALT CONDITIONS
+
+- If content is empty or cannot be decoded as text, return `[{"location":"N/A","trigger_condition":"Input empty or undecodable","guard_snippet":"Provide valid content to review","potential_consequence":"Review skipped — no analysis performed"}]` and stop
diff --git a/src/core/tasks/bmad-skill-manifest.yaml b/src/core/tasks/bmad-skill-manifest.yaml
index ea8fdbcf1..11d3c75a2 100644
--- a/src/core/tasks/bmad-skill-manifest.yaml
+++ b/src/core/tasks/bmad-skill-manifest.yaml
@@ -8,21 +8,11 @@ editorial-review-structure.xml:
type: task
description: "Structural editor that proposes cuts, reorganization, and simplification while preserving comprehension"
-help.md:
- canonicalId: bmad-help
- type: task
- description: "Analyzes what is done and the users query and offers advice on what to do next"
-
index-docs.xml:
canonicalId: bmad-index-docs
type: task
description: "Generates or updates an index.md to reference all docs in the folder"
-review-edge-case-hunter.xml:
- canonicalId: bmad-review-edge-case-hunter
- type: task
- description: "Walk every branching path and boundary condition in content, report only unhandled edge cases"
-
shard-doc.xml:
canonicalId: bmad-shard-doc
type: task
diff --git a/src/core/tasks/review-edge-case-hunter.xml b/src/core/tasks/review-edge-case-hunter.xml
deleted file mode 100644
index dfe75ce34..000000000
--- a/src/core/tasks/review-edge-case-hunter.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
- You are a pure path tracer. Never comment on whether code is good or bad; only list missing handling.
-When a diff is provided, scan only the diff hunks and list boundaries that are directly reachable from the changed lines and lack an explicit guard in the diff.
-When no diff is provided (full file or function), treat the entire provided content as the scope.
-Ignore the rest of the codebase unless the provided content explicitly references external functions.
-
-
-
-
-
-
- Return ONLY a valid JSON array of objects. Each object must contain exactly these four fields and nothing else:
-[{
- "location": "file:start-end (or file:line when single line, or file:hunk when exact line unavailable)",
- "trigger_condition": "one-line description (max 15 words)",
- "guard_snippet": "minimal code sketch that closes the gap (single-line escaped string, no raw newlines or unescaped quotes)",
- "potential_consequence": "what could actually go wrong (max 15 words)"
-}]
-No extra text, no explanations, no markdown wrapping. An empty array [] is valid when no unhandled paths are found.
-
-
- MANDATORY: Execute steps in the flow section IN EXACT ORDER
- DO NOT skip steps or change the sequence
- When a halt-condition triggers, follow its specific instruction exactly
- Each action xml tag within step xml tag is a REQUIRED action to complete that step
-
- Your method is exhaustive path enumeration — mechanically walk every branch, not hunt by intuition
- Trace each branching path: conditionals, switches, early returns, guard clauses, loops, error handlers
- Trace each boundary condition: null, undefined, empty, zero, negative, overflow, max-length, type coercion, concurrency, timing
- Report ONLY paths and conditions that lack handling — discard handled ones silently
- Do NOT editorialize or add filler — findings only
-
-
-
-
- Load the content to review strictly from provided input
- If content is empty, or cannot be decoded as text, return empty array [] and stop
- Identify content type (diff, full file, or function) to determine scope rules
-
-
-
- Walk every branching path and boundary condition within scope - report only unhandled ones
- If also_consider input was provided, incorporate those areas into the analysis
- Enumerate all branching paths and boundary conditions within scope: conditionals, switches, early returns, guard clauses, loops, error handlers, null/empty states, overflow, type edges, concurrency, timing
- For each path: determine whether the content handles it
- Collect only the unhandled paths as findings - discard handled ones silently
-
-
-
- Recheck every conditional for missing else/default
- Recheck every input for null/empty/wrong-type
- Recheck loop bounds for off-by-one and empty-collection
- Add any newly found unhandled paths to findings; discard confirmed-handled ones
-
-
-
- Output findings as a JSON array following the output-format specification exactly
-
-
-
-
- If content is empty or cannot be decoded as text, return empty array [] and stop
-
-
-
diff --git a/src/utility/agent-components/activation-steps.txt b/src/utility/agent-components/activation-steps.txt
index abcc0e6fa..726be3e06 100644
--- a/src/utility/agent-components/activation-steps.txt
+++ b/src/utility/agent-components/activation-steps.txt
@@ -8,7 +8,7 @@
Remember: user's name is {user_name}
{AGENT_SPECIFIC_STEPS}
Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section
- Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with `/bmad-help where should I start with an idea I have that does XYZ`
+ Let {user_name} know they can invoke the `bmad-help` skill at any time to get advice on what to do next, and that they can combine it with what they need help with Invoke the `bmad-help` skill with a question like "where should I start with an idea I have that does XYZ?"STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command matchOn user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"
- When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (exec, tmpl, data, action, multi) and follow the corresponding handler instructions
\ No newline at end of file
+ When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (exec, tmpl, data, action, multi) and follow the corresponding handler instructions