Skip to content

refactor(skills): convert create-architecture workflow to native skill#1936

Merged
alexeyv merged 4 commits intobmad-code-org:mainfrom
alexeyv:convert-create-architecture-skill
Mar 14, 2026
Merged

refactor(skills): convert create-architecture workflow to native skill#1936
alexeyv merged 4 commits intobmad-code-org:mainfrom
alexeyv:convert-create-architecture-skill

Conversation

@alexeyv
Copy link
Copy Markdown
Collaborator

@alexeyv alexeyv commented Mar 12, 2026

Summary

  • mechanically convert src/bmm/workflows/3-solutioning/create-architecture into native skill packaging at src/bmm/workflows/3-solutioning/bmad-create-architecture
  • add SKILL.md and switch manifest to type: skill
  • update workflow/step path references required by directory rename + skill packaging
  • update dependent references:
    • src/bmm/module-help.csv -> skill:bmad-create-architecture
    • src/bmm/agents/architect.agent.yaml exec path -> renamed workflow directory

Mechanical Constraints

  • no behavioral redesign/hardening/optimization
  • workflow logic preserved; only required path/name adjustments applied

Validation

  • installer run:
    • node tools/cli/bmad-cli.js install --directory /Users/alex/src/bmad --modules bmm --tools claude-code --yes
  • full repo checks:
    • npm test
  • manifest/install verification:
    • bmad-create-architecture appears in _bmad/_config/skill-manifest.csv
    • no bmad-create-architecture entry in _bmad/_config/workflow-manifest.csv
  • equivalence protocol (mechanical pass):
    • normalized old-vs-new parity for workflow.md and all step files
    • exact parity for template + data files

@augmentcode
Copy link
Copy Markdown

augmentcode bot commented Mar 12, 2026

🤖 Augment PR Summary

Summary: Migrates the legacy create-architecture workflow into a native skill directory (bmad-create-architecture) for skill-based installers/IDEs.

Changes:

  • Renames the workflow folder and updates the workflow frontmatter/name to bmad-create-architecture
  • Adds native-skill packaging files (SKILL.md, bmad-skill-manifest.yaml with type: skill)
  • Updates internal references (agent menu exec path + step/workflow path references) to match the new directory layout

Technical Notes: Workflow now uses relative paths (e.g., installed_path = ., ./steps/…) consistent with skill-directory execution.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 12, 2026

📝 Walkthrough

Walkthrough

This PR relocates and refactors the create-architecture workflow from create-architecture/ to bmad-create-architecture/, updating the agent menu exec path and normalizing all step file references from absolute project-root paths to relative paths.

Changes

Cohort / File(s) Summary
Agent Configuration
src/bmm/agents/architect.agent.yaml
Updated exec path from create-architecture/workflow.md to bmad-create-architecture/workflow.md to point to the new workflow location.
New Workflow Structure
src/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md, SKILL.md, bmad-skill-manifest.yaml
Introduced new workflow definition with renamed workflow from "create-architecture" to "bmad-create-architecture", installed_path changed to relative ".", and added skill documentation and manifest files.
Workflow Steps
src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-0{1,2,3,4,5,6,7}-*.md
Normalized all step file path references from absolute {project-root}/_bmad/bmm/workflows/... patterns to relative ./steps/ paths across all 7 step files.
Old Workflow Cleanup
src/bmm/workflows/3-solutioning/create-architecture/bmad-skill-manifest.yaml
Removed workflow metadata entries (canonicalId, type, description) from the original manifest file.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • bmadcode
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title accurately summarizes the main change: converting a workflow into a native skill, which aligns with the substantial refactoring shown across multiple files and directories.
Description check ✅ Passed The pull request description is comprehensive and directly related to the changeset, detailing the mechanical conversion, path updates, dependent reference changes, and validation performed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md (1)

149-152: Minor: "decision making" should be hyphenated.

Static analysis flagged "decision making" should be "decision-making" when used as a compound modifier. This is a minor grammar nit.

📝 Proposed fix
-After user selects [C] to continue, only after ensuring all the template output has been created, then load `./steps/step-02-context.md` to analyze the project context and begin architectural decision making.
+After user selects [C] to continue, only after ensuring all the template output has been created, then load `./steps/step-02-context.md` to analyze the project context and begin architectural decision-making.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md`
around lines 149 - 152, Replace the unhyphenated compound "decision making" in
the NEXT STEP paragraph with the correct hyphenated form "decision-making" so
the compound modifier is grammatically correct; locate the text in
step-01-init.md (the "NEXT STEP:" block that references loading
./steps/step-02-context.md) and update the phrase accordingly.
🤖 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/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md`:
- Around line 149-152: Replace the unhyphenated compound "decision making" in
the NEXT STEP paragraph with the correct hyphenated form "decision-making" so
the compound modifier is grammatically correct; locate the text in
step-01-init.md (the "NEXT STEP:" block that references loading
./steps/step-02-context.md) and update the phrase accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0ce1d17e-a52f-40fc-b73d-a67982731d7f

📥 Commits

Reviewing files that changed from the base of the PR and between 7b4875b and 429bc04.

⛔ Files ignored due to path filters (3)
  • src/bmm/module-help.csv is excluded by !**/*.csv
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/data/domain-complexity.csv is excluded by !**/*.csv
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/data/project-types.csv is excluded by !**/*.csv
📒 Files selected for processing (15)
  • src/bmm/agents/architect.agent.yaml
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/architecture-decision-template.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01b-continue.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-08-complete.md
  • src/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md
  • src/bmm/workflows/3-solutioning/create-architecture/bmad-skill-manifest.yaml
💤 Files with no reviewable changes (1)
  • src/bmm/workflows/3-solutioning/create-architecture/bmad-skill-manifest.yaml

@alexeyv alexeyv force-pushed the convert-create-architecture-skill branch from 429bc04 to c56f8aa Compare March 13, 2026 15:23
@alexeyv alexeyv force-pushed the convert-create-architecture-skill branch from fba6403 to 180bc9b Compare March 14, 2026 06:11
@alexeyv alexeyv merged commit 5f92146 into bmad-code-org:main Mar 14, 2026
5 checks passed
@alexeyv alexeyv deleted the convert-create-architecture-skill branch March 14, 2026 06:14
alexeyv added a commit that referenced this pull request Mar 14, 2026
#1936)

* refactor(skills): convert create-architecture workflow to native skill

* fix(skills): remove workflow metadata from create-architecture

* fix(skills): normalize create-architecture step links

* fix(agents): use skill ref for create-architecture
@coderabbitai coderabbitai bot mentioned this pull request Apr 3, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant