Expert-Coding-Harness: Skill for Cursor

.cursor/skills/subagent-driven-development/SKILL.md

subagent-driven-development is a skill for Cursor from ProgrammerAnthony/Expert-Coding-Harness. It costs 66 tokens per session (1,746 once invoked), scanned A, original, MIT.

A way to execute a written coding plan by giving each independent task to a fresh subagent, then reviewing the result for requirements and code quality.

In plain words
What is it for?
Use it when a plan is already written and tasks can be completed separately, with implementation followed by specification and quality reviews.
Why use it?
It keeps each task focused and adds checks before work moves on to the next task.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents; names the TodoWrite tool.

This is ProgrammerAnthony/Expert-Coding-Harness's own configuration. It tells Cursor how to work on Expert-Coding-Harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Expert-Coding-Harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ProgrammerAnthony/Expert-Coding-Harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ProgrammerAnthony/Expert-Coding-Harness/master/.cursor/skills/subagent-driven-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subagent-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/programmeranthony/expert-coding-harness/subagent-driven-development/github.svg)](https://agentmods.dev/skills/programmeranthony/expert-coding-harness/subagent-driven-development)
Your own site
<a href="https://agentmods.dev/skills/programmeranthony/expert-coding-harness/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/programmeranthony/expert-coding-harness/subagent-driven-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for subagent-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/programmeranthony/expert-coding-harness/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/programmeranthony/expert-coding-harness/subagent-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01746
Opus 5.5 $0.00026 $0.00698
Sonnet 5.5 $0.00013 $0.00349
Haiku 4.5 $0.00007 $0.00175

Measured 2mo ago against content hash 87f580960eed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

subagent-driven-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/subagent-driven-development/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

子代理驱动开发

按书面实施计划逐任务推进:每个任务派发新的实现子代理(隔离上下文),任务完成后依次做 规格符合性审查 → 代码质量审查(顺序不可颠倒)。主会话负责读计划一次、提取任务全文、协调与决策,不把整段对话历史灌给子代理。

开场声明:「我正在使用子代理驱动开发技能执行计划。」

与「同会话逐步执行」的区别: 本技能强调每任务新子代理 + 双审查;若用户选择在当前会话手写每一步、不用 Task 派子代理,可改按 references/inline-execution-hint.md 配合 tdd-master(TDD 开发大师) 与 code-review-expert(代码审查专家),不再套用下文的 Task 模板。


Inputs / Outputs / Gates / Handoffs(统一契约)

  • Inputs(最小输入):一份书面实施计划(必须包含任务全文:步骤、代码块、命令、预期输出);当前分支/工作目录信息。
  • Outputs(产物形态):按任务推进的执行记录(主会话 Todo 勾选)+ 每任务的 3 段产物:实现结果、规格符合性审查、代码质量审查。
  • Gates(继续前必须满足):
    • 不允许子代理自行打开计划文件代替你粘贴任务全文(除非平台强制且无法粘贴,并需说明风险)。
    • 审查顺序硬门控:先规格符合性审查 → 后代码质量审查。
    • 发现阻塞问题必须回到实现修复并复审,通过后才进入下一任务。
  • Handoffs(推荐下游):
    • code-review-expert(代码审查专家):整体收尾审查/质量门禁
    • debug-expert(调试专家):实现或测试失败时切换排查

适用条件

  • 已有实施计划(推荐由 writing-plans(实施计划编写) 产出),任务粒度小、相对独立。
  • 平台支持 Task / 子代理 等派发能力;若不支持,改用同会话执行提示文件。
flowchart TD
  A[有实施计划?] -->|否| Z[先完成方案设计与实施计划编写]
  A -->|是| B[任务可独立切片?]
  B -->|否| Y[收紧计划或改人工串行]
  B -->|是| C[本技能: 子代理逐任务]

总流程

  1. 读计划一次,提取全部任务标题与完整任务正文(含步骤、代码块、命令),不要让子代理自己去读计划文件。
  2. 用 TodoWrite(或等价方式)列出所有任务,随进度更新。
  3. 对每个任务循环:
    • 派发 实现子代理(references/implementer-prompt.md)
    • 根据返回状态处理(见下节「实现者状态」)
    • 通过后派发 规格符合性审查(references/spec-reviewer-prompt.md)
    • 规格 ✅ 后派发 代码质量审查(references/code-quality-reviewer-prompt.md,对齐 code-review-expert(代码审查专家) 的严重度与证据要求)
    • 两道审查均未决问题后,勾选任务完成
  4. 全部任务完成后:建议对整体变更再做一次 code-review-expert(代码审查专家) 级别的汇总审查(可再派子代理),并请用户确认合并/PR;若项目后续提供「分支收尾」类技能可再衔接。

实现者状态处理

实现子代理须返回以下之一:

状态 处理
DONE 进入规格符合性审查
DONE_WITH_CONCERNS 先阅读关切;涉及正确性/范围的先处理再审查;仅为观察性备注可记录后继续
NEEDS_CONTEXT 补充上下文后重新派发同一任务
BLOCKED 缺信息则补上下文;能力不足则换更强模型;任务过大则拆计划;计划错误则上升用户

禁止忽视 BLOCKED、禁止无变更重复派发同模型硬重试。


模型选用(节省成本)

  • 机械实现(1–2 文件、规格完整):较快、较省模型。
  • 多文件集成与判断:标准能力模型。
  • 架构与审查:在可用范围内选最强模型。

提示词模板(必读路径)

文件 用途
references/implementer-prompt.md 实现子代理
references/spec-reviewer-prompt.md 规格符合性审查(先)
references/code-quality-reviewer-prompt.md 代码质量审查(后)

Read the full file on GitHub · 132 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 132 lines · 66 tokens per session scan A 87f580960eed

Subscribe to this mod's changes

subagent-driven-development is a skill published in the GitHub repository ProgrammerAnthony/Expert-Coding-Harness (248 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 1,746 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens