Commit Graph

4 Commits

Author SHA1 Message Date
Brian Madison 34b87bbd42 fix: harden resolve script type hint + improve inject prompt wording
- Add type: ignore[arg-type] to merge_menu call (Pylance narrowing limitation)
- Reword inject.before in workflows: "prepend to active instructions and follow it"
- Reword inject.after in workflows: "append to active instructions and follow it"
- Make additional_resources lazy: note list but don't eagerly load
2026-04-14 16:10:33 -05:00
Brian Madison da9ab6e119 fix: address review findings from code review
- Fix merge_menu KeyError crash when menu items missing 'code' key
- Fix _is_menu_array to check ALL elements, not just first
- Remove unused import os from resolve-customization.py
- Remove inject.after from agent activation (agents have no completion
  point; inject.after only makes sense for workflows)
2026-04-14 13:27:44 -05:00
Brian Madison 29f37255cf fix: address PR review feedback
- Narrow except Exception to (tomllib.TOMLDecodeError, OSError) in
  resolve-customization.py and all copies
- Re-add scripts/ exclusion to _config-driven.js IDE installer path
- Update draft-and-review.md to reference "enabled lenses" not "all three"
2026-04-14 12:04:18 -05:00
Brian Madison 64de77298e feat(skills): add customize.toml and inject points to all remaining skills
Add customize.toml with stock fields (inject before/after, additional_resources)
to all 34 remaining workflow and core skills. Copy resolve-customization.py
script into every skill's scripts/ directory. Add customization resolve and
inject points to all workflow SKILL.md files. Strip fallback blocks from all
SKILL.md files since the script ships with every skill.
2026-04-14 11:03:28 -05:00