Applicability check — before running BMAD
Resolve {project-root} to the repository being worked on, not the directory containing this globally installed skill. Check the renderer without changing the current working directory:
test -f "{project-root}/_bmad/scripts/render_skill.py"
- If absent on an ordinary implementation request, this skill is not applicable. Return to the caller and continue the already-authorized task with the repo-native workflow (for Foundry game content,
ltf-make-game). Do not run the renderer, report a failed build, or halt the user's task merely because this unrelated skill was selected. - If absent on an explicit BMAD request (including
/bmad-build), report the exact missing prerequisite and stop this skill. Do not silently substitute another workflow. - In either case, do not install BMAD, create
_bmad/, copy a renderer from another repo, or change global skill selection unless the user separately requests setup. - Only when the renderer exists, proceed below. A renderer that exists but fails is a real BMAD failure; retain the failure handling below rather than bypassing it.
Run in a BMAD-enabled project
Run the following command exactly once without changing the current working directory. Replace {project-root} with the absolute path to the project root and {skill-root} with the absolute path to this skill's directory:
uv run --no-cache "{project-root}/_bmad/scripts/render_skill.py" --project-root "{project-root}" --skill "{skill-root}"
- On success, read and follow the one absolute
workflow.mdinstruction printed to stdout. - On failure (including
uvbeing unavailable), report the command output and HALT. Do not run any workflow source directly.