/agent-loop:code-standardsfrom agent-loop
Engineering standards every code-writing tick must follow so the loop produces GOOD code, not just working code. Invoked by build/maintenance ticks before and while editing code. Composes with (never overrides) the host project's CLAUDE.md / AGENTS.md.
Ships in agent-loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write code a senior engineer would approve — not just code that passes. Apply on every build/maintenance tick
that touches code. These are the floor; the host project's CLAUDE.md / AGENTS.md wins on any conflict.
State your assumptions. If the goal has multiple readings, pick the simplest that fits and say which — don't silently guess. If a simpler approach exists, take it. Surface real tradeoffs in the journal, up front.
Before writing code, walk this ladder and stop at the first rung that solves it:
No abstractions for single-use code, no "flexibility"/config nobody asked for, no boilerplate nobody requested.
Deletion over addition; boring over clever. Test: would a senior engineer call this overcomplicated? If yes, cut it.
Lazy, not negligent — simplicity NEVER cuts trust-boundary validation, data-loss handling, security, or
accessibility. When you take a deliberate shortcut, mark it inline: // shortcut: <why> — upgrade: <path>, so
the minimal choice stays visible and reversible, not hidden debt.
Touch only what the goal needs. Match the surrounding style even if you'd do it differently. Don't refactor what isn't broken or "improve" adjacent code/comments/formatting. Remove only the orphans YOUR change created; mention pre-existing dead code, don't delete it. Every changed line traces to the goal.
Turn the task into a checkable success criterion (a test, a passing command). Write/extend the test, make it
pass; the suite is green before AND after. This feeds the forced verify gate — you cannot mark work done
without a real check (backlog_done requires a passing verify block).
Prefer LSP (go-to-definition, find-references, types) over blind grep for navigation. After editing, verify
no type/build errors (tsc --noEmit / cargo check / the project's check) before claiming done.
Match the repo's existing commit style and conventions (message format, and whatever attribution/footer policy the repo already uses — follow the project, don't impose one).
If the host project has a CLAUDE.md / AGENTS.md, read and FOLLOW it — it takes precedence. This skill is the
baseline that travels with the framework (and applies on agents that don't read CLAUDE.md, like Codex).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andonmitev/agent-loop --plugin agent-loop11 skills in this plugin
/author-skillAI-first authoring of a NEW agent skill, autonomously (no human review). Used by self-evolve when a manual step recurs across loop cycles — writes a correctly-structured SKILL.md with frozen, checkable, AI-first instructions, places it in the skills dir, validates it, and wires it into the flow so the loop invokes it next time. Use when the loop identifies a proven recurring pattern worth turning into a reusable capability./debugging-and-error-recoveryGuides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing./