@codyswann/lisa 2.127.0 → 2.128.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 (200) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +5 -1
  3. package/plugins/lisa/.codex-plugin/hooks.json +4 -0
  4. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  5. package/plugins/lisa/commands/parity-code-review.md +6 -0
  6. package/plugins/lisa/commands/parity-code-simplifier.md +6 -0
  7. package/plugins/lisa/commands/parity-coderabbit.md +6 -0
  8. package/plugins/lisa/commands/parity-safety-net-rules.md +6 -0
  9. package/plugins/lisa/commands/parity-sentry-sdk-setup.md +6 -0
  10. package/plugins/lisa/commands/parity-sentry-seer.md +6 -0
  11. package/plugins/lisa/commands/parity-skill-creator.md +6 -0
  12. package/plugins/lisa/hooks/parity-safety-net.sh +102 -0
  13. package/plugins/lisa/rules/eager/base-rules.md +1 -1
  14. package/plugins/lisa/rules/eager/leaf-only-lifecycle.md +4 -4
  15. package/plugins/lisa/rules/eager/repo-scope-split.md +1 -1
  16. package/plugins/lisa/rules/reference/config-resolution.md +1 -1
  17. package/plugins/lisa/rules/reference/leaf-only-lifecycle.md +9 -9
  18. package/plugins/lisa/rules/reference/repo-scope-split.md +2 -2
  19. package/plugins/lisa/skills/github-build-intake/SKILL.md +7 -7
  20. package/plugins/lisa/skills/github-validate-issue/SKILL.md +10 -11
  21. package/plugins/lisa/skills/intake-explain/SKILL.md +3 -3
  22. package/plugins/lisa/skills/jira-build-intake/SKILL.md +7 -7
  23. package/plugins/lisa/skills/jira-validate-ticket/SKILL.md +10 -11
  24. package/plugins/lisa/skills/linear-build-intake/SKILL.md +7 -7
  25. package/plugins/lisa/skills/linear-validate-issue/SKILL.md +10 -11
  26. package/plugins/lisa/skills/parity-code-review/SKILL.md +83 -0
  27. package/plugins/lisa/skills/parity-code-review/agents/openai.yaml +4 -0
  28. package/plugins/lisa/skills/parity-code-simplifier/SKILL.md +76 -0
  29. package/plugins/lisa/skills/parity-code-simplifier/agents/openai.yaml +4 -0
  30. package/plugins/lisa/skills/parity-coderabbit/SKILL.md +77 -0
  31. package/plugins/lisa/skills/parity-coderabbit/agents/openai.yaml +4 -0
  32. package/plugins/lisa/skills/parity-safety-net-rules/SKILL.md +144 -0
  33. package/plugins/lisa/skills/parity-safety-net-rules/agents/openai.yaml +4 -0
  34. package/plugins/lisa/skills/parity-sentry-sdk-setup/SKILL.md +211 -0
  35. package/plugins/lisa/skills/parity-sentry-sdk-setup/agents/openai.yaml +4 -0
  36. package/plugins/lisa/skills/parity-sentry-seer/SKILL.md +135 -0
  37. package/plugins/lisa/skills/parity-sentry-seer/agents/openai.yaml +4 -0
  38. package/plugins/lisa/skills/parity-skill-creator/SKILL.md +149 -0
  39. package/plugins/lisa/skills/parity-skill-creator/agents/openai.yaml +4 -0
  40. package/plugins/lisa/skills/repair-intake/SKILL.md +2 -2
  41. package/plugins/lisa/skills/tracker-build-intake/SKILL.md +4 -4
  42. package/plugins/lisa-agy/commands/parity-code-review.md +6 -0
  43. package/plugins/lisa-agy/commands/parity-code-simplifier.md +6 -0
  44. package/plugins/lisa-agy/commands/parity-coderabbit.md +6 -0
  45. package/plugins/lisa-agy/commands/parity-safety-net-rules.md +6 -0
  46. package/plugins/lisa-agy/commands/parity-sentry-sdk-setup.md +6 -0
  47. package/plugins/lisa-agy/commands/parity-sentry-seer.md +6 -0
  48. package/plugins/lisa-agy/commands/parity-skill-creator.md +6 -0
  49. package/plugins/lisa-agy/plugin.json +1 -1
  50. package/plugins/lisa-agy/skills/github-build-intake/SKILL.md +7 -7
  51. package/plugins/lisa-agy/skills/github-validate-issue/SKILL.md +10 -11
  52. package/plugins/lisa-agy/skills/intake-explain/SKILL.md +3 -3
  53. package/plugins/lisa-agy/skills/jira-build-intake/SKILL.md +7 -7
  54. package/plugins/lisa-agy/skills/jira-validate-ticket/SKILL.md +10 -11
  55. package/plugins/lisa-agy/skills/linear-build-intake/SKILL.md +7 -7
  56. package/plugins/lisa-agy/skills/linear-validate-issue/SKILL.md +10 -11
  57. package/plugins/lisa-agy/skills/parity-code-review/SKILL.md +83 -0
  58. package/plugins/lisa-agy/skills/parity-code-simplifier/SKILL.md +76 -0
  59. package/plugins/lisa-agy/skills/parity-coderabbit/SKILL.md +77 -0
  60. package/plugins/lisa-agy/skills/parity-safety-net-rules/SKILL.md +144 -0
  61. package/plugins/lisa-agy/skills/parity-sentry-sdk-setup/SKILL.md +211 -0
  62. package/plugins/lisa-agy/skills/parity-sentry-seer/SKILL.md +135 -0
  63. package/plugins/lisa-agy/skills/parity-skill-creator/SKILL.md +149 -0
  64. package/plugins/lisa-agy/skills/repair-intake/SKILL.md +2 -2
  65. package/plugins/lisa-agy/skills/tracker-build-intake/SKILL.md +4 -4
  66. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  69. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-copilot/.claude-plugin/plugin.json +5 -1
  72. package/plugins/lisa-copilot/commands/parity-code-review.md +6 -0
  73. package/plugins/lisa-copilot/commands/parity-code-simplifier.md +6 -0
  74. package/plugins/lisa-copilot/commands/parity-coderabbit.md +6 -0
  75. package/plugins/lisa-copilot/commands/parity-safety-net-rules.md +6 -0
  76. package/plugins/lisa-copilot/commands/parity-sentry-sdk-setup.md +6 -0
  77. package/plugins/lisa-copilot/commands/parity-sentry-seer.md +6 -0
  78. package/plugins/lisa-copilot/commands/parity-skill-creator.md +6 -0
  79. package/plugins/lisa-copilot/hooks/parity-safety-net.sh +102 -0
  80. package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
  81. package/plugins/lisa-copilot/rules/eager/leaf-only-lifecycle.md +4 -4
  82. package/plugins/lisa-copilot/rules/eager/repo-scope-split.md +1 -1
  83. package/plugins/lisa-copilot/rules/reference/config-resolution.md +1 -1
  84. package/plugins/lisa-copilot/rules/reference/leaf-only-lifecycle.md +9 -9
  85. package/plugins/lisa-copilot/rules/reference/repo-scope-split.md +2 -2
  86. package/plugins/lisa-copilot/skills/github-build-intake/SKILL.md +7 -7
  87. package/plugins/lisa-copilot/skills/github-validate-issue/SKILL.md +10 -11
  88. package/plugins/lisa-copilot/skills/intake-explain/SKILL.md +3 -3
  89. package/plugins/lisa-copilot/skills/jira-build-intake/SKILL.md +7 -7
  90. package/plugins/lisa-copilot/skills/jira-validate-ticket/SKILL.md +10 -11
  91. package/plugins/lisa-copilot/skills/linear-build-intake/SKILL.md +7 -7
  92. package/plugins/lisa-copilot/skills/linear-validate-issue/SKILL.md +10 -11
  93. package/plugins/lisa-copilot/skills/parity-code-review/SKILL.md +83 -0
  94. package/plugins/lisa-copilot/skills/parity-code-simplifier/SKILL.md +76 -0
  95. package/plugins/lisa-copilot/skills/parity-coderabbit/SKILL.md +77 -0
  96. package/plugins/lisa-copilot/skills/parity-safety-net-rules/SKILL.md +144 -0
  97. package/plugins/lisa-copilot/skills/parity-sentry-sdk-setup/SKILL.md +211 -0
  98. package/plugins/lisa-copilot/skills/parity-sentry-seer/SKILL.md +135 -0
  99. package/plugins/lisa-copilot/skills/parity-skill-creator/SKILL.md +149 -0
  100. package/plugins/lisa-copilot/skills/repair-intake/SKILL.md +2 -2
  101. package/plugins/lisa-copilot/skills/tracker-build-intake/SKILL.md +4 -4
  102. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-cursor/commands/parity-code-review.md +6 -0
  104. package/plugins/lisa-cursor/commands/parity-code-simplifier.md +6 -0
  105. package/plugins/lisa-cursor/commands/parity-coderabbit.md +6 -0
  106. package/plugins/lisa-cursor/commands/parity-safety-net-rules.md +6 -0
  107. package/plugins/lisa-cursor/commands/parity-sentry-sdk-setup.md +6 -0
  108. package/plugins/lisa-cursor/commands/parity-sentry-seer.md +6 -0
  109. package/plugins/lisa-cursor/commands/parity-skill-creator.md +6 -0
  110. package/plugins/lisa-cursor/hooks/hooks.json +4 -0
  111. package/plugins/lisa-cursor/hooks/parity-safety-net.sh +102 -0
  112. package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
  113. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +1 -1
  114. package/plugins/lisa-cursor/rules/leaf-only-lifecycle-reference.mdc +9 -9
  115. package/plugins/lisa-cursor/rules/leaf-only-lifecycle.mdc +4 -4
  116. package/plugins/lisa-cursor/rules/repo-scope-split-reference.mdc +2 -2
  117. package/plugins/lisa-cursor/rules/repo-scope-split.mdc +1 -1
  118. package/plugins/lisa-cursor/skills/github-build-intake/SKILL.md +7 -7
  119. package/plugins/lisa-cursor/skills/github-validate-issue/SKILL.md +10 -11
  120. package/plugins/lisa-cursor/skills/intake-explain/SKILL.md +3 -3
  121. package/plugins/lisa-cursor/skills/jira-build-intake/SKILL.md +7 -7
  122. package/plugins/lisa-cursor/skills/jira-validate-ticket/SKILL.md +10 -11
  123. package/plugins/lisa-cursor/skills/linear-build-intake/SKILL.md +7 -7
  124. package/plugins/lisa-cursor/skills/linear-validate-issue/SKILL.md +10 -11
  125. package/plugins/lisa-cursor/skills/parity-code-review/SKILL.md +83 -0
  126. package/plugins/lisa-cursor/skills/parity-code-simplifier/SKILL.md +76 -0
  127. package/plugins/lisa-cursor/skills/parity-coderabbit/SKILL.md +77 -0
  128. package/plugins/lisa-cursor/skills/parity-safety-net-rules/SKILL.md +144 -0
  129. package/plugins/lisa-cursor/skills/parity-sentry-sdk-setup/SKILL.md +211 -0
  130. package/plugins/lisa-cursor/skills/parity-sentry-seer/SKILL.md +135 -0
  131. package/plugins/lisa-cursor/skills/parity-skill-creator/SKILL.md +149 -0
  132. package/plugins/lisa-cursor/skills/repair-intake/SKILL.md +2 -2
  133. package/plugins/lisa-cursor/skills/tracker-build-intake/SKILL.md +4 -4
  134. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  136. package/plugins/lisa-expo-agy/plugin.json +1 -1
  137. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  138. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  139. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  141. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  142. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  143. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  145. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  146. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  147. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  150. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  151. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  152. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  153. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  156. package/plugins/lisa-rails-agy/plugin.json +1 -1
  157. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  158. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  159. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  160. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  161. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  162. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  164. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  165. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  166. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  167. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  168. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  169. package/plugins/src/base/.claude-plugin/plugin.json +2 -1
  170. package/plugins/src/base/commands/parity-code-review.md +6 -0
  171. package/plugins/src/base/commands/parity-code-simplifier.md +6 -0
  172. package/plugins/src/base/commands/parity-coderabbit.md +6 -0
  173. package/plugins/src/base/commands/parity-safety-net-rules.md +6 -0
  174. package/plugins/src/base/commands/parity-sentry-sdk-setup.md +6 -0
  175. package/plugins/src/base/commands/parity-sentry-seer.md +6 -0
  176. package/plugins/src/base/commands/parity-skill-creator.md +6 -0
  177. package/plugins/src/base/hooks/parity-safety-net.sh +102 -0
  178. package/plugins/src/base/rules/eager/base-rules.md +1 -1
  179. package/plugins/src/base/rules/eager/leaf-only-lifecycle.md +4 -4
  180. package/plugins/src/base/rules/eager/repo-scope-split.md +1 -1
  181. package/plugins/src/base/rules/reference/config-resolution.md +1 -1
  182. package/plugins/src/base/rules/reference/leaf-only-lifecycle.md +9 -9
  183. package/plugins/src/base/rules/reference/repo-scope-split.md +2 -2
  184. package/plugins/src/base/skills/github-build-intake/SKILL.md +7 -7
  185. package/plugins/src/base/skills/github-validate-issue/SKILL.md +10 -11
  186. package/plugins/src/base/skills/intake-explain/SKILL.md +3 -3
  187. package/plugins/src/base/skills/jira-build-intake/SKILL.md +7 -7
  188. package/plugins/src/base/skills/jira-validate-ticket/SKILL.md +10 -11
  189. package/plugins/src/base/skills/linear-build-intake/SKILL.md +7 -7
  190. package/plugins/src/base/skills/linear-validate-issue/SKILL.md +10 -11
  191. package/plugins/src/base/skills/parity-code-review/SKILL.md +83 -0
  192. package/plugins/src/base/skills/parity-code-simplifier/SKILL.md +76 -0
  193. package/plugins/src/base/skills/parity-coderabbit/SKILL.md +77 -0
  194. package/plugins/src/base/skills/parity-safety-net-rules/SKILL.md +144 -0
  195. package/plugins/src/base/skills/parity-sentry-sdk-setup/SKILL.md +211 -0
  196. package/plugins/src/base/skills/parity-sentry-seer/SKILL.md +135 -0
  197. package/plugins/src/base/skills/parity-skill-creator/SKILL.md +149 -0
  198. package/plugins/src/base/skills/repair-intake/SKILL.md +2 -2
  199. package/plugins/src/base/skills/tracker-build-intake/SKILL.md +4 -4
  200. package/scripts/plugin-parity-drift.mjs +9 -1
@@ -0,0 +1,211 @@
1
+ ---
2
+ name: parity-sentry-sdk-setup
3
+ description: "Install and configure the Sentry SDK for a project — detect the framework/runtime, add the correct @sentry/<framework> package, initialize the client, wire the DSN through env, enable error + performance monitoring, and set up source map upload for readable stack traces. One consolidated skill covering react, nextjs, node, nestjs, express, python, django, react-native, and more. Lisa-native reimplementation of Sentry's SDK-setup suite. Use when adding Sentry to a project or fixing an existing Sentry install."
4
+ allowed-tools: ["Read", "Edit", "Write", "Bash"]
5
+ synced-from: sentry@claude-plugins-official@1.0.0
6
+ ---
7
+
8
+ # Sentry SDK Setup
9
+
10
+ Detect a project's framework and runtime, then install and configure the correct
11
+ Sentry SDK with sensible, production-ready defaults: client initialization, DSN
12
+ via environment variable, error capture, performance/tracing, and source map
13
+ upload so stack traces are readable.
14
+
15
+ ## Consolidation note
16
+
17
+ The upstream `sentry@claude-plugins-official` plugin ships **~30 separate
18
+ per-SDK setup skills** (one per framework/runtime). This **single** Lisa-native
19
+ skill consolidates all of them: instead of one thin skill per SDK, it detects the
20
+ framework and applies the matching case below. The behavior is reimplemented from
21
+ scratch against Lisa conventions — it is **not** a translation of the upstream
22
+ skills. Pinned to `sentry@claude-plugins-official@1.0.0` via `synced-from` so the
23
+ parity drift detector tracks it as one unit.
24
+
25
+ ## Step 1 — Detect framework & runtime
26
+
27
+ Inspect the project before choosing an SDK. Read `package.json`
28
+ (dependencies/scripts), config files, and lockfiles:
29
+
30
+ - `next` dependency or `next.config.*` → **Next.js**
31
+ - `@nestjs/core` → **NestJS**
32
+ - `react-native` / `expo` → **React Native / Expo**
33
+ - `react` + a bundler (vite/webpack) without Next → **React (browser)**
34
+ - `express` / `fastify` / `koa` and a Node entrypoint → **Node server**
35
+ - `vue` / `@angular/core` / `svelte` → that browser framework
36
+ - `pyproject.toml` / `requirements.txt`; `django`/`flask`/`fastapi` →
37
+ **Python** (and which web framework)
38
+ - A plain Node library/CLI → **Node**
39
+
40
+ If the runtime is genuinely ambiguous, ask which app to instrument rather than
41
+ guessing. Respect the project's package manager (bun/npm/pnpm/yarn — match the
42
+ lockfile) and module system (ESM vs CJS).
43
+
44
+ ## Step 2 — Install the package
45
+
46
+ Use the project's package manager. Examples (swap `bun add` for your manager):
47
+
48
+ | Framework | Package |
49
+ | --- | --- |
50
+ | React (browser) | `@sentry/react` |
51
+ | Next.js | `@sentry/nextjs` |
52
+ | Node / Express / Fastify | `@sentry/node` (+ `@sentry/profiling-node` for profiling) |
53
+ | NestJS | `@sentry/nestjs` (+ `@sentry/node`) |
54
+ | React Native / Expo | `@sentry/react-native` |
55
+ | Vue | `@sentry/vue` |
56
+ | Angular | `@sentry/angular` |
57
+ | Svelte / SvelteKit | `@sentry/svelte` / `@sentry/sveltekit` |
58
+ | Python (generic) | `sentry-sdk` |
59
+ | Django | `sentry-sdk[django]` |
60
+ | Flask | `sentry-sdk[flask]` |
61
+ | FastAPI | `sentry-sdk[fastapi]` |
62
+
63
+ For Next.js, prefer the official wizard when available — it scaffolds the config
64
+ files and source-map upload for you:
65
+
66
+ ```bash
67
+ npx @sentry/wizard@latest -i nextjs
68
+ ```
69
+
70
+ ## Step 3 — Initialize the client
71
+
72
+ Initialize **as early as possible** in the app's lifecycle, before other code
73
+ runs. Always read the DSN from the environment (see Step 4) — never hard-code it.
74
+
75
+ **React (browser)** — `src/instrument.ts`, imported first in the entrypoint:
76
+
77
+ ```ts
78
+ import * as Sentry from "@sentry/react";
79
+
80
+ Sentry.init({
81
+ dsn: import.meta.env.VITE_SENTRY_DSN,
82
+ environment: import.meta.env.MODE,
83
+ integrations: [Sentry.browserTracingIntegration()],
84
+ tracesSampleRate: 0.1, // tune per traffic; 1.0 in dev
85
+ });
86
+ ```
87
+
88
+ **Node / Express** — `instrument.ts`, required at the very top of the entrypoint
89
+ (`import "./instrument";` must be the first import):
90
+
91
+ ```ts
92
+ import * as Sentry from "@sentry/node";
93
+
94
+ Sentry.init({
95
+ dsn: process.env.SENTRY_DSN,
96
+ environment: process.env.NODE_ENV,
97
+ tracesSampleRate: 0.1,
98
+ });
99
+ ```
100
+
101
+ Then, after routes are defined: `Sentry.setupExpressErrorHandler(app);`
102
+
103
+ **NestJS** — import `./instrument` first in `main.ts`, then add Sentry's module:
104
+
105
+ ```ts
106
+ // main.ts — FIRST line
107
+ import "./instrument";
108
+ // ...
109
+ // app.module.ts
110
+ import { SentryModule } from "@sentry/nestjs/setup";
111
+ @Module({ imports: [SentryModule.forRoot()] })
112
+ export class AppModule {}
113
+ ```
114
+
115
+ **Next.js** — config lives in `sentry.client.config.ts`,
116
+ `sentry.server.config.ts`, `sentry.edge.config.ts`, and `next.config.js` is
117
+ wrapped with `withSentryConfig`. The wizard (Step 2) writes these; verify the DSN
118
+ is read from `process.env.NEXT_PUBLIC_SENTRY_DSN` / `process.env.SENTRY_DSN`.
119
+
120
+ **React Native / Expo** — wrap the root component:
121
+
122
+ ```ts
123
+ import * as Sentry from "@sentry/react-native";
124
+ Sentry.init({
125
+ dsn: process.env.EXPO_PUBLIC_SENTRY_DSN,
126
+ tracesSampleRate: 0.2,
127
+ });
128
+ export default Sentry.wrap(App);
129
+ ```
130
+
131
+ **Python (Django/Flask/FastAPI/generic)** — initialize at startup
132
+ (`settings.py`, app factory, or main module):
133
+
134
+ ```python
135
+ import os
136
+ import sentry_sdk
137
+
138
+ sentry_sdk.init(
139
+ dsn=os.environ["SENTRY_DSN"],
140
+ environment=os.environ.get("ENVIRONMENT", "production"),
141
+ traces_sample_rate=0.1,
142
+ send_default_pii=False,
143
+ )
144
+ ```
145
+
146
+ Framework-specific integrations (e.g. `DjangoIntegration`, `FastApiIntegration`)
147
+ are auto-enabled by the matching extra installed in Step 2.
148
+
149
+ ## Step 4 — DSN via environment
150
+
151
+ - Store the DSN in an environment variable, never in committed source.
152
+ - Add it to `.env.example` (with a placeholder) so the requirement is documented,
153
+ but keep the real value in `.env`/secrets and confirm `.env` is gitignored.
154
+ - Use the framework's public-env convention for client-side code:
155
+ `NEXT_PUBLIC_SENTRY_DSN` (Next.js), `VITE_SENTRY_DSN` (Vite),
156
+ `EXPO_PUBLIC_SENTRY_DSN` (Expo). Server-only code uses `SENTRY_DSN`.
157
+ - For source-map upload (Step 6) the build also needs `SENTRY_AUTH_TOKEN`,
158
+ `SENTRY_ORG`, and `SENTRY_PROJECT` — these are **build/CI** secrets, not
159
+ shipped to the client.
160
+
161
+ ## Step 5 — Error + performance monitoring
162
+
163
+ - **Errors**: unhandled exceptions/rejections are captured automatically once
164
+ `init` runs; add the framework error handler where required (Express:
165
+ `setupExpressErrorHandler`; React: an error boundary via
166
+ `Sentry.ErrorBoundary`; NestJS: `SentryModule`). Use
167
+ `Sentry.captureException(err)` for caught-but-notable errors.
168
+ - **Performance/tracing**: set a `tracesSampleRate` (start ~0.1 in production,
169
+ `1.0` in dev) and enable the framework tracing integration (browser tracing,
170
+ HTTP/DB auto-instrumentation on the server). Optionally add profiling on Node
171
+ via `@sentry/profiling-node` and `profilesSampleRate`.
172
+ - Set `environment` and (ideally) `release` so issues are grouped per deploy.
173
+
174
+ ## Step 6 — Source maps (readable stack traces)
175
+
176
+ Minified/transpiled traces are useless without source maps. Configure upload at
177
+ build time:
178
+
179
+ - **Next.js**: handled by `withSentryConfig` in `next.config.js` (the wizard sets
180
+ it up); ensure `SENTRY_AUTH_TOKEN`/`SENTRY_ORG`/`SENTRY_PROJECT` exist in CI.
181
+ - **Vite/Webpack/Rollup/esbuild**: add the Sentry bundler plugin
182
+ (`@sentry/vite-plugin`, `@sentry/webpack-plugin`, etc.) with `sourcemaps`
183
+ upload enabled and the same auth env vars.
184
+ - **Node**: build with source maps emitted and upload via
185
+ `sentry-cli sourcemaps upload` (or the bundler plugin) in the release step.
186
+ - **React Native**: source maps upload through the Sentry Metro/Gradle/Xcode
187
+ integration added by the SDK's setup.
188
+ - Tie uploads to a **release** identifier (commit SHA or version) and inject the
189
+ same release into `Sentry.init({ release })` so traces map to the right build.
190
+
191
+ ## Step 7 — Verify
192
+
193
+ - Build/typecheck to confirm the SDK wiring compiles:
194
+ `bun run build` / `bun run typecheck` (or the project's equivalents).
195
+ - Trigger a deliberate test error in a non-production environment and confirm it
196
+ appears in Sentry with a **readable** (source-mapped) stack trace.
197
+ - Confirm a transaction/trace shows up to validate performance monitoring.
198
+ - Remove the test error afterward.
199
+
200
+ ## Rules
201
+
202
+ - **Do not port or copy upstream plugin code** — reimplement from scratch.
203
+ - Never hard-code or commit a DSN or `SENTRY_AUTH_TOKEN`; route everything
204
+ through env/secrets and update `.env.example`.
205
+ - Match the project's package manager and module system; do not introduce a new
206
+ one to install Sentry.
207
+ - Initialize Sentry before any other application code runs.
208
+ - Tune sample rates for the environment — do not ship `tracesSampleRate: 1.0` to
209
+ high-traffic production by default.
210
+ - Verify with a real captured event and a source-mapped trace before declaring
211
+ setup complete.
@@ -0,0 +1,4 @@
1
+ display_name: "Parity Sentry SDK Setup"
2
+ short_description: "Install and configure the Sentry SDK for a project — detect the framework/runtime, add the correct @sentry/<framework> package, initialize…"
3
+ default_prompt:
4
+ - "Use $parity-sentry-sdk-setup: Install and configure the Sentry SDK for a project — detect the framework/runtime, add the correct @sentry/<framework> package, initialize…."
@@ -0,0 +1,135 @@
1
+ ---
2
+ name: parity-sentry-seer
3
+ description: "AI debugging — given an error message, stack trace, or failing test, analyze the signal, form ranked hypotheses, locate the root cause in the codebase with file:line evidence, and propose a minimal fix. Lisa-native reimplementation of Sentry's seer workflow, available across all agent runtimes. Use when handed an exception, crash, regression, or red test and asked to find and fix the cause."
4
+ allowed-tools: ["Read", "Grep", "Glob", "Bash", "Edit"]
5
+ synced-from: sentry@claude-plugins-official@1.0.0
6
+ ---
7
+
8
+ # Seer — AI Root-Cause Debugging
9
+
10
+ Take a failure signal (exception, stack trace, failing test, log excerpt, or a
11
+ Sentry issue) and drive it to a proven root cause and a proposed fix. This is the
12
+ Lisa-native reimplementation of the upstream `sentry@claude-plugins-official`
13
+ plugin's `seer` command, rebuilt from scratch so the AI-debugging workflow is
14
+ available to the Codex, agy, and Copilot runtimes (Cursor loads upstream
15
+ natively).
16
+
17
+ > The Sentry MCP itself (for pulling live issue data) is re-pointed per agent
18
+ > separately by the parity subsystem — this skill works **with or without** it.
19
+ > When the MCP is connected, use it to fetch issue details, breadcrumbs, and
20
+ > event context; when it is not, work from the error text the user pastes in.
21
+
22
+ ## Drift tracking
23
+
24
+ Pinned to `sentry@claude-plugins-official@1.0.0` via `synced-from`. SDK install
25
+ & configuration is a separate concern owned by `parity-sentry-sdk-setup`.
26
+
27
+ ## Inputs this handles
28
+
29
+ - A raw stack trace or exception message.
30
+ - A failing test (name + assertion output, or the command to reproduce it).
31
+ - A log excerpt or error ID from CloudWatch / project logging.
32
+ - A Sentry issue URL or ID (resolve via the Sentry MCP when available).
33
+
34
+ If the signal is too thin to act on (no message, no location, not reproducible),
35
+ ask for the one missing thing — the exact error text, the failing command, or a
36
+ repro step — before guessing.
37
+
38
+ ## Workflow
39
+
40
+ ### 1. Capture & normalize the signal
41
+
42
+ - Read the full error: type, message, and the **complete** stack trace.
43
+ - Identify the **deepest frame that belongs to this codebase** (ignore
44
+ node_modules / stdlib frames) — that file:line is your primary anchor.
45
+ - Note the runtime, environment, and any IDs (request id, user id, release).
46
+ - If a Sentry issue is referenced and the MCP is connected, fetch the event,
47
+ breadcrumbs, tags, and first/last-seen + frequency.
48
+
49
+ ### 2. Reproduce (or pin down why you cannot)
50
+
51
+ - For a failing test, run it in isolation and read the actual vs. expected:
52
+ ```bash
53
+ bun run test -- <test-file-or-pattern>
54
+ ```
55
+ - For a runtime error, find the smallest command/route/input that triggers it.
56
+ - A reliably reproduced failure is the strongest evidence; if it is flaky or
57
+ environment-only, say so explicitly and treat hypotheses as provisional.
58
+
59
+ ### 3. Form ranked hypotheses
60
+
61
+ List 2–4 candidate causes, **most likely first**, each with the reasoning that
62
+ makes it plausible and a concrete way to confirm or refute it. Common classes:
63
+
64
+ - Null/undefined or unexpected shape reaching the failing frame.
65
+ - Off-by-one / boundary / empty-collection edge case.
66
+ - Async race, unawaited promise, or ordering assumption.
67
+ - Contract drift — a caller and callee disagree after a recent change.
68
+ - Bad input validation / unhandled external response.
69
+ - Config/env divergence (works locally, fails in the target environment).
70
+
71
+ ### 4. Locate the root cause with evidence
72
+
73
+ Walk the code to confirm or kill each hypothesis, highest-ranked first:
74
+
75
+ - `Grep`/`Glob` for the failing symbol, message string, and the function in the
76
+ anchor frame; read the surrounding code, not just the one line.
77
+ - Trace the data **backward** from the failure point to where the bad value
78
+ originates — the crash site is usually a symptom, not the cause.
79
+ - Use `git log`/`git blame` on the anchor file to find a correlated recent change:
80
+ ```bash
81
+ git log -n 5 --oneline -- <path/to/anchor/file>
82
+ git blame -L <line>,<line> -- <path/to/anchor/file>
83
+ ```
84
+ - When a value is uncertain, add a **temporary** strategic log/assert to confirm
85
+ the actual value, run, observe, then remove it. State the observed value as
86
+ evidence. (For deeper investigations, the `debug-specialist` agent owns
87
+ log-placement and CloudWatch tracing.)
88
+
89
+ Stop when one hypothesis is **proven** — you can point to the exact line where
90
+ the wrong value/behavior originates and explain the mechanism.
91
+
92
+ ### 5. Propose the fix
93
+
94
+ - Describe the **minimal** change that addresses the root cause, not the symptom.
95
+ - Prefer fixing where the bad value originates over masking it at the crash site.
96
+ - Note any other call sites affected by the same root cause.
97
+ - Recommend a regression test that would have caught it (a failing test that the
98
+ fix turns green) — pair with `reproduce-bug` / `tdd-implementation` to land it
99
+ TDD-style, and `codify-verification` to lock it in.
100
+ - Do not silently broaden scope; if you spot adjacent issues, list them
101
+ separately as follow-ups.
102
+
103
+ ## Output
104
+
105
+ Report in this shape:
106
+
107
+ ```
108
+ ## Signal
109
+ <error type/message + anchor frame file:line + repro status>
110
+
111
+ ## Root cause
112
+ <the proven cause, in plain English, with the mechanism>
113
+
114
+ ## Evidence
115
+ - <file:line> — <what it shows>
116
+ - <observed value / test output / blame commit> — <why it confirms the cause>
117
+
118
+ ## Proposed fix
119
+ <minimal change, where, and why it addresses the cause not the symptom>
120
+
121
+ ## Regression test
122
+ <the test that should be added to prevent recurrence>
123
+
124
+ ## Follow-ups (if any)
125
+ <adjacent issues found but out of scope>
126
+ ```
127
+
128
+ ## Rules
129
+
130
+ - **Do not port or copy upstream plugin code.** This is a native reimplementation.
131
+ - Prove the cause before proposing a fix — no speculative "try changing this".
132
+ - Cite concrete `file:line` evidence for every claim.
133
+ - Remove any temporary debug logging you add before finishing.
134
+ - Fix the root cause, not the symptom; flag, don't smuggle in, scope creep.
135
+ - Never weaken a test to make it pass, and never use `--no-verify`.
@@ -0,0 +1,4 @@
1
+ display_name: "Parity Sentry Seer"
2
+ short_description: "AI debugging — given an error message, stack trace, or failing test, analyze the signal, form ranked hypotheses, locate the root cause in…"
3
+ default_prompt:
4
+ - "Use $parity-sentry-seer: AI debugging — given an error message, stack trace, or failing test, analyze the signal, form ranked hypotheses, locate the root cause in…."
@@ -0,0 +1,149 @@
1
+ ---
2
+ name: 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.
36
+
37
+ ## Where skills live
38
+
39
+ Lisa skills are **build output** for downstream projects. The source of truth is
40
+ `plugins/src/`, never the generated `plugins/lisa*` artifacts:
41
+
42
+ | Source directory | Builds artifact | Use for |
43
+ | --- | --- | --- |
44
+ | `plugins/src/base/` | `plugins/lisa` | Skills that ship to **every** stack |
45
+ | `plugins/src/<stack>/` | `plugins/lisa-<stack>` | Stack-specific (typescript, expo, nestjs, cdk, harper-fabric, rails) |
46
+
47
+ Lisa-repo-only skills (parity tooling, wiki ingestion, `lisa-*` meta-skills) live
48
+ at the **root** `.claude/skills/` and `.claude/commands/`, NOT under
49
+ `plugins/src` — they are not relevant to downstream projects. Decide placement
50
+ first:
51
+
52
+ - Ships to downstream projects → `plugins/src/base/skills/<name>/SKILL.md`
53
+ - Only meaningful inside the Lisa monorepo → `.claude/skills/<name>/SKILL.md`
54
+
55
+ ## Naming
56
+
57
+ - Use **hyphen-separated** names: `git-commit`, `tracker-write`,
58
+ `parity-sentry-seer`. No spaces, no camelCase, no underscores.
59
+ - The directory name, the frontmatter `name`, and the command filename must all
60
+ match exactly.
61
+ - Commands map to colon-separated UI names via directory nesting:
62
+ `commands/git/commit.md` → `/lisa:git:commit`; a flat
63
+ `commands/plan.md` → `/lisa:plan`.
64
+
65
+ ## SKILL.md frontmatter
66
+
67
+ Skills support **only** these frontmatter keys (they do **not** support
68
+ `argument-hint` or `$ARGUMENTS` substitution — those belong on the command):
69
+
70
+ ```yaml
71
+ ---
72
+ name: my-skill # required — matches the directory name
73
+ description: "One or two sentences." # required — when to use + what it does
74
+ allowed-tools: ["Read", "Edit", "Write", "Bash"] # optional — least privilege
75
+ synced-from: <plugin>@<marketplace>@<version> # ONLY for semver upstream reimplementations
76
+ ---
77
+ ```
78
+
79
+ - **`name`** — the hyphen identifier, byte-identical to the directory.
80
+ - **`description`** — write it so the model knows *when* to reach for the skill,
81
+ not just what it does. Lead with the trigger. This is the single most
82
+ important field for discoverability.
83
+ - **`allowed-tools`** — grant the minimum set. A read-only review skill needs no
84
+ `Write`/`Edit`. Omit the key entirely to inherit the caller's tools.
85
+ - **`synced-from`** — add **only** when the skill reimplements an upstream plugin
86
+ that publishes a real semver. Grammar: `name@marketplace@version`
87
+ (e.g. `sentry@claude-plugins-official@1.0.0`). Omit for upstreams with no
88
+ semver (note that in the body instead, as this skill does).
89
+
90
+ ## The command pass-through pattern
91
+
92
+ Every skill should have a thin command that is the user-facing entry point.
93
+ Commands support `description`, `argument-hint`, and `$ARGUMENTS`; they delegate
94
+ straight to the skill:
95
+
96
+ ```markdown
97
+ ---
98
+ description: "Same human-facing summary as the skill, phrased for the picker."
99
+ argument-hint: "<what the user should type after the command>"
100
+ ---
101
+
102
+ Use the /lisa:my-skill skill to <do the thing>. $ARGUMENTS
103
+ ```
104
+
105
+ The command carries the `argument-hint` and forwards `$ARGUMENTS`; the SKILL.md
106
+ carries the actual logic. Keep the two descriptions consistent.
107
+
108
+ ## Scaffolding walkthrough
109
+
110
+ 1. **Decide placement** — downstream (`plugins/src/base`) vs. Lisa-only
111
+ (`.claude`). For base, both a skill and a command directory entry are needed.
112
+ 2. **Pick the name** — hyphenated, unique. Check it does not collide:
113
+ `ls plugins/src/base/skills/` and `ls plugins/src/base/commands/`.
114
+ 3. **Create the skill** at
115
+ `plugins/src/base/skills/<name>/SKILL.md` with the frontmatter above and a
116
+ body that follows house style — see `plugins/src/base/skills/quality-review/SKILL.md`
117
+ for the canonical shape (title, "When to use", numbered checklist/steps,
118
+ explicit "Rules"/"Output" sections). Write real, actionable guidance, not
119
+ TODOs.
120
+ 4. **Create the command** at `plugins/src/base/commands/<name>.md` (or a nested
121
+ `commands/<namespace>/<name>.md` for a colon-namespaced command) using the
122
+ pass-through template.
123
+ 5. **Rebuild the artifacts** so the generated plugins match source:
124
+ ```bash
125
+ bun run build:plugins
126
+ ```
127
+ Then commit **both** `plugins/src/...` and the regenerated `plugins/lisa*`.
128
+ The `🧩 Plugins Sync` CI check (and `bun run check:plugins` locally) fails if
129
+ artifacts drift from source — never hand-edit `plugins/lisa*`.
130
+ 6. **Verify discoverability** — confirm the skill appears in the skill list and
131
+ the command resolves to `/lisa:<name>`.
132
+
133
+ ## Body house style
134
+
135
+ - Open with an `#` H1 title in Title Case.
136
+ - Add a `## When to use` section that names the triggers.
137
+ - Use numbered steps for procedures, checklists for review-style skills.
138
+ - End with an explicit `## Rules` (hard constraints) and/or `## Output` section.
139
+ - Write in plain, imperative English. Prefer concrete examples over abstraction.
140
+ - Reference sibling skills by their hyphen name (e.g. "delegate to `git-commit`").
141
+
142
+ ## Rules
143
+
144
+ - Never edit `plugins/lisa*` directly — edit `plugins/src/` and rebuild.
145
+ - Skill frontmatter must not contain `argument-hint` or `$ARGUMENTS`.
146
+ - The directory name, `name` field, and command filename must match exactly.
147
+ - Add `synced-from` **only** for semver-versioned upstream reimplementations.
148
+ - Do not include `/coding-philosophy` in task `skills` metadata — it auto-loads.
149
+ - One skill, one responsibility. If a skill grows two jobs, split it.
@@ -0,0 +1,4 @@
1
+ display_name: "Parity Skill Creator"
2
+ short_description: "Author a new Lisa skill end-to-end — scaffold the SKILL.md frontmatter (name/description/allowed-tools), write the pass-through command…"
3
+ default_prompt:
4
+ - "Use $parity-skill-creator: Author a new Lisa skill end-to-end — scaffold the SKILL.md frontmatter (name/description/allowed-tools), write the pass-through command…."
@@ -30,7 +30,7 @@ close-out** roles and moves work *unstuck* or *fully closed*:
30
30
  out) **and** the *intermediate-env* case (all children shipped to an env like `On Stg`, but the
31
31
  parent never advanced — including a parent left stranded in a status it should never carry).
32
32
  - **Stale-`ready` container** — a parent/container (open child work, or a childless
33
- Epic/Story/Spike) wrongly carrying the build-ready role. This is a leaf-only-invariant violation
33
+ **Epic**) wrongly carrying the build-ready role. This is a leaf-only-invariant violation
34
34
  the build-intake claim gate deliberately leaves for a human; repair-intake reconciles it by
35
35
  rolling the parent up from its children (with an audit note), so a container never sits in `ready`
36
36
  indefinitely.
@@ -364,7 +364,7 @@ native-open / active / unresolved:
364
364
 
365
365
  ### Build parent rollup reconciliation (intermediate-env or terminal close-out)
366
366
 
367
- For each parent/container item (Epic, Story, Spike, Project, or any item with child work),
367
+ For each parent/container item (an Epic, a Linear Project, or any item — of any type — with open child work),
368
368
  reconcile its lifecycle state with the roll-up of its children — **including the intermediate-env
369
369
  case**, not only fully-terminal close-out. This is the recovery-side complement to the forward
370
370
  rollup the `*-sync --rollup` skills perform; it catches a parent that was never rolled up (or was
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: tracker-build-intake
3
- description: "Vendor-neutral wrapper for the build-queue scanner. Reads `tracker` from .lisa.config.json (default: jira) and dispatches to lisa:jira-build-intake (JQL/project-key queue), lisa:github-build-intake (GitHub repo queue keyed off the `status:ready` label), or lisa:linear-build-intake (Linear team queue keyed off the `status:ready` label). Every vendor scanner processes at most one eligible item per cycle and enforces the claim-time arm of the `leaf-only-lifecycle` rule — dispatch leaf work units only; move or safe-block a container with open child work (or a childless Epic/Story/Spike) that carries a stale build-ready role according to the vendor's lifecycle semantics. Counterpart to lisa:intake's PRD-side dispatchers."
3
+ description: "Vendor-neutral wrapper for the build-queue scanner. Reads `tracker` from .lisa.config.json (default: jira) and dispatches to lisa:jira-build-intake (JQL/project-key queue), lisa:github-build-intake (GitHub repo queue keyed off the `status:ready` label), or lisa:linear-build-intake (Linear team queue keyed off the `status:ready` label). Every vendor scanner processes at most one eligible item per cycle and enforces the claim-time arm of the `leaf-only-lifecycle` rule — dispatch leaf work units only; move or safe-block a container with open child work (or a childless Epic) that carries a stale build-ready role according to the vendor's lifecycle semantics. Counterpart to lisa:intake's PRD-side dispatchers."
4
4
  allowed-tools: ["Skill", "Bash", "Read"]
5
5
  ---
6
6
 
@@ -26,8 +26,8 @@ The vendor scanners also own the terminal native-closure step from `leaf-only-li
26
26
 
27
27
  This shim is dispatch only — it does not reclassify or re-gate items — but the contract it forwards is part of the build-intake API, so it is documented here once and the three vendor scanners implement it identically. Per the vendor-neutral `leaf-only-lifecycle` rule, **build intake claims only independently implementable leaf work units**:
28
28
 
29
- - A **leaf work unit** (Bug, Task, Sub-task, Improvement with no open child work) is claimed and built.
30
- - A **container** — anything with open child work, or a childless Epic/Story/Spike — that still carries a stale build-ready role is **never dispatched**. The GitHub scanner moves it out of the pickup queue by replacing `status:ready` with `status:in-progress` and posting an idempotent lifecycle-repair comment; other vendor scanners skip or safe-block according to their native lifecycle semantics.
29
+ - A **leaf work unit** (Bug, Task, Sub-task, Improvement, or a childless Story/Spike — anything with no open child work except an Epic) is claimed and built.
30
+ - A **container** — anything with open child work, or a childless Epic — that still carries a stale build-ready role is **never dispatched**. The GitHub scanner moves it out of the pickup queue by replacing `status:ready` with `status:in-progress` and posting an idempotent lifecycle-repair comment; other vendor scanners skip or safe-block according to their native lifecycle semantics.
31
31
 
32
32
  This is the claim-time arm of the rule. Its siblings are the write-time labeling (`lisa:tracker-write` → the vendor `*-write-*` skills apply build-ready to leaves only) and the validate-time S15 gate (`lisa:tracker-validate` → the vendor `*-validate-*` skills FAIL a build-ready container). All three arms cite `leaf-only-lifecycle` so no vendor drifts. Each vendor scanner implements the gate against its own hierarchy:
33
33
 
@@ -59,6 +59,6 @@ Intermediate env states are not native closure. A vendor scanner that resolves `
59
59
 
60
60
  - Single cycle per invocation — the vendor skill processes at most one eligible `Ready` item and exits. Scheduler repetition works the rest of the queue.
61
61
  - The vendor skills run their own pre-flight checks (JIRA workflow transitions for the JIRA path; label namespace adoption for the GitHub and Linear paths) before processing items. Never bypass.
62
- - **Leaf-only dispatch, every vendor.** Per the `leaf-only-lifecycle` rule, each vendor scanner dispatches leaf work units only and moves or safe-blocks a container (open child work, or a childless Epic/Story/Spike) carrying a stale build-ready role according to its lifecycle semantics. This shim does not re-implement the gate — it relies on the vendor scanner's Phase 3a — but the contract is uniform across `jira`, `github`, and `linear` so behavior never drifts by tracker.
62
+ - **Leaf-only dispatch, every vendor.** Per the `leaf-only-lifecycle` rule, each vendor scanner dispatches leaf work units only and moves or safe-blocks a container (open child work, or a childless Epic) carrying a stale build-ready role according to its lifecycle semantics. This shim does not re-implement the gate — it relies on the vendor scanner's Phase 3a — but the contract is uniform across `jira`, `github`, and `linear` so behavior never drifts by tracker.
63
63
  - **Terminal native closure, every capable vendor.** Per the same rule, each vendor scanner finalizes native open/closed state only at the true terminal `done` value. This shim never performs native closure itself, but callers can rely on the dispatched vendor scanner to apply the contract.
64
64
  - Never run two intake cycles concurrently against overlapping queues — the scheduling layer is responsible for serialization.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Lisa-native code review of the current git diff — correctness bugs, security issues, and obvious defects, reported as severity-ranked findings with file:line references. Vendor-neutral cross-agent equivalent of the upstream code-review command."
3
+ argument-hint: "[optional: path or scope hint]"
4
+ ---
5
+
6
+ Use the /lisa:parity-code-review skill to review the current branch and working-tree diff for correctness bugs, security issues, and obvious defects, and report findings ranked by severity with file:line references. $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Behavior-preserving simplification of recently-changed code — dedup, reuse, readability, and dead-code removal, quality only (never a bug hunt). Vendor-neutral cross-agent equivalent of the upstream code-simplifier agent."
3
+ argument-hint: "[optional: path or scope hint]"
4
+ ---
5
+
6
+ Use the /lisa:parity-code-simplifier skill to simplify the recently-changed code — removing duplication and dead code, reusing existing utilities, and improving readability — without altering behavior, then verify tests still pass. $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Thorough PR-style review of the full diff — bugs, security, performance, and maintainability — with concrete fixes and a structured summary. An independent Lisa-native review (does NOT call CodeRabbit's service); vendor-neutral cross-agent equivalent of the upstream coderabbit plugin."
3
+ argument-hint: "[optional: PR number, path, or scope hint]"
4
+ ---
5
+
6
+ Use the /lisa:parity-coderabbit skill to run a thorough PR-style review of the full diff — flagging bugs, security, performance, and maintainability issues with concrete suggested fixes — and produce a structured summary with a verdict. $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "View, set, and verify the custom guard rules enforced by Lisa's safety-net PreToolUse Bash hook — the cross-agent equivalent of the upstream safety-net plugin's set/verify-custom-rules skills."
3
+ argument-hint: "[view | set <regex> | verify]"
4
+ ---
5
+
6
+ Use the /lisa:parity-safety-net-rules skill to view, set, or verify the project-local custom guard rules enforced by Lisa's safety-net Bash hook (`parity-safety-net.sh`). $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Install and configure the Sentry SDK for a project — detect the framework, add the right @sentry/<framework> package, init the client, wire the DSN via env, enable error + performance monitoring, and set up source maps. One consolidated skill covering react, nextjs, node, nestjs, python, react-native, and more."
3
+ argument-hint: "[framework override, e.g. nextjs | node | python] (auto-detected if omitted)"
4
+ ---
5
+
6
+ Use the /lisa:parity-sentry-sdk-setup skill to detect the framework and install + configure the correct Sentry SDK with error and performance monitoring and source maps. $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "AI debugging — given an error, stack trace, or failing test, analyze it, form ranked hypotheses, locate the root cause in the codebase with file:line evidence, and propose a minimal fix. Lisa-native reimplementation of Sentry's seer workflow."
3
+ argument-hint: "<error message | stack trace | failing test | Sentry issue URL>"
4
+ ---
5
+
6
+ Use the /lisa:parity-sentry-seer skill to root-cause the failure and propose an evidence-backed fix. $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Author a new Lisa skill end-to-end — scaffold the SKILL.md frontmatter, write the pass-through command, follow hyphen naming and placement under plugins/src, and rebuild plugins. Lisa-native equivalent of the upstream skill-creator plugin."
3
+ argument-hint: "<skill-name and a one-line description of what it should do>"
4
+ ---
5
+
6
+ Use the /lisa:parity-skill-creator skill to scaffold a new Lisa skill and its pass-through command, following frontmatter, naming, placement, and build conventions. $ARGUMENTS
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.127.0",
3
+ "version": "2.128.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"