-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix(skill): clean up bmad-create-architecture validation findings #1987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,8 +57,8 @@ If no document exists or no `stepsCompleted` in frontmatter: | |
| Discover and load context documents using smart discovery. Documents can be in the following locations: | ||
| - {planning_artifacts}/** | ||
| - {output_folder}/** | ||
| - {product_knowledge}/** | ||
| - docs/** | ||
| - {project_knowledge}/** | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Severity: medium 🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
| - {project-root}/docs/** | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hard-pinning to You dropped the bare 🤖 Prompt for AI Agents |
||
|
|
||
| Also - when searching - documents can be a single markdown file, or a folder with an index and multiple files. For Example, if searching for `*foo*.md` and not found, also search for a folder called *foo*/index.md (which indicates sharded content) | ||
|
|
||
|
|
@@ -67,7 +67,7 @@ Try to discover the following: | |
| - Product Requirements Document (`*prd*.md`) | ||
| - UX Design (`*ux-design*.md`) and other | ||
| - Research Documents (`*research*.md`) | ||
| - Project Documentation (generally multiple documents might be found for this in the `{product_knowledge}` or `docs` folder.) | ||
| - Project Documentation (generally multiple documents might be found for this in the `{project_knowledge}` or `{project-root}/docs` folder.) | ||
| - Project Context (`**/project-context.md`) | ||
|
|
||
| <critical>Confirm what you have found with the user, along with asking if the user wants to provide anything else. Only after this confirmation will you proceed to follow the loading rules</critical> | ||
|
|
@@ -95,7 +95,7 @@ Before proceeding, verify we have the essential inputs: | |
|
|
||
| #### C. Create Initial Document | ||
|
|
||
| Copy the template from `{installed_path}/architecture-decision-template.md` to `{planning_artifacts}/architecture.md` | ||
| Copy the template from `../architecture-decision-template.md` to `{planning_artifacts}/architecture.md` | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copy failure path is missing but success is reported unconditionally later. The step later states “Created ... from template” regardless of copy success. Add a mandatory success check before any completion/reporting branch. 🤖 Prompt for AI Agents |
||
|
|
||
| #### D. Complete Initialization and Report | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{project_knowledge}introduces a variable-contract compatibility risk.This rename can break runs where upstream config/context still exposes
{product_knowledge}(which is still present in sibling workflow steps). Add a compatibility fallback (check both keys) or a migration note in the step contract.Based on learnings: converted workflow families still contain
{product_knowledge}usages (e.g.,src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md:55-71).🤖 Prompt for AI Agents