Domain gotchas
Apply the per-repo domain trap that bites when working in a specific cinatra repo: design-repo asset/spec conformance (the spec wins; defer to the live design system, never fork it), reusable release CI already exists (reuse, don't reinvent), schema-migration fixture re-apply, Next.js dev cold-compile staleness during live verification, the browser-URL vs container-URL split, a CodeQL false-positive needs an explicit dismissal, the docs-repo convention, real-host CLI end-to-end testing (run the real command, not just unit asserts), the verify-don't-rebuild closeout pattern (the closeout tooling already exists — reuse it), the machine-arm merge-trailer format, the buffered agent-output-mtime trap, and the immutable-release tag-name reservation (deleting an immutable release permanently reserves its tag; GH013 with no visible ruleset). Activates for: 'design repo asset conformance', 'asset spec conformance', 'reusable release ci', 'schema migration fixture re-apply', 'codeql false positive dismissal', 'next cold compile staleness', 'browser url vs container url', 'docs repo convention', 'split a package', 'real host cli testing', 'verify don't rebuild closeout', 'machine arm merge trailer', 'agent output mtime', 'immutable release tag', 'gh013 tag creation'. Each is a non-obvious fact that has cost real rework; re-verify against current state since the repos drift.From its SKILL.md
npx -y skills add cinatra-ai/claude-plugin --skill domain-gotchasAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
11.6 KB, as published. Nobody here has run it
Workflow: domain-gotchas
Engine body for the
domain-gotchasskill. The heavy doctrine lives in the body; the thin skill launcher stays stable across content updates.
Evidence rule (what counts as proof): for anything verification-shaped below, drive the real surface (never a stub), only trust a CONCLUDED check, bind the verdict to the exact commit SHA, capture output rather than a piped exit code, and confirm the change actually landed.
Purpose
The per-repo domain traps that bite a developer working in specific cinatra repos — each a fact that is non-obvious and has cost real rework. Apply the relevant one when working in that repo's domain; verify each against current state at the time, since the underlying repos drift.
Design-repo asset / spec conformance — derive from the spec, do not fork
- The spec wins over the artifacts. Derive every asset decision from the design spec rules; when an artifact disagrees with the spec, the spec is authoritative. Keep the conformance check + its CI gate strong.
- Do NOT fork the canonical design/system contract. The design system already ships as its own live source (a design repo + an in-app design skill + a published designer guide). Forking the rulebook into this pack guarantees drift — defer to the live design-system source for the rulebook and record only the durable "defer-to-live-source, never fork" boundary. The composition split: the design source owns what semantic / which token; the UI layer owns how to compose / add.
Reusable release CI already EXISTS — do not reinvent
A reusable extension-release workflow + a build-image / create-release path already exist in the org. Before writing a new release rig, reuse the existing reusable workflow; assuming "there is no release CI" and rolling a new one is wasted work and drifts from the org pattern.
Docs-repo convention
The canonical docs repo is docs-only and publishes to the docs site through a
separate sync/deploy pipeline. Re-verify the live publish pipeline (its
include-list + the sidebar coupling) before shipping any path/command claim, since
it drifts. Keep the durable rules: relative-.md link form; one canonical
home per topic + cross-link; a section README.md is required; and the binding
terminology rulings ("open source" with no hyphen, "extension" not "package",
kind-at-END package names).
Package-split refactor discipline (a domain note)
When splitting a package: preserve behaviour; separate the generic from the
domain-specific; reuse existing SKILL.md-style assets rather than rewriting them;
declare which steps are deterministic vs LLM-driven; and prefer MCP-chaining over
direct imports.
Schema-migration fixtures must re-apply after a real ledger entry
A schema-migration fixture has to be RE-APPLIED after any real entry lands in the table it seeds — a real write can invalidate the seeded fixture state, reddening the build until the fixture is re-applied. When a migration touches a seeded table, re-apply its fixture as part of the change.
Next dev cold-compile staleness during live verification
A Next.js dev server compiles routes lazily (cold compile): the FIRST request to a route after a change can serve stale output until the route finishes compiling. During live verification, warm the route (or wait for the compile to settle) before trusting what the page shows — a cold-compile artifact is not the real behaviour.
The complementary trap is a STALE .next build cache: a warm-looking server can
serve PRE-CHANGE output from a cached build, so a "the change renders" check
documents the cache, not the code. Verifying that a change is implemented in code
means building fresh from the exact commit under test AND warming the route —
treat both cold-compile output and stale-cache output as non-evidence.
The browser-URL vs container-URL split
When the app runs in containers, the URL the BROWSER uses to reach a service is not the URL one CONTAINER uses to reach another. Server-to-server calls need the container-network address (with a host-gateway alias where a container must reach the host), while the browser needs the externally reachable address. Keep the two straight: read a base-URL env on the server side for server-to-server, and use the browser-reachable origin for the front end. Conflating them breaks integration runs in subtle, environment-only ways.
A CodeQL false-positive needs an explicit DISMISSAL to clear
Fixing a finding with a custom sanitizer barrier (a containment guard the taint tracker cannot model) does NOT clear the alert — the tracker re-flags the sink. To clear it you must DISMISS it as a false positive (with a concise justification within the comment cap) or it sits open silently. The dismissal is part of completing the fix; pair it with a converged review of the barrier before dismissing a higher- severity alert.
Real-host end-to-end testing catches what unit tests miss (CLI)
A passing unit suite is NOT proof a CLI command works. A command can green every unit assert and still fail the moment a user runs it for real — a broken entry-point, a missing runtime file, a wrong working-directory assumption, a packaging gap — none of which the units exercise. When you change a CLI, RUN the actual command end-to-end on a real host (the published/installed entry-point, in a clean environment such as a container), not just the unit tests. After a targeted fix, do a full all-commands sweep so a fix in one command did not break another. "Units pass" and "the command works" are different claims; only the real-host run proves the second.
Verify, don't rebuild — the closeout tooling already exists
When you reach a milestone closeout, the sweep tooling from prior closeouts is almost always ALREADY THERE — the dead-code/unused-dep scan, the previous-release upgrade-proof, the closeout test suite, the real-host CLI smoke. The closeout job is to VERIFY with those existing tools and fix what they find, NOT to rebuild the tooling from scratch. Before writing a new check, look for the one a previous closeout already shipped and run it; reinventing it is wasted work and drifts from the established sweep.
Deleting an immutable GitHub release permanently reserves its tag name
On a repo with immutable releases, deleting a release does NOT free its tag for
re-use: treat the name as permanently reserved platform-side (absent GitHub-side
remediation). Every later attempt to create
that exact tag fails with GH013: Cannot create ref due to creations being restricted for every actor — and NO ruleset explains it (REST and GraphQL show
nothing at repo or org level), while suffixed variants of the name still push
fine. Never delete an immutable release as a path to re-cutting the same
version: keep the existing tag or ship the next version. When a tag push hits
GH013 and no ruleset is visible, suspect this reservation (check the repo's
deleted releases) before hunting for phantom protection.
The machine-arm merge-trailer format
A non-high-risk agent merge self-verifies through a MACHINE ARM in the squash
body: a Gate-suite: <suite>@<version> line immediately followed by an
Accountable: <name> (@login) line, plus a truthful Assisted-by trailer. Key
shape rules:
- One
Assisted-byline names every agent + model that materially changed the diff. When a single agent did the change, that is a SINGLEAssisted-byline — do not pad it with extra agents who did not touch the diff. Use the BASE model id (no brackets/spaces — a bracketed context-window suffix breaks the gate grammar). A human-only change carriesAssisted-by: none. - Never a
Co-Authored-ByAI line or a "Generated with" badge — those imply authorship standing; the record is transparency, not co-authorship. - A public-repo commit/PR carries NO private reference — no private-engineering
issue number, no internal hostname, no secret name. The
Closes #Nline (when used) goes on its own line with a blank line BEFORE the trailer block, never inside it.
A high-risk change uses the human arm instead (a real maintainer Reviewed-by),
which is owner-routed — never fabricate any arm.
Agent output mtime is buffered — not a liveness signal
The file modification time of an agent's output is BUFFERED: it does not update in real time as the agent works, so a stale mtime does NOT mean the agent has stalled, and a fresh one does not prove current progress. Do not treat output-file mtime as a heartbeat or a liveness check. Judge an agent's state from its actual reported result / exit, not from when its output file last changed.
Steps (operational)
- Identify which repo's domain you are in and apply the matching gotcha above.
- Re-verify the underlying fact against current state (these repos drift) — for anything verification-shaped (release CI, CodeQL, a live page), apply the shared evidence recipe above for what counts as proof.
- Prefer the existing org pattern (reusable release CI, the live design-system source) over reinventing or forking.