agentleFS
MicrosoftKnown publishermicrosoft/agentic-loops/skills/coding-loop/SKILL.md

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.

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
  1. Distinctive:

    Use this loop for all coding work in this repository, in all workstreams.

    line 8
  2. Distinctive:

    Do not use Dave in this loop.

    line 21
  3. Very specific:

    Always set model and reasoning_effort from the table when you start an agent.

    line 23
  4. Distinctive:

    If JARVIS and Anders agree, continue.

    line 29
  5. Distinctive:

    Start these two reviews in parallel:

    line 41
  6. Distinctive:

    Use this rule for a disagreement between team members and for each doubt that JARVIS has.

    line 59
  7. Distinctive:

    If JARVIS and Anders agree, continue without the human.

    line 63
  8. Distinctive:

    If they do not agree, stop that work and wait for the human.

    line 64

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

AgentModelReasoningJob
Andersgpt-6-astrahighDesigns new work. Reviews each PR and the overall design. Arbitrates doubts.
JARVISsession modeln/aChecks the design. Writes the code. Runs basic tests. Raises the PR.
Bhaskargpt-6.1-solhighReviews and validates each PR.
Kittugpt-6-lunahighMonitors 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

  1. Send the request to Anders. Anders writes the design.
  2. JARVIS checks the design against the code and the repository conventions.
  3. If JARVIS and Anders agree, continue. If they disagree, stop and ask the human.
  4. Product and architecture decisions go to the human (guardrail 6).

Existing work

  1. JARVIS writes the code. Obey the /yagni skill. Write the minimum code. Add no speculative code.
  2. JARVIS runs the basic checks: build, go vet, gofmt, and the unit tests of the changed packages.
  3. 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.
  4. Start these two reviews in parallel:
    • Bhaskar: PR review and validation (build, tests, lint, race tests).
    • Anders: PR review and overall design review.
  5. JARVIS fixes the findings. Send each disputed finding to Anders. If JARVIS and Anders still disagree, stop and ask the human.
  6. 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.

  1. Send the question to Anders (gpt-6-astra, high). Give the context, the options, the JARVIS choice and its reasons.
  2. If JARVIS and Anders agree, continue without the human.
  3. If they do not agree, stop that work and wait for the human. Continue only on work that does not depend on the answer.
  4. In both cases, record the discussion in the session table arbiter_calls: topic, positions, outcome.
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.