You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/contributing-to-loopover/SKILL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,7 @@ Run the matching command(s) and **commit the regenerated file(s)** — CI fails
202
202
| A Cloudflare binding/var in `wrangler.jsonc`|`npm run cf-typegen`|`worker-configuration.d.ts`|
203
203
| Drizzle schema (`src/db/schema.ts`) |`npm run drizzle:generate`| the new `migrations/NNNN_*.sql`|
204
204
| Added a raw-SQL migration | (none — just author it) | next **contiguous**`migrations/NNNN_snake.sql`|
205
-
|`src/selfhost/**` (or a few other scanned files — see `scripts/gen-selfhost-env-reference.mjs`'s `DEFAULT_SOURCE_ROOTS`) adding/removing an `env.SOMETHING` read |`npm run selfhost:env-reference`|`apps/loopover-ui/src/lib/selfhost-env-reference.ts` — the doc cites the file only (not `file:line`, deliberately, so an unrelated line shift elsewhere in the file never makes this go stale) |
205
+
|`src/selfhost/**` (or a few other scanned files — see `scripts/gen-selfhost-env-reference.ts`'s `DEFAULT_SOURCE_ROOTS`) adding/removing an `env.SOMETHING` read |`npm run selfhost:env-reference`|`apps/loopover-ui/src/lib/selfhost-env-reference.ts` — the doc cites the file only (not `file:line`, deliberately, so an unrelated line shift elsewhere in the file never makes this go stale) |
206
206
| CLI command surface |`npm run command-reference`| the generated command-reference doc |
| miner → pack | tarball hygiene |`npm run test:miner-pack`| unexpected/forbidden file in the miner npm tarball |
43
+
44
+
`packages/loopover-{miner,mcp}` are `.ts`-only in git: editing their `bin`/`lib` source means editing `.ts`
45
+
and nothing else — the compiled `.js`/`.d.ts` these two `build` commands produce is gitignored, never
46
+
committed, and never something a PR needs to touch. Tests (in-process imports and the CLI-harness
47
+
subprocess spawns alike) run straight off the `.ts`; `build:mcp`/`build:miner` above exist only to
48
+
validate the real publishable artifact still compiles and packs cleanly.
49
+
43
50
| rees → test | review-enrichment-service's own suite |`npm run rees:test`| any failing test under `review-enrichment/`|
44
51
| ui → openapi drift | spec check |`npm run ui:openapi:check`| committed `openapi.json` is stale (run `npm run ui:openapi`) |
45
52
| ui → openapi settings-parity | schema/type structural diff |`npm run ui:openapi:settings-parity`|`RepositorySettingsSchema` (src/openapi/schemas.ts) is missing a field the `RepositorySettings` type has |
@@ -60,7 +67,7 @@ jobs run only if their path filter matched; on push to `main`, everything runs.
60
67
Every `vitest.config.ts` in the repo (root, `vitest.workers.config.ts`, and every workspace with its own
61
68
config) wires this as `globalSetup`, so it runs once before any test file regardless of how vitest was
62
69
invoked — including a direct `npx vitest run test/unit/<file>.test.ts`, which this doc's own §6 ("Iterate,
63
-
then verify") recommends for fast iteration. `scripts/check-node-version.mjs`'s `pretest*` hooks
70
+
then verify") recommends for fast iteration. `scripts/check-node-version.ts`'s `pretest*` hooks
0 commit comments