@iceinvein/agent-skills 0.1.38 → 0.1.40

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 (30) hide show
  1. package/package.json +1 -1
  2. package/skills/index.json +1 -1
  3. package/skills/magpie/README.md +3 -1
  4. package/skills/magpie/SKILL.md +49 -535
  5. package/skills/magpie/fixtures/example-pr/brief.json +18 -0
  6. package/skills/magpie/fixtures/fake-gh.sh +14 -0
  7. package/skills/magpie/package.json +1 -1
  8. package/skills/magpie/references/critic.md +58 -0
  9. package/skills/magpie/references/peer-review.md +84 -0
  10. package/skills/magpie/references/scout.md +90 -0
  11. package/skills/magpie/references/specialists.md +471 -0
  12. package/skills/magpie/scripts/__tests__/gh.test.ts +21 -0
  13. package/skills/magpie/scripts/__tests__/helper.test.ts +40 -0
  14. package/skills/magpie/scripts/__tests__/preview-cmd.test.ts +16 -0
  15. package/skills/magpie/scripts/__tests__/refresh.test.ts +45 -0
  16. package/skills/magpie/scripts/__tests__/render-cmd.test.ts +78 -1
  17. package/skills/magpie/scripts/__tests__/render-findings.test.ts +118 -1
  18. package/skills/magpie/scripts/__tests__/skill-lint.test.ts +221 -28
  19. package/skills/magpie/scripts/__tests__/status-cmd.test.ts +13 -0
  20. package/skills/magpie/scripts/__tests__/types.test.ts +47 -0
  21. package/skills/magpie/scripts/gh.ts +4 -1
  22. package/skills/magpie/scripts/helper.js +24 -13
  23. package/skills/magpie/scripts/preview-cmd.ts +11 -1
  24. package/skills/magpie/scripts/refresh.ts +24 -3
  25. package/skills/magpie/scripts/render-cmd.ts +8 -3
  26. package/skills/magpie/scripts/render-findings.ts +67 -1
  27. package/skills/magpie/scripts/status-cmd.ts +10 -1
  28. package/skills/magpie/scripts/types.ts +50 -0
  29. package/skills/magpie/skill.json +2 -1
  30. package/skills/magpie/templates/styles.css +61 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iceinvein/agent-skills",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "Install agent skills into AI coding tools",
5
5
  "author": "iceinvein",
6
6
  "license": "MIT",
package/skills/index.json CHANGED
@@ -221,7 +221,7 @@
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.1"
224
+ "version": "0.9.0"
225
225
  },
226
226
  {
227
227
  "name": "module-secret-auditor",
@@ -12,6 +12,7 @@ Given a GitHub PR number, dispatches five specialist subagents in parallel (secu
12
12
  - `gh` on PATH, authenticated (`gh auth status`)
13
13
  - `git` on PATH
14
14
  - `codex` on PATH, authenticated (optional; if absent the peer-review stage falls back to a Claude second-opinion subagent)
15
+ - the code-intelligence MCP server, with a completed index for the repo under review (optional; if absent the specialists review from the diff and worktree alone)
15
16
 
16
17
  ## Install
17
18
 
@@ -53,7 +54,8 @@ The fixture lives at `fixtures/example-pr/` (pr.json + findings.final.json + pos
53
54
 
54
55
  ## Layout
55
56
 
56
- - `SKILL.md` is the agent-facing prompt; installed by the agent-skills CLI.
57
+ - `SKILL.md` is the agent-facing prompt: the stage walkthrough and nothing else. Installed by the agent-skills CLI.
58
+ - `references/` holds the prompt bodies the walkthrough loads on demand, one file per stage that needs one: `scout.md` (stage 3, the PR-brief prompt and the `brief.json` contract), `specialists.md` (stage 4, the five focus blocks plus the shared output contract and the codebase-intelligence block), `critic.md` (stage 6), `peer-review.md` (stage 7, including the Claude-fallback preamble). They ship in the bundle and sit next to `SKILL.md` once installed.
57
59
  - `skill.json` is the agent-skills manifest.
58
60
  - `bin/magpie` is the CLI invoked by the agent during stages; symlinked onto PATH by `install.sh`.
59
61
  - `scripts/` holds the implementation (server, dedupe, render, setup, cleanup, etc.).