Index of every page on this site: llms.txt
All skills
eagerworks avatar

/loop-engineering-audit

@4e2af20
by eagerworkseagerworks/skills16 stars
Run it yourself

Audits a repository for loop-engineering readiness — whether an AI coding agent can pick up a task, implement it, verify it with local checks, and hand off a PR in an unattended loop — and returns a graded report, the ordered list of work needed to get there, and an advisory map of which parts of the delivery workflow could be automated plus the specific agent loops this project could create and maintain, each with its risk level, its guardrails, and what to configure to run it. Use when asked "can agents work on this repo autonomously", "audit this project for Claude Code / Cursor / Codex", "what's missing for AI agents to work here", "what can we automate here", "which parts of our workflow could be automated", "which agent loops should we run on this repo", "recommend loops for this project", "can we run agents in parallel on this repo", "is this repo worktree-ready", "prepare this repo for loop engineering / agentic development", "is this codebase agent-ready", or to re-check a project after readiness work was done. The report is printed in chat and saved to docs/loop-engineering-audit.md in the audited project.

Use this Skill: https://skilld.dev/gh/eagerworks/skills/loop-engineering-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesagent-docs.md

≈834 tokens on demand. Your agent reads this file only when SKILL.md points to it.

What a Loop-Ready AGENTS.md / CLAUDE.md Contains

Dimension 1 grades the project's agent instructions file against this checklist. It's also the outline to recommend when the file is missing (assets/AGENTS.example.md is a fillable starter). AGENTS.md is the cross-tool name; CLAUDE.md is what Claude Code reads — either counts, and a one-line CLAUDE.md that says @AGENTS.md (or vice versa) is fine.

Required sections (checks 1.2–1.5)

  1. What this is — one paragraph: product, framework + version, language version, package manager, monorepo layout if any.
  2. Setup — the one command (bin/setup, make setup, pnpm install && pnpm db:prepare) and what it needs running first (Postgres via docker compose up -d db).
  3. Verify — the exact non-interactive commands, one per line, in the order an agent should run them, with expected runtime:
    - Lint: `bin/rubocop` (~30 s)
    - Typecheck: `pnpm typecheck` (~1 min)
    - Unit tests: `bin/rspec --tag ~type:system` (~2 min) · full: `bin/rspec` (~9 min, CI only)
    - Single spec: `bin/rspec spec/path/file_spec.rb:42`
    - Build: `pnpm build`
  4. Conventions — where new code goes (services in app/services, one class per file), test style (RSpec request specs over controller specs; Vitest with Testing Library), naming, error handling, how migrations are created, commit message format, branch naming and base branch.
  5. Never do this — the fence list: db:reset/db:drop, editing db/schema.rb by hand, touching vendor/ or generated dirs, deploy/publish commands, force-pushing, committing .env.
  6. Definition of done — what a PR must include: tests for new behaviour, docs updated, lint/typecheck/tests green, PR template filled.
  7. Worktrees / parallel sessions (graded by dimension 8, check 8.7) — how to create one, what to run in it, and the collision rules: where worktrees live, the per-worktree database/port convention, and the files most branches touch (a lockfile, db/schema.rb, a generated bundle) with how to resolve them.

Quality bar (checks 1.6–1.7)

  • Every command in the file exists and runs. Test it: extract the backticked commands and check each against bin/, package.json#scripts, Makefile, rake -T.
  • Runtimes are stated so an agent can pick a timeout.
  • It says which file is the source of truth when two disagree (e.g. CLAUDE.md defers to AGENTS.md).
  • Kept short — link to docs/ for depth rather than pasting it. A 400-line file gets skimmed; a 60-line file gets followed.
<!-- ✅ correct -->
- Unit tests: `CI=1 pnpm vitest run` (~90 s). Never run bare `pnpm vitest` — it starts watch mode.

<!-- ❌ wrong -->
- Run the tests before opening a PR.

Grading shortcuts

Situation Grade
No AGENTS.md, CLAUDE.md, .cursor/rules/, or copilot-instructions.md 🔴 1.1
File exists, no verification commands 🔴 1.3
Verification commands present, one doesn't exist on disk 🔴 1.6
Commands present and real, but interactive form given (vitest, jest --watch) 🟡 1.3
No conventions / no fence list 🟡 1.4 / 🟡 1.5
Only a .cursor/rules/ dir with stack notes 🟡 1.1 — exists, but tool-specific; recommend an AGENTS.md other tools also read

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill audits a repository for AI-agent readiness by reading project manifests and executing local verification commands like tests and linters. While it includes safety protocols like timeouts and non-interactive flags, it inherently executes code defined within the audited repository, creating a surface for indirect prompt injection or malicious command execution if the repository being audited is compromised.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 4e2af20. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 2 months ago
metadata
{
  "author": "eagerworks",
  "version": "1.1.0"
}

README badge

README badge for eagerworks/skills/loop-engineering-audit