/claude-harness:lot-shipfrom claude-harness
Ships a lot: uniform Conventional Commits, the lot's row marked done, push, PR to develop via gh, and the merge once every check is green, then stop. Use at the end of a lot after lot-audit, or when the user mentions branch, commit, push, PR or delivery.
Ships in claude-harness. 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 lot, one PR, merged into develop once its CI is green, then stop.
lot-test → lot-review → lot-audit → [lot-ship]
The branch exists: feat/lot-N-slug from develop, as named in the
Lots file. Validation command and Lots file come from the
## Gate parameters of CLAUDE.md.
Conventional Commits, in English, imperative mood (GIT-2):
<type>(<scope>): <short description>
<type>: feat, fix, refactor, test, chore, docs<scope>: the lot number alone — (1), (11b), (12); omitted for a
cross-cutting chore: chore: ignore IntelliJ project files<description>: imperative, lowercase, no trailing period, at most 72 chars,
no em dash (U+2014)feat(12): split quote total into net, vat and gross
fix(12): map the business conflict to 409
test(12): cover status guards and vat computation
chore: bump the github actions to their pinned shas
docs: sync lots file status
| Forbidden | Correct |
|---|---|
Ajout du PDF de devis | feat(7): render the quote pdf |
feat: add stuff | feat(13): paginate the quote list |
feat(lot-12): … | feat(12): … |
| Several logical changes mixed | One commit per logical change |
The earlier steps left the tree green. Run the Validation command once on the
final tree, before the push: with the PR's CI, it is the proof of the whole lot
(GATE-1). Check the staged diff against GIT-3, and:
<Validation command> green once on the final treedocs/audits/lot-N-review.md and docs/audits/lot-N.md committed, the
audit free of unresolved Critical rowsdocs/audits/lot-0-integration.md committeddocs/audits/ report listed verbatim in the ## Project documents
census of CLAUDE.md (a directory row does not cover its files)<Validation command>
for f in $(git ls-files 'docs/audits/*.md'); do
grep -qF "$f" CLAUDE.md || echo "missing from the census: $f"
done
git diff --cached --stat
git commit -m "feat(N): <description>"
Set the lot's status to ✅ in the Lots file: its row of the status table, and
its section heading when the heading carries a status. The Current lot section
range starts at that heading, so its first line is the one to update (no range
printed: one search of ## LOT N); find the row with a single search of the
branch name. develop then carries ✅ exactly when the PR is merged. A status
row added to a green tree does not rerun the gate (GATE-2).
git add <Lots file>
git commit -m "docs(N): mark the lot done in the lots file"
git push -u origin feat/lot-N-<slug>
The git guard denies anything targeting main and lets every other push and
the PR to develop pass without a prompt.
gh pr create \
--base develop \
--head feat/lot-N-<slug> \
--title "feat(N): <short lot title>" \
--body "$(cat <<'EOF'
## Summary
- <what changed, one bullet per logical change>
## Test plan
- [ ] `<Validation command>` green
- [ ] manual verification: <command and result from the `feat(N)` commit, or why it could not run>
- [ ] lot-review executed, fixes applied
- [ ] lot-audit executed, findings fixed, no unresolved Critical
- [ ] No secret committed
EOF
)"
--base develop is mandatory; the guard denies gh pr create without it (GIT-1).
The body has ## Summary then ## Test plan, and a third section only when it
adds real information (## DB migration for a changeset) (GIT-6). The manual
verification line copies the command and result, or the reason it could not
run, from the body of the development's feat(N) commit (git log --format=%B
over the lot's range, not the commit of section 2); never run it again here. A
lot with no manual criterion drops the line.
gh pr checks --watch
A check red → report which one, fix it on the branch, run the Validation command once on the fixed tree (GATE-2), push again, watch again.
Every check green → merge, pinned to the commit that was checked:
gh pr merge <number> --merge --match-head-commit "$(git rev-parse HEAD)"
A merge commit, which lot-start maps to the lot. The git guard reads the PR
and denies the merge unless its base is develop, its head a feat/lot-*
branch and every check green (GIT-5, GIT-6). Never --delete-branch, never
--admin.
Once merged, remove the lot lock, so that the next lot, even on the same
branch, needs its own lot-start confirm N (LOT-1):
rm -f "$(git rev-parse --show-toplevel)/.claude/current-lot"
Under the autopilot, a headless session cannot remove a file under
.claude/ (Claude Code guards it and -p cannot ask): the autopilot removes
the lock itself once the pull request is MERGED.
Then report the PR URL and the merge, and stop (LOT-6). The develop →
main promotion is the user's.
main or develop; never push to main.<Validation command> green once on the final tree before the push (GATE-1);
never --no-verify.rtk proxy git log.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selimlbouraya/claude-harness --plugin claude-harness12 skills in this plugin
/bootstrap-projectGenerates a harnessed repository from templates/project: documents, gate parameters, plugin declaration, CI caller and dependabot, then verifies the result against harness-invariants. Use when starting a new project, or when bringing an existing repository under the harness for the first time./dep-updateChecks and updates a project's dependencies, applying patch and minor bumps and proposing majors, then validating the build before commit. Use when the user asks for a dependency update, wants to know what is outdated, or before writing a lot PR./harness-syncDetects and fixes drift between a repository's harness documentation and the reality of its code, settings and lots. Use after editing CLAUDE.md or a skill, when the stack, conventions or lot scope evolved, after a lot, or when the user asks to refresh, check or improve the harness.Other plugins' skills for the same job