/shared:repo-readinessfrom shared
Orchestrates local, GitHub, and browser evidence into a readiness report for changes, branches, PRs, or workstreams. Answers whether a change is ready to review, merge, ship, pause, or hand off.
Ships in shared. 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.
Apply task scope and authorization when using this workflow; it defines how existing approval and task boundaries apply.
Use this skill to answer whether a change, branch, PR, or workstream is ready. It is an orchestrator: follow repo-specific instructions first, then call the relevant focused skills or tools instead of duplicating their details.
For done, handoff, exit, stop, wrap-up, or pause requests, establish gates
and evidence here, then use work-closeout for final hygiene, artifact cleanup
and durable parking. Its final answer must include Love Gate and Safe to exit; a readiness report alone does not finish these requests.
Return a truthful verdict—ready, not ready, partially ready, or blocked—with the required gates, passed/failed/pending/not-run evidence, blockers, and the smallest next action that would change the verdict. Readiness is complete only when the evidence covers the changed surface and any configured code, docs, inspection, browser, CI, deployment, or security gates.
Identify the repo, branch, active task, changed files, and whether a PR/issue is in play.
Check .github/github.json before inferring gates.
If it has a qualityGate block, use it for how to run lint/static
analysis, format checks, typechecks, builds, and IDE/static inspections.
For tests, distinguish qualityGate.test.local (focused local command) from
qualityGate.test.ci (full CI gate); use the legacy test.default and
repository requirements until both split keys are declared. Read the
test command contract
when selecting commands or adopting the split. Use
qualityGate.docsRequiredWhen for docs freshness triggers. If it has a
docs block, prefer docs.index and relevant docs.* paths as the docs
entry points. Fall back to repo instructions (AGENTS.md, README,
docs/policies/gates), CI files, and manifests for any unset metadata fields.
If a durable command is confidently inferred, cite the source and propose a
metadata addition rather than auto-writing it.
Inspect local state:
git status --short --branch
For code changes, delegate inspection execution and triage to
jetbrains-inspection and follow the authoritative section below. When
.github/github.json defines qualityGate.inspection, readiness must include
JetBrains evidence or an explicit not-run reason. For blank, missing,
contradictory, or surprising config, use a safe one-off changed_files
default only when the helper can infer the route, and ask the user before
changing repo policy.
Use the GitHub skill's Merging route when
landing readiness matters, including its direction and instruction precedence.
When that procedure selects the protected-branch route for a Director without
Launchplane, skip context, policy and train checks; assess the repository's
own protected-branch gates. Local not_configured alone cannot override a
Director-wide train requirement.
No Launchplane failure or setup action belongs in that readiness report.
Configured-but-unreadable enrollment remains unknown under that procedure.
If Launchplane is configured and the shared context helper is present, call it once as optional readiness context for the active repo/branch/PR:
uv run <skill-dir>/../launchplane/scripts/launchplane-context.py --repo OWNER/REPO
Use available context only as a hint for product mapping, preview readiness,
deploy evidence, or source-of-truth links. Treat no_context,
unavailable, unauthorized, invalid, or helper failure as normal absence and
continue with local/GitHub readiness checks. Do not print raw helper stderr or
copy helper payloads into readiness output.
For Launchplane product health or release-readiness claims, read the
product environment read contract
for evidence scope and qualification limits.
Apply Gate Selection for the required breadth at this stage, including the final-readiness defaults for lint/static analysis and IDE inspection. Run the required repo gates and the narrowest additional checks that cover the change and risk. Before saying code is ready, confirm current evidence covers the required scope. Broaden for missing coverage, changed behavior, failures, unresolved concerns, or an explicit repo requirement; do not rerun passing checks that cover the required scope for an unchanged revision and environment merely for closeout.
If GitHub state matters, use github for PR checks, Actions,
review status, labels, deploy health, and mergeability.
Use github-plan for planning issue indexes, Project state, blocker graphs,
and planning GraphQL operations. Use the GitHub skills' structured
command-policy metadata as the helper catalog; this skill decides what
evidence is needed, not which raw gh command to run.
If an open PR still needs repeated CI/review/mergeability polling after a
branch update, check rerun, rebase, review-fix push, or "safe to exit" check,
route that follow-through to babysit-pr; keep this skill focused on the
point-in-time readiness verdict and evidence.
For stacked PRs, include whether a rollup/integration PR would be safer or
faster than merging each layer and rerunning expensive checks repeatedly,
unless Launchplane policy, repository instructions or task context routes
landing through the merge train.
For Launchplane-managed trains, verify or route through launchplane instead
of recommending a hand-built GitHub rollup.
If UI was touched, check it in a real browser with the harness's own browser tools. First list the claims to verify, the controls and states that matter, and the viewport sizes. Interact like a user, check the state after each interaction, compare against any accepted design notes, and capture screenshots where they add evidence.
If security is in scope, use security-review explicitly; do not silently
turn normal readiness into a full security audit.
Report readiness concisely, then continue into work-closeout for the
requests identified above, using the handoff below.
In every repository that ships an installed or packaged app, make installed or packaged builds only from a clean, committed tree. If a messy tree mixes workstreams, split them into separate branches in new linked worktrees yourself as ordinary engineering, leaving the original checkout and active sessions' files in place. Follow repository cleanup and preservation. A scratch build from a messy tree happens only when the Director asks for one.
When work-closeout will run after this skill, make the readiness answer easy
to consume instead of asking closeout to rediscover gate state. Include these
fields in chat or the owning readiness record when durable state is needed.
Comments link that record under
Agent Comments
instead of repeating its fields:
.github/github.json, repo docs, CI,
and the changed surface..github/github.json or docs changed, were
checked, are stale, or were intentionally not updated.This handoff is evidence, not cleanup: do not delete artifacts, remove worktrees, close planning issues, or claim safe-to-exit from this skill alone.
Both this skill and work-closeout read .github/github.json with the same
schema expectations: qualityGate, docs, metadataFreshness, cleanup,
importantWorkflows, repo relationships, health signals, and ownership or
Launchplane routing when present. Readiness uses those fields to decide what
must be verified; closeout uses the same fields to decide what final evidence,
metadata updates, and cleanup remain.
Use ../references/talking-with-the-director.md for readiness reports and durable
readiness comments, including its Agent Comments shape. Link gate and review
records and write out only otherwise unrecorded gaps.
docs.index when repo
metadata provides it.test.local and test.ci, run focused local tests for touched behavior plus
required lint, type checks and IDE inspection. Full-suite, Ready and merge
evidence follow the test command contract.
Local success alone does not establish PR readiness. Otherwise retain repository
requirements, including legacy test.default, until adoption under the test
command contract above; metadata absence does not opt a repository in.Quality default: all code changes should trend toward zero known lint/static analysis and IDE inspection noise. Run narrow gates while iterating, but before declaring a code change ready, safe to merge, safe to ship, or ready to hand off, run broad practical static gates when tooling exists: normally whole-repo lint/static analysis and whole-project IDE inspection. Use downstream/related repo gates when contracts, shared packages, deployment behavior, or cross-repo ownership changes. This breadth applies to static analysis and inspection; test breadth follows the declared local/CI split, affected safety modules and repository requirements above. Under the split, do not rerun the full suite locally merely to declare readiness or close out.
If a broad gate is too slow, unavailable, blocked by IDE indexing/tooling,
likely destructive, or disproportionate for a docs-only change, report it as not
run with the reason. Slowness alone does not justify dropping IDE inspection:
record a slow or UNKNOWN run like any other tool failure and keep working.
Fix the plugin or skill at its cause once it has stopped work twice, or at once
when the next milestone depends on it. Ask before running gates that mutate
shared environments or external resources. If linting a file for the first time,
dry-run first when the environment supports it.
Apply the inspection skill's Result Policy to code-change readiness and report its evidence. Docs-only changes may state a not-run reason.
Existing lint/inspection noise is not an invisible background condition. Fix real findings the right way when straightforward or in the affected area. If findings are broad but real, call them out and decide whether to include a cleanup pass or track a focused cleanup item. For a false positive or a finding that cannot be fixed cleanly, follow the shared suppression and inspection configuration rule.
Reviewability is part of readiness. Unless a change is mostly mechanical, treat diffs over roughly 800 changed lines as a review-risk signal; for complex logic changes, prefer stages under roughly 500 changed lines. If a change is larger, explain whether it can be split into reviewable stages and identify the smallest coherent stage to land first, based on the actual diff, dependencies, and affected call sites.
When work changes docs routing, validation commands, lint/inspection routing,
required docs conditions, important workflows, health endpoints, repo
relationships, cleanup policy, or ownership boundaries, check whether
.github/github.json is stale.
Do not treat manifest-owned dependency or inventory changes as a reason to copy
those facts into workflow metadata; point to the canonical manifests or docs
instead.
Report metadata drift as a readiness warning or blocker only when it changes
what "ready" means for the current task.
For every non-trivial code change, perform a docs-impact check. If docs-required triggers match, inspect the relevant docs and update them when stale. If no docs update is needed, say why briefly in readiness output.
Delegate JetBrains/PyCharm/IntelliJ/WebStorm inspection execution and triage to
jetbrains-inspection and its Result Policy above. Follow the shared
suppression and inspection configuration rule.
If the repo inspection config is blank or feels wrong, ask the user when the
choice affects durable repo policy or readiness. Examples: configured IDE does
not match the repository's main language, configured scope is disproportionate to the change,
or configured paths point away from the active worktree. For a one-off local
check with no durable policy change, prefer the helper's safe inferred route and
changed_files scope, and report that assumption.
When tracked IDE configuration changes, apply
../references/ide-configuration-policy.md. An unresolved tracked IDE diff is
not clean: review its exact hunks, ignore rules, repository policy, and history,
then preserve the canonical shared form plus only safe hunks. Do not call the
work ready after a blanket commit, revert, clean, or stash, and do not include
ignored generated or unrelated local IDE state in the readiness change set.
Use a compact readiness report:
If there are no blockers, say so plainly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
Generated from the plugin's indexed repository (cbusillo/codex-skills) — no native marketplace selected
npx claudepluginhub p/cbusillo-shared27 skills in this plugin
/babysit-prBabysit a GitHub pull request by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks to monitor a PR, watch CI, handle review comments, keep an eye on failures/feedback, or when PR diagnosis, update/rebase/rerun work, safe-to-exit checks, or merge confirmation turns into ongoing CI/review/merge follow-through./directionUse when the Director starts a direction session, asks for a north star, dead reckoning, a daily or weekly direction check, a direction audit, or milestone proposals; when a repository's DIRECTION.md must be created or changed; or when an executing agent holds a reviewer finding that would change an agreed outcome, in either direction, and must escalate it instead of acting. The Director decides, the direction agent drafts and argues with evidence. Not for planning work inside a milestone (github-plan) or for running a reviewer (model-review)./docs-lookupUse when the answer depends on external docs, environment-specific operational context, or facts about the user's own setup, including devices, radios, networks, accounts, or what is installed where. Look up setup facts in the user's docs or reachable systems before asking the user. Includes discovering source-of-truth docs and access paths for private operations such as DNS or Cloudflare records, and finding where a credential, API token, or secret is stored, but not performing infrastructure actions or mutations./frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./githubComprehensive GitHub Expert persona for repository execution and hygiene: PRs, branches, Actions, reviews, merge/deploy state, issue comments, and safe cleanup. For durable planning, roadmaps, blockers, Projects, or workstream graphs, use github-plan./github-planUse when the user asks for a plan, what's next / what is next in a plan or workstream, how work fits the plan, plan direction/alignment, durable work tracking, roadmap, workstream planning, GitHub issue-backed planning, issue graphs, parent issues, sub-issues, blockers, milestones, Projects. Use declared repo docs before private operational lookup; use docs-lookup only for missing operational context. Think in chat first, then keep long-running work aligned over time by updating Current Status, blockers, relationships, and issue graph state as reality changes.