/papi:papi-buildfrom papi
Manages build execution with branching, pre-build checks, and post-build audits. Handles task assignment reconciliation, PR preparation, and completion authority validation.
Ships in papi. 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.
For missing evidence on an existing shipped task, follow papi-plan's Already-shipped work with missing evidence route. Ordinary build completion is for actual implementation; evidence restoration preserves assignment and historical cycle and does not count a new build.
Read the task's complete scope, structured completionAction, dependencies and assignee before proposing a task set or starting work. When scope requires final decision resolution, read the actual decision and persist its structured link through board_edit before scheduling. For action: resolve, name the remaining decision action and its current authorized resolver using the canonical decision policy. Owner, per-type and group-quorum permissions must be revalidated at plan apply and task claim; unknown authority refuses final completion. Arbitrary notes, caller-reported retry guidance and a prepared proposal are not permission or human acceptance.
Keep proposal preparation in a separate action: prepare task and retain its completed output. Hand the final action: resolve task to an authorized resolver only after explicit assignment confirmation. Do not recommend rebuilding Done/In Review preparation. An optional manual approval blocks release only when a task has an explicit dependency or typed blocker.
Reconcile board assignment with branch/PR contents. Transferring tasks or creating a branch at an already merged commit cannot remove those tasks from the original PR's historical diff. Disclose already-merged scope, preserve recipient commits and approval attribution, and use a scoped corrective change when needed; never rewrite shared main or force-push a teammate's branch to claim separation.
Follow the owning repository's actual branch, qualification and release contract. Read its workflow before selecting checks; PAPI maintainer scripts are not requirements for customer projects. Finish authorized metadata before qualifying the final tree once, and rerun affected checks after substantive changes. Record the exact head and evidence. Never treat local-only commits as shipped.
Fetch remote main before branching. Preserve dirty work and isolate from that
fetched tip in a permitted task directory; never stash or discard someone else's
work automatically. All same-cycle, same-module tasks share
feat/cycle-N-<module> regardless of size, with one commit per task. Reuse the
dependency's branch when required. Never use light mode on a shared branch.
Follow the owning project's shared-session protocol at build completion and review: distinguish current-build corrections from separate findings, preserve learning references and dispositions, and inspect downstream prerequisites before claiming work is unblocked. Reuse the mutation response's session_id and enrich it through session_announce; inspect session_list before authorized coordination. Caller branch activity is advisory, never proof that the hosted server inspected Git.
Before build_execute on the first task of any multi-task cycle, read the cycle as a whole:
build_list to see every task assigned to the current cycle.feat/cycle-N-<module>) so they merge together.build_execute on the first task.This is a one-time check at the start of the cycle, not per-task. It catches scope conflicts, redundant work, and ordering hazards that an isolated handoff read can't see. Skip it for single-task cycles.
The hosted server cannot see your machine, so send these with the completing build_execute call (the start response lists them with your build window already filled in). Each one the dashboard otherwise shows as Not recorded:
model (your exact model id) and agent (your client's name). Both are required on every completion. If the runtime does not expose the exact model, send model_evidence: [] to record an explicit unknown. Never guess a model, and never infer one from the client name or a configured default.usage-reporter skill's script once, just before completing, for the window from the build start to now, and pass input_tokens, output_tokens and cache_read_tokens from its buildExecute field. If the skill is unavailable or prints notRecorded, pass nothing. Never estimate tokens.commit_sha, files_changed, acceptance_results (one entry per criterion with met and evidence) and handoff_accuracy.After every build_execute (complete), audit the branch before presenting for human review. This catches bugs and convention violations early.
git diff origin/main --name-only to find modified files. If no changes, report "No changes to audit" and skip.docs/ files describe behaviour that the change modified, flag as "Doc drift".review_submit records a human verdict, not the
builder's self-audit.orient runs a fast cheap-checks-only path by default. The deep sweep — orphaned branches, In Review tasks with no PR, stale In Progress branches, unrecorded commits, unregistered docs — is opt-in via deep_housekeeping: true.
When to run with deep_housekeeping: true:
release — catch board/branch drift.Don't run deep on every session start. It pollutes early context with cross-reference output that's noise 80% of the time. The default fast path tells you what cycle you're on, what's in flight, and what to do next; that's the daily-driver shape.
If the deep sweep surfaces something fixable (orphaned branches, missing PRs), fix it silently and report after — same autonomous-plumbing rule as before.
When the system compresses prior messages, immediately:
orient — single call for cycle stateMost tool errors are habit issues, not capability issues. Avoid them up front:
Read-ing a file you haven't already touched this session, check its size. For files over ~1000 lines, or known-large surfaces (generated SQL, lockfiles, HTML reports, large templates), use offset + limit from the start instead of hitting the token ceiling.Glob or list the parent directory first. Don't Read paths you haven't confirmed exist.board_view query="<text>" for tasks, doc_search for docs, ls .claude/hooks/ for hooks. Recommending duplicates of already-shipped work wastes a build slot.Complete through the existing MCP connection with accurate acceptance results,
commit SHA, changed files, handoff accuracy and surprises. Report an exact model
only when this call exposes it; otherwise send model_evidence: [] and preserve
unknown. Do not infer it from a client name, configured default or another turn.
Read the report and exact diff, exercise the changed production entry point, and attach actual review/test evidence. Use review subagents only when the host supports them and delegation is authorized or required by owning instructions. Builder self-audit is not independent review or a human verdict. Keep work In Review until accepted by the human. Verify current-head CI and unresolved reviews before an authorized merge, then confirm the remote merge commit.
Investigate failed or stalled work immediately, preserve progress and repair the smallest safe in-scope cause. Retries need evidence and a bound. Never silently stop, bypass access or weaken tests to hide a failure.
What SKILL.md sets; muted values are Claude Code's defaults
papi@buildwithclaude is listed by davepoon/buildwithclaude — review the source before installing
npx claudepluginhub davepoon/buildwithclaude --plugin papi14 skills in this plugin
/check-mcpDiagnose why PAPI tools are missing or failing. Use when the user says "check mcp", "is papi connected", "papi isn't working", "mcp status", or when PAPI tools are expected but do not appear in the available tools list./deployment-completeness-auditRead-only audit of changes that were built but not wired, deployed or exercised. Trace the target project's actual release path, runtime, migrations and adapters; report evidence and missing access honestly./designDesign and critique any visible UI, before and after building. Trigger on UI work: "improve the UI", "redesign", "polish", "make it look better", "visual upgrade", "design review", "design audit", "layout fix", "UX improvement", or any task whose deliverable is a page, screen, or component that renders. Shapes a direction, critiques the surface, builds, and verifies. Reads the project's own DESIGN.md and PRODUCT.md at run time. If you are about to write or edit anything that renders visible UI, use this skill first.
Other plugins' skills for the same job