/beislid:ready-for-reviewfrom beislid
Takes a branch through gates, review, and PR creation. Activates when user signals work is ready for PR review handoff. Reads workflow.md and probes capabilities lazily.
Ships in beislid. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Take a branch through gates, review, and PR creation. See worktree isolation. Existing PR updates: gates, push, report URL. Small new PRs use fast-path: preload aux, parallel-safe gates, combined review/final-check.
Don't use this for: mid-implementation commits, experimental branches without tickets, or work that isn't ready for review.
Project config: <repo>/.beislid/workflow.md. Use action-policy-protocol.md before side effects. Output follows output-templates.md and ready-for-review-templates.md.
Honor ../lifecycle-hooks.md before and after this phase.
Read <repo>/.beislid/workflow.md. If it doesn't exist, hard-fail and stop:
🛑 No
workflow.mdfound in.beislid/. If this is a fresh project, run/setupto create one. If you moved your config, restore it to<repo>/.beislid/workflow.md.
Validate line 1 is <!-- beislid-workflow: v1 -->. If missing or different, hard-fail and stop:
⚠️ This
workflow.mdis<found>but ready-for-review only knowsv1. Update Beislið (current version is X.Y) or downgradeworkflow.mdby hand to v1 syntax. Ready-for-review will not silently mis-parse.
Compute cache identifiers with the same recipes doctor uses:
repo_hash=$(git rev-list --max-parents=0 HEAD | sort | head -c 12)
workflow_hash=$(git hash-object .beislid/workflow.md)
Read ${BEISLID_STATE_DIR:-$HOME/.local/state/beislid}/probes/<repo_hash>.json if present. Missing means cold; workflow hash mismatch means stale (start with empty in-memory state); matching hash means fresh (load capability entries). Per-cap freshness uses probe_cache.ttl_hours, default 24.
After config/cache setup, init transcript. probe(nopal_seam); on ok, init the ledger with nopal ledger init --skill ready-for-review --json, else beislid run-ledger init --skill ready-for-review (nopal-seam-protocol.md). Record events, and if active checkpoint with the same seam's ledger checkpoint --run-id <run_id> --name <phase_name>. Ledger and workflow-signal calls are best-effort: warn and continue on missing CLI or failure; never replace approvals, transcript, or memory marker. Then load Phase 1 and print orientation after branch/base/fast-path are known.
Probe capabilities lazily on first use. The in-memory probe state is authoritative for the run; do not re-probe mid-run unless the user chose retry from a probe-failure prompt.
Algorithm:
<cap> exists in memory with status: ok and is within TTL, return ok.probe-semantics.md for the cap kind.ready-for-review-templates.md or the active phase aux file: retry re-probes now; proceed-this-session records session_skip: true and continues without it; abort stops immediately and suppresses cache write-back.session_skip.Rules: never silently downgrade a configured capability to unconfigured behavior; never re-probe outside explicit retry; preserve doctor_run_at because doctor owns it; last-writer-wins is acceptable for v0.2.
workflow-signal shorthand means beislid workflow-signal emit <state> --skill ready-for-review --phase <phase>.
.beislid/workflow.md is the only project config source.ticket_id = none); never infer issues from open issue lists.ask needs approval, deny stops.--head <branch>.Complete phases in order. At each entry, read the phase aux and follow it. Phase exits are progress reports; if a ledger is active, also checkpoint safe summary, artifacts, side effects, and resume_hint. If fast_path_eligible=true, preload Phase 2/3/4 aux before Phase 2. Do not execute from memory if aux read fails; stop:
🛑 Could not read
skills/ready-for-review/<phase-file>.md. Ready-for-review cannot safely execute this phase from memory; reinstall Beislið or restore the file.
Read action-policy-protocol.md before Phase 2 side effects. Verbose mode emits aux stamps/transcript boundaries and loaded/not-reached aux files.
Read and follow phase-1-detect.md.
Inputs: workflow config, branch name, probe cache state, current git state.
Required outputs:
ticket_id (from branch_pattern, explicit user prompt, or none)branch, base, existing_pr_fast_path, and pr_url when presenttranslation_sync and browser_compatfreshness (fresh, behind, or unknown), needs_merge, stale-check warnings/accepted riskfast_path_eligible plus reason when falseExit: print the Phase 1 exit one-liner from ready-for-review-templates.md. If existing_pr_fast_path=true, finish Phase 2 then push/report via the fast-path line and skip Phases 3 and 4.
Read and follow phase-2-gates.md.
Inputs: Phase 1 outputs, configured scopes/gates, trigger booleans, needs_merge, existing-PR fast-path state, and small-diff fast-path eligibility.
Required outputs:
Exit: print the Phase 2 exit one-liner. Existing-PR fast path: push, apply required AgenticReviewer opt-in label after policy, report URL, then run-end cache/memory.
Skip on existing-PR fast path. Otherwise read and follow phase-3-review.md.
Inputs: Phase 2 results, full diff against base, ticket/spec/design context, verification already run, and reviewer warnings.
Required outputs:
review pass, or fast-path combined review, completed; or cancelled/incomplete coverage explicitly accepted as reduced-coverage riskExit: print the Phase 3 exit one-liner from ready-for-review-templates.md.
Skip on existing-PR fast path. Otherwise read and follow phase-4-submit.md.
Inputs: Phase 3 result, review mode, proof status, ticket ID, base, branch, diff summary, reviewer warnings, and PR handoff/memory capabilities.
Required outputs:
ticket_id=none recorded as no issueExit: print the Phase 4 PR success and exit one-liners from ready-for-review-templates.md.
After Phase 4 or fast-path push/report, write in-memory probe state to <repo_hash>.json: update probed entries, exclude session_skip, preserve doctor_run_at, update workflow_hash, and keep TTL. If workflow.md changed mid-run, do not overwrite. If write fails, warn; the run still completed. On abort after Phase 2 or any side effect, skip cache write-back unless safe, but still print the structured brief with phase_path: aborted.
Default mode prints prose only. With BEISLID_VERBOSE=1, append structured stamps, persist a best-effort transcript, and print its path. See ready-for-review-templates.md for stamp/redaction/write-failure details.
BEISLID_MEMENTO_CAPTURE is independent from verbose mode. Before final output, write exactly one marker: kind: ready-for-review-session-memory-v1 with the brief, or memory brief unavailable:<reason>. Include PR/ticket, aux, transcript, gates, review, risks, side effects, host/duration, and summary.
Cross-host protocol changes should use tests/agent-smoke/ when practical.
gate-proof-protocol.md (opens in a new tab)phase-1-detect.md (opens in a new tab)phase-2-gates.md (opens in a new tab)phase-3-review.md (opens in a new tab)phase-4-submit.md (opens in a new tab)action-policy-protocol.md (opens in a new tab)artifact-templates.md (opens in a new tab)nopal-seam-protocol.md (opens in a new tab)output-templates.md (opens in a new tab)probe-semantics.md (opens in a new tab)ready-for-review-templates.md (opens in a new tab)workflow-md-format.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (sandsower/beislid) — no native marketplace selected
npx claudepluginhub p/sandsower-beislid-222 skills in this plugin
/babysitUse when the user asks to babysit a PR, run /babysit, keep a PR green, monitor review/CI until ready, or optionally close out a PR through configured merge/capture/retro/cleanup automation. Can run directly; host goal/persistence support is optional./blueprintTrigger immediately when the user says any of: 'design this', 'plan the implementation', 'plan this out', 'how should we build', 'implementation plan', 'before I write code', 'design the feature', 'figure out how to build'. Also use for implementation design once desired behavior is known: before creating features, building components, adding functionality, or modifying behavior. Do not skip this skill and start coding directly — if a trigger phrase appears, route here even if auto mode is active. Do not use for open-ended product brainstorming or vague requirements; use spec first. No code until design is approved./break-specBreak an approved spec/PRD or Work Contract into phased vertical slices. Use when the user says 'break this spec down', 'phase this', 'create a plan from this', 'decompose this feature', or when spec/kickoff classifies work as multi_slice/project slice planning./debugUse when encountering any bug, test failure, or unexpected behavior. Requires root cause investigation before proposing fixes. No guessing./doctorAudit Beislið workflow config and probe each capability. Use when the user says "doctor", "/doctor", "audit my config", "check my workflow", "probe everything", "what's set up", or after editing workflow.md. Reports gaps in conversational prose; does not modify config or skills. Pass `--refresh` to force re-probing even if the cache is fresh./envelopeAuthor, approve, and export execution envelopes for AFK slices in a standalone strong-model session. Use only when the user explicitly invokes /envelope with a ticket id, approved Work Contract/spec file, or batch. Other skills may recommend it but must never auto-route into it. Ends with an approved, validated, repo-committed bundle under .beislid/exports/ that an external runner executes later.Other plugins' skills for the same job