sp-revise
Skill2 starsChanged 3 months agoMITView on GitHub
Interactively run the sandbox-pal FIX phase — address open blocking review-ledger findings on an agent PR (the post-impl-retry prompt), or address human PR review feedback (the review prompt). Fallback/recovery path for headless dispatch.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- discord-bot/AGENTS.mdAGENTS.md
- prompts/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- slack-bot/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- discord-bot/CLAUDE.mdCLAUDE.md
- prompts/CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- slack-bot/CLAUDE.mdCLAUDE.md
- setupSkill
- sp-post-mergeSkill
- sp-reviseSkill
- sp-statusSkill
- sp-workSkill
- testSkill
- troubleshootSkill
- updateSkill
- sp-cleanupSkill
- sp-implementSkill
- sp-reviewSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
If .agent-data/review-ledger.json on the PR branch has findings with severity: "blocking", status: "open" → ledger mode …
- Distinctive: line 22
Check out the PR branch. Fetch the linked issue + plan comment as in sp-review.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sp-revise — interactive fix phase
Addresses findings on an agent PR in THIS session using the same prompt files the headless dispatch uses. Run in a FRESH session.
Steps
1. Resolve the sandbox-pal install
Same resolution as sp-implement: $SANDBOX_PAL_HOME/prompts/, ~/agent-infra/prompts/, ~/repos/sandbox-pal-action/prompts/.
2. Pick the mode
- If
.agent-data/review-ledger.jsonon the PR branch has findings withseverity: "blocking",status: "open"→ ledger mode (prompts/post-impl-retry.md). - Else if the PR has human review feedback (changes requested / review comments) → feedback mode (
prompts/review.md); set the linked issue's label toagent:revisionfirst.
3. Gather context and execute
Check out the PR branch. Fetch the linked issue + plan comment as in sp-review.
- Ledger mode: follow
prompts/post-impl-retry.mdwith$AGENT_REVIEW_LEDGER= ledger contents and$AGENT_REVIEW_CONCERNS= the open blocking findings as- F<id>: <description>bullets. Apply the dispositions you produce to the ledger file (set status/justification per finding), commit the ledger, run the project's tests, push. - Feedback mode: follow
prompts/review.mdwith$AGENT_REVIEWS/$AGENT_REVIEW_COMMENTS/$AGENT_PR_COMMENTS= the PR's reviews and comments; run tests; push; then restore the issue label toagent:pr-open.
4. Finish
- Ledger mode: tell the user to run
/sp-review <PR>again in a fresh session to verify (the loop's re-review), unless every finding was rejected-with-justification — those go to the human gate. - Report what changed, test evidence, and the ledger state.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

