the-grimoire-cli 0.3.2 → 0.4.0

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 (95) hide show
  1. package/.agents/AGENTS.md +112 -112
  2. package/.agents/NAVIGATOR.md +188 -168
  3. package/.agents/VERSION +4 -4
  4. package/.agents/agents/INDEX.md +7 -7
  5. package/.agents/agents/verifier.md +50 -50
  6. package/.agents/commands/INDEX.md +11 -11
  7. package/.agents/commands/checkpoint.md +15 -15
  8. package/.agents/commands/grimoire.md +14 -14
  9. package/.agents/commands/onboard.md +56 -56
  10. package/.agents/commands/present.md +23 -23
  11. package/.agents/commands/verify.md +20 -20
  12. package/.agents/grimoire.manifest +18 -18
  13. package/.agents/rules/00-always.md +42 -42
  14. package/.agents/rules/05-code-quality.md +28 -28
  15. package/.agents/rules/10-working-process.md +31 -31
  16. package/.agents/rules/15-skills.md +27 -27
  17. package/.agents/rules/20-modes.md +41 -41
  18. package/.agents/rules/25-surgical-changes.md +29 -29
  19. package/.agents/rules/30-verification.md +36 -36
  20. package/.agents/rules/35-context-economy.md +41 -41
  21. package/.agents/rules/40-handoff.md +25 -25
  22. package/.agents/rules/45-presentation.md +35 -35
  23. package/.agents/rules/50-security.md +30 -30
  24. package/.agents/rules/60-commit-style.md +14 -14
  25. package/.agents/rules/INDEX.md +18 -18
  26. package/.agents/skills/INDEX.md +8 -8
  27. package/.agents/skills/README.md +1 -1
  28. package/.agents/skills/catalog.md +106 -106
  29. package/.agents/skills/find-skills/SKILL.md +142 -142
  30. package/.agents/stack/README.md +69 -66
  31. package/.agents/stack/desktop.md +36 -36
  32. package/.agents/stack/library.md +1 -1
  33. package/.agents/stack/web-app.md +32 -32
  34. package/.agents/standards/INDEX.md +23 -23
  35. package/.agents/standards/accessibility.md +50 -50
  36. package/.agents/standards/architecture.md +39 -39
  37. package/.agents/standards/attribution.md +39 -39
  38. package/.agents/standards/clean-code.md +121 -121
  39. package/.agents/standards/codex.md +69 -69
  40. package/.agents/standards/error-codes.md +41 -41
  41. package/.agents/standards/general.md +46 -46
  42. package/.agents/standards/guardrail-tests.md +40 -40
  43. package/.agents/standards/knowledge-management.md +35 -35
  44. package/.agents/standards/launch-security-checklist.md +45 -45
  45. package/.agents/standards/observability.md +35 -35
  46. package/.agents/standards/release-versioning.md +53 -53
  47. package/.agents/standards/requirements.md +75 -75
  48. package/.agents/standards/security-scanners.md +42 -42
  49. package/.agents/standards/testing-strategy.md +61 -61
  50. package/.agents/standards/typescript.md +19 -19
  51. package/.agents/standards/writing.md +58 -58
  52. package/.agents/tooling.json +19 -19
  53. package/LICENSE +1 -1
  54. package/README.md +139 -139
  55. package/bin/grimoire.mjs +630 -598
  56. package/package.json +32 -32
  57. package/templates/CLAUDE.md +7 -7
  58. package/templates/ci/ci.yml +49 -49
  59. package/templates/ci/sast.yml +44 -44
  60. package/templates/codex/INDEX.md +18 -18
  61. package/templates/codex/README.md +28 -28
  62. package/templates/codex/decisions/0000-template.md +36 -36
  63. package/templates/codex/decisions/INDEX.md +11 -11
  64. package/templates/codex/decisions/README.md +25 -25
  65. package/templates/codex/domain/INDEX.md +14 -14
  66. package/templates/codex/domain/README.md +10 -10
  67. package/templates/codex/evidence/0000-extraction-template.md +36 -36
  68. package/templates/codex/evidence/INDEX.md +11 -11
  69. package/templates/codex/evidence/README.md +15 -15
  70. package/templates/codex/reference/INDEX.md +11 -11
  71. package/templates/codex/reference/README.md +15 -15
  72. package/templates/codex/reference/confirmed-values.md +18 -18
  73. package/templates/codex/requirements/INDEX.md +11 -11
  74. package/templates/codex/requirements/README.md +22 -22
  75. package/templates/codex/requirements/addons/0000-template.md +35 -35
  76. package/templates/codex/requirements/base.md +36 -36
  77. package/templates/codex/requirements/changes/0000-template.md +39 -39
  78. package/templates/codex/resources/INDEX.md +11 -11
  79. package/templates/codex/resources/README.md +17 -17
  80. package/templates/codex/resources/manifest.md +11 -11
  81. package/templates/codex/runbooks/INDEX.md +9 -9
  82. package/templates/codex/runbooks/README.md +8 -8
  83. package/templates/codex/runbooks/incident-runbook-template.md +58 -58
  84. package/templates/gitignore-snippet.txt +10 -12
  85. package/templates/journal/backlog/README.md +18 -18
  86. package/templates/journal/memory/MEMORY.md +15 -15
  87. package/templates/journal/session/archive/.gitkeep +1 -1
  88. package/templates/journal/session/artifacts/.gitkeep +1 -1
  89. package/templates/journal/session/current.md +12 -12
  90. package/templates/lint/README.md +25 -25
  91. package/templates/lint/eslint.config.mjs +33 -33
  92. package/templates/lint/tsconfig.base.json +11 -11
  93. package/templates/local/AGENTS.local.md +33 -33
  94. package/templates/local/README.md +55 -55
  95. package/templates/tests/guardrail.invariants.test.ts +59 -59
@@ -1,14 +1,14 @@
1
- ---
2
- updated: 2026-05-31
3
- description: Conventional Commits and the project's commit/PR conventions.
4
- ---
5
-
6
- # 60 — Commit style
7
-
8
- - **Conventional Commits.** `type(scope): subject` — `feat` `fix` `docs` `refactor` `test` `chore`
9
- `perf` `build` `ci`. Imperative mood, lower-case subject, no trailing period.
10
- - **One logical change per commit.** Reviewable diffs; no "misc fixes" grab-bags.
11
- - **Hooks run.** husky + lint-staged on commit. **No `--no-verify`** — the one exception is a
12
- HOTFIX emergency commit (`20-modes.md`), which must be cleaned up afterward.
13
- - **Body explains why** when the change is non-obvious. Reference the `journal/backlog/` id or ADR.
14
- - **Never bypass signing** unless explicitly asked.
1
+ ---
2
+ updated: 2026-05-31
3
+ description: Conventional Commits and the project's commit/PR conventions.
4
+ ---
5
+
6
+ # 60 — Commit style
7
+
8
+ - **Conventional Commits.** `type(scope): subject` — `feat` `fix` `docs` `refactor` `test` `chore`
9
+ `perf` `build` `ci`. Imperative mood, lower-case subject, no trailing period.
10
+ - **One logical change per commit.** Reviewable diffs; no "misc fixes" grab-bags.
11
+ - **Hooks run.** husky + lint-staged on commit. **No `--no-verify`** — the one exception is a
12
+ HOTFIX emergency commit (`20-modes.md`), which must be cleaned up afterward.
13
+ - **Body explains why** when the change is non-obvious. Reference the `journal/backlog/` id or ADR.
14
+ - **Never bypass signing** unless explicitly asked.
@@ -1,18 +1,18 @@
1
- # rules — index
2
-
3
- <!-- GENERATED by `grimoire index`; do not edit by hand. Re-run after adding/renaming files here. -->
4
-
5
- | File | What it covers |
6
- |---|---|
7
- | `00-always.md` | The non-negotiable rules; violating any is a hard error, not a style nit. |
8
- | `05-code-quality.md` | Always-on code-quality essentials; the full standard lives in standards/clean-code.md. |
9
- | `10-working-process.md` | How to work a task end to end: plan, task contract, right altitude, small increments, tools, TDD. |
10
- | `15-skills.md` | Consult skills/catalog.md and use the right skill/plugin/MCP before improvising. |
11
- | `20-modes.md` | NORMAL vs HOTFIX: how a user phrase sets the working mode and what each mode requires. |
12
- | `25-surgical-changes.md` | Touch only what the request needs; do not refactor or "improve" adjacent code. |
13
- | `30-verification.md` | The independent verifier: the author cannot mark their own work done; verify on fresh context. |
14
- | `35-context-economy.md` | Keep entry and always-on files lean; push detail to references read on demand. |
15
- | `40-handoff.md` | Route every incoming request to exactly one home: chat, backlog, hotfix, or field-report. |
16
- | `45-presentation.md` | When and how to render human-facing deliverables as HTML instead of long Markdown. |
17
- | `50-security.md` | Server-side authorization, no hardcoded secrets/roles, fail closed. |
18
- | `60-commit-style.md` | Conventional Commits and the project's commit/PR conventions. |
1
+ # rules — index
2
+
3
+ <!-- GENERATED by `grimoire index`; do not edit by hand. Re-run after adding/renaming files here. -->
4
+
5
+ | File | What it covers |
6
+ |---|---|
7
+ | `00-always.md` | The non-negotiable rules; violating any is a hard error, not a style nit. |
8
+ | `05-code-quality.md` | Always-on code-quality essentials; the full standard lives in standards/clean-code.md. |
9
+ | `10-working-process.md` | How to work a task end to end: plan, task contract, right altitude, small increments, tools, TDD. |
10
+ | `15-skills.md` | Consult skills/catalog.md and use the right skill/plugin/MCP before improvising. |
11
+ | `20-modes.md` | NORMAL vs HOTFIX: how a user phrase sets the working mode and what each mode requires. |
12
+ | `25-surgical-changes.md` | Touch only what the request needs; do not refactor or "improve" adjacent code. |
13
+ | `30-verification.md` | The independent verifier: the author cannot mark their own work done; verify on fresh context. |
14
+ | `35-context-economy.md` | Keep entry and always-on files lean; push detail to references read on demand. |
15
+ | `40-handoff.md` | Route every incoming request to exactly one home: chat, backlog, hotfix, or field-report. |
16
+ | `45-presentation.md` | When and how to render human-facing deliverables as HTML instead of long Markdown. |
17
+ | `50-security.md` | Server-side authorization, no hardcoded secrets/roles, fail closed. |
18
+ | `60-commit-style.md` | Conventional Commits and the project's commit/PR conventions. |
@@ -1,8 +1,8 @@
1
- # skills — index
2
-
3
- <!-- GENERATED by `grimoire index`; do not edit by hand. Re-run after adding/renaming files here. -->
4
-
5
- | File | What it covers |
6
- |---|---|
7
- | `catalog.md` | Capability catalog — What to reach for, by trigger. |
8
- | `find-skills/` | Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that ca… |
1
+ # skills — index
2
+
3
+ <!-- GENERATED by `grimoire index`; do not edit by hand. Re-run after adding/renaming files here. -->
4
+
5
+ | File | What it covers |
6
+ |---|---|
7
+ | `catalog.md` | Capability catalog — What to reach for, by trigger. |
8
+ | `find-skills/` | Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that ca… |
@@ -3,4 +3,4 @@
3
3
  Portable skill files (Claude Code `skills/` format) that any project inherits. v0.1 ships the
4
4
  verification workflow as a command + subagent (`commands/verify.md`, `agents/verifier.md`) rather
5
5
  than a standalone skill. Add skills here as patterns prove reusable across projects; they sync as a
6
- managed path.
6
+ managed path.
@@ -1,106 +1,106 @@
1
- # Capability catalog
2
-
3
- What to reach for, by trigger. **Primary** = default choice. **Alternates** = equivalents when the
4
- primary is unavailable or you want a second opinion. Anything not here → run `find-skills`.
5
-
6
- > The mattpocock engineering skills below require `/setup-matt-pocock-skills` once per repo
7
- > (configures the issue tracker, triage label vocabulary, and doc layout they consume).
8
- >
9
- > Bare-named MCPs in this catalog (`context7`, `exa`, `github`) ship **with the `ecc` plugin** —
10
- > `grimoire bootstrap` enabling `ecc` wires them; they intentionally have no separate `tooling.json`
11
- > `mcp` entry. Only standalone servers (`playwright`, `stitch`) live in `tooling.json`.
12
-
13
- ## Process & engineering
14
-
15
- | When you are… | Primary | Alternates | Layer |
16
- |---|---|---|---|
17
- | starting a new feature | `superpowers:brainstorming` | — | skill |
18
- | aligning before a change | `grill-me` / `grill-with-docs` | — | skill |
19
- | writing the implementation plan | `superpowers:writing-plans` | `ecc:plan` | skill |
20
- | writing code test-first | `tdd` | `superpowers:test-driven-development` | skill |
21
- | chasing a hard bug / perf regression | `diagnose` | `superpowers:systematic-debugging` | skill |
22
- | improving architecture (ball of mud) | `improve-codebase-architecture` | — | skill |
23
- | designing a module's layering | `standards/architecture.md` | `improve-codebase-architecture` | doc |
24
- | production logging / observability | `standards/observability.md` | — | doc |
25
- | understanding unfamiliar code | `zoom-out` | — | skill |
26
- | compacting the session for handoff | `handoff` | — | skill |
27
- | managing work-state / second brain | `standards/knowledge-management.md` | — | doc |
28
- | throwaway prototype to flesh out a design | `prototype` | — | skill |
29
- | turning context into a PRD | `to-prd` | `ecc:plan-prd` | skill |
30
- | breaking a plan into issues | `to-issues` | — | skill |
31
- | triaging incoming issues | `triage` | — | skill |
32
- | writing a new skill | `write-a-skill` | `skill-creator` | skill |
33
- | isolating parallel work | `superpowers:using-git-worktrees` | `superpowers:dispatching-parallel-agents` | skill |
34
-
35
- ## Review, security, quality
36
-
37
- | When you are… | Primary | Alternates | Layer |
38
- |---|---|---|---|
39
- | reviewing before merge | `ecc:code-review` | `superpowers:requesting-code-review`, `/code-review` | skill |
40
- | auditing security-sensitive code | `ecc:security-review` | `ecc:security-scan` | skill |
41
- | gating a launch (privacy + security) | `standards/launch-security-checklist.md` | `ecc:security-review`, SAST (`standards/security-scanners.md`) | doc |
42
- | confirming work is done | `verifier` (Grimoire) | `superpowers:verification-before-completion` | subagent |
43
- | cleaning dead code | `ecc:refactor-clean` | — | skill |
44
- | running the quality gate | `ecc:quality-gate` | — | skill |
45
- | writing or reviewing code to standard | `standards/clean-code.md` | `templates/lint/` (enforcement) | doc |
46
- | writing or editing an agent-facing doc | `standards/writing.md` | — | doc |
47
- | guarding structural invariants (drift) | `standards/guardrail-tests.md` | — | doc |
48
- | recording a decision (incl. no-test rationale) | `codex/decisions/` (`0000-template.md`) | — | doc |
49
-
50
- ## Web / Next.js (pharmaceutical-hub)
51
-
52
- | When you are… | Primary | Alternates | Layer |
53
- |---|---|---|---|
54
- | building a React component | `ecc:react-patterns` | `ecc:react-performance` | skill |
55
- | reviewing React/TSX | `ecc:react-review` | — | skill |
56
- | writing React tests | `ecc:react-test` | `tdd` | skill |
57
- | fixing a React/Next build | `ecc:react-build` | `ecc:build-fix` | skill |
58
- | Next.js / Turbopack specifics | `ecc:nextjs-turbopack` | — | skill |
59
- | accessibility pass | `ecc:frontend-a11y` | `web-design-guidelines` | skill |
60
- | designing an API | `ecc:api-design` | `ecc:backend-patterns` | skill |
61
- | DB schema / queries | `ecc:postgres-patterns` | `ecc:prisma-patterns` | skill |
62
- | DB migration | `ecc:database-migrations` | — | skill |
63
-
64
- ## Healthcare (both repos are medical)
65
-
66
- | When you are… | Primary | Alternates | Layer |
67
- |---|---|---|---|
68
- | handling PHI / privacy | `ecc:healthcare-phi-compliance` | `ecc:hipaa-compliance` | skill |
69
- | EMR/EHR data patterns | `ecc:healthcare-emr-patterns` | — | skill |
70
- | clinical decision support | `ecc:healthcare-cdss-patterns` | — | skill |
71
- | evaluating a health-AI feature | `ecc:healthcare-eval-harness` | — | skill |
72
-
73
- ## Design / UI
74
-
75
- | When you are… | Primary | Alternates | Layer |
76
- |---|---|---|---|
77
- | designing UI/UX | `ui-ux-pro-max` | `andrej-karpathy` | skill |
78
- | turning a mockup into UI code | `stitch` (MCP) | — | mcp |
79
-
80
- > **Deprecated — do not use:** `frontend-design` (replaced by `ui-ux-pro-max`).
81
-
82
- ## Research, docs, MCP
83
-
84
- | When you are… | Primary | Alternates | Layer |
85
- |---|---|---|---|
86
- | researching an unknown topic | `ecc:deep-research` | `exa` (MCP) | skill |
87
- | looking up a library / API | `context7` (MCP) | `ecc:documentation-lookup` | mcp |
88
- | browser QA / e2e / visual check | `playwright` (MCP) | `ecc:e2e-testing` | mcp |
89
- | repo / PR operations | `ecc:pr` | `github` (MCP), `/pr` | skill |
90
- | need a capability you lack | `find-skills` | — | skill |
91
-
92
- ## Presentation (HTML for humans)
93
-
94
- Render with `/present` when presentation mode is on (`rules/45-presentation.md`). HTML is an
95
- ephemeral view; the Markdown/spec stays canonical.
96
-
97
- | When you are… | Primary | Alternates | Layer |
98
- |---|---|---|---|
99
- | comparing specs / designs side by side | `/present` (HTML) | `superpowers:brainstorming` visual companion | command |
100
- | presenting a code review to a human | `/present` (HTML dashboard) | `ecc:code-review` | command |
101
- | writing a report / explainer | `/present` (HTML) | — | command |
102
- | showing a design prototype | `prototype` | `/present` (HTML) | skill |
103
- | building a custom editing UI (copy-as-JSON) | `/present` (HTML) | — | command |
104
- ## Communication
105
-
106
- `pordee` (Thai-compressed) and `caveman` (terse) are session-level toggles set by the user.
1
+ # Capability catalog
2
+
3
+ What to reach for, by trigger. **Primary** = default choice. **Alternates** = equivalents when the
4
+ primary is unavailable or you want a second opinion. Anything not here → run `find-skills`.
5
+
6
+ > The mattpocock engineering skills below require `/setup-matt-pocock-skills` once per repo
7
+ > (configures the issue tracker, triage label vocabulary, and doc layout they consume).
8
+ >
9
+ > Bare-named MCPs in this catalog (`context7`, `exa`, `github`) ship **with the `ecc` plugin** —
10
+ > `grimoire bootstrap` enabling `ecc` wires them; they intentionally have no separate `tooling.json`
11
+ > `mcp` entry. Only standalone servers (`playwright`, `stitch`) live in `tooling.json`.
12
+
13
+ ## Process & engineering
14
+
15
+ | When you are… | Primary | Alternates | Layer |
16
+ |---|---|---|---|
17
+ | starting a new feature | `superpowers:brainstorming` | — | skill |
18
+ | aligning before a change | `grill-me` / `grill-with-docs` | — | skill |
19
+ | writing the implementation plan | `superpowers:writing-plans` | `ecc:plan` | skill |
20
+ | writing code test-first | `tdd` | `superpowers:test-driven-development` | skill |
21
+ | chasing a hard bug / perf regression | `diagnose` | `superpowers:systematic-debugging` | skill |
22
+ | improving architecture (ball of mud) | `improve-codebase-architecture` | — | skill |
23
+ | designing a module's layering | `standards/architecture.md` | `improve-codebase-architecture` | doc |
24
+ | production logging / observability | `standards/observability.md` | — | doc |
25
+ | understanding unfamiliar code | `zoom-out` | — | skill |
26
+ | compacting the session for handoff | `handoff` | — | skill |
27
+ | managing work-state / second brain | `standards/knowledge-management.md` | — | doc |
28
+ | throwaway prototype to flesh out a design | `prototype` | — | skill |
29
+ | turning context into a PRD | `to-prd` | `ecc:plan-prd` | skill |
30
+ | breaking a plan into issues | `to-issues` | — | skill |
31
+ | triaging incoming issues | `triage` | — | skill |
32
+ | writing a new skill | `write-a-skill` | `skill-creator` | skill |
33
+ | isolating parallel work | `superpowers:using-git-worktrees` | `superpowers:dispatching-parallel-agents` | skill |
34
+
35
+ ## Review, security, quality
36
+
37
+ | When you are… | Primary | Alternates | Layer |
38
+ |---|---|---|---|
39
+ | reviewing before merge | `ecc:code-review` | `superpowers:requesting-code-review`, `/code-review` | skill |
40
+ | auditing security-sensitive code | `ecc:security-review` | `ecc:security-scan` | skill |
41
+ | gating a launch (privacy + security) | `standards/launch-security-checklist.md` | `ecc:security-review`, SAST (`standards/security-scanners.md`) | doc |
42
+ | confirming work is done | `verifier` (Grimoire) | `superpowers:verification-before-completion` | subagent |
43
+ | cleaning dead code | `ecc:refactor-clean` | — | skill |
44
+ | running the quality gate | `ecc:quality-gate` | — | skill |
45
+ | writing or reviewing code to standard | `standards/clean-code.md` | `templates/lint/` (enforcement) | doc |
46
+ | writing or editing an agent-facing doc | `standards/writing.md` | — | doc |
47
+ | guarding structural invariants (drift) | `standards/guardrail-tests.md` | — | doc |
48
+ | recording a decision (incl. no-test rationale) | `codex/decisions/` (`0000-template.md`) | — | doc |
49
+
50
+ ## Web / Next.js (pharmaceutical-hub)
51
+
52
+ | When you are… | Primary | Alternates | Layer |
53
+ |---|---|---|---|
54
+ | building a React component | `ecc:react-patterns` | `ecc:react-performance` | skill |
55
+ | reviewing React/TSX | `ecc:react-review` | — | skill |
56
+ | writing React tests | `ecc:react-test` | `tdd` | skill |
57
+ | fixing a React/Next build | `ecc:react-build` | `ecc:build-fix` | skill |
58
+ | Next.js / Turbopack specifics | `ecc:nextjs-turbopack` | — | skill |
59
+ | accessibility pass | `ecc:frontend-a11y` | `web-design-guidelines` | skill |
60
+ | designing an API | `ecc:api-design` | `ecc:backend-patterns` | skill |
61
+ | DB schema / queries | `ecc:postgres-patterns` | `ecc:prisma-patterns` | skill |
62
+ | DB migration | `ecc:database-migrations` | — | skill |
63
+
64
+ ## Healthcare (both repos are medical)
65
+
66
+ | When you are… | Primary | Alternates | Layer |
67
+ |---|---|---|---|
68
+ | handling PHI / privacy | `ecc:healthcare-phi-compliance` | `ecc:hipaa-compliance` | skill |
69
+ | EMR/EHR data patterns | `ecc:healthcare-emr-patterns` | — | skill |
70
+ | clinical decision support | `ecc:healthcare-cdss-patterns` | — | skill |
71
+ | evaluating a health-AI feature | `ecc:healthcare-eval-harness` | — | skill |
72
+
73
+ ## Design / UI
74
+
75
+ | When you are… | Primary | Alternates | Layer |
76
+ |---|---|---|---|
77
+ | designing UI/UX | `ui-ux-pro-max` | `andrej-karpathy` | skill |
78
+ | turning a mockup into UI code | `stitch` (MCP) | — | mcp |
79
+
80
+ > **Deprecated — do not use:** `frontend-design` (replaced by `ui-ux-pro-max`).
81
+
82
+ ## Research, docs, MCP
83
+
84
+ | When you are… | Primary | Alternates | Layer |
85
+ |---|---|---|---|
86
+ | researching an unknown topic | `ecc:deep-research` | `exa` (MCP) | skill |
87
+ | looking up a library / API | `context7` (MCP) | `ecc:documentation-lookup` | mcp |
88
+ | browser QA / e2e / visual check | `playwright` (MCP) | `ecc:e2e-testing` | mcp |
89
+ | repo / PR operations | `ecc:pr` | `github` (MCP), `/pr` | skill |
90
+ | need a capability you lack | `find-skills` | — | skill |
91
+
92
+ ## Presentation (HTML for humans)
93
+
94
+ Render with `/present` when presentation mode is on (`rules/45-presentation.md`). HTML is an
95
+ ephemeral view; the Markdown/spec stays canonical.
96
+
97
+ | When you are… | Primary | Alternates | Layer |
98
+ |---|---|---|---|
99
+ | comparing specs / designs side by side | `/present` (HTML) | `superpowers:brainstorming` visual companion | command |
100
+ | presenting a code review to a human | `/present` (HTML dashboard) | `ecc:code-review` | command |
101
+ | writing a report / explainer | `/present` (HTML) | — | command |
102
+ | showing a design prototype | `prototype` | `/present` (HTML) | skill |
103
+ | building a custom editing UI (copy-as-JSON) | `/present` (HTML) | — | command |
104
+ ## Communication
105
+
106
+ `pordee` (Thai-compressed) and `caveman` (terse) are session-level toggles set by the user.
@@ -1,142 +1,142 @@
1
- ---
2
- name: find-skills
3
- description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
4
- ---
5
-
6
- # Find Skills
7
-
8
- This skill helps you discover and install skills from the open agent skills ecosystem.
9
-
10
- ## When to Use This Skill
11
-
12
- Use this skill when the user:
13
-
14
- - Asks "how do I do X" where X might be a common task with an existing skill
15
- - Says "find a skill for X" or "is there a skill for X"
16
- - Asks "can you do X" where X is a specialized capability
17
- - Expresses interest in extending agent capabilities
18
- - Wants to search for tools, templates, or workflows
19
- - Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
20
-
21
- ## What is the Skills CLI?
22
-
23
- The Skills CLI (`npx skills`) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
24
-
25
- **Key commands:**
26
-
27
- - `npx skills find [query]` - Search for skills interactively or by keyword
28
- - `npx skills add <package>` - Install a skill from GitHub or other sources
29
- - `npx skills check` - Check for skill updates
30
- - `npx skills update` - Update all installed skills
31
-
32
- **Browse skills at:** https://skills.sh/
33
-
34
- ## How to Help Users Find Skills
35
-
36
- ### Step 1: Understand What They Need
37
-
38
- When a user asks for help with something, identify:
39
-
40
- 1. The domain (e.g., React, testing, design, deployment)
41
- 2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
42
- 3. Whether this is a common enough task that a skill likely exists
43
-
44
- ### Step 2: Check the Leaderboard First
45
-
46
- Before running a CLI search, check the [skills.sh leaderboard](https://skills.sh/) to see if a well-known skill already exists for the domain. The leaderboard ranks skills by total installs, surfacing the most popular and battle-tested options.
47
-
48
- For example, top skills for web development include:
49
- - `vercel-labs/agent-skills` — React, Next.js, web design (100K+ installs each)
50
- - `anthropics/skills` — Frontend design, document processing (100K+ installs)
51
-
52
- ### Step 3: Search for Skills
53
-
54
- If the leaderboard doesn't cover the user's need, run the find command:
55
-
56
- ```bash
57
- npx skills find [query]
58
- ```
59
-
60
- For example:
61
-
62
- - User asks "how do I make my React app faster?" → `npx skills find react performance`
63
- - User asks "can you help me with PR reviews?" → `npx skills find pr review`
64
- - User asks "I need to create a changelog" → `npx skills find changelog`
65
-
66
- ### Step 4: Verify Quality Before Recommending
67
-
68
- **Do not recommend a skill based solely on search results.** Always verify:
69
-
70
- 1. **Install count** — Prefer skills with 1K+ installs. Be cautious with anything under 100.
71
- 2. **Source reputation** — Official sources (`vercel-labs`, `anthropics`, `microsoft`) are more trustworthy than unknown authors.
72
- 3. **GitHub stars** — Check the source repository. A skill from a repo with <100 stars should be treated with skepticism.
73
-
74
- ### Step 5: Present Options to the User
75
-
76
- When you find relevant skills, present them to the user with:
77
-
78
- 1. The skill name and what it does
79
- 2. The install count and source
80
- 3. The install command they can run
81
- 4. A link to learn more at skills.sh
82
-
83
- Example response:
84
-
85
- ```
86
- I found a skill that might help! The "react-best-practices" skill provides
87
- React and Next.js performance optimization guidelines from Vercel Engineering.
88
- (185K installs)
89
-
90
- To install it:
91
- npx skills add vercel-labs/agent-skills@react-best-practices
92
-
93
- Learn more: https://skills.sh/vercel-labs/agent-skills/react-best-practices
94
- ```
95
-
96
- ### Step 6: Offer to Install
97
-
98
- If the user wants to proceed, you can install the skill for them:
99
-
100
- ```bash
101
- npx skills add <owner/repo@skill> -g -y
102
- ```
103
-
104
- The `-g` flag installs globally (user-level) and `-y` skips confirmation prompts.
105
-
106
- ## Common Skill Categories
107
-
108
- When searching, consider these common categories:
109
-
110
- | Category | Example Queries |
111
- | --------------- | ---------------------------------------- |
112
- | Web Development | react, nextjs, typescript, css, tailwind |
113
- | Testing | testing, jest, playwright, e2e |
114
- | DevOps | deploy, docker, kubernetes, ci-cd |
115
- | Documentation | docs, readme, changelog, api-docs |
116
- | Code Quality | review, lint, refactor, best-practices |
117
- | Design | ui, ux, design-system, accessibility |
118
- | Productivity | workflow, automation, git |
119
-
120
- ## Tips for Effective Searches
121
-
122
- 1. **Use specific keywords**: "react testing" is better than just "testing"
123
- 2. **Try alternative terms**: If "deploy" doesn't work, try "deployment" or "ci-cd"
124
- 3. **Check popular sources**: Many skills come from `vercel-labs/agent-skills` or `ComposioHQ/awesome-claude-skills`
125
-
126
- ## When No Skills Are Found
127
-
128
- If no relevant skills exist:
129
-
130
- 1. Acknowledge that no existing skill was found
131
- 2. Offer to help with the task directly using your general capabilities
132
- 3. Suggest the user could create their own skill with `npx skills init`
133
-
134
- Example:
135
-
136
- ```
137
- I searched for skills related to "xyz" but didn't find any matches.
138
- I can still help you with this task directly! Would you like me to proceed?
139
-
140
- If this is something you do often, you could create your own skill:
141
- npx skills init my-xyz-skill
142
- ```
1
+ ---
2
+ name: find-skills
3
+ description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
4
+ ---
5
+
6
+ # Find Skills
7
+
8
+ This skill helps you discover and install skills from the open agent skills ecosystem.
9
+
10
+ ## When to Use This Skill
11
+
12
+ Use this skill when the user:
13
+
14
+ - Asks "how do I do X" where X might be a common task with an existing skill
15
+ - Says "find a skill for X" or "is there a skill for X"
16
+ - Asks "can you do X" where X is a specialized capability
17
+ - Expresses interest in extending agent capabilities
18
+ - Wants to search for tools, templates, or workflows
19
+ - Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
20
+
21
+ ## What is the Skills CLI?
22
+
23
+ The Skills CLI (`npx skills`) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
24
+
25
+ **Key commands:**
26
+
27
+ - `npx skills find [query]` - Search for skills interactively or by keyword
28
+ - `npx skills add <package>` - Install a skill from GitHub or other sources
29
+ - `npx skills check` - Check for skill updates
30
+ - `npx skills update` - Update all installed skills
31
+
32
+ **Browse skills at:** https://skills.sh/
33
+
34
+ ## How to Help Users Find Skills
35
+
36
+ ### Step 1: Understand What They Need
37
+
38
+ When a user asks for help with something, identify:
39
+
40
+ 1. The domain (e.g., React, testing, design, deployment)
41
+ 2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
42
+ 3. Whether this is a common enough task that a skill likely exists
43
+
44
+ ### Step 2: Check the Leaderboard First
45
+
46
+ Before running a CLI search, check the [skills.sh leaderboard](https://skills.sh/) to see if a well-known skill already exists for the domain. The leaderboard ranks skills by total installs, surfacing the most popular and battle-tested options.
47
+
48
+ For example, top skills for web development include:
49
+ - `vercel-labs/agent-skills` — React, Next.js, web design (100K+ installs each)
50
+ - `anthropics/skills` — Frontend design, document processing (100K+ installs)
51
+
52
+ ### Step 3: Search for Skills
53
+
54
+ If the leaderboard doesn't cover the user's need, run the find command:
55
+
56
+ ```bash
57
+ npx skills find [query]
58
+ ```
59
+
60
+ For example:
61
+
62
+ - User asks "how do I make my React app faster?" → `npx skills find react performance`
63
+ - User asks "can you help me with PR reviews?" → `npx skills find pr review`
64
+ - User asks "I need to create a changelog" → `npx skills find changelog`
65
+
66
+ ### Step 4: Verify Quality Before Recommending
67
+
68
+ **Do not recommend a skill based solely on search results.** Always verify:
69
+
70
+ 1. **Install count** — Prefer skills with 1K+ installs. Be cautious with anything under 100.
71
+ 2. **Source reputation** — Official sources (`vercel-labs`, `anthropics`, `microsoft`) are more trustworthy than unknown authors.
72
+ 3. **GitHub stars** — Check the source repository. A skill from a repo with <100 stars should be treated with skepticism.
73
+
74
+ ### Step 5: Present Options to the User
75
+
76
+ When you find relevant skills, present them to the user with:
77
+
78
+ 1. The skill name and what it does
79
+ 2. The install count and source
80
+ 3. The install command they can run
81
+ 4. A link to learn more at skills.sh
82
+
83
+ Example response:
84
+
85
+ ```
86
+ I found a skill that might help! The "react-best-practices" skill provides
87
+ React and Next.js performance optimization guidelines from Vercel Engineering.
88
+ (185K installs)
89
+
90
+ To install it:
91
+ npx skills add vercel-labs/agent-skills@react-best-practices
92
+
93
+ Learn more: https://skills.sh/vercel-labs/agent-skills/react-best-practices
94
+ ```
95
+
96
+ ### Step 6: Offer to Install
97
+
98
+ If the user wants to proceed, you can install the skill for them:
99
+
100
+ ```bash
101
+ npx skills add <owner/repo@skill> -g -y
102
+ ```
103
+
104
+ The `-g` flag installs globally (user-level) and `-y` skips confirmation prompts.
105
+
106
+ ## Common Skill Categories
107
+
108
+ When searching, consider these common categories:
109
+
110
+ | Category | Example Queries |
111
+ | --------------- | ---------------------------------------- |
112
+ | Web Development | react, nextjs, typescript, css, tailwind |
113
+ | Testing | testing, jest, playwright, e2e |
114
+ | DevOps | deploy, docker, kubernetes, ci-cd |
115
+ | Documentation | docs, readme, changelog, api-docs |
116
+ | Code Quality | review, lint, refactor, best-practices |
117
+ | Design | ui, ux, design-system, accessibility |
118
+ | Productivity | workflow, automation, git |
119
+
120
+ ## Tips for Effective Searches
121
+
122
+ 1. **Use specific keywords**: "react testing" is better than just "testing"
123
+ 2. **Try alternative terms**: If "deploy" doesn't work, try "deployment" or "ci-cd"
124
+ 3. **Check popular sources**: Many skills come from `vercel-labs/agent-skills` or `ComposioHQ/awesome-claude-skills`
125
+
126
+ ## When No Skills Are Found
127
+
128
+ If no relevant skills exist:
129
+
130
+ 1. Acknowledge that no existing skill was found
131
+ 2. Offer to help with the task directly using your general capabilities
132
+ 3. Suggest the user could create their own skill with `npx skills init`
133
+
134
+ Example:
135
+
136
+ ```
137
+ I searched for skills related to "xyz" but didn't find any matches.
138
+ I can still help you with this task directly! Would you like me to proceed?
139
+
140
+ If this is something you do often, you could create your own skill:
141
+ npx skills init my-xyz-skill
142
+ ```