Commit 3e28eca
authored
refactor(skill): extract capability reference into references/capabilities.md (#15)
Moves the capability field list, the per-field comparison policy
(must-match / suggested-default / user-controlled), and the Appium-runtime
opt-in special-case handling out of `SKILL.md` and into a new
`references/capabilities.md`. Closes #5.
Per Anthropic's progressive-disclosure convention for skills, the main
SKILL.md should be orchestration-shaped ("how to think about the task")
and detail content should live in `references/` ("the specific values to
use"). Reference content is loaded on-demand by Claude when the topic
becomes relevant, rather than on every skill invocation.
Changes:
Before: SKILL.md = 152 lines (capability list + comparison rules inline)
After: SKILL.md = 137 lines (-15)
references/capabilities.md = 57 lines (new)
The two `references/capabilities.md` link-references in SKILL.md use the
relative path `references/capabilities.md` (sibling subdirectory).
The existing `references/templates/appium.ejs` is unchanged and still
resolved by `scripts/render-capabilities.js` — `pnpm test` confirms the
8 render-capabilities test cases still pass against the template.
Validate + test pass:
$ pnpm run validate
All checks passed.
$ pnpm test
Test Files 2 passed (2)
Tests 22 passed (22)
Signed-off-by: Jeremy Longshore <jeremy@intentsolutions.io>
Co-authored-by: Jeremy Longshore <jeremy@intentsolutions.io>1 parent 48b89a0 commit 3e28eca
2 files changed
Lines changed: 59 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 67 | + | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
80 | | - | |
81 | | - | |
82 | 71 | | |
83 | 72 | | |
84 | 73 | | |
| |||
94 | 83 | | |
95 | 84 | | |
96 | 85 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 86 | + | |
102 | 87 | | |
103 | 88 | | |
104 | 89 | | |
| |||
| 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