Commit 884d26c
committed
refactor(skills): restructure skills following skill-creator best practices
Major improvements aligned with skill-creator guidelines:
1. **SKILL.md Size Reduction** (71% decrease)
- Before: 4,691 lines total across all skills
- After: 1,378 lines total
- act-setup: 519 → 119 lines (77% ↓)
- state-management: 693 → 236 lines (66% ↓)
- node-implementation: 805 → 265 lines (67% ↓)
- graph-composition: 825 → 143 lines (83% ↓)
- modules-integration: 774 → 133 lines (83% ↓)
- testing-debugging: 728 → 135 lines (81% ↓)
2. **Progressive Disclosure Structure**
- SKILL.md: Core workflows and quick reference (<5k words)
- references/: Detailed guides (loaded as needed)
- examples/: Working code examples
- scripts/: Validation and utility scripts
- templates/: Reusable templates
3. **Imperative/Infinitive Writing Style**
- Changed from second-person to command-form instructions
- "Use when..." instead of "You should use when..."
- More consistent AI consumption format
4. **Examples Added**
state-management/:
- simple_state.py - Basic data processing state
- message_state.py - Chat/agent state with messages
- complex_state.py - Multi-layer state with tracking
node-implementation/:
- simple_nodes.py - BaseNode and function patterns
5. **Directory Structure**
Each skill now has proper structure:
- SKILL.md (lean, <250 lines typically)
- references/ (for detailed documentation)
- examples/ (for working code)
- scripts/ (for validation tools)
- templates/ (for reusable templates)
6. **Dual Pattern Support**
- node-implementation: Both BaseNode and function approaches
- Aligned with actual template code patterns
This restructuring enables:
- Faster skill loading (smaller SKILL.md)
- Better progressive disclosure
- Clearer usage patterns
- More maintainable documentation
- Consistency with skill-creator best practices1 parent 9c867f8 commit 884d26c
File tree
10 files changed
+797
-3816
lines changed- act_operator/act_operator/scaffold/{{ cookiecutter.act_slug }}/.claude/skills
- act-setup
- graph-composition
- modules-integration
- node-implementation
- examples
- state-management
- examples
- testing-debugging
10 files changed
+797
-3816
lines changedLines changed: 63 additions & 463 deletions
Large diffs are not rendered by default.
Lines changed: 69 additions & 751 deletions
Large diffs are not rendered by default.
Lines changed: 56 additions & 697 deletions
Large diffs are not rendered by default.
Lines changed: 142 additions & 682 deletions
Large diffs are not rendered by default.
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments