<command-message>bmad-workflow-builder</command-message>…
- User
bmad-workflow-builder /bmad-workflow-builder
Assistant
Hi Armel — workflow builder ready. Before I route to a build flow or analysis, the floor is yours.
What do you want to work on? A few ways to give me what I need:
- New skill — share the vision: what's the trigger phrase, who's the user, what does success look like, any references/examples I should read first.
- Edit/rebuild an existing skill — point me at the path (e.g.
src/skf-brief-skill/) and tell me what should change or what's bothering you about it. - Analyze a skill — point me at the path and tell me what lens (correctness, prose quality, structure, trigger reliability, etc.).
Dump everything you have — half-formed ideas, links, file paths, what's worked or failed before. I'll structure it from there.
- User
the export-skill workflow give an inaccurate hint to install the exported skill locally. The path should start with "./" to evoid npx to look for the package on a github repo. Could you verify this minor bug?
Assistant
Bug confirmed. Cleaning up test fixtures, then reporting findings.
Assistant
Verified — bug is real and reproducible
Location:
src/skf-export-skill/references/summary.md:90-106(the "Use It In This Project" section)Current text:
npx skills add {resolved_skill_package}- User
do we need to go to party mode for a better production grade solution?
Assistant
No — party mode would be overkill for this. It's a facilitation tool for multi-perspective ideation (PM + architect + UX + analyst riffing on a design problem), not bug remediation. There are no real cross-role tradeoffs here: the CLI's behavior is fixed, the fix is mechanical, and the user-visible surface is one prose block.
That said, "production grade" for this bug is a bit heavier than the one-line edit I sketched. Three things worth doing before calling it done:
- Audit the same anti-pattern elsewhere.
quick-skill,create-stack-skill,test-skill, plusdocs/workflows.mdanddocs/skill-model.mdall mentionnpx skills addwith placeholder paths. If any of those templates also produce a bare relative path, they have the same trap.
- Audit the same anti-pattern elsewhere.
- User
audit first, then fix everything
Assistant
Auditing all
npx skills addmentions for the path-trap pattern.Assistant
Reading the surrounding context to understand if the workflow has a resolved absolute path available at summary time.
Assistant
Audit results
I greped every
npx skills addmention in the repo (excluding gitignored output/analysis dirs). Classifying by whether it emits a user-runnable install command with a path:Vulnerable — emits a command users will copy/paste:
src/skf-export-skill/references/summary.mdStep 3 "Use It In This Project" (lines 90-106) — the one you reported. Only site.
Not vulnerable — informational only (no copyable command with path):
src/skf-export-skill/references/summary.md:56,61—npx skills publish {skill-name}andnpx skills add {skill-name}use a single-segment skill name (registry lookup, the intended behavior for published skills)src/skf-quick-skill/references/write-and-validate.md:100,src/skf-create-stack-skill/references/validate.md:70,src/skf-test-skill/references/init.md:106,113— describe that invalid frontmatter will be rejected by ; no commands emitted
Assistant
Done
Audit: 13 mentions of
npx skills addacross the repo. Only 1 vulnerable site (the one you reported).Fix applied to
src/skf-export-skill/references/summary.md(Step 3 "Use It In This Project"):- Added an explicit rendering rule ahead of the user-facing block telling the LLM to (a) substitute
{resolved_skill_package}with the actual resolved path before printing, not leave the placeholder for the user, and (b) prefix relative paths with./to avoid theorg/repoGitHub-clone trap. - Removed the now-redundant "Replace
{resolved_skill_package}with the absolute path…" prose from inside the user-facing block — that instruction belongs to the LLM rendering the summary, not to the end user reading it. - Kept the user-facing fenced command as
npx skills add {resolved_skill_package}so the rendering pipeline still recognizes the placeholder; the rule above ensures it's emitted in a safe form.
No other sites needed changes — all 12 other mentions are conceptual references with no copyable path command.
- Added an explicit rendering rule ahead of the user-facing block telling the LLM to (a) substitute
- User
create a new branch, commit , push and open a PR
Assistant
Branching, committing, pushing, opening PR. Per project convention, I'll run the full test suite in the background while preparing the branch.
Assistant
Branch created (
fix/skf-export-skill-npx-install-path-trap), fix staged. Waiting for thenpm testbackground job to complete before committing.Assistant
Tests pass. Committing, pushing, opening PR.
Assistant
PR #348 is open: https://github.com/armelhbobdad/bmad-module-skill-forge/pull/348
Summary of what landed on the branch:
fix/skf-export-skill-npx-install-path-trap— one commit (b5b4d862), 1 file changed, +4/-4 lines insrc/skf-export-skill/references/summary.mdnpm testgreen before commit (committed with--no-verifyper the verified-once-in-background convention)- PR body includes the audit conclusion (1 vulnerable site, 12 informational mentions) and a CLI repro showing both the failure and the fix
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.