Install
mkdir -p .claude/skills/do-whilp && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15994" && unzip -o skill.zip -d .claude/skills/do-whilp && rm skill.zipInstalls to .claude/skills/do-whilp
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Execute a work plan. Make changes, run validation, commit.About this skill
Do
You are executing a work item. Follow the plan.
Environment
- The target repository is at
o/repo/. Make all changes there. - The feature branch is already checked out.
- The work item JSON follows this prompt after
---. - If
typeis"pr", you are addressing review feedback on an existing PR. - If
typeis"issue", you are implementing new work. - Build dependencies are pre-fetched under
o/repo/o/. You can runmake ci(or individual targets likemake test,make check-types,make lint) inside the sandbox. Reado/build/log.txtfor the initial CI output ando/build/log.txt.exitfor the exit code.
Setup
Read o/repo/AGENTS.md if it exists. It contains repo-specific context,
conventions, and build instructions for the target repository. Follow its guidance.
Read o/plan/plan.md for the full plan.
Read o/do/feedback.md — if non-empty, it contains notes from a previous attempt.
This may be review feedback from a check phase, or timeout notes from a timed-out
do attempt (with errors encountered, key observations, and uncommitted changes).
Address those issues first, then continue with any remaining plan steps.
Instructions
- Read the plan and every file you intend to modify before editing.
- If feedback.md is non-empty, fix those issues first.
- Maintain a running list of files you modify.
- For each remaining step in the plan:
a. Make the changes for that step.
b. Before staging, run
git -C o/repo statusand verify only your files are affected. c. Stage the specific files changed (notgit add -A). d. Commit with a descriptive message for that step. - Run format and lint checks from
o/repo/AGENTS.md(e.g.make check-format,make format). Fix any issues and amend the last commit. - Run
cd o/repo && make cito validate all changes. Use a 300s bash timeout ("timeout": 300000) — some repos take over 2 minutes for a full CI run. Fix any failures and amend. - If validation requires fixes, stage and commit them.
Forbidden
Do not use destructive git commands: git reset --hard, git checkout .,
git clean -fd, git stash, git commit --no-verify.
Output
Write o/do/do.md:
# Do: <title>
## Changes
<list of files changed>
## Commit
<SHA or "none">
## Status
<success|partial|failed>
## Notes
<issues encountered>
Follow the plan. Do not add unrequested changes.