Agentic engineering: eval-first, decomposed, cost-aware execution
Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing.
Upstream publishes this file as a Claude skill (SKILL.md). Cursor reads the same SKILL.md shape. This page does not claim either product ships the file.
What the research says
Evidence not reviewedNobody has reviewed the evidence for this skill yet.
Let your agent do it
Copy a prompt for Claude Code, Codex, or Cursor.
Paste it into your coding agent in this repo. It does the setup and asks before anything leaves your machine.
Runs the same job in your agent session, on the plan you are signed in with. No API key, no Action.
Install the "Agentic engineering: eval-first, decomposed, cost-aware execution" agent skill from AgentFlows (https://agentflows.sh/skills/affaan-m-agentic-engineering) and use it with the plan I'm signed in with. No API key needed. Install these agent skills first. Download each SKILL.md from its source (respect its license) into .claude/skills/<name>/SKILL.md, or wherever this agent loads skills from: - Agentic engineering: eval-first, decomposed, cost-aware execution: https://github.com/affaan-m/everything-claude-code/tree/main/skills/agentic-engineering (MIT), notes at https://agentflows.sh/skills/affaan-m-agentic-engineering Then confirm the skill loaded, tell me in two lines when it kicks in, and offer to run it now on this repo.
The file
SKILL.md
Copy the upstream file, including its own frontmatter, into .claude/skills/affaan-m-agentic-engineering/SKILL.md.
.claude/skills/affaan-m-agentic-engineering/SKILL.md
--- name: agentic-engineering description: Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end. metadata: origin: ECC --- # Agentic Engineering Use this skill for engineering workflows where AI agents perform most implementation work and humans enforce quality and risk controls. ## Operating Principles 1. Define completion criteria before execution. 2. Decompose work into agent-sized units. 3. Route model tiers by task complexity. 4. Measure with evals and regression checks. ## Eval-First Loop 1. Define capability eval and regression eval. 2. Run baseline and capture failure signatures. 3. Execute implementation. 4. Re-run evals and compare deltas. ## Task Decomposition Apply the 15-minute unit rule: - each unit should be independently verifiable - each unit should have a single dominant risk - each unit should expose a clear done condition ## Model Routing - Haiku: classification, boilerplate transforms, narrow edits - Sonnet: implementation and refactors - Opus: architecture, root-cause analysis, multi-file invariants ## Session Strategy - Continue session for closely-coupled units. - Start fresh session after major phase transitions. - Compact after milestone completion, not during active debugging. ## Review Focus for AI-Generated Code Prioritize: - invariants and edge cases - error boundaries - security and auth assumptions - hidden coupling and rollout risk Do not waste review cycles on style-only disagreements when automated format/lint already enforce style. ## Cost Discipline Track per task: - model - token estimate - retries - wall-clock time - success/failure Escalate model tier only when lower tier fails with a clear reasoning gap.