refactor(skills): convert brainstorming to native skill#1924
refactor(skills): convert brainstorming to native skill#1924alexeyv merged 5 commits intobmad-code-org:mainfrom
Conversation
🤖 Augment PR SummarySummary: Migrates the core brainstorming workflow into a native skill directory ( Updates: Repoints help catalog references and the analyst agent’s BP menu entry to the new 🤖 Was this summary useful? React with 👍 or 👎 |
📝 WalkthroughWalkthroughThis PR migrates the brainstorming workflow to a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan for PR comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
src/core/workflows/bmad-brainstorming/workflow.md (2)
50-51:context_fileis defined in both frontmatter and Paths section.Line 4 defines
context_file: ''in frontmatter, and line 50 redefines it in the Paths section. This redundancy could cause confusion about which takes precedence. Consider removing one to establish a single source of truth.Additionally,
advancedElicitationTaskon line 51 uses an absolute{project-root}/_bmad/...path whiletemplate_pathandbrain_techniques_pathnow use relative./paths. This inconsistency is worth noting — shouldadvancedElicitationTaskalso be relativized if the goal is to move toward relative path resolution?🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/core/workflows/bmad-brainstorming/workflow.md` around lines 50 - 51, Remove the duplicate context_file declaration by keeping a single source of truth (either the frontmatter `context_file` or the Paths section `context_file`) and delete the other; update any references to use that single field. Also make the `advancedElicitationTask` path consistent with the other relative paths by changing `{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md` to a relative form (e.g., `./_bmad/core/workflows/advanced-elicitation/workflow.md`) so it matches `template_path` and `brain_techniques_path` conventions; ensure `advancedElicitationTask`, `template_path`, and `brain_techniques_path` all resolve the same way.
45-46: Inconsistent path notation with step reference on line 57.Lines 45-46 use
./prefix for relative paths (./template.md,./brain-methods.csv), but line 57 referencessteps/step-01-session-setup.mdwithout the./prefix. While both may resolve correctly, the inconsistency creates ambiguity about the intended path resolution semantics.♻️ Suggested normalization
Either use
./consistently for all relative paths:-Read fully and follow: `steps/step-01-session-setup.md` to begin the workflow. +Read fully and follow: `./steps/step-01-session-setup.md` to begin the workflow.Or remove
./from lines 45-46 to match the step reference style:-- `template_path` = `./template.md` -- `brain_techniques_path` = `./brain-methods.csv` +- `template_path` = `template.md` +- `brain_techniques_path` = `brain-methods.csv`🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/core/workflows/bmad-brainstorming/workflow.md` around lines 45 - 46, There is inconsistent relative-path notation between the variables template_path and brain_techniques_path and the step reference; normalize them so all relative paths use the same style. Edit the occurrences of template_path and brain_techniques_path (and the step reference "steps/step-01-session-setup.md") to either all include the "./" prefix (e.g., "./template.md", "./brain-methods.csv", "./steps/step-01-session-setup.md") or remove "./" from the first two to match the step reference; update whichever style you choose consistently across the file.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@src/core/workflows/bmad-brainstorming/workflow.md`:
- Around line 50-51: Remove the duplicate context_file declaration by keeping a
single source of truth (either the frontmatter `context_file` or the Paths
section `context_file`) and delete the other; update any references to use that
single field. Also make the `advancedElicitationTask` path consistent with the
other relative paths by changing
`{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md` to a
relative form (e.g., `./_bmad/core/workflows/advanced-elicitation/workflow.md`)
so it matches `template_path` and `brain_techniques_path` conventions; ensure
`advancedElicitationTask`, `template_path`, and `brain_techniques_path` all
resolve the same way.
- Around line 45-46: There is inconsistent relative-path notation between the
variables template_path and brain_techniques_path and the step reference;
normalize them so all relative paths use the same style. Edit the occurrences of
template_path and brain_techniques_path (and the step reference
"steps/step-01-session-setup.md") to either all include the "./" prefix (e.g.,
"./template.md", "./brain-methods.csv", "./steps/step-01-session-setup.md") or
remove "./" from the first two to match the step reference; update whichever
style you choose consistently across the file.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b23e7fc2-9913-4575-9ee0-28f4b628e28d
⛔ Files ignored due to path filters (3)
src/bmm/module-help.csvis excluded by!**/*.csvsrc/core/module-help.csvis excluded by!**/*.csvsrc/core/workflows/bmad-brainstorming/brain-methods.csvis excluded by!**/*.csv
📒 Files selected for processing (14)
src/bmm/agents/analyst.agent.yamlsrc/core/workflows/bmad-brainstorming/SKILL.mdsrc/core/workflows/bmad-brainstorming/bmad-skill-manifest.yamlsrc/core/workflows/bmad-brainstorming/steps/step-01-session-setup.mdsrc/core/workflows/bmad-brainstorming/steps/step-01b-continue.mdsrc/core/workflows/bmad-brainstorming/steps/step-02a-user-selected.mdsrc/core/workflows/bmad-brainstorming/steps/step-02b-ai-recommended.mdsrc/core/workflows/bmad-brainstorming/steps/step-02c-random-selection.mdsrc/core/workflows/bmad-brainstorming/steps/step-02d-progressive-flow.mdsrc/core/workflows/bmad-brainstorming/steps/step-03-technique-execution.mdsrc/core/workflows/bmad-brainstorming/steps/step-04-idea-organization.mdsrc/core/workflows/bmad-brainstorming/template.mdsrc/core/workflows/bmad-brainstorming/workflow.mdsrc/core/workflows/brainstorming/bmad-skill-manifest.yaml
💤 Files with no reviewable changes (1)
- src/core/workflows/brainstorming/bmad-skill-manifest.yaml
5dbf9e4 to
08464ca
Compare
…g#1924) * refactor(skills): convert brainstorming to native skill * fix(installer): skip workflow metadata for native skills * revert: restore workflow metadata handling * refactor(skills): remove duplicate party-mode workflow metadata * fix(agents): invoke native skills via skill refs
Summary
src/core/workflows/brainstorminginto the native-skill layout undersrc/core/workflows/bmad-brainstormingskill:bmad-brainstormingVerification
npm test/Users/alex/src/bmadharness with the CLI and verified.claude/skills/bmad-brainstorming/