fix(quick-dev): harden render.py invocation in the SKILL.md shim
The shim called bare `python`, which can resolve to Python 2 or be absent; render.py needs 3.11+ for tomllib. Spell out python3 and the version requirement. Also make the exit code authoritative: on a non-zero exit (including an uncaught crash that writes only to stderr), do not proceed -- report what was printed and stop. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7e65f5004c
commit
0c3b9291a0
|
|
@ -3,10 +3,12 @@ name: bmad-quick-dev
|
||||||
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
||||||
---
|
---
|
||||||
|
|
||||||
`{skill-root}` is this skill's installed directory.
|
Run this, substituting `{skill-root}` with the absolute path to this skill's base directory, without changing the cwd:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
python {skill-root}/render.py
|
python3 {skill-root}/render.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Then follow the instruction it prints to stdout.
|
- **On success:** follow the instruction it prints to stdout; ignore stderr.
|
||||||
|
- **If `python3` is missing or lacks `tomllib`:** recover and retry.
|
||||||
|
- **Any other failure:** report what it printed and HALT.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue