agentleFS
Gaurav890Gaurav890/everything-agentic-engineering/.claude/skills/loop-engineering/SKILL.md

loop-engineering

Skill1 starsChanged 2 months agoMITView on GitHub

Execute a bounded autonomous engineering loop with explicit goal, context, allowed actions, acceptance criteria, retry budget, evidence, persistent state, and safe terminal states.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aegis-gateway, deploy-vercel-render 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.
  • vpeetla-aiSkill

    aegis-gateway

    Integrate AegisAI gateway before tool side effects (notify, publish, deploy). Use when adding Slack/Telegram/WhatsApp notify, content publish, or any irreversible external action in VAP, AegisLoop, or ai-content-factory.

    Also in 6 projects that use this

  • vpeetla-aiSkill

    deploy-vercel-render

    Deploy vpeetla-ai demos: Vercel static/Next.js frontends, Render FastAPI backends, env vars, free tier gotchas. Use when shipping demos, fixing deploy failures, or adding render.yaml / vercel.json.

    Also in 6 projects that use this

  • HermeticOrmusSkill

    langgraph-orchestration

    LangGraph stateful multi-agent graphs with categorical coordination patterns and cyclic workflows. Use when building stateful AI agent systems, implementing multi-agent orchestration with conditional routing, creating cyclic workflows with persistence, or designing graph-based AI pipelines with checkpointing and human-in-the-loop patterns.

    Also in 6 projects that use this

  • junimnjwSkill

    agentic-engineering

    Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing.

    Also in 7 projects that use this

  • +8 more from vpeetla-ai

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 2

    Distinctive

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

    Use this contract for every meaningful autonomous task.

    line 8
  2. Distinctive:

    write "done" without evidence.

    line 73

“Common” is measured: kept by at least 6 in 10 of the 27 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.

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

Loop engineering

Use this contract for every meaningful autonomous task.

Contract

loop:
  id: LOOP-XXX
  task_id: T-XXX

  goal: one bounded outcome

  requirements:
    - FR-XXX

  acceptance:
    - AC-XXX

  inputs:
    - exact relevant files only

  allowed_actions:
    - read
    - edit scoped files
    - run local tests

  forbidden_without_human_approval:
    - production deployment
    - destructive database migration
    - credential change
    - billing or DNS change
    - irreversible external action

  verify:
    - exact commands or observations

  budget:
    max_attempts: 3

  terminal_states:
    - DONE
    - BLOCKED
    - NEEDS_HUMAN
    - FAILED_SAFE

Runtime

  1. Goal — state the exact outcome.
  2. Context — read the smallest relevant durable state.
  3. Plan — choose the next falsifiable step.
  4. Act — make the smallest coherent change.
  5. Verify — collect real evidence.
  6. Diagnose — if failed, update hypothesis.
  7. Retry — only within budget and only with a changed hypothesis/new evidence.
  8. Record — update task and durable state.
  9. Decide — next task or terminal state.

Anti-patterns

Never:

  • loop forever,
  • retry identical commands without learning,
  • let the same agent self-certify purely by confidence,
  • hide failing tests,
  • broaden scope silently,
  • write "done" without evidence.

Completion evidence

Record:

  • command/test,
  • result,
  • affected acceptance criterion,
  • evidence file or output summary,
  • known limitations.

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.