@iceinvein/agent-skills 0.1.37 → 0.1.39

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 (79) hide show
  1. package/package.json +1 -1
  2. package/skills/bounded-context-auditor/SKILL.md +15 -3
  3. package/skills/bounded-context-auditor/skill.json +1 -1
  4. package/skills/codebase-architecture/SKILL.md +4 -4
  5. package/skills/codebase-architecture/skill.json +1 -1
  6. package/skills/cognitive-load-auditor/SKILL.md +11 -9
  7. package/skills/cognitive-load-auditor/skill.json +1 -1
  8. package/skills/cohesion-analyzer/SKILL.md +1 -1
  9. package/skills/cohesion-analyzer/skill.json +1 -1
  10. package/skills/composability-auditor/SKILL.md +5 -5
  11. package/skills/composability-auditor/skill.json +1 -1
  12. package/skills/contract-enforcer/SKILL.md +5 -5
  13. package/skills/contract-enforcer/skill.json +1 -1
  14. package/skills/coupling-auditor/SKILL.md +2 -2
  15. package/skills/coupling-auditor/skill.json +1 -1
  16. package/skills/cover-letter/SKILL.md +18 -20
  17. package/skills/cover-letter/skill.json +7 -2
  18. package/skills/cover-letter-audit/SKILL.md +20 -20
  19. package/skills/cover-letter-audit/skill.json +7 -2
  20. package/skills/cover-letter-persona/SKILL.md +13 -13
  21. package/skills/cover-letter-persona/skill.json +7 -2
  22. package/skills/cover-letter-rewrite/SKILL.md +18 -16
  23. package/skills/cover-letter-rewrite/skill.json +7 -2
  24. package/skills/cover-letter-write/SKILL.md +25 -20
  25. package/skills/cover-letter-write/skill.json +7 -2
  26. package/skills/cqs-auditor/SKILL.md +19 -47
  27. package/skills/cqs-auditor/skill.json +1 -1
  28. package/skills/demeter-enforcer/SKILL.md +5 -5
  29. package/skills/demeter-enforcer/skill.json +1 -1
  30. package/skills/dependency-direction-auditor/SKILL.md +1 -1
  31. package/skills/dependency-direction-auditor/skill.json +1 -1
  32. package/skills/design-review/SKILL.md +6 -2
  33. package/skills/design-review/skill.json +1 -1
  34. package/skills/error-strategist/SKILL.md +3 -3
  35. package/skills/error-strategist/skill.json +1 -1
  36. package/skills/event-design-reviewer/SKILL.md +3 -3
  37. package/skills/event-design-reviewer/skill.json +1 -1
  38. package/skills/evolution-analyzer/SKILL.md +4 -3
  39. package/skills/evolution-analyzer/skill.json +1 -1
  40. package/skills/gestalt-reviewer/SKILL.md +8 -4
  41. package/skills/gestalt-reviewer/skill.json +1 -1
  42. package/skills/idempotency-guardian/SKILL.md +6 -6
  43. package/skills/idempotency-guardian/skill.json +1 -1
  44. package/skills/improve-my-codebase/CATALOGUE-FIELDS.md +2 -2
  45. package/skills/improve-my-codebase/SKILL.md +68 -27
  46. package/skills/improve-my-codebase/skill.json +1 -1
  47. package/skills/index.json +33 -33
  48. package/skills/integration-pattern-auditor/SKILL.md +2 -2
  49. package/skills/integration-pattern-auditor/skill.json +1 -1
  50. package/skills/magpie/README.md +3 -5
  51. package/skills/magpie/SKILL.md +39 -536
  52. package/skills/magpie/package.json +1 -1
  53. package/skills/magpie/references/critic.md +58 -0
  54. package/skills/magpie/references/peer-review.md +84 -0
  55. package/skills/magpie/references/specialists.md +391 -0
  56. package/skills/magpie/scripts/__tests__/helper.test.ts +40 -0
  57. package/skills/magpie/scripts/__tests__/skill-lint.test.ts +116 -28
  58. package/skills/magpie/scripts/__tests__/status-cmd.test.ts +13 -0
  59. package/skills/magpie/scripts/helper.js +24 -13
  60. package/skills/magpie/scripts/status-cmd.ts +10 -1
  61. package/skills/magpie/skill.json +2 -1
  62. package/skills/module-secret-auditor/SKILL.md +8 -5
  63. package/skills/module-secret-auditor/skill.json +1 -1
  64. package/skills/port-adapter-auditor/SKILL.md +3 -3
  65. package/skills/port-adapter-auditor/skill.json +1 -1
  66. package/skills/rams-design-audit/SKILL.md +4 -2
  67. package/skills/rams-design-audit/skill.json +1 -1
  68. package/skills/seam-finder/SKILL.md +2 -2
  69. package/skills/seam-finder/skill.json +1 -1
  70. package/skills/simplicity-razor/SKILL.md +4 -4
  71. package/skills/simplicity-razor/skill.json +1 -1
  72. package/skills/temporal-coupling-detector/SKILL.md +2 -2
  73. package/skills/temporal-coupling-detector/skill.json +1 -1
  74. package/skills/terse/SKILL.md +12 -7
  75. package/skills/terse/skill.json +1 -1
  76. package/skills/type-driven-designer/SKILL.md +8 -8
  77. package/skills/type-driven-designer/skill.json +1 -1
  78. package/skills/unidirectional-flow-enforcer/SKILL.md +2 -2
  79. package/skills/unidirectional-flow-enforcer/skill.json +1 -1
package/skills/index.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "bounded-context-auditor",
4
4
  "description": "Evans-inspired bounded context analysis: detect linguistic fractures, draw context maps, identify leaking language and shared model pollution",
5
5
  "type": "prompt",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "applies": [
8
8
  "domain"
9
9
  ],
@@ -13,7 +13,7 @@
13
13
  "name": "codebase-architecture",
14
14
  "description": "Architecture review for existing codebases or structured design for new projects, with patterns reference",
15
15
  "type": "prompt",
16
- "version": "1.0.1",
16
+ "version": "1.0.2",
17
17
  "applies": [
18
18
  "any",
19
19
  "architecture"
@@ -24,7 +24,7 @@
24
24
  "name": "cognitive-load-auditor",
25
25
  "description": "Jeff Johnson-inspired cognitive load analysis: evaluate UI against Miller's Law, Hick's Law, Fitts's Law, and working memory limits",
26
26
  "type": "prompt",
27
- "version": "1.0.1",
27
+ "version": "1.0.2",
28
28
  "applies": [
29
29
  "ui"
30
30
  ],
@@ -34,7 +34,7 @@
34
34
  "name": "cohesion-analyzer",
35
35
  "description": "Constantine & Yourdon-inspired cohesion analysis: classify module focus on the 7-level spectrum, find split lines, reduce mixed responsibilities",
36
36
  "type": "prompt",
37
- "version": "1.0.1",
37
+ "version": "1.0.2",
38
38
  "applies": [
39
39
  "architecture"
40
40
  ],
@@ -54,7 +54,7 @@
54
54
  "name": "composability-auditor",
55
55
  "description": "Unix Philosophy-inspired composability analysis: identify reuse blockers, decompose self-sufficient units into composable pieces with standard interfaces",
56
56
  "type": "prompt",
57
- "version": "1.0.1",
57
+ "version": "1.0.2",
58
58
  "applies": [
59
59
  "any"
60
60
  ],
@@ -64,7 +64,7 @@
64
64
  "name": "contract-enforcer",
65
65
  "description": "Meyer-inspired Design by Contract: preconditions, postconditions, invariants, and failure contracts for non-trivial functions",
66
66
  "type": "prompt",
67
- "version": "1.0.1",
67
+ "version": "1.0.2",
68
68
  "applies": [
69
69
  "any"
70
70
  ],
@@ -74,7 +74,7 @@
74
74
  "name": "coupling-auditor",
75
75
  "description": "Constantine & Yourdon-inspired coupling analysis: classify, measure, and reduce interdependence between modules",
76
76
  "type": "prompt",
77
- "version": "1.0.1",
77
+ "version": "1.0.2",
78
78
  "applies": [
79
79
  "architecture"
80
80
  ],
@@ -84,37 +84,37 @@
84
84
  "name": "cover-letter",
85
85
  "description": "Cover letter suite router. Dispatches to write, audit, rewrite, or persona subcommands and shares file I/O (PDF, DOCX, MD/MDX, URL), output formats, and writing conventions across the suite",
86
86
  "type": "prompt",
87
- "version": "1.0.0"
87
+ "version": "1.0.1"
88
88
  },
89
89
  {
90
90
  "name": "cover-letter-audit",
91
91
  "description": "Scores a cover letter on 100 points across content/fit, structure, voice/humanness, and correctness; detects AI-generated-content signals and produces a prioritized fix list",
92
92
  "type": "prompt",
93
- "version": "1.0.0"
93
+ "version": "1.0.1"
94
94
  },
95
95
  {
96
96
  "name": "cover-letter-persona",
97
97
  "description": "Reusable writing personas built on the NNGroup 4-dimension tone framework, adapted for professional correspondence and used by cover-letter-write and cover-letter-rewrite",
98
98
  "type": "prompt",
99
- "version": "1.0.0"
99
+ "version": "1.0.1"
100
100
  },
101
101
  {
102
102
  "name": "cover-letter-rewrite",
103
103
  "description": "Audit-driven targeted rewrite of an existing cover letter. Focus modes: humanize, align, tighten, structure, tone; preserves voice where it already works",
104
104
  "type": "prompt",
105
- "version": "1.0.0"
105
+ "version": "1.0.1"
106
106
  },
107
107
  {
108
108
  "name": "cover-letter-write",
109
109
  "description": "Generates a cover letter from a resume and job description. Outputs markdown, DOCX, and PDF; enforces human prose, maps every claim to a resume bullet, and covers top JD requirements without keyword stuffing",
110
110
  "type": "prompt",
111
- "version": "1.0.0"
111
+ "version": "1.0.1"
112
112
  },
113
113
  {
114
114
  "name": "cqs-auditor",
115
115
  "description": "Meyer-inspired Command-Query Separation: classify functions as commands or queries, detect mixed violations, separate side effects from return values",
116
116
  "type": "prompt",
117
- "version": "1.0.1",
117
+ "version": "1.0.2",
118
118
  "applies": [
119
119
  "architecture"
120
120
  ],
@@ -124,7 +124,7 @@
124
124
  "name": "demeter-enforcer",
125
125
  "description": "Lieberherr-inspired Law of Demeter analysis: detect chain violations, parameter drilling, and hidden traversal; fix with tell-don't-ask or parameter narrowing",
126
126
  "type": "prompt",
127
- "version": "1.0.1",
127
+ "version": "1.0.2",
128
128
  "applies": [
129
129
  "architecture"
130
130
  ],
@@ -134,7 +134,7 @@
134
134
  "name": "dependency-direction-auditor",
135
135
  "description": "Martin-inspired dependency direction analysis: trace imports across layers, classify violations by severity, recommend inversion",
136
136
  "type": "prompt",
137
- "version": "1.0.1",
137
+ "version": "1.0.2",
138
138
  "applies": [
139
139
  "architecture"
140
140
  ],
@@ -144,7 +144,7 @@
144
144
  "name": "design-review",
145
145
  "description": "Brooks-inspired design integrity review: tests conceptual integrity, constraint exploitation, removal discipline, and scope control",
146
146
  "type": "prompt",
147
- "version": "1.0.1",
147
+ "version": "1.0.2",
148
148
  "applies": [
149
149
  "any"
150
150
  ],
@@ -154,7 +154,7 @@
154
154
  "name": "error-strategist",
155
155
  "description": "Duffy & Abrahams-inspired error handling: classify errors (bug/recoverable/fatal), assign safety guarantees, design recovery boundaries",
156
156
  "type": "prompt",
157
- "version": "1.0.1",
157
+ "version": "1.0.2",
158
158
  "applies": [
159
159
  "errors"
160
160
  ],
@@ -164,7 +164,7 @@
164
164
  "name": "event-design-reviewer",
165
165
  "description": "Evans/Vernon/Dahan-inspired event design: domain-meaningful naming, fat payloads, schema evolution, and the domain expert test",
166
166
  "type": "prompt",
167
- "version": "1.0.1",
167
+ "version": "1.0.2",
168
168
  "applies": [
169
169
  "integration",
170
170
  "domain"
@@ -175,7 +175,7 @@
175
175
  "name": "evolution-analyzer",
176
176
  "description": "Lehman-inspired software evolution analysis: trajectory assessment, debt visibility, and change impact on system health",
177
177
  "type": "prompt",
178
- "version": "1.0.1",
178
+ "version": "1.0.2",
179
179
  "applies": [
180
180
  "any"
181
181
  ],
@@ -185,7 +185,7 @@
185
185
  "name": "gestalt-reviewer",
186
186
  "description": "Gestalt-inspired visual perception audit: proximity, similarity, closure, continuity, and figure-ground analysis for UI layouts",
187
187
  "type": "prompt",
188
- "version": "1.0.1",
188
+ "version": "1.0.2",
189
189
  "applies": [
190
190
  "ui"
191
191
  ],
@@ -195,7 +195,7 @@
195
195
  "name": "idempotency-guardian",
196
196
  "description": "Helland-inspired idempotency analysis: classify mutation points, check protection mechanisms, evaluate side effect safety for retry-safe systems",
197
197
  "type": "prompt",
198
- "version": "1.0.1",
198
+ "version": "1.0.2",
199
199
  "applies": [
200
200
  "integration"
201
201
  ],
@@ -205,13 +205,13 @@
205
205
  "name": "improve-my-codebase",
206
206
  "description": "Orchestrator skill that runs every applicable audit skill in parallel and produces a prioritized, convergence-ranked improvement report",
207
207
  "type": "prompt",
208
- "version": "1.0.1"
208
+ "version": "1.1.0"
209
209
  },
210
210
  {
211
211
  "name": "integration-pattern-auditor",
212
212
  "description": "Hohpe & Woolf-inspired messaging analysis: name the integration pattern, verify delivery guarantees, identify missing infrastructure",
213
213
  "type": "prompt",
214
- "version": "1.0.1",
214
+ "version": "1.0.2",
215
215
  "applies": [
216
216
  "integration"
217
217
  ],
@@ -221,13 +221,13 @@
221
221
  "name": "magpie",
222
222
  "description": "Interactive PR review pipeline. Runs five parallel specialist subagents (security, bugs, performance, code-smells, architecture), dedupes findings, applies a critic rubric, peer-reviews via codex exec (falling back to a Claude second opinion when codex is unavailable), and serves an interactive HTML report for selecting findings to post via gh. Bundles a Bun CLI installed onto PATH via the skill's postinstall step. Use when the user asks to review a GitHub pull request.",
223
223
  "type": "prompt",
224
- "version": "0.7.0"
224
+ "version": "0.8.0"
225
225
  },
226
226
  {
227
227
  "name": "module-secret-auditor",
228
228
  "description": "Parnas-inspired information hiding analysis: module boundaries drawn by change-reason, not by noun or technical layer",
229
229
  "type": "prompt",
230
- "version": "1.0.1",
230
+ "version": "1.0.2",
231
231
  "applies": [
232
232
  "architecture"
233
233
  ],
@@ -237,7 +237,7 @@
237
237
  "name": "port-adapter-auditor",
238
238
  "description": "Cockburn-inspired hexagonal architecture analysis: identify ports and adapters, classify boundary health, ensure core testability and swappability",
239
239
  "type": "prompt",
240
- "version": "1.0.1",
240
+ "version": "1.0.2",
241
241
  "applies": [
242
242
  "architecture"
243
243
  ],
@@ -247,7 +247,7 @@
247
247
  "name": "rams-design-audit",
248
248
  "description": "Dieter Rams-inspired design audit: every visual element must earn its presence, less but better, clarity through restraint",
249
249
  "type": "prompt",
250
- "version": "1.0.1",
250
+ "version": "1.0.2",
251
251
  "applies": [
252
252
  "ui"
253
253
  ],
@@ -257,7 +257,7 @@
257
257
  "name": "seam-finder",
258
258
  "description": "Feathers-inspired legacy code modification: find seams, make minimal incisions, preserve existing behavior",
259
259
  "type": "prompt",
260
- "version": "1.0.1",
260
+ "version": "1.0.2",
261
261
  "applies": [
262
262
  "legacy"
263
263
  ],
@@ -267,7 +267,7 @@
267
267
  "name": "simplicity-razor",
268
268
  "description": "Hickey-inspired simplicity analysis: simple vs easy, complecting detection, strand decomposition",
269
269
  "type": "prompt",
270
- "version": "1.0.1",
270
+ "version": "1.0.2",
271
271
  "applies": [
272
272
  "any"
273
273
  ],
@@ -277,7 +277,7 @@
277
277
  "name": "temporal-coupling-detector",
278
278
  "description": "Hidden ordering dependency analysis: detect two-phase init, method order dependencies, invisible preconditions, and resource lifecycle violations; fix with types, parameters, and factory patterns",
279
279
  "type": "prompt",
280
- "version": "1.0.1",
280
+ "version": "1.0.2",
281
281
  "applies": [
282
282
  "any"
283
283
  ],
@@ -287,13 +287,13 @@
287
287
  "name": "terse",
288
288
  "description": "Professional output compression. Cuts ~20-30% of output tokens with proper grammar and semantic accuracy. Three levels: clean, tight, sharp.",
289
289
  "type": "prompt",
290
- "version": "1.2.0"
290
+ "version": "1.2.1"
291
291
  },
292
292
  {
293
293
  "name": "type-driven-designer",
294
294
  "description": "Wlaschin & Minsky-inspired type design: make illegal states unrepresentable through branded types, discriminated unions, and domain-encoded constraints",
295
295
  "type": "prompt",
296
- "version": "1.0.1",
296
+ "version": "1.0.2",
297
297
  "applies": [
298
298
  "any"
299
299
  ],
@@ -303,7 +303,7 @@
303
303
  "name": "unidirectional-flow-enforcer",
304
304
  "description": "Elm Architecture-inspired data flow analysis: enforce unidirectional state flow, detect bidirectional mutations, trace state lifecycle in UI applications",
305
305
  "type": "prompt",
306
- "version": "1.0.1",
306
+ "version": "1.0.2",
307
307
  "applies": [
308
308
  "ui"
309
309
  ],
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: integration-pattern-auditor
3
- description: Use when designing or reviewing how components, services, or modules communicate through messages, events, queues, or APIs. Trigger on "how should these services talk to each other?", "should this be async?", "why are messages being lost?", or when reviewing event-driven architecture, pub/sub systems, or inter-service communication. NOT for in-process function calls with no messaging involved.
3
+ description: Use when designing or reviewing how components, services, or modules communicate through messages, events, queues, or APIs. Trigger on "how should these services talk to each other?", "should this be async?", "why are messages being lost?", or when reviewing event-driven architecture, pub/sub systems, or inter-service communication. NOT for in-process function calls with no messaging involved, or for event naming and payload design (event-design-reviewer).
4
4
  ---
5
5
 
6
6
  # Integration Pattern Auditor
@@ -187,5 +187,5 @@ Delivery requirements are business decisions. The pattern analysis is technical.
187
187
  | Treating all communication as "just HTTP calls" | Classify each interaction by pattern. HTTP is one transport, not one pattern. |
188
188
  | Building a message bus for two services | Point-to-point or direct calls are simpler when you have few participants. |
189
189
  | No correlation ID across async flows | Add correlation IDs from the start. Debugging async flows without them is nearly impossible. |
190
- | Consumer processes message, then acknowledges | Acknowledge AFTER processing. If the consumer crashes between ack and processing, the message is lost. |
190
+ | Consumer acknowledges message, then processes | Acknowledge AFTER processing. If the consumer crashes between ack and processing, the message is lost. |
191
191
  | Assuming message order is preserved | Most distributed queues don't guarantee ordering. Verify or design for out-of-order. |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integration-pattern-auditor",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Hohpe & Woolf-inspired messaging analysis: name the integration pattern, verify delivery guarantees, identify missing infrastructure",
5
5
  "author": "iceinvein",
6
6
  "type": "prompt",
@@ -53,18 +53,16 @@ The fixture lives at `fixtures/example-pr/` (pr.json + findings.final.json + pos
53
53
 
54
54
  ## Layout
55
55
 
56
- - `SKILL.md` is the agent-facing prompt; installed by the agent-skills CLI.
56
+ - `SKILL.md` is the agent-facing prompt: the stage walkthrough and nothing else. Installed by the agent-skills CLI.
57
+ - `references/` holds the prompt bodies the walkthrough loads on demand, one file per stage that needs one: `specialists.md` (stage 3, the five focus blocks plus the shared output contract), `critic.md` (stage 5), `peer-review.md` (stage 6, including the Claude-fallback preamble). They ship in the bundle and sit next to `SKILL.md` once installed.
57
58
  - `skill.json` is the agent-skills manifest.
58
59
  - `bin/magpie` is the CLI invoked by the agent during stages; symlinked onto PATH by `install.sh`.
59
60
  - `scripts/` holds the implementation (server, dedupe, render, setup, cleanup, etc.).
60
61
  - `templates/styles.css` is the HTML report stylesheet.
61
- - `fixtures/` holds canned PR data for tests (not shipped to users via the registry).
62
+ - `fixtures/` holds canned PR data; `fixtures/example-pr/` ships with the bundle (it powers `magpie preview`), the rest exists for tests.
62
63
  - `install.sh` is run as a postinstall step by the agent-skills installer; symlinks `bin/magpie` onto PATH and records the location.
63
64
  - `uninstall.sh` is run as a postremove step; removes the PATH symlink if it still points back into this bundle.
64
65
 
65
- ## Design docs
66
-
67
- The original design and implementation plan live at `docs/magpie/design.md` and `docs/magpie/plan.md` at the repo root.
68
66
 
69
67
  ## Run directory layout
70
68