@codyswann/lisa 4.103.5 → 4.103.7

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 (172) hide show
  1. package/all/merge/.claude/settings.json +1 -11
  2. package/cdk/merge/.claude/settings.json +0 -3
  3. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  4. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  5. package/dist/core/upstream-evidence-manifest.js +24 -57
  6. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  7. package/dist/migrations/index.d.ts +1 -0
  8. package/dist/migrations/index.d.ts.map +1 -1
  9. package/dist/migrations/index.js +3 -0
  10. package/dist/migrations/index.js.map +1 -1
  11. package/dist/migrations/prune-retired-third-party-plugins.d.ts +67 -0
  12. package/dist/migrations/prune-retired-third-party-plugins.d.ts.map +1 -0
  13. package/dist/migrations/prune-retired-third-party-plugins.js +120 -0
  14. package/dist/migrations/prune-retired-third-party-plugins.js.map +1 -0
  15. package/expo/merge/.claude/settings.json +1 -11
  16. package/harper-fabric/merge/.claude/settings.json +0 -3
  17. package/nestjs/merge/.claude/settings.json +0 -3
  18. package/package.json +4 -4
  19. package/phaser/merge/.claude/settings.json +0 -3
  20. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  22. package/plugins/lisa/.codex-plugin/skills/lisa-parity-code-review/SKILL.md +3 -6
  23. package/plugins/lisa/.codex-plugin/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  24. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +8 -1
  25. package/plugins/lisa/rules/eager/coding-philosophy.md +1 -0
  26. package/plugins/lisa/rules/eager/tool-access-gate.md +6 -5
  27. package/plugins/lisa/rules/eager/verification.md +1 -1
  28. package/plugins/lisa/rules/reference/claim-evidence-mapping.md +3 -2
  29. package/plugins/lisa/rules/reference/tool-access-gate.md +17 -7
  30. package/plugins/lisa/rules/reference/verification.md +36 -1
  31. package/plugins/lisa/skills/lisa-parity-code-review/SKILL.md +3 -6
  32. package/plugins/lisa/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  33. package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +8 -1
  34. package/plugins/lisa-agy/plugin.json +1 -1
  35. package/plugins/lisa-agy/skills/lisa-parity-code-review/SKILL.md +3 -6
  36. package/plugins/lisa-agy/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  37. package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +8 -1
  38. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  41. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  45. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +1 -0
  47. package/plugins/lisa-copilot/rules/eager/tool-access-gate.md +6 -5
  48. package/plugins/lisa-copilot/rules/eager/verification.md +1 -1
  49. package/plugins/lisa-copilot/rules/reference/claim-evidence-mapping.md +3 -2
  50. package/plugins/lisa-copilot/rules/reference/tool-access-gate.md +17 -7
  51. package/plugins/lisa-copilot/rules/reference/verification.md +36 -1
  52. package/plugins/lisa-copilot/skills/lisa-parity-code-review/SKILL.md +3 -6
  53. package/plugins/lisa-copilot/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  54. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +8 -1
  55. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-cursor/rules/claim-evidence-mapping-reference.mdc +3 -2
  57. package/plugins/lisa-cursor/rules/coding-philosophy.mdc +1 -0
  58. package/plugins/lisa-cursor/rules/tool-access-gate-reference.mdc +17 -7
  59. package/plugins/lisa-cursor/rules/tool-access-gate.mdc +6 -5
  60. package/plugins/lisa-cursor/rules/verification-reference.mdc +36 -1
  61. package/plugins/lisa-cursor/rules/verification.mdc +1 -1
  62. package/plugins/lisa-cursor/skills/lisa-parity-code-review/SKILL.md +3 -6
  63. package/plugins/lisa-cursor/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  64. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +8 -1
  65. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  67. package/plugins/lisa-devin/rules/eager/coding-philosophy.md +1 -0
  68. package/plugins/lisa-devin/rules/eager/tool-access-gate.md +6 -5
  69. package/plugins/lisa-devin/rules/eager/verification.md +1 -1
  70. package/plugins/lisa-devin/rules/reference/claim-evidence-mapping.md +3 -2
  71. package/plugins/lisa-devin/rules/reference/tool-access-gate.md +17 -7
  72. package/plugins/lisa-devin/rules/reference/verification.md +36 -1
  73. package/plugins/lisa-devin/skills/lisa-parity-code-review/SKILL.md +3 -6
  74. package/plugins/lisa-devin/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  75. package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +8 -1
  76. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-expo-agy/plugin.json +1 -1
  79. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  83. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  85. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  86. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  90. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  92. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  93. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  97. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  99. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  100. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  104. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  106. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  107. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  109. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  111. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  113. package/plugins/lisa-rails-agy/plugin.json +1 -1
  114. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  116. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  118. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  120. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  121. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  124. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  125. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  127. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  128. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  129. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  131. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  132. package/plugins/src/base/rules/eager/coding-philosophy.md +1 -0
  133. package/plugins/src/base/rules/eager/tool-access-gate.md +6 -5
  134. package/plugins/src/base/rules/eager/verification.md +1 -1
  135. package/plugins/src/base/rules/reference/claim-evidence-mapping.md +3 -2
  136. package/plugins/src/base/rules/reference/tool-access-gate.md +17 -7
  137. package/plugins/src/base/rules/reference/verification.md +36 -1
  138. package/plugins/src/base/skills/lisa-parity-code-review/SKILL.md +3 -6
  139. package/plugins/src/base/skills/lisa-parity-coderabbit/SKILL.md +1 -1
  140. package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +8 -1
  141. package/rails/merge/.claude/settings.json +1 -11
  142. package/scripts/install-claude-plugins.sh +19 -4
  143. package/typescript/merge/.claude/settings.json +0 -3
  144. package/ui/index.html +1 -9
  145. package/plugins/lisa/.codex-plugin/skills/lisa-parity-code-simplifier/SKILL.md +0 -78
  146. package/plugins/lisa/.codex-plugin/skills/lisa-parity-code-simplifier/agents/openai.yaml +0 -4
  147. package/plugins/lisa/.codex-plugin/skills/lisa-parity-skill-creator/SKILL.md +0 -157
  148. package/plugins/lisa/.codex-plugin/skills/lisa-parity-skill-creator/agents/openai.yaml +0 -4
  149. package/plugins/lisa/commands/parity-code-simplifier.md +0 -6
  150. package/plugins/lisa/commands/parity-skill-creator.md +0 -6
  151. package/plugins/lisa/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  152. package/plugins/lisa/skills/lisa-parity-code-simplifier/agents/openai.yaml +0 -4
  153. package/plugins/lisa/skills/lisa-parity-skill-creator/SKILL.md +0 -155
  154. package/plugins/lisa/skills/lisa-parity-skill-creator/agents/openai.yaml +0 -4
  155. package/plugins/lisa-agy/commands/lisa/parity-code-simplifier.md +0 -6
  156. package/plugins/lisa-agy/commands/lisa/parity-skill-creator.md +0 -6
  157. package/plugins/lisa-agy/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  158. package/plugins/lisa-agy/skills/lisa-parity-skill-creator/SKILL.md +0 -155
  159. package/plugins/lisa-copilot/commands/lisa/parity-code-simplifier.md +0 -6
  160. package/plugins/lisa-copilot/commands/lisa/parity-skill-creator.md +0 -6
  161. package/plugins/lisa-copilot/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  162. package/plugins/lisa-copilot/skills/lisa-parity-skill-creator/SKILL.md +0 -155
  163. package/plugins/lisa-cursor/commands/lisa/parity-code-simplifier.md +0 -6
  164. package/plugins/lisa-cursor/commands/lisa/parity-skill-creator.md +0 -6
  165. package/plugins/lisa-cursor/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  166. package/plugins/lisa-cursor/skills/lisa-parity-skill-creator/SKILL.md +0 -155
  167. package/plugins/lisa-devin/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  168. package/plugins/lisa-devin/skills/lisa-parity-skill-creator/SKILL.md +0 -155
  169. package/plugins/src/base/commands/parity-code-simplifier.md +0 -6
  170. package/plugins/src/base/commands/parity-skill-creator.md +0 -6
  171. package/plugins/src/base/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
  172. package/plugins/src/base/skills/lisa-parity-skill-creator/SKILL.md +0 -155
@@ -1,76 +0,0 @@
1
- ---
2
- name: lisa-parity-code-simplifier
3
- description: "Lisa-native, behavior-preserving simplification of recently-changed code. Removes duplication and dead code, reuses existing utilities, and improves readability without altering behavior — quality only, never a bug hunt. Vendor-neutral cross-agent equivalent of the upstream code-simplifier agent, runnable on Codex, agy, Copilot, Cursor, and Claude."
4
- allowed-tools: ["Read", "Bash", "Grep", "Glob", "Edit", "Write"]
5
- synced-from: code-simplifier@claude-plugins-official@1.0.0
6
- ---
7
-
8
- # Parity Code Simplifier
9
-
10
- Make the **recently-changed** code simpler and easier to maintain **without changing what it does**. This is a quality pass: deduplication, reuse, readability, and dead-code removal. It is explicitly **not** a bug hunt — if you spot a likely defect, note it for a reviewer (or `parity-code-review`) and leave the behavior intact.
11
-
12
- > **Drift tracking.** Pinned to `code-simplifier@claude-plugins-official@1.0.0`. In the Lisa repository, `scripts/plugin-parity-drift.mjs` (a Lisa-repository maintainer check that host projects do not ship, so it does not run in a host checkout) compares this pin against the upstream version in the plugin cache and flags staleness. This is a Lisa-native reimplementation written from scratch — **do not port or copy upstream plugin code.**
13
-
14
- ## Scope: recently-changed code only
15
-
16
- Default to the current diff, not the whole repository. Establish scope first:
17
-
18
- ```bash
19
- git merge-base HEAD origin/main 2>/dev/null && \
20
- git diff --stat "$(git merge-base HEAD origin/main)"...HEAD
21
- git diff HEAD --stat
22
- git status --short
23
- ```
24
-
25
- Simplify the files that changed and the immediate code they touch. Do not embark on a repo-wide refactor unless explicitly asked.
26
-
27
- ## The prime directive: preserve behavior
28
-
29
- Every edit must be behavior-preserving. Before changing anything, understand the current contract — inputs, outputs, side effects, error paths, public signatures. After changing it, the observable behavior must be identical. When in doubt, **don't** — leave a note instead of risking a semantic change.
30
-
31
- ## What to simplify
32
-
33
- 1. **Duplication (DRY)** — Collapse copy-pasted blocks into a single function or shared helper. Prefer delegating to an existing canonical implementation over re-deriving logic (see the repo's DRY rule: a function that reproduces a sequence should call the shared generator, not reimplement it).
34
- 2. **Reuse over reinvention** — Search for existing utilities (`Grep`/`Glob`) before introducing new code. If the project already has a helper for what the change hand-rolls, use it.
35
- 3. **Readability** — Clearer names; flatten needless nesting with early returns/guard clauses; replace clever one-liners with obvious code; split overly long functions along natural seams.
36
- 4. **Dead code** — Remove unreachable branches, unused variables/imports/exports, and commented-out blocks introduced or exposed by the change.
37
- 5. **Idiomatic constructs** — Prefer immutable transformations (`map`/`filter`/`reduce`) over mutable accumulation where it's clearer; remove redundant intermediate state.
38
-
39
- ## Respect project conventions
40
-
41
- This repo enforces specific patterns — honor them so your simplification doesn't trip the linter or hooks:
42
-
43
- - **Immutability / functional style** — avoid `let` and in-place mutation; prefer `const` and pure transformations.
44
- - **Statement order** — do not place expression-statement helper calls before `const` definitions; inline validation as `if` guard clauses (exempt from `enforce-statement-order`).
45
- - **eslint-disable directives** must include a `-- description`.
46
- - **Barrel-export constraint** — if you delete a file referenced by an `index.ts`, update the barrel in the same change so lint/typecheck stays green.
47
- - **Never edit generated plugin artifacts** (`plugins/lisa`, `plugins/lisa-*`); the source of truth is `plugins/src/`.
48
-
49
- ## Workflow
50
-
51
- 1. Read each changed file and enough of its callers to know the contract.
52
- 2. Identify simplification opportunities; rank by value-to-risk. Skip anything that risks behavior.
53
- 3. Apply edits with `Edit`/`Write`, one coherent change at a time.
54
- 4. **Verify behavior is unchanged** — run the project's checks:
55
- ```bash
56
- bun run test
57
- bun run typecheck 2>/dev/null || true
58
- bun run lint 2>/dev/null || true
59
- ```
60
- If any check fails, fix or revert the offending edit before continuing. Never leave the tree worse than you found it.
61
-
62
- ## Output
63
-
64
- Summarize what you changed and why, grouped by file with `file:line` anchors:
65
-
66
- - **Simplified** — the edits applied (dedup / reuse / readability / dead-code), each with a one-line rationale.
67
- - **Left alone** — opportunities you deliberately skipped because they risked behavior, with the reason.
68
- - **Flagged for review** — any suspected bugs noticed in passing (not fixed here — quality pass only).
69
- - **Verification** — which checks you ran and that they pass.
70
-
71
- ## Rules
72
-
73
- - **Behavior-preserving only.** No bug fixes, no feature changes, no API changes disguised as cleanup.
74
- - **Quality only** — if the only "simplification" would change behavior, don't make it.
75
- - **Tests must stay green.** A simplification that breaks a test is a behavior change — revert it.
76
- - If there is nothing worth simplifying, say so clearly rather than churning the code.
@@ -1,155 +0,0 @@
1
- ---
2
- name: lisa-parity-skill-creator
3
- description: "Author a new Lisa skill end-to-end — scaffold the SKILL.md frontmatter (name/description/allowed-tools), write the pass-through command, follow hyphen naming, place files under plugins/src/base, and rebuild plugins. Lisa-native reimplementation of the upstream skill-creator plugin. NO drift pin: upstream publishes no semver, so it is not drift-trackable."
4
- allowed-tools: ["Read", "Edit", "Write", "Bash"]
5
- ---
6
-
7
- # Skill Creator
8
-
9
- Author a new, working Lisa skill (and its pass-through command) from a one-line
10
- description. This is the Lisa-native equivalent of the upstream
11
- `skill-creator@claude-plugins-official` plugin, reimplemented from scratch
12
- against Lisa's conventions so the same capability is available to the Codex,
13
- agy, and Copilot runtimes (Cursor reads `.claude-plugin/` natively).
14
-
15
- ## Not drift-trackable
16
-
17
- This skill intentionally carries **no `synced-from` pin**. The upstream
18
- `skill-creator` plugin publishes **no semver** (its cache version resolves to
19
- `unknown`), so a `@unknown` pin would be unparseable and meaningless to
20
- `scripts/plugin-parity-drift.mjs`. **Drift is tracked manually** — re-review the
21
- upstream plugin by hand whenever the curated plugin set is refreshed. Do **not**
22
- add a `synced-from` line to skills generated by this skill unless they
23
- reimplement a semver-versioned upstream plugin.
24
-
25
- ## When to use
26
-
27
- - A reusable workflow, checklist, or piece of domain knowledge keeps recurring
28
- and deserves a named, invokable skill.
29
- - You are reimplementing an upstream third-party plugin command/skill for
30
- cross-agent parity (see `analyze-plugin` / `implement-plugin-parity`).
31
- - The user asks to "create a skill", "add a command", or "scaffold a skill".
32
-
33
- If the knowledge is narrow or one-off, prefer a rule in `.claude/rules/` instead
34
- — skills are for broad, repeatable capabilities. When unsure whether content
35
- warrants a skill, run it past the `skill-evaluator` agent first — it is the
36
- six-rung ladder router, a skill is only one rung, and it may recommend a
37
- cheaper or stronger destination instead.
38
-
39
- ## Where skills live
40
-
41
- Lisa skills are **build output** for downstream projects. The source of truth is
42
- `plugins/src/`, never the generated `plugins/lisa*` artifacts:
43
-
44
- | Source directory | Builds artifact | Use for |
45
- | --- | --- | --- |
46
- | `plugins/src/base/` | `plugins/lisa` | Skills that ship to **every** stack |
47
- | `plugins/src/<stack>/` | `plugins/lisa-<stack>` | Stack-specific (typescript, expo, nestjs, cdk, harper-fabric, rails) |
48
-
49
- Lisa-repo-only skills (parity tooling, wiki ingestion, `lisa-*` meta-skills) live
50
- at the **root** `.claude/skills/` and `.claude/commands/`, NOT under
51
- `plugins/src` — they are not relevant to downstream projects. Decide placement
52
- first:
53
-
54
- - Ships to downstream projects → `plugins/src/base/skills/lisa-<name>/SKILL.md`
55
- - Only meaningful inside the Lisa monorepo → `.claude/skills/<name>/SKILL.md`
56
-
57
- ## Naming
58
-
59
- - Base-plugin skills use the **`lisa-` prefix** on the directory and frontmatter
60
- `name`: `lisa-implement`, `lisa-git-commit`, `lisa-tracker-write`. No spaces,
61
- no camelCase, no underscores.
62
- - The directory name and the frontmatter `name` must match exactly.
63
- - Commands live flat under `commands/` — Claude Code prefixes plugin commands
64
- with the plugin name, so `commands/git/commit.md` → `/lisa:git:commit` and
65
- `commands/implement.md` → `/lisa:implement`. (Per-agent variant generators
66
- nest them under `commands/lisa/` for harnesses without plugin-name
67
- namespacing; never author that nesting in source.)
68
- - **Commands** surface as `/lisa:*` (colon). **Skills** surface as `/lisa-*`
69
- (hyphen). Never share a bare name like `implement` across both surfaces.
70
-
71
- ## SKILL.md frontmatter
72
-
73
- Skills support **only** these frontmatter keys (they do **not** support
74
- `argument-hint` or `$ARGUMENTS` substitution — those belong on the command):
75
-
76
- ```yaml
77
- ---
78
- name: lisa-my-skill # required — matches the directory name
79
- description: "One or two sentences." # required — when to use + what it does
80
- allowed-tools: ["Read", "Edit", "Write", "Bash"] # optional — least privilege
81
- synced-from: <plugin>@<marketplace>@<version> # ONLY for semver upstream reimplementations
82
- ---
83
- ```
84
-
85
- - **`name`** — the hyphen identifier, byte-identical to the directory.
86
- - **`description`** — write it so the model knows *when* to reach for the skill,
87
- not just what it does. Lead with the trigger. This is the single most
88
- important field for discoverability.
89
- - **`allowed-tools`** — grant the minimum set. A read-only review skill needs no
90
- `Write`/`Edit`. Omit the key entirely to inherit the caller's tools.
91
- - **`synced-from`** — add **only** when the skill reimplements an upstream plugin
92
- that publishes a real semver. Grammar: `name@marketplace@version`
93
- (e.g. `sentry@claude-plugins-official@1.0.0`). Omit for upstreams with no
94
- semver (note that in the body instead, as this skill does).
95
-
96
- ## The command pass-through pattern
97
-
98
- Every skill should have a thin command that is the user-facing entry point.
99
- Commands support `description`, `argument-hint`, and `$ARGUMENTS`; they delegate
100
- straight to the skill:
101
-
102
- ```markdown
103
- ---
104
- description: "Same human-facing summary as the skill, phrased for the picker."
105
- argument-hint: "<what the user should type after the command>"
106
- ---
107
-
108
- Use the /lisa-my-skill skill to <do the thing>. $ARGUMENTS
109
- ```
110
-
111
- The command carries the `argument-hint` and forwards `$ARGUMENTS`; the SKILL.md
112
- carries the actual logic. Keep the two descriptions consistent.
113
-
114
- ## Scaffolding walkthrough
115
-
116
- 1. **Decide placement** — downstream (`plugins/src/base`) vs. Lisa-only
117
- (`.claude`). For base, both a skill and a command directory entry are needed.
118
- 2. **Pick the name** — `lisa-<slug>`, hyphenated, unique. Check it does not collide:
119
- `ls plugins/src/base/skills/` and `ls plugins/src/base/commands/`.
120
- 3. **Create the skill** at
121
- `plugins/src/base/skills/lisa-<name>/SKILL.md` with the frontmatter above and a
122
- body that follows house style — see `plugins/src/base/skills/lisa-quality-review/SKILL.md`
123
- for the canonical shape (title, "When to use", numbered checklist/steps,
124
- explicit "Rules"/"Output" sections). Write real, actionable guidance, not
125
- TODOs.
126
- 4. **Create the command** at `plugins/src/base/commands/<name>.md` (or a nested
127
- `commands/<namespace>/<name>.md` for a colon-namespaced command) using the
128
- pass-through template.
129
- 5. **Rebuild the artifacts** so the generated plugins match source:
130
- ```bash
131
- bun run build:plugins
132
- ```
133
- Then commit **both** `plugins/src/...` and the regenerated `plugins/lisa*`.
134
- The `🧩 Plugins Sync` CI check (and `bun run check:plugins` locally) fails if
135
- artifacts drift from source — never hand-edit `plugins/lisa*`.
136
- 6. **Verify discoverability** — confirm the skill appears as `/lisa-<name>` and
137
- the command resolves to `/lisa:<name>` (or `/lisa:<ns>:<name>` when nested).
138
-
139
- ## Body house style
140
-
141
- - Open with an `#` H1 title in Title Case.
142
- - Add a `## When to use` section that names the triggers.
143
- - Use numbered steps for procedures, checklists for review-style skills.
144
- - End with an explicit `## Rules` (hard constraints) and/or `## Output` section.
145
- - Write in plain, imperative English. Prefer concrete examples over abstraction.
146
- - Reference sibling skills by their hyphen name (e.g. "delegate to `lisa-git-commit`").
147
-
148
- ## Rules
149
-
150
- - Never edit `plugins/lisa*` directly — edit `plugins/src/` and rebuild.
151
- - Skill frontmatter must not contain `argument-hint` or `$ARGUMENTS`.
152
- - The directory name, `name` field, and command filename must match exactly.
153
- - Add `synced-from` **only** for semver-versioned upstream reimplementations.
154
- - Do not include `/coding-philosophy` in task `skills` metadata — it auto-loads.
155
- - One skill, one responsibility. If a skill grows two jobs, split it.