Agent skill

Autodev

by ZhangShenao in ZhangShenao/harness9

Feature auto-development — clarify requirements, generate spec, dispatch dev sub-agent to implement and merge into current branch

MITAuto-check: notesAgent Workflows

Install Autodev

skills CLI
$ npx skills add ZhangShenao/harness9 --skill autodev -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZhangShenao/harness9 autodev --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZhangShenao/harness9.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/autodev .claude/skills/autodev && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autodev
GitHub stars
141
Token cost
~606 tokens
SKILL.md length
145 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Feature auto-development — clarify requirements, generate spec, dispatch dev sub-agent to implement and merge into current branch

  • Works in 3 steps: 需求澄清 → Spec 生成与确认 → 前置检查 + 委派实现
  • Tasks that involve Subagents
  • SKILL.md covers Phase 1: 需求澄清, Phase 2: Spec 生成与确认 and Phase 3: 前置检查 + 委派实现
  • Calls git and go

What it does

Autodev is an agent skill from ZhangShenao/harness9. Feature auto-development — clarify requirements, generate spec, dispatch dev sub-agent to implement and merge into current branch

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Subagents, Requirements gathering and Git worktrees. It works with Git. The repository describes itself as: Local-First · 轻量级 · 功能完备 · 生产可用的通用 Agent 框架. The licence is MIT.

When your agent uses it

  • Tasks that involve Subagents
  • Tasks that involve Requirements gathering
  • Tasks that involve Git worktrees

Example prompts

  • “/autodev”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 需求澄清
  2. Spec 生成与确认
  3. 前置检查 + 委派实现

What it can do on your machine

Read from SKILL.md and the folder at commit f73d0f1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Autodev loads about 606 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 145 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~606

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:82
    # 若未设置或不含 golang,提示用户在 .env 中添加:

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZhangShenao/harness9 at commit f73d0f1, republished under its MIT licence (© ZhangShenao). 145 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/autodev/SKILL.md (or your agent's skills folder).
name
autodev
description
Feature auto-development — clarify requirements, generate spec, dispatch dev sub-agent to implement and merge into current branch
trigger
/autodev, autodev

/autodev — Feature Auto-Development Workflow

当用户输入 /autodev <功能描述> 时,你按以下三个阶段工作。


Phase 1: 需求澄清

首先用 read_file 读取 AGENTS.md,了解项目当前模块、架构和规范(重点:第 4 节项目结构、第 5 节开发流程)。

然后向用户提 2-3 个关键澄清问题,每次只问一个:

  1. 功能边界:明确实现什么、不实现什么
  2. 验收标准:什么样的测试证明功能完成(单元测试?eval 用例?)
  3. 影响范围:新增文件为主还是修改已有模块

2-3 轮澄清后直接进入 Phase 2,不要过度追问。


Phase 2: Spec 生成与确认

以如下格式生成并展示 spec:

## Feature Spec: <标题>

### 功能描述
<简洁描述该功能做什么>

### 实现范围
新增文件:
- internal/<pkg>/<file>.go
- internal/<pkg>/<file>_test.go

修改文件:
- cmd/harness9/main.go(如需注册新工具)

### 验收标准
- [ ] go build ./... 通过
- [ ] go test ./... 通过
- [ ] (如涉及 Agent 行为)internal/evals/dataset/ 新增 eval 用例

### 不在范围内
- <明确列出不做的事>

展示完成后,输出以下提示,不要调用任何工具,直接结束本轮回复(TUI 会自动等待用户输入):

请确认 spec(输入「确认」继续实现),或告知需要修改的地方。

如果用户要求修改,更新 spec 后重新展示,再次等待确认。 只有用户明确输入「确认」后才进入 Phase 3。


Phase 3: 前置检查 + 委派实现

3.1 前置检查

依次用 bash 执行以下检查,任一失败则停下来告知用户并等待修复:

bash
# 检查 Go 已安装(项目要求 1.25+)
go version
bash
# 检查 git 可用
git --version

如果 SANDBOX_ENABLED=true,还需检查 Go 镜像是否配置:

bash
echo "SANDBOX_IMAGE=${SANDBOX_IMAGE:-未设置}"
# 若未设置或不含 golang,提示用户在 .env 中添加:
# SANDBOX_IMAGE=golang:1.25-bookworm
3.2 创建 git worktree

从 spec 标题生成 slug(全小写,空格替换为 -,去掉非 ASCII 字母数字字符),然后执行: 示例:"Add WebSocket 支持" → "add-websocket-"(中文字符去掉)→ 可简化为 "add-websocket-support"

bash
git worktree add .autodev/<slug> -b feature/autodev-<slug>

用 bash 获取绝对路径:

bash
readlink -f .autodev/<slug>
3.3 委派 dev sub-agent

调用 task 工具委派 dev sub-agent:

task("dev", "以下是需要实现的 Feature Spec:\n\n<spec 全文>\n\n工作目录(git worktree 绝对路径):<worktreePath>")
3.4 处理结果

成功(sub-agent 返回 AUTODEV_RESULT: SUCCESS):

从 sub-agent 返回结果中提取 BRANCH: <branch-name>,然后执行合并:

bash
# 将 feature 分支合并到当前分支
git merge feature/autodev-<slug>

若合并成功:

  1. 展示:「✓ 已合并到当前分支:feature/autodev-<slug>」
  2. 清理 worktree:git worktree remove .autodev/<slug>

若合并产生冲突:

  1. 展示冲突文件列表
  2. 保留 worktree:「存在合并冲突,worktree 保留在 .autodev/<slug>,请手动解决冲突」
  3. 告知用户解决后执行:git worktree remove .autodev/<slug> --force

失败(sub-agent 报告无法通过测试):

  1. 展示错误摘要
  2. 保留 worktree 供排查:「worktree 保留在 .autodev/<slug>,可用 cd .autodev/<slug> 进入排查」
  3. 告知用户可手动删除:git worktree remove .autodev/<slug> --force

© ZhangShenao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/autodev of ZhangShenao/harness9.

Open the folder on GitHubat commit f73d0f1

Compare with similar skills

Autodev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Autodev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autodev this skillZhangShenao/harness9141—~606Automated safety check: NotesMIT
ClawTeam Multi-Agent Swarmwin4r/ClawTeam-OpenClaw1.5k1 repos~2.9kAutomated safety check: PassMIT
Agent Deckasheshgoplani/agent-deck1k—~1.7kAutomated safety check: PassMIT
Clawteamwin4r/ClawTeam-OpenClaw1.5k—~3.1kAutomated safety check: PassMIT
Puppetmaster Agent Orchestrationprofessorpalmer/Puppetmaster467—~3.2kAutomated safety check: PassMIT
Badstephenleo/bmad-autonomous-development107—~7.7kAutomated safety check: PassMIT

Similar skills

  • ClawTeam Multi-Agent Swarm

    win4r/ClawTeam-OpenClaw

    Launches a swarm of specialist Hermes agents in git-worktree-isolated tmux windows with a kanban board and file-based inboxes, using built-in templates like hedge-fund and code-review.

    1.5k GitHub starsUsed in 1 repo~2.9k tokens
    Agent WorkflowsAuto-check passed
  • Agent Deck

    asheshgoplani/agent-deck

    agent-deck, the terminal session manager for AI coding agents.

    1k GitHub stars~1.7k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Clawteam

    win4r/ClawTeam-OpenClaw

    Multi-agent swarm orchestration. An agent skill from win4r/ClawTeam-OpenClaw.

    1.5k GitHub stars~3.1k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Puppetmaster Agent Orchestration

    professorpalmer/Puppetmaster

    Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.

    467 GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Bad

    stephenleo/bmad-autonomous-development

    BMad Autonomous Development — orchestrates parallel story implementation pipelines.

    107 GitHub stars~7.7k tokensUpdated 5 mo ago
    Agent WorkflowsAuto-check passed
  • Vspawn

    vlinx-io/VelaTerm

    Explicitly spawn a standalone child session under the current vlx-term session, passing the task in as its first message (mirrors spawntask).

    270 GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from ZhangShenao/harness9

  • Architecture Overview

    ZhangShenao/harness9

    A skill your agent uses when asked about harness9 architecture, module design, or how components interact — explains the system design

    141 GitHub stars~717 tokensUpdated today
    Auto-check passed
  • Debugging Guide

    ZhangShenao/harness9

    A skill your agent uses when debugging Go errors, test failures, or unexpected behavior — step-by-step diagnosis approach

    141 GitHub stars~563 tokensUpdated today
    Auto-check passed
  • PR

    ZhangShenao/harness9

    A skill your agent uses when the user invokes /pr or asks to push changes and open a pull request, after commits are ready to be pushed to a remote branch and merged into the main branch.

    141 GitHub starsUsed in 1 repo~423 tokens
    Auto-check passed
  • Go Coding Standards

    ZhangShenao/harness9

    A skill your agent uses when writing or reviewing Go code — explains harness9 project coding conventions and patterns

    141 GitHub stars~719 tokensUpdated today
    Auto-check passed
  • Commit

    ZhangShenao/harness9

    A skill your agent uses when the user invokes /commit or asks to commit changes, after a code review has been completed and the changes are confirmed ready to stage and commit to git.

    141 GitHub stars~327 tokensUpdated today
    Auto-check: notes
  • Cr

    ZhangShenao/harness9

    A skill your agent uses when the user invokes /cr, requests a code review, or before committing to verify correctness, security, and quality of new or modified code in the working tree.

    141 GitHub stars~304 tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Autodev

What does Autodev do?

Feature auto-development — clarify requirements, generate spec, dispatch dev sub-agent to implement and merge into current branch. Autodev is an agent skill from ZhangShenao/harness9.

When should I use Autodev?

Autodev fits situations like: tasks that involve Subagents; tasks that involve Requirements gathering; tasks that involve Git worktrees.

How do I install Autodev in Claude Code?

Run `npx skills add ZhangShenao/harness9 --skill autodev -a claude-code`. Or copy the skill folder (skills/autodev in ZhangShenao/harness9) into .claude/skills/autodev in your project. Claude Code loads it when a task matches its description.

How do I install Autodev in Codex?

Run `npx skills add ZhangShenao/harness9 --skill autodev -a codex`. Or copy the skill folder (skills/autodev in ZhangShenao/harness9) into .agents/skills/autodev in your project. Codex loads it when a task matches its description.

Can I use Autodev in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZhangShenao/harness9 --skill autodev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autodev, .gemini/skills/autodev, .github/skills/autodev and .opencode/skills/autodev in your project.

What does Autodev need to run?

Going by SKILL.md and its folder, Autodev needs the command-line tools its instructions call (git and go).

Does Autodev access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Autodev safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Autodev use?

Autodev is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Autodev use?

About 606 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Autodev?

Skills that share tags, products or a category with Autodev: ClawTeam Multi-Agent Swarm (win4r/ClawTeam-OpenClaw, 1.5k stars), Agent Deck (asheshgoplani/agent-deck, 1k stars), Clawteam (win4r/ClawTeam-OpenClaw, 1.5k stars) and Puppetmaster Agent Orchestration (professorpalmer/Puppetmaster, 467 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autodev?

ZhangShenao (a GitHub user) maintains it in ZhangShenao/harness9, which has 141 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: ZhangShenao/harness9 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.