implement
Skill8 starsChanged 9 months agoMITView on GitHub
RPI Implement Phase - Execute chunk-based todolists with atomic changes and continuous testing
191 other projects use a version of this.
Adopted by
Most recently taken up by
- geoffbremner/skillstheir own version, first seen Nov 15, 2026
- quickchatai/quickreviewtheir own version, first seen Nov 15, 2026
- HiteSit/real-scientist-skillstheir own version, first seen Nov 15, 2026
- felipeam86/pipe-skillstheir own version, first seen Nov 15, 2026
- alexj11324/Mikkatheir own version, first seen Nov 15, 2026
- QiYueran-source/waymarktheir own version, first seen Nov 15, 2026
Used with
Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 43 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 91 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 50 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 88 projects that use this
ryotaroh180105Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 42 projects that use this
GoogleSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 168 projects that use this
- +3 more from google
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- foambubble/foam★ 17ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- fallow-rs/fallow★ 5.3ksame name
- withcoral/coral★ 4.9ksame name
- bestofjs/bestofjs★ 3.1ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- context-optimizeSkill
- planSkill
- researchSkill
- validateSkill
- verify-docsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
When invoked, execute the approved implementation plan chunk by chunk:
- Very specific: line 21
If not found, run /context-eng:plan $ARGUMENTS first
- Distinctive: line 62
Verify plan status is APPROVED
- Distinctive: line 77
If pass: commit with message
- Distinctive: line 78
If fail: STOP, investigate, fix
- Distinctive: line 82
Update CHUNK-Rn in research to IMPLEMENTED
- Distinctive: line 83
Commit chunk documentation updates
- Distinctive: line 86
After every 3 chunks: reload plan
- Distinctive: line 87
If >35% utilization: save, compact, continue
- Distinctive: line 90
After all chunks complete
- Very specific: line 93
Check CODE_TO_WORKFLOW_MAP.md for affected workflows
- Distinctive: line 94
Update workflow files with new line numbers
- Distinctive: line 95
Update function signatures if changed
- Distinctive: line 98
Update chunk progress in plan
- Very specific: line 106
Run /context-eng:validate to verify
- Distinctive: line 149
Test results (per chunk): ~5k tokens
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context Engineering: Implement Phase (Enhanced)
When invoked, execute the approved implementation plan chunk by chunk:
Key Innovation: Inter-Phase Awareness
This implement phase KNOWS:
- RPI-Plan structured chunks for atomic implementation
- Each CHUNK-Pn contains a complete, ordered todolist
- Chunk dependencies dictate execution order
- Marking chunks complete updates both plan AND research documents
- Context reset is needed after every 3 chunks or 35% utilization
Prerequisites
- Approved plan at
.claude/plans/active/[feature]_plan.md - Plan contains chunk manifest with chunk-todolists
- If not found, run
/context-eng:plan $ARGUMENTSfirst
Golden Rules
ONE CHUNK → COMPLETE TODOLIST → MARK DONE → NEXT CHUNK
ONE TODO → ONE CHANGE → ONE TEST → ONE COMMITChunk-Based Implementation Loop
FOR each CHUNK-Pn in dependency_order:
IF dependencies_complete:
1. Load CHUNK-Pn todolist
FOR each TODO in todolist:
a. Make atomic change
b. Run todo-specific test
c. If PASS: commit, mark TODO ✅
d. If FAIL: STOP, investigate, fix
END TODO LOOP
2. Update chunk documentation
3. Mark CHUNK-Pn as IMPLEMENTED
4. Update research CHUNK-Rn to IMPLEMENTED
IF chunks_processed % 3 == 0 OR context > 35%:
Context reset (save progress, reload plan)
END IF
5. Proceed to next ready chunk
END IF
END CHUNK LOOPProcess
- Load Plan Document
- Read
.claude/plans/active/[feature]_plan.md - Extract chunk manifest and dependency graph
- Verify plan status is APPROVED
- Read
- Determine Execution Order
Based on chunk dependency graph:
- Independent chunks first (parallel capable)
- Dependent chunks in order
- Final chunks (e.g., test additions)
For Each Chunk (in dependency order):
a. Check dependencies complete
b. Execute each todo atomically:
- Make single change
- Run specified test
- If pass: commit with message
- If fail: STOP, investigate, fix
c. After all todos complete:
- Mark CHUNK-Pn as IMPLEMENTED
- Update CHUNK-Rn in research to IMPLEMENTED
- Commit chunk documentation updates
d. Context management:
- After every 3 chunks: reload plan
- If >35% utilization: save, compact, continue
- Run Full Test Suite After all chunks complete
- Documentation Updates (MANDATORY)
- Check
CODE_TO_WORKFLOW_MAP.mdfor affected workflows - Update workflow files with new line numbers
- Update function signatures if changed
- Check
- Context Reset (Every 3 Chunks)
- Update chunk progress in plan
- Re-read plan document
- Verify scope alignment
- Compact if >35% utilization
- Finalize
- Move plan to
.claude/plans/completed/ - Move research to
.claude/research/completed/ - Run
/context-eng:validateto verify
- Move plan to
Chunk Status Updates
Update Plan Document
| Chunk | Status | Todos Done | Commit | Research Updated |
|-------|--------|------------|--------|------------------|
| P1 | ✅ IMPLEMENTED | 4/4 | abc123 | ✅ R1 |
| P2 | ▶️ IMPLEMENTING | 2/5 | - | - |Update Research Document
Mark each CHUNK-Rn status:
- FOUND → COMPLETE → PLANNED → IMPLEMENTED
Error Handling
| Error Type | Response |
| Syntax Error | STOP. Fix immediately in same todo. |
| Import Error | Check file paths, verify imports. |
| Test Failure | Do NOT add more code. Investigate first. |
| 3+ Failures in chunk | Mark chunk BLOCKED, try next independent chunk. |
| 3+ Chunks blocked | STOP. Start new session. |
Commit Format
Per-todo:
feat(chunk-Pn): Todo N - description
Implements: [feature] chunk NPer-chunk completion:
feat(chunk-Pn): Complete chunk - [domain]
Completes: CHUNK-Pn, Updates: CHUNK-RnContext Budget
- Plan: 15k tokens
- Active code (per chunk): ~10k tokens
- Test results (per chunk): ~5k tokens
- Max active (3 chunks): ~45k tokens (22.5%)
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.

