Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

auto-dev自动开发

Agent Skill

auto-dev 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

489

周安装

21

GitHub Stars

公开资料未说明

下载量

171
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:auto-dev(自动开发)
来源仓库:https://github.com/grnfromdark/autodevskill
仓库路径:skills/auto-dev
安装命令:
npx skills add https://github.com/grnfromdark/autodevskill --skill auto-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/grnfromdark/autodevskill --skill auto-dev

简介

auto-dev 用于查找、检索和筛选相关信息。

  • 适用于根据关键词、任务场景或来源线索快速定位候选结果的场景。
  • 支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。

SKILL.md

Autodev Pipeline Generator

Overview

This skill generates a complete Autodev automated development pipeline from a structured todolist.md file. The output is a self-contained directory that runs autodev.sh to drive Claude Code through a gated, TDD-enforced, card-by-card development workflow — fully automated, no human in the loop.

Trigger phrases: "帮我生成 xxx 的 autodev 文件", "create autodev for", "generate autodev pipeline"

What is Autodev?

Autodev is a spec-anchored, gate-guarded, TDD-enforced automated development methodology. It:

  1. Splits a task list into sequential Task Cards (one AI session per card)
  2. Enforces TDD 5-step closure per card (RED → GREEN → SPEC → LINT → GATE)
  3. Runs automated gate checks between phases
  4. Auto-repairs test failures (up to 10 retries per card)
  5. Tracks progress in a state file for resumable execution
  6. Independent acceptance verification per card (separate AI verifies ACs)
  7. AI mutual review for high-risk decisions (SPEC-DECISION / AI-REVIEW / AI-GATE 三级)
  8. Decision audit trail (decisions.jsonl) for cross-card traceability
  9. Pipeline completion summary — auto-generates structured report: what was implemented, files changed, decisions made, test results
  10. Bug Hunt phase — multi-round bug scanning + fixing after development: independent auditor finds P0/P1/P2 bugs, developer AI fixes with regression tests, loops until clean (up to 15 rounds)

Checklist

You MUST complete these steps in order:

  1. Read the todolist — understand groups, tasks, phases, dependencies, test commands
  2. Gather project context — identify spec doc, source files, test paths, key constraints
  3. Design the pipeline — map todolist groups → phases → cards, define gate checks
  4. Generate all files — autodev.sh, system_prompt.md, gate_check.sh, cards/*.md, phase_gate.md, state, decisions.jsonl
  5. Verify — dry-run the script, confirm all card files exist, paths resolve correctly

Step 1: Read the Todolist

Read the todolist.md file completely. Extract:

ItemWhat to look for
GroupsTop-level sections (Group 1, Group 2...) — these become Phases
TasksIndividual numbered items within groups — these become Cards (or get merged into Cards)
DependenciesWhich tasks depend on others — determines Card ordering
Execution phasesIf the todolist defines phases (Phase A, B, C...) — use them directly
Test commandsHow to run tests — becomes the test verification step
Key constraintsBackward compatibility, safety rules, P1 fixes — become system_prompt constraints
Source filesWhich files are being modified — becomes Card "read existing code" sections
Spec/design docsReferenced design documents — becomes the "single source of truth"

Step 2: Gather Project Context

Resolve context autonomously (no human confirmation in runtime):

1. What is the spec/design document path?
   → This is the "single source of truth" referenced by all cards

2. What is the test command?
   → e.g., "python3 -m pytest tests/test_foo.py -q" or "npm test"

3. Are there any interactive/manual tests that must be excluded?
   → CRITICAL: Scan the test directories for tests that require interactive input
     (stdin prompts, private keys, manual confirmation, GUI interaction, network
     services that won't be available in CI). These MUST be excluded from the test
     command via --ignore or path filtering.
   → Common patterns to look for:
     - input(), getpass(), prompt(), readline() calls in test files
     - Tests under directories named: live/, manual/, interactive/, e2e/, integration/
     - Tests that connect to external wallets, require API keys at runtime, or need
       running services
   → Add --ignore flags for each such directory/file. The generated test command must
     be fully non-interactive and able to run unattended.

4. What are the core source files being modified?
   → Listed in system_prompt as "project files"

5. What are the project-specific constraints?
   → e.g., "backward compatible", "no breaking changes", "量纲一致性"

6. Where should the Autodev directory live?
   → Convention: Autodev/{project_name}/

7. If anything is unclear, how should ambiguity be resolved?
   → Infer from repo evidence (todolist, spec, tests, git history, existing patterns),
     choose the most conservative backward-compatible option, and record assumptions in
     system_prompt.md ("Assumptions & Defaults"). Do NOT block for user confirmation.

Step 3: Design the Pipeline

Mapping Groups to Phases

Each Group in the todolist becomes a Phase. Each Phase ends with a GATE.

Group 1 → Phase A → GATE:A
Group 2 → Phase B → GATE:B
...
Last Group → Phase N → GATE:FINAL

Mapping Tasks to Cards

Merge small related tasks into single Cards. Keep complex tasks as their own Card. Target: 2-5 tasks per Card, 3-7 Cards per Phase.

Heuristics for merging:

  • Same source file → merge
  • Sequential dependency with no external dependency → merge
  • Total estimated complexity < 1 Claude session → merge

Heuristics for splitting:

  • Different source files → separate
  • Independent testable unit → separate
  • High complexity (e.g., "MC simulation core") → own Card

Card ID scheme

Use {Phase}.{Sequence} format:

  • Alphanumeric phases: A.1, A.2, B.1, C.1
  • Numeric phases: 0.1, 0.2, 1.1, 2.1

Adding verification Cards

Add a verification Card at the end of each Phase (before the GATE) that:

  • Runs all tests for that phase
  • Checks test coverage against the todolist
  • Runs full regression

Gate checks

Design gate_check.sh with:

  • Universal checks (always include):

- Unit tests pass - Full regression tests pass - SPEC-DECISION audit (grep for AI decisions)

  • Project-specific checks (customize):

- Backward compatibility verification - Contract/interface checks - Config consistency - Import validation

Step 4: Generate All Files

Directory Structure

Autodev/{project_name}/
├── autodev.sh              # Main pipeline script
├── system_prompt.md        # AI session prompt
├── gate_check.sh           # Automated gate checks
├── state                   # Progress tracker (empty file)
├── decisions.jsonl         # Decision audit trail (empty file, runtime populated)
├── logs/                   # Runtime logs (empty dir)
├── bug_reports/            # Bug Hunt reports per round (runtime populated)
└── cards/
    ├── {A.1}.md            # Task cards
    ├── {A.2}.md
    ├── ...
    └── phase_gate.md       # Phase gate audit template

summary.md is a runtime artifact. Do NOT pre-create it during scaffolding.

File Templates

Generate each file using the corresponding template reference. Read the template, customize all {PLACEHOLDER} values for the project, and write the complete file.

FileTemplate ReferenceDescription
autodev.shreferences/autodev-template.mdMain pipeline script with card execution, testing, AC verification, Bug Hunt
system_prompt.mdreferences/system-prompt-template.mdAI session prompt with TDD flow, decision protocol, safety rules
cards/{ID}.mdreferences/card-template.mdTask card with context, tasks, acceptance criteria
gate_check.shreferences/gate-check-template.mdAutomated gate checks (tests, audit, coverage)
cards/phase_gate.mdreferences/phase-gate-template.mdPhase gate audit template for AI auditor

IMPORTANT: Do NOT use templates literally. Generate FULL files with all {PLACEHOLDER} values replaced for the specific project. The autodev.sh template shows the *structure* -- the actual output must be a complete, runnable bash script with all functions expanded.

Step 5: Verify

After generating all files:

  1. chmod +x autodev.sh gate_check.sh
  2. Run ./autodev.sh --dry-run — verify all steps listed correctly
  3. Run ./autodev.sh --status — verify display works
  4. Run ./autodev.sh --help — verify help text
  5. Verify all card files exist: ls cards/
  6. Verify state file is empty: cat state
  7. Verify decisions.jsonl exists and is empty: test -f decisions.jsonl && [! -s decisions.jsonl]
  8. Verify summary.md does NOT exist yet (it's auto-generated at runtime)
  9. Verify generated files contain no unresolved placeholders/stubs:

- ! rg -n '\{(PROJECT|SPEC|TODOLIST|TEST_CMD|ALL_STEPS_CONTENT|FIRST_CARD_ID|SOURCE_DIRS|AUTODEV_PATH|AUTODEV_DIR|ENV_PREFIX|ADDITIONAL_FILES|RELEVANT|EXISTING_FILES|ACCEPTANCE_CRITERION|CARD_TITLE|CARD_ID|ALLOWED_PATHS|FORBIDDEN_PATHS|TASKS_WITH)[^}]*\}' autodev.sh gate_check.sh system_prompt.md cards/*.md - Note: {REVIEWER_ROLE} in system_prompt.md is a runtime placeholder (filled by AI during AI-REVIEW execution), not a generation-time placeholder — do NOT flag it. - ! rg -n 'show_help\(\) \{\.\.\. \}|show_status\(\) \{\.\.\. \}' autodev.sh

Key Principles

  1. Todolist is the source of truth — every Card traces back to todolist tasks
  2. P1/P2 fixes become constraints — embed audit corrections into Card acceptance criteria
  3. Test command is sacred — must match what the todolist specifies
  4. Test command must be non-interactive — the generated test command must run fully unattended with no stdin prompts. Scan the test directory for interactive tests (input(), getpass(), wallet prompts, manual e2e) and add --ignore flags to exclude them. A test command that hangs waiting for input will block the entire pipeline.
  5. Backward compatibility — if todolist mentions fallback/compatibility, enforce in gate checks
  6. No gold-plating — Cards only implement what the todolist describes
  7. Each Card is self-contained — reads its own context, doesn't assume prior Card output was read

Generator Self-Check

After generating all files, verify these cross-cutting concerns:

  1. system_prompt.md contains the full 3-level decision protocol (copy from template verbatim)
  2. Reviewer role table is customized for the project (add/remove roles as needed; severity levels BLOCK/WARN/SUGGEST are universal — never modify)
  3. gate_check.sh includes decisions.jsonl audit checks
  4. phase_gate.md includes decision audit as step 5
  5. All fix prompts include: test output verbatim, spec/todolist references, "no extra changes", backward compatibility reminder
  6. decisions.jsonl path flows correctly: config var → build_prompt() injects DECISIONS_FILE: → Card AI reads it from prompt

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.26%
按下载量换算60

Claude

29.05%
按下载量换算50

Cursor

18.81%
按下载量换算32

Gemini CLI

8.62%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills