challenge-implementation-2
Skill39 starsChanged 37 days agoMITView on GitHub
Round 2 of implementation-challenge.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- build-itSkill
- challenge-implementation-1Skill
- challenge-implementation-3Skill
- challenge-implementation-4Skill
- challenge-implementation-5Skill
- challenge-plan-1Skill
- challenge-plan-2Skill
- challenge-plan-3Skill
- challenge-plan-4Skill
- challenge-plan-5Skill
- construct-the-planSkill
- frame-itSkill
- handoffSkill
- quizSkill
- security-scanSkill
- soloSkill
- start-upSkill
- test-itSkill
- wrap-upSkill
- build-itSkill
- challenge-implementation-1Skill
- challenge-implementation-2Skill
- challenge-implementation-3Skill
- challenge-implementation-4Skill
- challenge-implementation-5Skill
- challenge-plan-1Skill
- challenge-plan-2Skill
- challenge-plan-3Skill
- challenge-plan-4Skill
- challenge-plan-5Skill
- construct-the-planSkill
- frame-itSkill
- handoffSkill
- quizSkill
- security-scanSkill
- soloSkill
- start-upSkill
- test-itSkill
- wrap-upSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
If no implementation was made in this conversation, decline with: "No implementation to challenge in this conversation.
- Distinctive: line 15
If round 2 already ran earlier in this conversation, treat this invocation as a second pass with a NEW angle.
- Distinctive: line 21
If a different angle is clearly more relevant, override the default and say why.
- Distinctive: line 32
Every edit round 1 made: does it hold under the inputs the ORIGINAL code handled?
- Distinctive: line 55
If M > 0 or unfixed bugs remain, list them with a one-line reason BEFORE declaring done.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Round 2 of implementation-challenge. Given how much this work matters, trace through the changes again from a different angle. Look for bugs or edge cases that weren't obvious in round 1. Fix what you find.
Guard: nothing to challenge
If no implementation was made in this conversation, decline with: "No implementation to challenge in this conversation. Make changes first, then run the challenge chain starting with round 1."
Guard: repeat invocation of round 2
If round 2 already ran earlier in this conversation, treat this invocation as a second pass with a NEW angle. Say it explicitly: "Round 2 invoked twice; treating as a new angle within round 2. Prior round 2 angle was X; this pass uses Y."
Default angle for this round
Default: check whether the earlier rounds' fixes broke anything new. The most reliable way to find round-2 bugs is to ask "did my own round-1 fixes introduce new ways to fail?" Re-read every modification made during round 1, not just the original implementation. A fix written under review pressure gets less scrutiny than the code it fixes, which is exactly why this round exists.
If a different angle is clearly more relevant, override the default and say why.
Inline at the top of your response
- Read back your prior turns. List every angle used so far (original implementation + round 1). Format:
Angles used: [round 0: X], [round 1: Y]. - Confirm the round-2 angle: either "using the default for this round: check whether the earlier rounds' fixes broke anything new" OR "overriding the default to [angle]: [reason]". The angle must be different from rounds 0 and 1.
Read every file changed during round 1 in full surrounding context, plus whatever files the round-2 angle newly requires. A file untouched since the last inspection does not need reprinting unless the conversation was compacted, the file changed since inspection, or this angle needs surrounding code no earlier round inspected. Any of those conditions forces a full read.
What to look for
- Every edit round 1 made: does it hold under the inputs the ORIGINAL code handled? Fixes narrow behavior more often than they widen it.
- A fix applied in one place that round 1's own reasoning said applies in two.
- New code paths the fixes introduced: error branches, fallbacks, early returns that nothing exercises.
- Interactions between two round-1 fixes that were each correct alone.
- Anything the round-1 report claimed as verified that a fix then invalidated.
Useful angles to rotate through
The canonical list lives in AGENTS.md § The challenge rounds: implementation / where data flows and what happens when something fails / how this code talks to its neighbours / how this code talks to outside services / config-file syntax and quoting pitfalls / what unusual or hostile inputs would break this? / what happens when shell scripts fail mid-pipeline? / will this code be discoverable when it feels unfamiliar? / is the sequence of steps right? / where else does the same root cause apply? / check whether the earlier rounds' fixes broke anything new / does this convention reach every place the mechanism reaches?
Auto-fix bugs found (when K > 0)
Same policy as round 1: fix now via a new commit on the feature branch (no pull request until wrap-up; in no-git mode fix in place and log it). Out-of-scope findings become observations, human-territory bugs defer with [NEEDS HUMAN-R2: <one-line ask>]. K counts high-confidence defects only. "Should I fix this?" is the anti-pattern; fix it and report the result.
Self-check before posting
Same checklist as round 1: line cap (20 source lines; 6-8 when clean), no sub-categorized headers, no count-justifying listings, no bare confidence declarations, no cross-round commentary or forward-looking framing, no jargon-stacked labels.
End your response with the structured report
Re-verified N claims, demoted M to uncertainty. Bugs found: K. Bugs fixed: K (or K minus the count deferred via [NEEDS HUMAN-R2] markers).
If M > 0 or unfixed bugs remain, list them with a one-line reason BEFORE declaring done.
No-rubber-stamp guard
Reaching "no bugs" without genuinely re-reading round 1's own edits is rubber-stamping. If the angle is genuinely exhausted, say so plainly and move on.
Rationale (recorded so future edits don't drift it)
In the project Foundry grew out of, this round once caught a bug that round 1's own fix had introduced (a boundary ambiguity created when the fix removed outer quote marks). Fixes are code too, written faster and reviewed less than anything else in the change; pointing a whole round at them pays for itself.
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.

