script-best-practices
Installation
SKILL.md
Script Best Practices
Guidelines for bundling executable scripts in skills.
When to Bundle Scripts
Bundle scripts when:
- Same code would be rewritten repeatedly
- Deterministic reliability needed
- Complex validation required
- Token cost of generation exceeds execution cost
Error Handling
Always handle errors explicitly rather than punting to Claude: