Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions samples/bmad-agent-code-coach/scripts/init-sanctum.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,14 @@ def generate_capabilities_md(capabilities: list[dict], evolvable: bool = False)
if evolvable:
lines.extend([
"",
"This agent is **evolvable** — you can teach it new skills, modify existing "
"ones, and retire capabilities that aren't useful. The built-in capabilities "
"above are starting points, not limits.",
"This agent is **evolvable** — you can teach it new skills, modify existing ones, and retire capabilities that aren't useful. The built-in capabilities above are starting points, not limits.",
])

lines.extend([
"",
"## Tools",
"",
"Prefer crafting your own tools over depending on external ones. A script you wrote "
"and saved is more reliable than an external API. Use the file system creatively.",
"Prefer crafting your own tools over depending on external ones. A script you wrote and saved is more reliable than an external API. Use the file system creatively.",
"",
"### User-Provided Tools",
"",
Expand Down
3 changes: 1 addition & 2 deletions samples/bmad-agent-creative-muse/scripts/init-sanctum.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ def generate_capabilities_md(capabilities: list[dict]) -> str:
"",
"## Tools",
"",
"Prefer crafting your own tools over depending on external ones. A script you wrote "
"and saved is more reliable than an external API. Use the file system creatively.",
"Prefer crafting your own tools over depending on external ones. A script you wrote and saved is more reliable than an external API. Use the file system creatively.",
"",
"### User-Provided Tools",
"",
Expand Down
3 changes: 1 addition & 2 deletions samples/bmad-agent-sentinel/scripts/init-sanctum.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def generate_capabilities_md(capabilities: list[dict], evolvable: bool) -> str:
"",
"## Tools",
"",
"Prefer crafting your own tools over depending on external ones. A script you wrote "
"and saved is more reliable than an external API. Use the file system creatively.",
"Prefer crafting your own tools over depending on external ones. A script you wrote and saved is more reliable than an external API. Use the file system creatively.",
"",
"### User-Provided Tools",
"",
Expand Down
3 changes: 1 addition & 2 deletions skills/bmad-agent-builder/assets/init-sanctum-template.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ def generate_capabilities_md(capabilities: list[dict], evolvable: bool) -> str:
"",
"## Tools",
"",
"Prefer crafting your own tools over depending on external ones. A script you wrote "
"and saved is more reliable than an external API. Use the file system creatively.",
"Prefer crafting your own tools over depending on external ones. A script you wrote and saved is more reliable than an external API. Use the file system creatively.",
"",
"### User-Provided Tools",
"",
Expand Down
1 change: 1 addition & 0 deletions skills/bmad-agent-builder/scripts/render_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def atomic_write(path: Path, text: str) -> None:
try:
os.unlink(tmp)
except OSError:
# Best-effort temp cleanup; original error must still propagate.
pass
raise

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def main() -> int:
elif stripped.startswith("module_version:"):
module_version = stripped.split(":", 1)[1].strip().strip('"').strip("'")
except Exception:
# Optional metadata — keep marketplace defaults when module.yaml is missing/unreadable.
pass

skill_dir_name = skill_dir.name
Expand Down
1 change: 1 addition & 0 deletions skills/bmad-workflow-builder/scripts/render_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def atomic_write(path: Path, text: str) -> None:
try:
os.unlink(tmp)
except OSError:
# Best-effort temp cleanup; original error must still propagate.
pass
raise

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Run with: python3 -m pytest test_canon_sync.py
(or plain `python3 test_canon_sync.py` for a lightweight self-check).
"""
import sys
from pathlib import Path

SKILLS_DIR = Path(__file__).resolve().parents[3]
Expand Down
Loading