@chankov/agent-skills 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/.versions/0.3.3/.claude/commands/build.md +18 -0
  2. package/.versions/0.3.3/.claude/commands/code-simplify.md +22 -0
  3. package/.versions/0.3.3/.claude/commands/design-agent.md +14 -0
  4. package/.versions/0.3.3/.claude/commands/doctor-agent-skills.md +13 -0
  5. package/.versions/0.3.3/.claude/commands/plan.md +16 -0
  6. package/.versions/0.3.3/.claude/commands/prime.md +22 -0
  7. package/.versions/0.3.3/.claude/commands/review.md +16 -0
  8. package/.versions/0.3.3/.claude/commands/setup-agent-skills.md +19 -0
  9. package/.versions/0.3.3/.claude/commands/ship.md +17 -0
  10. package/.versions/0.3.3/.claude/commands/spec.md +15 -0
  11. package/.versions/0.3.3/.claude/commands/test.md +19 -0
  12. package/.versions/0.3.3/.opencode/commands/as-build.md +17 -0
  13. package/.versions/0.3.3/.opencode/commands/as-code-simplify.md +16 -0
  14. package/.versions/0.3.3/.opencode/commands/as-design-agent.md +15 -0
  15. package/.versions/0.3.3/.opencode/commands/as-doctor-agent-skills.md +11 -0
  16. package/.versions/0.3.3/.opencode/commands/as-plan.md +16 -0
  17. package/.versions/0.3.3/.opencode/commands/as-prime.md +22 -0
  18. package/.versions/0.3.3/.opencode/commands/as-review.md +15 -0
  19. package/.versions/0.3.3/.opencode/commands/as-setup-agent-skills.md +11 -0
  20. package/.versions/0.3.3/.opencode/commands/as-ship.md +16 -0
  21. package/.versions/0.3.3/.opencode/commands/as-spec.md +16 -0
  22. package/.versions/0.3.3/.opencode/commands/as-test.md +21 -0
  23. package/.versions/0.3.3/.pi/agents/agent-chain.yaml +49 -0
  24. package/.versions/0.3.3/.pi/agents/bowser.md +19 -0
  25. package/.versions/0.3.3/.pi/agents/pi-pi/agent-expert.md +98 -0
  26. package/.versions/0.3.3/.pi/agents/pi-pi/cli-expert.md +41 -0
  27. package/.versions/0.3.3/.pi/agents/pi-pi/config-expert.md +63 -0
  28. package/.versions/0.3.3/.pi/agents/pi-pi/ext-expert.md +43 -0
  29. package/.versions/0.3.3/.pi/agents/pi-pi/keybinding-expert.md +134 -0
  30. package/.versions/0.3.3/.pi/agents/pi-pi/pi-orchestrator.md +57 -0
  31. package/.versions/0.3.3/.pi/agents/pi-pi/prompt-expert.md +70 -0
  32. package/.versions/0.3.3/.pi/agents/pi-pi/skill-expert.md +42 -0
  33. package/.versions/0.3.3/.pi/agents/pi-pi/theme-expert.md +40 -0
  34. package/.versions/0.3.3/.pi/agents/pi-pi/tui-expert.md +85 -0
  35. package/.versions/0.3.3/.pi/agents/teams.yaml +31 -0
  36. package/.versions/0.3.3/.pi/damage-control-rules.yaml +278 -0
  37. package/.versions/0.3.3/.pi/extensions/agent-skills-update-check/README.md +58 -0
  38. package/.versions/0.3.3/.pi/extensions/agent-skills-update-check/index.ts +161 -0
  39. package/.versions/0.3.3/.pi/extensions/agent-skills-update-check/package.json +6 -0
  40. package/.versions/0.3.3/.pi/extensions/chrome-devtools-mcp/README.md +39 -0
  41. package/.versions/0.3.3/.pi/extensions/chrome-devtools-mcp/index.ts +61 -0
  42. package/.versions/0.3.3/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  43. package/.versions/0.3.3/.pi/extensions/compact-and-continue/README.md +42 -0
  44. package/.versions/0.3.3/.pi/extensions/compact-and-continue/index.ts +120 -0
  45. package/.versions/0.3.3/.pi/extensions/compact-and-continue/package.json +6 -0
  46. package/.versions/0.3.3/.pi/extensions/mcp-bridge/README.md +46 -0
  47. package/.versions/0.3.3/.pi/extensions/mcp-bridge/index.ts +206 -0
  48. package/.versions/0.3.3/.pi/extensions/mcp-bridge/package.json +6 -0
  49. package/.versions/0.3.3/.pi/extensions/package-lock.json +1143 -0
  50. package/.versions/0.3.3/.pi/extensions/package.json +9 -0
  51. package/.versions/0.3.3/.pi/harnesses/agent-chain/README.md +37 -0
  52. package/.versions/0.3.3/.pi/harnesses/agent-chain/index.ts +795 -0
  53. package/.versions/0.3.3/.pi/harnesses/agent-chain/package.json +6 -0
  54. package/.versions/0.3.3/.pi/harnesses/agent-team/README.md +38 -0
  55. package/.versions/0.3.3/.pi/harnesses/agent-team/index.ts +732 -0
  56. package/.versions/0.3.3/.pi/harnesses/agent-team/package.json +6 -0
  57. package/.versions/0.3.3/.pi/harnesses/coms/README.md +36 -0
  58. package/.versions/0.3.3/.pi/harnesses/coms/index.ts +1595 -0
  59. package/.versions/0.3.3/.pi/harnesses/coms/package.json +6 -0
  60. package/.versions/0.3.3/.pi/harnesses/coms-net/README.md +46 -0
  61. package/.versions/0.3.3/.pi/harnesses/coms-net/index.ts +1637 -0
  62. package/.versions/0.3.3/.pi/harnesses/coms-net/package.json +6 -0
  63. package/.versions/0.3.3/.pi/harnesses/damage-control/README.md +38 -0
  64. package/.versions/0.3.3/.pi/harnesses/damage-control/index.ts +207 -0
  65. package/.versions/0.3.3/.pi/harnesses/damage-control/package.json +6 -0
  66. package/.versions/0.3.3/.pi/harnesses/damage-control-continue/README.md +37 -0
  67. package/.versions/0.3.3/.pi/harnesses/damage-control-continue/index.ts +234 -0
  68. package/.versions/0.3.3/.pi/harnesses/damage-control-continue/package.json +6 -0
  69. package/.versions/0.3.3/.pi/harnesses/minimal/README.md +27 -0
  70. package/.versions/0.3.3/.pi/harnesses/minimal/index.ts +32 -0
  71. package/.versions/0.3.3/.pi/harnesses/minimal/package.json +6 -0
  72. package/.versions/0.3.3/.pi/harnesses/package-lock.json +35 -0
  73. package/.versions/0.3.3/.pi/harnesses/package.json +9 -0
  74. package/.versions/0.3.3/.pi/harnesses/pi-pi/README.md +39 -0
  75. package/.versions/0.3.3/.pi/harnesses/pi-pi/index.ts +631 -0
  76. package/.versions/0.3.3/.pi/harnesses/pi-pi/package.json +6 -0
  77. package/.versions/0.3.3/.pi/harnesses/purpose-gate/README.md +27 -0
  78. package/.versions/0.3.3/.pi/harnesses/purpose-gate/index.ts +82 -0
  79. package/.versions/0.3.3/.pi/harnesses/purpose-gate/package.json +6 -0
  80. package/.versions/0.3.3/.pi/harnesses/session-replay/README.md +28 -0
  81. package/.versions/0.3.3/.pi/harnesses/session-replay/index.ts +214 -0
  82. package/.versions/0.3.3/.pi/harnesses/session-replay/package.json +6 -0
  83. package/.versions/0.3.3/.pi/harnesses/subagent-widget/README.md +36 -0
  84. package/.versions/0.3.3/.pi/harnesses/subagent-widget/index.ts +479 -0
  85. package/.versions/0.3.3/.pi/harnesses/subagent-widget/package.json +6 -0
  86. package/.versions/0.3.3/.pi/harnesses/system-select/README.md +39 -0
  87. package/.versions/0.3.3/.pi/harnesses/system-select/index.ts +165 -0
  88. package/.versions/0.3.3/.pi/harnesses/system-select/package.json +6 -0
  89. package/.versions/0.3.3/.pi/harnesses/tilldone/README.md +35 -0
  90. package/.versions/0.3.3/.pi/harnesses/tilldone/index.ts +724 -0
  91. package/.versions/0.3.3/.pi/harnesses/tilldone/package.json +6 -0
  92. package/.versions/0.3.3/.pi/harnesses/tool-counter/README.md +31 -0
  93. package/.versions/0.3.3/.pi/harnesses/tool-counter/index.ts +100 -0
  94. package/.versions/0.3.3/.pi/harnesses/tool-counter/package.json +6 -0
  95. package/.versions/0.3.3/.pi/harnesses/tool-counter-widget/README.md +27 -0
  96. package/.versions/0.3.3/.pi/harnesses/tool-counter-widget/index.ts +66 -0
  97. package/.versions/0.3.3/.pi/harnesses/tool-counter-widget/package.json +6 -0
  98. package/.versions/0.3.3/.pi/prompts/build.md +24 -0
  99. package/.versions/0.3.3/.pi/prompts/code-simplify.md +22 -0
  100. package/.versions/0.3.3/.pi/prompts/doctor-agent-skills.md +13 -0
  101. package/.versions/0.3.3/.pi/prompts/plan.md +16 -0
  102. package/.versions/0.3.3/.pi/prompts/review.md +16 -0
  103. package/.versions/0.3.3/.pi/prompts/setup-agent-skills.md +19 -0
  104. package/.versions/0.3.3/.pi/prompts/ship.md +17 -0
  105. package/.versions/0.3.3/.pi/prompts/spec.md +15 -0
  106. package/.versions/0.3.3/.pi/prompts/test.md +19 -0
  107. package/.versions/0.3.3/.pi/skills/bowser/SKILL.md +114 -0
  108. package/.versions/0.3.3/.version +1 -0
  109. package/.versions/0.3.3/agents/builder.md +6 -0
  110. package/.versions/0.3.3/agents/code-reviewer.md +93 -0
  111. package/.versions/0.3.3/agents/documenter.md +6 -0
  112. package/.versions/0.3.3/agents/plan-reviewer.md +22 -0
  113. package/.versions/0.3.3/agents/planner.md +6 -0
  114. package/.versions/0.3.3/agents/scout.md +6 -0
  115. package/.versions/0.3.3/agents/security-auditor.md +97 -0
  116. package/.versions/0.3.3/agents/test-engineer.md +89 -0
  117. package/.versions/0.3.3/hooks/SIMPLIFY-IGNORE.md +90 -0
  118. package/.versions/0.3.3/hooks/hooks.json +14 -0
  119. package/.versions/0.3.3/hooks/session-start.sh +74 -0
  120. package/.versions/0.3.3/hooks/simplify-ignore-test.sh +247 -0
  121. package/.versions/0.3.3/hooks/simplify-ignore.sh +302 -0
  122. package/.versions/0.3.3/references/accessibility-checklist.md +159 -0
  123. package/.versions/0.3.3/references/performance-checklist.md +121 -0
  124. package/.versions/0.3.3/references/prompting-patterns.md +380 -0
  125. package/.versions/0.3.3/references/security-checklist.md +134 -0
  126. package/.versions/0.3.3/references/testing-patterns.md +236 -0
  127. package/.versions/0.3.3/scripts/coms-net-server.ts +1741 -0
  128. package/.versions/0.3.3/skills/api-and-interface-design/SKILL.md +294 -0
  129. package/.versions/0.3.3/skills/browser-testing-with-devtools/SKILL.md +335 -0
  130. package/.versions/0.3.3/skills/ci-cd-and-automation/SKILL.md +390 -0
  131. package/.versions/0.3.3/skills/code-review-and-quality/SKILL.md +347 -0
  132. package/.versions/0.3.3/skills/code-simplification/SKILL.md +331 -0
  133. package/.versions/0.3.3/skills/context-engineering/SKILL.md +291 -0
  134. package/.versions/0.3.3/skills/debugging-and-error-recovery/SKILL.md +300 -0
  135. package/.versions/0.3.3/skills/deprecation-and-migration/SKILL.md +206 -0
  136. package/.versions/0.3.3/skills/designing-agents/SKILL.md +394 -0
  137. package/.versions/0.3.3/skills/designing-agents/pi-harness-authoring.md +213 -0
  138. package/.versions/0.3.3/skills/documentation-and-adrs/SKILL.md +278 -0
  139. package/.versions/0.3.3/skills/frontend-ui-engineering/SKILL.md +322 -0
  140. package/.versions/0.3.3/skills/git-workflow-and-versioning/SKILL.md +316 -0
  141. package/.versions/0.3.3/skills/guided-workspace-setup/SKILL.md +345 -0
  142. package/.versions/0.3.3/skills/idea-refine/SKILL.md +178 -0
  143. package/.versions/0.3.3/skills/idea-refine/examples.md +238 -0
  144. package/.versions/0.3.3/skills/idea-refine/frameworks.md +99 -0
  145. package/.versions/0.3.3/skills/idea-refine/refinement-criteria.md +113 -0
  146. package/.versions/0.3.3/skills/idea-refine/scripts/idea-refine.sh +15 -0
  147. package/.versions/0.3.3/skills/incremental-implementation/SKILL.md +279 -0
  148. package/.versions/0.3.3/skills/performance-optimization/SKILL.md +350 -0
  149. package/.versions/0.3.3/skills/planning-and-task-breakdown/SKILL.md +237 -0
  150. package/.versions/0.3.3/skills/security-and-hardening/SKILL.md +349 -0
  151. package/.versions/0.3.3/skills/shipping-and-launch/SKILL.md +309 -0
  152. package/.versions/0.3.3/skills/source-driven-development/SKILL.md +194 -0
  153. package/.versions/0.3.3/skills/spec-driven-development/SKILL.md +237 -0
  154. package/.versions/0.3.3/skills/test-driven-development/SKILL.md +379 -0
  155. package/.versions/0.3.3/skills/using-agent-skills/SKILL.md +176 -0
  156. package/CHANGELOG.md +17 -0
  157. package/bin/snapshot-version.js +8 -1
  158. package/package.json +2 -1
  159. package/scripts/coms-net-server.ts +1741 -0
@@ -0,0 +1,176 @@
1
+ ---
2
+ name: using-agent-skills
3
+ description: Discovers and invokes agent skills. Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
4
+ ---
5
+
6
+ # Using Agent Skills
7
+
8
+ ## Overview
9
+
10
+ Agent Skills is a collection of engineering workflow skills organized by development phase. Each skill encodes a specific process that senior engineers follow. This meta-skill helps you discover and apply the right skill for your current task.
11
+
12
+ ## Skill Discovery
13
+
14
+ When a task arrives, identify the development phase and apply the corresponding skill:
15
+
16
+ ```
17
+ Task arrives
18
+
19
+ ├── Vague idea/need refinement? ──→ idea-refine
20
+ ├── New project/feature/change? ──→ spec-driven-development
21
+ ├── Have a spec, need tasks? ──────→ planning-and-task-breakdown
22
+ ├── Implementing code? ────────────→ incremental-implementation
23
+ │ ├── UI work? ─────────────────→ frontend-ui-engineering
24
+ │ ├── API work? ────────────────→ api-and-interface-design
25
+ │ ├── Need better context? ─────→ context-engineering
26
+ │ └── Need doc-verified code? ───→ source-driven-development
27
+ ├── Writing/running tests? ────────→ test-driven-development
28
+ │ └── Browser-based? ───────────→ browser-testing-with-devtools
29
+ ├── Something broke? ──────────────→ debugging-and-error-recovery
30
+ ├── Reviewing code? ───────────────→ code-review-and-quality
31
+ │ ├── Security concerns? ───────→ security-and-hardening
32
+ │ └── Performance concerns? ────→ performance-optimization
33
+ ├── Committing/branching? ─────────→ git-workflow-and-versioning
34
+ ├── CI/CD pipeline work? ──────────→ ci-cd-and-automation
35
+ ├── Writing docs/ADRs? ───────────→ documentation-and-adrs
36
+ ├── Authoring a new skill/persona? ─→ designing-agents
37
+ └── Deploying/launching? ─────────→ shipping-and-launch
38
+ ```
39
+
40
+ ## Core Operating Behaviors
41
+
42
+ These behaviors apply at all times, across all skills. They are non-negotiable.
43
+
44
+ ### 1. Surface Assumptions
45
+
46
+ Before implementing anything non-trivial, explicitly state your assumptions:
47
+
48
+ ```
49
+ ASSUMPTIONS I'M MAKING:
50
+ 1. [assumption about requirements]
51
+ 2. [assumption about architecture]
52
+ 3. [assumption about scope]
53
+ → Correct me now or I'll proceed with these.
54
+ ```
55
+
56
+ Don't silently fill in ambiguous requirements. The most common failure mode is making wrong assumptions and running with them unchecked. Surface uncertainty early — it's cheaper than rework.
57
+
58
+ ### 2. Manage Confusion Actively
59
+
60
+ When you encounter inconsistencies, conflicting requirements, or unclear specifications:
61
+
62
+ 1. **STOP.** Do not proceed with a guess.
63
+ 2. Name the specific confusion.
64
+ 3. Present the tradeoff or ask the clarifying question.
65
+ 4. Wait for resolution before continuing.
66
+
67
+ **Bad:** Silently picking one interpretation and hoping it's right.
68
+ **Good:** "I see X in the spec but Y in the existing code. Which takes precedence?"
69
+
70
+ ### 3. Push Back When Warranted
71
+
72
+ You are not a yes-machine. When an approach has clear problems:
73
+
74
+ - Point out the issue directly
75
+ - Explain the concrete downside (quantify when possible — "this adds ~200ms latency" not "this might be slower")
76
+ - Propose an alternative
77
+ - Accept the human's decision if they override with full information
78
+
79
+ Sycophancy is a failure mode. "Of course!" followed by implementing a bad idea helps no one. Honest technical disagreement is more valuable than false agreement.
80
+
81
+ ### 4. Enforce Simplicity
82
+
83
+ Your natural tendency is to overcomplicate. Actively resist it.
84
+
85
+ Before finishing any implementation, ask:
86
+ - Can this be done in fewer lines?
87
+ - Are these abstractions earning their complexity?
88
+ - Would a staff engineer look at this and say "why didn't you just..."?
89
+
90
+ If you build 1000 lines and 100 would suffice, you have failed. Prefer the boring, obvious solution. Cleverness is expensive.
91
+
92
+ ### 5. Maintain Scope Discipline
93
+
94
+ Touch only what you're asked to touch.
95
+
96
+ Do NOT:
97
+ - Remove comments you don't understand
98
+ - "Clean up" code orthogonal to the task
99
+ - Refactor adjacent systems as a side effect
100
+ - Delete code that seems unused without explicit approval
101
+ - Add features not in the spec because they "seem useful"
102
+
103
+ Your job is surgical precision, not unsolicited renovation.
104
+
105
+ ### 6. Verify, Don't Assume
106
+
107
+ Every skill includes a verification step. A task is not complete until verification passes. "Seems right" is never sufficient — there must be evidence (passing tests, build output, runtime data).
108
+
109
+ ## Failure Modes to Avoid
110
+
111
+ These are the subtle errors that look like productivity but create problems:
112
+
113
+ 1. Making wrong assumptions without checking
114
+ 2. Not managing your own confusion — plowing ahead when lost
115
+ 3. Not surfacing inconsistencies you notice
116
+ 4. Not presenting tradeoffs on non-obvious decisions
117
+ 5. Being sycophantic ("Of course!") to approaches with clear problems
118
+ 6. Overcomplicating code and APIs
119
+ 7. Modifying code or comments orthogonal to the task
120
+ 8. Removing things you don't fully understand
121
+ 9. Building without a spec because "it's obvious"
122
+ 10. Skipping verification because "it looks right"
123
+
124
+ ## Skill Rules
125
+
126
+ 1. **Check for an applicable skill before starting work.** Skills encode processes that prevent common mistakes.
127
+
128
+ 2. **Skills are workflows, not suggestions.** Follow the steps in order. Don't skip verification steps.
129
+
130
+ 3. **Multiple skills can apply.** A feature implementation might involve `idea-refine` → `spec-driven-development` → `planning-and-task-breakdown` → `incremental-implementation` → `test-driven-development` → `code-review-and-quality` → `shipping-and-launch` in sequence.
131
+
132
+ 4. **When in doubt, start with a spec.** If the task is non-trivial and there's no spec, begin with `spec-driven-development`.
133
+
134
+ ## Lifecycle Sequence
135
+
136
+ For a complete feature, the typical skill sequence is:
137
+
138
+ ```
139
+ 1. idea-refine → Refine vague ideas
140
+ 2. spec-driven-development → Define what we're building
141
+ 3. planning-and-task-breakdown → Break into verifiable chunks
142
+ 4. context-engineering → Load the right context
143
+ 5. source-driven-development → Verify against official docs
144
+ 6. incremental-implementation → Build slice by slice
145
+ 7. test-driven-development → Prove each slice works
146
+ 8. code-review-and-quality → Review before merge
147
+ 9. git-workflow-and-versioning → Clean commit history
148
+ 10. documentation-and-adrs → Document decisions
149
+ 11. shipping-and-launch → Deploy safely
150
+ ```
151
+
152
+ Not every task needs every skill. A bug fix might only need: `debugging-and-error-recovery` → `test-driven-development` → `code-review-and-quality`.
153
+
154
+ ## Quick Reference
155
+
156
+ | Phase | Skill | One-Line Summary |
157
+ |-------|-------|-----------------|
158
+ | Define | idea-refine | Refine ideas through structured divergent and convergent thinking |
159
+ | Define | spec-driven-development | Requirements and acceptance criteria before code |
160
+ | Plan | planning-and-task-breakdown | Decompose into small, verifiable tasks |
161
+ | Build | incremental-implementation | Thin vertical slices, test each before expanding |
162
+ | Build | source-driven-development | Verify against official docs before implementing |
163
+ | Build | context-engineering | Right context at the right time |
164
+ | Build | frontend-ui-engineering | Production-quality UI with accessibility |
165
+ | Build | api-and-interface-design | Stable interfaces with clear contracts |
166
+ | Verify | test-driven-development | Failing test first, then make it pass |
167
+ | Verify | browser-testing-with-devtools | Chrome DevTools MCP for runtime verification |
168
+ | Verify | debugging-and-error-recovery | Reproduce → localize → fix → guard |
169
+ | Review | code-review-and-quality | Five-axis review with quality gates |
170
+ | Review | security-and-hardening | OWASP prevention, input validation, least privilege |
171
+ | Review | performance-optimization | Measure first, optimize only what matters |
172
+ | Ship | git-workflow-and-versioning | Atomic commits, clean history |
173
+ | Ship | ci-cd-and-automation | Automated quality gates on every change |
174
+ | Ship | documentation-and-adrs | Document the why, not just the what |
175
+ | Ship | shipping-and-launch | Pre-launch checklist, monitoring, rollback plan |
176
+ | Author | designing-agents | Author a persona, workflow skill, or pi harness |
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # agent-skills changelog
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Ship `scripts/coms-net-server.ts` in the npm tarball.
8
+
9
+ The `coms-net` pi harness shells out to this hub server at runtime
10
+ (`.pi/harnesses/coms-net/index.ts` and its README both reference it),
11
+ but the file was missing from the `files` allowlist — so users who
12
+ installed via `npx @chankov/agent-skills init` and tried to start the
13
+ coms-net harness got `MODULE_NOT_FOUND`.
14
+
15
+ Added `scripts/*.ts` to the allowlist (the `.test.mjs` siblings stay
16
+ out — they're dev-only), and added `scripts/` to `snapshot-version.js`
17
+ so future `.versions/<x.y.z>/` snapshots include it for the version-
18
+ aware three-way diff.
19
+
3
20
  ## 0.3.1
4
21
 
5
22
  ### Patch Changes
@@ -34,6 +34,10 @@ const ARTIFACT_PATHS = [
34
34
  ".pi/skills",
35
35
  ".pi/agents",
36
36
  ".pi/damage-control-rules.yaml",
37
+ // scripts/ ships runtime helpers like coms-net-server.ts that the pi
38
+ // coms-net harness shells out to. Tests under scripts/*.test.mjs stay out
39
+ // (filtered below) — they're dev-only.
40
+ "scripts",
37
41
  "references",
38
42
  "hooks",
39
43
  ];
@@ -58,7 +62,10 @@ for (const rel of ARTIFACT_PATHS) {
58
62
  recursive: true,
59
63
  filter: (srcPath) => {
60
64
  const base = srcPath.split("/").pop();
61
- return !SKIP_NAMES.has(base);
65
+ if (SKIP_NAMES.has(base)) return false;
66
+ // Match what the npm `files` allowlist ships — dev-only tests stay out.
67
+ if (base.endsWith(".test.mjs") || base.endsWith(".test.js")) return false;
68
+ return true;
62
69
  },
63
70
  });
64
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chankov/agent-skills",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Production-grade engineering skills for AI coding agents. Ships skills, agent personas, slash commands, and pi extensions, with a thin CLI that hands off to the LLM-driven guided setup.",
5
5
  "keywords": [
6
6
  "ai",
@@ -46,6 +46,7 @@
46
46
  ".pi/skills/",
47
47
  ".pi/agents/",
48
48
  ".pi/damage-control-rules.yaml",
49
+ "scripts/*.ts",
49
50
  "references/",
50
51
  "hooks/",
51
52
  "docs/agent-skills-setup.md",