coding-loop
Skill9 starsChanged 50 days agoMITView on GitHub
The agent loop for all coding work in this repository. Anders designs, JARVIS checks the design and writes the code, Bhaskar and Anders review the PR, Kittu monitors. Do not use Dave.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- blindspotsSkill
- broSkill
- interview-feedbackSkill
- sync-repoSkill
- teamsSkill
- yagniSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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
- Distinctive: line 8
Use this loop for all coding work in this repository, in all workstreams.
- Distinctive: line 21
Do not use Dave in this loop.
- Very specific: line 23
Always set model and reasoning_effort from the table when you start an agent.
- Distinctive: line 29
If JARVIS and Anders agree, continue.
- Distinctive: line 41
Start these two reviews in parallel:
- Distinctive: line 59
Use this rule for a disagreement between team members and for each doubt that JARVIS has.
- Distinctive: line 63
If JARVIS and Anders agree, continue without the human.
- Distinctive: line 64
If they do not agree, stop that work and wait for the human.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Coding loop
Use this loop for all coding work in this repository, in all workstreams.
On Windows, prefer WSL when the project's toolchain is primarily Linux-based.
Roles
| Agent | Model | Reasoning | Job |
| Anders | gpt-6-astra | high | Designs new work. Reviews each PR and the overall design. Arbitrates doubts. |
| JARVIS | session model | n/a | Checks the design. Writes the code. Runs basic tests. Raises the PR. |
| Bhaskar | gpt-6.1-sol | high | Reviews and validates each PR. |
| Kittu | gpt-6-luna | high | Monitors CI, PR reviews and chat messages. Reports action items to JARVIS. |
Do not use Dave in this loop. JARVIS writes all code.
Always set model and reasoning_effort from the table when you start an agent.
New work
- Send the request to Anders. Anders writes the design.
- JARVIS checks the design against the code and the repository conventions.
- If JARVIS and Anders agree, continue. If they disagree, stop and ask the human.
- Product and architecture decisions go to the human (guardrail 6).
Existing work
- JARVIS writes the code. Obey the
/yagniskill. Write the minimum code. Add no speculative code. - JARVIS runs the basic checks: build,
go vet,gofmt, and the unit tests of the changed packages. - JARVIS commits and raises or updates the PR. Show the PR title and description to the human before you post them. Never force push. Set auto-complete on the PR. Use the merge strategy that the target branch policy allows and that the recent completed PRs use (for example, squash). Delete the source branch on completion. Set auto-complete only on a PR that targets trunk. Never set it on a stacked PR.
- Start these two reviews in parallel:
- Bhaskar: PR review and validation (build, tests, lint, race tests).
- Anders: PR review and overall design review.
- JARVIS fixes the findings. Send each disputed finding to Anders. If JARVIS and Anders still disagree, stop and ask the human.
- Go back to step 2 until both reviews pass.
Monitoring
Kittu runs in the background while a PR is open. Kittu:
- Monitors CI runs and gate builds.
- Monitors PR review comments and votes.
- Monitors the team chat for messages that need action.
- Reports each action item to JARVIS. Kittu does not edit files, commit or push.
Disagreements and doubts
Use this rule for a disagreement between team members and for each doubt that JARVIS has.
- Send the question to Anders (
gpt-6-astra, high). Give the context, the options, the JARVIS choice and its reasons. - If JARVIS and Anders agree, continue without the human.
- If they do not agree, stop that work and wait for the human. Continue only on work that does not depend on the answer.
- In both cases, record the discussion in the session table
arbiter_calls: topic, positions, outcome. - Give the human a summary of the discussion points: at the end of the work for agreed items, and immediately for items that wait for the human.
Limits
These rules do not override the guardrails. These items always need the human:
- Product or architecture decisions.
- Text that JARVIS posts in a PR, a work item or a chat.
- Deploys, release pipelines and force pushes.
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.

