/ship-with-astra:ship-with-astrafrom ship-with-astra
Orchestrates end-to-end change delivery: design, Astra consultation, build, PR, review, auto-fix, and auto-merge. Useful when Petr requests the full design-to-merge loop.
Ships in ship-with-astra. 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.
None: SKILL.md is the whole skill.
One loop, in this order. The user is a product manager: report outcomes in Czech,
no code in chat, PR states exactly as gh reports them.
brief1.md): context,
what exists, the incident or goal with measured facts, the proposed design as
numbered decisions, what is deliberately out of scope, and lettered questions.origin/main before Astra reads the repo, so it reviews current code.Use the second-opinion skill. Run from the repo root, in the background:
codex exec -m gpt-6-astra -c model_reasoning_effort="medium" -s read-only \
--skip-git-repo-check -o "$S/r1.md" "$(cat "$S/brief1.md")" < /dev/null
codex exec resume --last ...) only when a disagreement matters; stop after 2-3.$S/design.md: the numbered decisions plus a numbered
"Risks to handle" list with EVERY risk and edge case Astra raised, each with how
it is handled (which decision, which test) or why it is rejected. Nothing Astra
raised is dropped silently: a risk that reaches the builder only half is how bugs ship.agnes-builder in the Agnes repo,
otherwise general-purpose) with the full design.md, risk list included. Tell it explicitly:
Co-Authored-By trailer, no AI attribution anywhere.data/has_more/next_cursor envelope; Postgres-only
features raise RequiresPostgresBackend (typed 501); no comments in code AND in
YAML/config examples; server-only CLI reads registered in command-ux.md; MCP tool
titles start with an accepted verb (TITLE_OVERRIDES); CLI help summary one line,
80 chars, ends with a period; a suite-cost exception file for every new test file;
every tool argument visible on the approval card; read-only tools in
_READ_ONLY_FOUNDATION_MCP_TOOLS; pinned trusted scripts re-hashed when a served
static file changes; new Pydantic model names unique app-wide (a clash silently
splits OpenAPI schemas into -Input/-Output); OpenAPI snapshot and
web/src/api/schema.d.ts regenerated from THIS checkout (PYTHONPATH set to the
worktree when the venv is shared); migration ids fit varchar(32); data-migration PK
map, switch sweep and user-docs page count updated.A diff read and a generic review miss what the design promised but the code does
not do. Spawn a fresh reviewer that did not write the design
(agnes-reviewer-adversarial in the Agnes repo, otherwise general-purpose).
Give it design.md, Astra's design-review findings (r1.md, later rounds too)
and the branch. It returns a checklist:
In the Agnes repo also run /agnes-review (scope-gated rule, RBAC, parity and
architecture reviewers; read-only, nothing posted) on the branch in parallel with
steps 4 and 5. It judges by REVIEW.md and the repo rules, which is what Devin uses;
a design-focused review misses rule violations. Skipping it is how Devin ends up
returning findings after the PR opens.
Run it in parallel with step 4. Give Astra REVIEW.md as its rubric next to the
risk list. Pass the risk list, not a bare codex exec review
(which cannot take a prompt together with --base). Write $S/pr-review.md:
"Review git diff origin/main...HEAD for bugs. For each risk below, say whether the
diff handles it, with file:line; then list other defects, each with a concrete failing
input. Check especially: lock order across all operations on the same rows,
transaction boundaries, identity taken from arguments, switch-off and other-backend paths."
followed by the "Risks to handle" list from design.md.
codex exec -m gpt-6-astra -c model_reasoning_effort="medium" -s read-only \
--skip-git-repo-check --ephemeral -o "$S/review.md" "$(cat "$S/pr-review.md")" < /dev/null
git diff <last reviewed SHA>..HEAD) before the push:
fixes are where new concurrency and atomicity bugs come from. Fix what it finds.ccd_pr get_status (bind the PR if needed), then set_monitor
with auto-fix + address comments, and set_auto_merge.gh pr merge <N> --merge --auto.ccd_pr get_status or gh pr view --json autoMergeRequest). A merge-queue
ejection (e.g. merge_conflict) or a push silently drops auto-merge; re-arm it
immediately. Never report AUTO-MERGE ENABLED from memory, only from that read.
A PR left un-armed after a conflict fix sits outside the queue while other
migrations land, and every one of them costs another conflict and CI run.Czech, outcome first: the problem, the final design in a few bullets, what Astra changed, the PR link and its literal state (OPEN / CI RUNNING / AUTO-MERGE ENABLED / MERGED).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub padak/claude-code-kit --plugin ship-with-astraOther plugins' skills for the same job