Skip to content
Back to skills

References

ASecurity

Each block replaces the stub of the same id there, in a session bound to this provider. <!-- block: intro --> them to understand any of the engineering. The session's live ClosedLoop ticket was created when the session started and the workers kept it current; handoff checks it is complete rather than writing it. The session ends one of two ways. The person can ask for a pull request they take through review and merge themselves ("A requested pull request"): handoff opens it as its last step a...

  • 123 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 18, 2026
ai-agentsgonoderailsdockercode-reviewgitapibackend

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add closedloop-ai/claude-plugins --skill references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of References?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for References
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/closedloop-ai-references-claude-plugins/badge)](https://www.skillsdirectory.com/skills/closedloop-ai-references-claude-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Provider text for skills/handoff/SKILL.md

Each block replaces the stub of the same id there, in a session bound to this provider.

<!-- block: intro -->
them to understand any of the engineering. The session's live ClosedLoop
ticket was created when the session started and the workers kept it current;
handoff checks it is complete rather than writing it. The session ends one
of two ways. The person can ask for a pull
request they take through review and merge themselves ("A requested pull
request"): handoff opens it as its last step and the ticket stays with them.
Or they pass it to someone, and the ticket is assigned to whoever they name.
Usually that is design, who reviews the components in the branch's Vercel
Storybook and comments on the ticket on sign-off, then engineering, who
finishes the work through analysis, a pull request, and merge; sometimes it
goes straight to engineering. The ticket stays In Progress throughout. Never
say "handoff" to the person as if they know the word, and never offer to send
them the branch to merge.
<!-- end: intro -->

<!-- block: graph-and-ticket-briefs -->
worker brief says closedloop-graph is required
(`provider:closedloop-graph.md`): a worker that locates, changes or
reviews code ends with a Graph block listing its calls; otherwise dispatch the worker again saying so. On `unreachable` the step goes on; dispatch `vibe-setup-worker` to restore the connection before the next one. Every worker that edits the live ticket
follows `provider:ticket-template.md`. You and every worker leave
<!-- end: graph-and-ticket-briefs -->

<!-- block: control-row -->
| Running app checks with `pnpm control` | read-only `vibe-verify-worker` (control mode) |
| Desktop running app checks, before any launch | the same worker runs `pnpm -C apps/desktop build` first, then checks that `apps/desktop/dist` holds the documented Electron entry; if the build fails or that entry is missing, it aborts the Desktop check without any Electron or `control up desktop` launch and returns the limitation |
<!-- end: control-row -->

<!-- block: pick-session -->
words and ask which one they want to finish. Read its `liveTicket` and `localFixes`.

If the session has no `liveTicket` (it started before live tickets existed),
dispatch `vibe-ticket-worker` in create mode first; it records the slug on
the session. Existing tickets apply `../vibe/references/quality-loop.md`,
"Local plan", before final checks without pausing handoff. If it is `handed-off`, first dispatch `vibe-ticket-worker` in
plan mode with `mergeCheck: true` when its `livePlanStatus` is `APPROVED`, so
a merged pull request moves the PLN to `EXECUTED`. When its pull request is still open, read its threads first
(`vibe-environment-worker`, `reviewThreads: read`) on every look. Any
unresolved thread starts section 10, "Changes on the open pull request",
including one with a reply already posted. Otherwise tell the person it is
already finished and stop, unless they are asking for changes on the pull
request it opened: then follow section 10.
<!-- end: pick-session -->

<!-- block: background-lanes -->
reviews, the Storybook work and the ticket worker's and PLN work that does not
<!-- end: background-lanes -->

<!-- block: selected-tests -->
(`code_tests_for`, the repo's related-test command where the graph has none,
and e2e specs by reference), never a broad or full local suite. Backend changes add the two review passes, not a
<!-- end: selected-tests -->

<!-- block: feature-docs -->
records which existing product docs pages under `apps/web/content/docs/`
describe a feature this session changed, with the passage that no longer
matches, or that no page covers them, for the ticket's Feature docs line. It
<!-- end: feature-docs -->

<!-- block: alignment -->
Exclude exactly `.closedloop-ai/vibe-plans/` and historical `localFixes` from
<!-- end: alignment -->

<!-- block: alignment-2 -->
No criterion or PLN task that depends on external work is complete until the
<!-- end: alignment-2 -->

<!-- block: alignment-3 -->
Each such criterion goes on the Engineering checklist (`provider:ticket-template.md`,
"Criteria waiting on other work"), so the people who close the dependency
<!-- end: alignment-3 -->

<!-- block: extra-gates -->
`triage.extraGates` entry (`workflow-code-review`, `logical-qa`) as an
<!-- end: extra-gates -->

<!-- block: e2e-mutation-proof -->
An authenticated web E2E mutation proof without the staging test password can
run in a repository-owned credential-free Playwright project that collects the
spec with no live sign-in setup on the production host. Mutate only an isolated
exact-head checkout on the remote E2E slot, headless with retries off, then
restore its bytes and record the passing run. Never handle or bypass a credential.
<!-- end: e2e-mutation-proof -->

<!-- block: e2e-path -->
- Run them through the repo's containerized path (the `local-ci` skill's
  `zsh -lic 'e2e/run-containerized.sh ...'`) in the verify worker's checks mode, one stack per machine through `../vibe/scripts/e2e-lock.mjs` (the verify worker's
  "Existing checks"), never natively on the person's Mac. The lock gives
<!-- end: e2e-path -->

<!-- block: e2e-path-2 -->
- A missing Docker or Dagger is recorded as that exact limitation, never a
  pass.

No worker claims what CI runs or ran without first reading
`.github/pr-test-event-tiers.md` and citing the job's tier.
<!-- end: e2e-path-2 -->

<!-- block: join-lanes -->
Before `Final Alignment Status: Aligned`, before the PLN is left Approved and
<!-- end: join-lanes -->

<!-- block: qa-passes -->
For the screens the session touched, run the repository's own
read-only passes where its root `AGENTS.md` calls for them on this change:
visual QA (`/visual-qa` in Claude Code, `$visual-qa` in Codex) for a UI
change, against the session's acceptance criteria when the ticket or its PRD
has them and otherwise as the design pack's best-practice review
(`../vibe/references/quality-loop.md`, "Visual QA during the session",
"What it checks"); its rendered-control inventory flags anything with no
sourced requirement. Run logical QA (`/logical-qa`, `$logical-qa`) for a data or metric
surface, then product-contract QA (`/metal-andrew`, `$metal-andrew`) once that
evidence is visible. Each skill dispatches its own read-only agents.
Confirmed findings resume the SAME writer in fix mode for every touched surface, even when
they predate the branch, already exist on main or were called the component
owner's decision; approved copy is reused and unsourced wording is escalated. Then
steps 3 to 6 run again on the result, with visual QA as one pass scoped to
the changes since the last reviewed capture
(`../vibe/references/quality-loop-visual-qa.md`, "When to capture screenshots"). The handoff gate's `--visual-qa` check holds the
findings file to `finding-brief.mjs --require-disposition`. Their reports feed the Design Review evidence in step 8. Owned
prototype sessions keep their canonical single design review instead.
<!-- end: qa-passes -->

<!-- block: candidate-audits -->
verification, audit the uncommitted candidate:
`scripts/criteria-audit.mjs --ticket <body> --worktree "<wt>" --audit <audit> --matrix <matrix>`
(add `--member <slug>=<body>` for each of the session's `memberTickets`, the other tickets a fleet unit delivers in this PR; their rows are `<slug>:AC-n`, and run rulings-check and rollout-gate for each member too)
(a unit, meaning member tickets or a PRD, also passes `--prd <slug>=<PRD body>` and `--review <review.json>` for `scripts/unit-review.mjs`; `../fleet-orchestrator/references/ticket-units.md`, step 4, says what the review holds: a code review row and a visual QA capture per page and surface, from the visual QA pass below, and a `measured` row per list query. Send its `GAP <ticket> <criterion>` lines to the SAME writer, and to the person before anything is called ready)
(audit rows: `../vibe/references/spec-card.md`, "Audit rows";
`../vibe/scripts/spec-card.mjs audit-skeleton` prints them)
`node scripts/rulings-check.mjs --ticket <body> --record <QA record> --plan <each linked PLN's get-document JSON> --plan-body <its latest text>`
`node scripts/rollout-gate.mjs --worktree "<wt>" --ticket <body> --slug <ticket> --prd <PRD body> --prd-slug <PRD>`.
Record each rollout requirement as `Rollout: <id>:` with code or a ticket/PRD-specific
human ruling. The ticket carries every ruling and amended criterion; no plan
excludes scope without human authority. QA evidence names screen, host, state and
flag arm. Later changes use `scripts/qa-impact.mjs` with importers, FEATURE_MAP,
lane report and that evidence; `None` runs no local lane, screenshot, audit or
critic, otherwise only its scope. `pre-pr-lanes.mjs check --impact` enforces
selected lanes; CI remains per push. Re-audit only criteria on affected screens.
<!-- end: candidate-audits -->

<!-- block: next-owner -->
company default. If nobody was named, have the ticket worker check the
current session's prior decisions first. Only if the necessary choice remains
unresolved, ask one plain question in exactly these words:

```
Who should I pass it to? A name or email is fine.
```

Dispatch `vibe-ticket-worker` in lookup mode with the worktree and their
exact words. It reads every ClosedLoop user, matches the words through
`scripts/match-assignee.mjs`, changes nothing, and returns:

- `DONE` with one user's id, full name, and email. Keep the assignment progress
  internal and ask nothing more about it; report the next owner at completion.
- `NEEDS_PERSON` with several users. Ask
  `More than one person matches "<their words>". Which one?` and list each
  on its own line as `<full name> (<email>)`. Dispatch lookup mode again with
  the email of the one they pick.
- `NEEDS_PERSON` with no match. Say
  `I couldn't find anyone in ClosedLoop matching "<their words>".` and ask
  the question again.

Never pick the person yourself and never fall back to anyone by default: the
ticket goes only to the user the person named. Design reviewing first and
engineering finishing is the usual route, but the person decides.

Then dispatch `vibe-ticket-worker` in handoff mode with: the worktree, the live
ticket slug, the next owner (full name and email), whether the person asked
for a pull request, the inventory path, the
complete handoff record grant from the provider contract, including
`upload_attachment` for each decision table (a brief that omits that capability
is refused before launch), the
confirmed summary and the person's corrections, the footprint, check, and
review summaries, the Design blocks from build and handoff fixes, the required session decision table
at `.closedloop-ai/decision-tables/<session-slug>.md` with whole-table alignment,
row/test evidence and its Frozen Behavior row IDs, the writer's feature docs
record, the missing tests list, the inventory's `retiredTests` with each deleted
file or case, every `mainPreexistingFailures` entry from step 7 with its main
run's log, the running app verification's artifact paths
with what each proves and any surface it could not drive with its command and
reason, the detailed Design Review evidence packet/report paths,
including Production impact, Flag changes and gates, and researched Open
Questions per `provider:ticket-template.md`,
and every answer from the person so far with how it was handled. For a source
PRD, also pass every child classification and its current
ownership, status and activity. The ticket worker moves to In Review only
the children `scripts/live-ticket-check.mjs --child-evidence` passes and
lists the rest as uncovered. Never include a plan's body in
this dispatch: the plans under
`.closedloop-ai/vibe-plans/` reach ClosedLoop only as the session's PLN. It
refreshes the record sections (the Environment base commit from the current
inventory), re-derives every section an answer touches, fills the Handoff and
Grading sections, reconciles the backend sections, attaches the files,
verifies the source link (source PRODUCES ticket), the PLN, its link (ticket
PRODUCES PLN) and that the PLN matches the current local plans, repairs any
that is missing or stale, and leaves the PLN `APPROVED` before a pull request
opens, then runs
`scripts/live-ticket-check.mjs`, which refuses a session with local plans and
no `APPROVED` PLN recorded. It returns:

- `DONE` when the ticket is complete.
- `NEEDS_PERSON` for ticket wording or owner metadata: ask the person and
  refresh only that metadata. Missing behavior criteria should have failed
  candidate preflight; if discovered after publication, follow the new-commit
  source recovery below rather than treating it as an invariant-only block.
- `NEEDS_CHANGE` for private plan or ticket metadata that would publish a local
  path, username, secret or private input: correct that metadata. A source or
  criterion mismatch returns to the SAME writer: repeat steps 3 through 7 on
  the corrected source and have ROOT make a new commit; never amend a pushed
  commit. The pull request body says why local checks missed the correction;
  publish the repaired head, then retry ticket fill.

Repeat until it returns `DONE`. Never go on to step 9 while a behavior answer
has not been through the change worker, while its re-run checks, reviews,
or redeploy are unfinished, or, when passing it on, without a next owner the
lookup resolved to exactly one user.
<!-- end: next-owner -->

<!-- block: hand-over -->
When they chose passing it on, dispatch `vibe-ticket-worker` in assign mode with the worktree, the live
ticket slug, and the next owner's user id and email from step 8. It confirms
the ticket is still assigned to the session's operator, the person who ran it
(if engineering or design already took it, it returns `BLOCKED` and you stop:
that branch is theirs now), assigns it and its PLN to the next owner, and
leaves the ticket status In Progress.
<!-- end: hand-over -->

<!-- block: hand-over-2 -->
head. For an owner-assignment handoff without a PR, use
`node ../vibe/scripts/vibe-sessions.mjs touch --worktree "<wt>" --status handed-off`.
The PR worker never writes session state. Then stop local Storybook and Desktop with
`node ../vibe/scripts/vibe-sessions.mjs stop --worktree "<wt>"`, which signals
only a recorded process it proves is still the session's own.
Run `node ../vibe/scripts/e2e-lock.mjs cleanup-sweep sweep` from a retained checkout
after the stop; a live PR leaves its retirement record pending for a fleet
supervisor or the next vibe session-entry sweep. The sweep never removes the
executing checkout.
<!-- end: hand-over-2 -->

<!-- block: hand-over-3 -->
at"): the ticket link, the app link as
`<appUrl>/sign-in` (the app's root sends a signed-out visitor to account
creation), the Storybook link (the full Storybook UI per
`../vibe/references/environment.md`, "Storybook links"), the ticket's
"Keys to see this work", and what happens next. On a requested pull request: the pull request link, and that they take
it through review and merge from there; never the branch to merge. When
passing it on: the branch name, and that the next owner, by name, picks it up
from the ticket (usually design reviews the components in Storybook and
comments on the ticket on sign-off, then engineering finishes it). Say that the Storybook link opens only after
signing in to Vercel with a team account. If you open it and land on a
`vercel.com` sign-in or `sso-api` page, say exactly that rather than that
Storybook is broken, and do not try to get around it.
<!-- end: hand-over-3 -->

<!-- block: upload -->
`node ../vibe/scripts/commit-worktree.mjs --worktree "<wt>" --subject "<ticket>: <summary>" --body "<fixes>"`.
Its tree must match the accepted candidate.
Then follow [Main-sync before publication](../vibe/references/environment.md#main-sync-before-publication)
for handoff. `--prepare-main-sync` fetches fresh `origin/main`; when it stages a
merge newer than step 5's reviewed pin, the SAME writer resolves it uncommitted
and reruns affected review, verification, and all CI lanes. ROOT then records
that staged result as an ordinary merge commit through `commit-worktree.mjs`.
This is the one extra main-sync commit allowed after the reviewed feature commit;
it brings in main and is not iteration. Only the settled committed merge tree
reaches the same actor's one `main-sync-inputs` pass and real
`mainSyncValidation`. Its retained reports are never PASS, readiness is not test
authority, and `requiredE2eComplete` remains a separate final-coverage gate.
Every main sync is checked for capability removal, this one included. Use
`qa-impact.mjs`, dispatch `vibe-guardrails-reviewer` for its check 13 on that
merge, and rerun the inventory's `requiredChecks` on the merged tree before
accepting it; a source change returns to the uncommitted review loop.

A result listing `mainPreexistingFailures` still has `publicationReady: true`:
carry every entry to step 8's ticket worker as a Known main failure; never send
it to the writer as a fix, never stop and never ask the person about it
(["Failures already on main"](../vibe/references/quality-loop.md#failures-already-on-main)).
Dispatch `vibe-environment-worker` in redeploy mode with the accepted review,
verification and check evidence. It runs the normal pre-push hook, pushes that
exact commit, deploys it, and carries verified main-only failures to the ticket.
If the pre-push hook refuses after the single local commit, the SAME writer
fixes uncommitted source and reruns the affected review and verification. ROOT runs
`commit-worktree.mjs --worktree "<wt>" --amend` on that still-unpushed commit,
then reruns the normal pre-push checks; it never creates a second repair commit.
Once pushed, that commit is immutable in this flow. Any later required source fix
from CI, review, or ticket/source verification goes through the SAME writer and
all affected checks, then ROOT makes a new commit; never amend a pushed commit and
never force push. The pull request body records why the local pre-push evidence
missed the required correction.
Preserve canonical no-ops, `NEEDS_DESKTOP_STOP`, request-only flags/Desktop
rights, CI identity and no manual CI/review triggers.
`requiredE2eComplete: false` blocks assignment; Desktop comes back under
`e2eLeftForCi` instead and does not hold it. Record its `desktop-e2e/validated`
Engineering checklist entry. A Desktop lane under `e2eLeftForCi` is not such a gap.
No PR opens here.
<!-- end: upload -->

Files in this skill

  • agents/vibe-adversarial-reviewer.md877 B
  • agents/vibe-backend-worker.md1.7 KB
  • agents/vibe-change-worker.md5.7 KB
  • agents/vibe-consolidated-reviewer.md431 B
  • agents/vibe-environment-worker.md34.2 KB
  • agents/vibe-guardrails-reviewer.md1.9 KB
  • agents/vibe-handoff-summarizer.md1.2 KB
  • agents/vibe-primitive-worker.md1.4 KB
  • agents/vibe-prototype-worker.md967 B
  • agents/vibe-requirements-worker.md8.7 KB
  • agents/vibe-setup-worker.md6.9 KB
  • agents/vibe-storybook-decomposer.md2.6 KB
  • agents/vibe-ticket-worker.md33.9 KB
  • agents/vibe-verify-worker.md25 KB
  • closedloop-graph.md8.2 KB
  • fleet-skill.md6.6 KB
  • fleet/fleet-qa-gate.md787 B
  • fleet/setup.md1 KB
  • fleet/state.md400 B
  • fleet/templates.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.