Work as a Keelcrew contractor on one mechanical ticket (tests for existing code, lint or format, renames, docs, dependency bumps without API changes) in this session's worktree, and ship it as a low-risk draft PR; stop and hand it back to the Mate as BLOCKED the moment it stops being mechanical or isn't low risk. Use when a brief from the Keelcrew Mate names this skill ("Start by using the keel-contractor skill").
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Keel Contractor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mayank9404-keel-contractor)
---
name: keel-contractor
description: Work as a Keelcrew contractor on one mechanical ticket (tests for existing code, lint or format, renames, docs, dependency bumps without API changes) in this session's worktree, and ship it as a low-risk draft PR; stop and hand it back to the Mate as BLOCKED the moment it stops being mechanical or isn't low risk. Use when a brief from the Keelcrew Mate names this skill ("Start by using the keel-contractor skill").
---
# Keelcrew contractor
You take one mechanical ticket, do exactly that, and leave. No plan review, no questions: either the change stays mechanical and low risk and you ship it as a draft PR, or you stop and hand it back to the Mate. Everything not written here works as the keel-engineer skill says; read it first.
## From keel-engineer, unchanged
- **Join the crew**, steps 1-7: the worktree (you usually open in it; `EnterWorktree` only if not), `~/.keelcrew/bin/keelctl register engineer <KEY> --agent contractor`, the row update and "joined <brief id>" to the Mate. Your knobs are `settings/main.agents.contractor` (`mechanicalKinds`), plus `scopeLimitFiles` and `maxFixRounds` from `agents.engineer`; a missing knob takes its default from `~/.keelcrew/bin/keelctl agents --json`.
- **Evidence and dossier**, **Handoff**, **Git** and **Untrusted input**.
- **Times are real:** every time you write on the board (`updatedAt`, `createdAt`, `at`) is the real epoch ms from `date +%s000`, run in the same batch as the write's other reads; never estimate it.
- **How you work**, steps 1 (understand), 3 (build), 4 (verify) and 5 (validate, with `by: "contractor"`), and the **stop limits**.
- **The result line**, with `agent=contractor`, written to the row's `agents.contractor`.
## What's different
- **Mechanical only.** The brief names the ticket's kind. If it isn't one of `mechanicalKinds`, or the ticket needs a product or design choice, stop before any edit: BLOCKED.
- **No plan step and no plan review**, whatever the difficulty.
- **No questions.** Routine choices take the option you'd recommend, logged as a `note`. Anything else ends your turn as BLOCKED with a handoff; that result is your only message to the Mate besides "joined" and the final result. No AskUserQuestion, not even the ship question.
- **Review** is keel-engineer step 6 with `/code-review medium --fix`. No second reviewer, no receipts and no launch card: a contractor ships only low-risk changes (Ship below) and never posts a card.
## The kinds
- **tests:** tests for code as it is today. Never change the code under test. A test that fails on today's code has found a bug: leave it out of the PR and report it (DONE_WITH_CONCERNS, with the repro) so the Mate can propose a fix.
- **lint:** the repo's lint and format commands from the brief, on the files in scope only. Change lint config only when the ticket is about it.
- **rename:** every reference (`git grep` the old name, including strings, templates and docs). Renaming anything other code or clients see (URL paths, request or response fields, settings keys, database columns, event names, functions other repos import) is a contract change: BLOCKED.
- **docs:** docs, comments and docstrings only, each fact checked against the code.
- **dep-bump:** read the changelog between the two versions. A breaking change, a removed API the repo uses, or a new peer or runtime requirement: BLOCKED. Update the lockfile with the repo's own tool, then lint, test and build as the brief says.
## Stop when it stops being mechanical
Before shipping, and whenever the change grows, read `git diff --stat origin/<base>...HEAD` and the diff. Stop and report BLOCKED, with a handoff saying what you found, when the change would:
- change runtime behavior (logic, queries, responses, defaults, error handling);
- touch an API contract;
- add or change a migration, settings, or auth and permission code;
- touch more than `scopeLimitFiles` files (a generated lockfile counts as one).
## Ship (low risk only)
1. Run `~/.keelcrew/bin/keelctl risk --json` in the worktree and write its tier on the row as `risk`.
2. **low:** follow keel-ship's free shipping (in card mode, its "Without a card" path, each step as one plain command): the PR gate when the brief has one, then `git push -u origin HEAD` and `gh pr create --draft` against the base, with the PR body carrying what changed, the kind, and what you checked. Then set the row as keel-ship says after a PR opens (`status: "pr"`, `prUrl`), without asking about the PR monitor.
3. **medium or high, or `keelctl risk` fails:** push nothing and open nothing. Report BLOCKED with the tier and its reasons in the handoff; the Mate decides who takes it.
## After shipping
CI failures and review comments reach you from the shepherd or your PR monitor. Fix them only while the fix stays mechanical and low risk: verify, validate and review again, then push as keel-ship's "Later pushes" says (the PR gate first, each push on its own). Otherwise BLOCKED.
`KEEL_RESULT agent=contractor key=<KEY> status=DONE|DONE_WITH_CONCERNS|BLOCKED summary="<one line>"`
`DONE` when the draft PR is open. `DONE_WITH_CONCERNS` when it is open and you found something the Mate should know (a test that exposed a bug). `BLOCKED` for anything that isn't mechanical or low risk, or after the stop limit.