Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

autonomous-dev自主开发

Agent Skill

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

总安装

745

周安装

32

GitHub Stars

15

下载量

261
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/zxkane/autonomous-dev-team --skill autonomous-dev

简介

强制推行测试驱动开发的完整自主开发工作流引擎。

  • 适用于需要严格质量管控和自动化验证的研发场景。
  • 支持交互式开发和完全无人值守两种运行模式。autonomous-dev 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 包含代码审查、CI 验证和 E2E 测试等强制性检查环节。
  • 使用前应仔细阅读安全警告,确认钩子执行权限可控。

SKILL.md

TDD Development Workflow

A complete development workflow enforcing test-driven development, git worktree isolation, code review, CI verification, and E2E testing. Works in two modes: interactive (default) for human-guided sessions, and autonomous for fully unattended GitHub issue implementation.

NON-NEGOTIABLE RULES -- Every step marked MANDATORY is required. You MUST NOT skip, defer, or ask the user whether to run these steps. Execute them automatically as part of the workflow. This includes: creating PRs, waiting for CI, running E2E tests, and addressing reviewer findings.

Mode Detection

Interactive Mode (default)

Used when a developer is present. The workflow:

  • Asks the user for design approval before proceeding to implementation
  • Presents design canvases and waits for feedback
  • Pauses at key decision points for user input
  • Reports final status and lets the user decide when to merge

Autonomous Mode

Triggered when running inside the scripts/autonomous-dev.sh wrapper. The workflow:

  • Makes all decisions autonomously (see "Decision Making Guidelines" below)
  • Posts progress comments to the GitHub issue instead of asking questions
  • Creates design docs but skips interactive approval
  • Stops after verification -- does not merge (the review agent handles that)
  • Marks requirement checkboxes in the issue body as work progresses

Cross-Platform Notes

Hooks Support

IDE/CLIHooks SupportSetup
Claude CodeFullhooks/README.md
Kiro CLIFullhooks/README.md
CursorNoneFollow steps manually
WindsurfNoneFollow steps manually
Gemini CLINoneFollow steps manually

Tool Name Mapping

This skill uses generic language. Map to your IDE's tools:

  • "Execute in your terminal" = Bash tool (Claude Code), terminal (Cursor), shell (Gemini CLI), etc.
  • "Read the file" = Read tool, file viewer, or cat
  • "Create or edit the file" = Write/Edit tool, editor, or manual editing
  • "Use a subagent" = Task/Agent tool (Claude Code), or follow the steps manually if unsupported
  • "Load the skill" = Skill tool (Claude Code), or read the referenced SKILL.md directly

Workflow Enforcement (Optional Hooks)

If your IDE/CLI supports hooks (Claude Code, Kiro CLI), install them from hooks/ for hard enforcement. See hooks/README.md for setup.

Without hooks, follow each step manually -- the discipline is the same.


Development Workflow Overview

Follow this workflow for all feature development and bug fixes:

Step 1:  DESIGN CANVAS (Pencil MCP, if available)
Step 2:  CREATE GIT WORKTREE (MANDATORY)
Step 3:  WRITE TEST CASES (TDD)
Step 4:  IMPLEMENT CHANGES
Step 5:  LOCAL VERIFICATION
Step 6:  CODE SIMPLIFICATION
Step 7:  COMMIT AND CREATE PR          -- MANDATORY
Step 8:  PR REVIEW AGENT               -- MANDATORY
Step 9:  WAIT FOR ALL CI CHECKS        -- MANDATORY
Step 10: ADDRESS REVIEWER BOT FINDINGS -- MANDATORY
Step 11: ITERATE UNTIL NO FINDINGS
Step 12: E2E TESTS & READY FOR MERGE   -- MANDATORY
Step 13: CLEANUP WORKTREE

Step 1: Design Canvas

Available if your IDE has Pencil MCP. If Pencil MCP is not available, create a design document (docs/designs/<feature>.md) manually instead.

When to Create a Design Canvas

  • New UI components or pages
  • Feature implementations with user-facing changes
  • Architecture decisions that benefit from visualization
  • Complex data flows or state management

Pencil MCP Workflow

  1. Check editor state: call get_editor_state() to see if a .pen file is open.
  2. Open or create design file: call open_document("docs/designs/<feature>.pen") or open_document("new").
  3. Get design guidelines (if needed): call get_guidelines(topic="landing-page|table|tailwind|code").
  4. Get style guide for consistent design: call get_style_guide_tags() then get_style_guide(tags=[...]).
  5. Create design elements: call batch_design(operations) to create UI mockups, component hierarchy diagrams, data flow visualizations, and architecture diagrams.
  6. Validate design visually: call get_screenshot() to verify the design looks correct.
  7. Document design decisions: add text annotations explaining choices, component specifications, and interaction patterns.

Design Canvas Template Structure

Feature: <Feature Name>
Date: YYYY-MM-DD
Status: Draft | In Review | Approved

- UI Mockup / Wireframe
- Component Architecture (component tree, props/state flow)
- Data Flow Diagram (API calls, state management)
- Design Notes (key decisions, accessibility, responsive behavior)

Design Approval

  • Interactive mode: Present the design canvas to the user, get explicit approval, document feedback, update status to "Approved."
  • Autonomous mode: Create the design doc and proceed immediately -- no approval gate.

Step 2: Create Git Worktree (MANDATORY)

Every change MUST be developed in an isolated git worktree. Never develop directly on the main workspace.

Enforced by block-commit-outside-worktree.sh hook (if hooks are installed). Commits outside worktrees are automatically blocked. Direct pushes to main are blocked by block-push-to-main.sh.

Why Worktrees?

  • Isolation: Each feature/fix gets its own directory, preventing cross-contamination
  • Parallel work: Multiple features can be in progress simultaneously
  • Clean main workspace: The main checkout stays on main, ready for quick checks
  • Safe rollback: Discard a worktree without affecting the main workspace

Worktree Creation Process

Execute in your terminal:

# 1. Determine branch name based on change type
#    feat/<name>, fix/<name>, refactor/<name>, etc.
BRANCH_NAME="feat/my-feature"

# 2. Create worktree with new branch from main
git worktree add .worktrees/$BRANCH_NAME -b $BRANCH_NAME

# 3. Enter the worktree
cd .worktrees/$BRANCH_NAME

# 4. Install dependencies (use your project's package manager)
npm install  # or: bun install, yarn install, pnpm install

# 5. Verify clean baseline
npm run build && npm test

Directory Convention

ItemValue
Worktree root.worktrees/ (project-local, gitignored)
Path pattern.worktrees/<branch-name>
Example.worktrees/feat/user-authentication

Safety Checks

Before creating any worktree, verify .worktrees/ is in .gitignore:

git check-ignore -q .worktrees 2>/dev/null || echo "WARNING: .worktrees not in .gitignore!"

All Subsequent Steps Run INSIDE the Worktree

After creating the worktree, all development commands (test, lint, build, commit, push) are executed from within the worktree directory. The main workspace is not touched until cleanup.


Step 3: Write Test Cases (TDD)

Before writing any implementation code:

  1. Read the design canvas and requirements
  2. Identify all user scenarios, edge cases, and error handling paths
  3. Create or edit the test case document: docs/test-cases/<feature>.md

- List all test scenarios (happy path, edge cases, error handling) - Assign test IDs (e.g., TC-AUTH-001) - Define expected results and acceptance criteria

  1. Create unit test skeletons
  2. Create E2E test cases if applicable

Step 4: Implement Changes

  • Write code following the test cases (inside the worktree)
  • Write new unit tests for new functionality
  • Update existing tests if behavior changed
  • Ensure implementation covers all test scenarios

Step 5: Local Verification

Execute in your terminal:

npm run build
npm run test

Fix any failures before proceeding. Deploy and verify locally if applicable.


Step 6: Code Simplification

  1. Use a subagent if your IDE supports them (e.g., code-simplifier:code-simplifier), otherwise review the code manually for unnecessary complexity.
  2. Address simplification suggestions.
  3. Mark complete (if hooks are installed): hooks/state-manager.sh mark code-simplifier

Step 7: Commit and Create PR (MANDATORY)

Commit

Execute in your terminal:

git add <files>
git commit -m "type(scope): description"
git push -u origin <branch-name>

Create PR

gh pr create --title "type(scope): description" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points describing the change>

## Design
- [ ] Design canvas created (`docs/designs/<feature>.pen`)
- [ ] Design approved

## Test Plan
- [ ] Test cases documented (`docs/test-cases/<feature>.md`)
- [ ] Build passes (`npm run build`)
- [ ] Unit tests pass (`npm run test`)
- [ ] CI checks pass
- [ ] Code simplification review passed
- [ ] PR review agent review passed
- [ ] Reviewer bot findings addressed (no new findings)
- [ ] E2E tests pass

## Checklist
- [ ] New unit tests written for new functionality
- [ ] E2E test cases updated if needed
- [ ] Documentation updated if needed
EOF
)"

Update PR Checklist

After completing each step, update the PR description:

gh pr view {pr_number} --json body --jq '.body' > /tmp/pr_body.md
# Edit the checklist (mark items as [x])
gh pr edit {pr_number} --body "$(cat /tmp/pr_body.md)"

Step 8: PR Review Agent (MANDATORY)

  1. Use a subagent if your IDE supports them (e.g., /pr-review-toolkit:review-pr), otherwise perform a self-review against the PR diff.
  2. Address findings by severity:

- Critical/Severe: Must fix - High: Must fix - Medium: Should fix - Low: Optional

  1. Mark complete (if hooks are installed): hooks/state-manager.sh mark pr-review

Step 9: Wait for All CI Checks (MANDATORY -- DO NOT SKIP)

Execute in your terminal:

# Watch all checks until completion
gh pr checks {pr_number} --watch --interval 30

ALL checks must pass: Lint, Unit Tests, Build, Deploy Preview, E2E Tests.

If ANY check fails: analyze logs, fix, push, re-watch. DO NOT proceed until every check shows "pass."

Checks to Monitor

CheckDescriptionAction if Failed
CI / build-and-testBuild + unit testsFix code or update snapshots
Security ScanSAST, npm auditFix security issues
Amazon Q DeveloperSecurity reviewAddress findings, retrigger with /q review
CodexAI code reviewAddress findings, retrigger with /codex review
Other review botsVarious checksAddress findings, retrigger per bot docs

Step 10: Address Reviewer Bot Findings (MANDATORY)

Multiple review bots can provide automated code review findings on PRs:

BotTrigger CommandBot Username
Amazon Q Developer/q reviewamazon-q-developer[bot]
Codex/codex reviewcodex[bot]
Other botsSee bot documentationVaries

Handling Bot Review Findings

  1. Review all comments -- read each finding carefully
  2. Determine action:

- Valid issue: fix the code and push - False positive: reply explaining the design decision

  1. Reply to each thread -- use direct reply, not a general PR comment
  2. Resolve each thread -- mark conversation as resolved
  3. Retrigger review -- comment with the appropriate trigger (e.g., /q review, /codex review)

Retrigger Bot Reviews

IMPORTANT: Some bot reviewers (e.g., Amazon Q Developer) ignore /q review comments posted by GitHub App bot accounts. If your project uses scripts/gh-as-user.sh, you MUST use it to trigger bot reviews so the comment is attributed to a real user. Do NOT use the default gh wrapper for bot review triggers.
# Amazon Q Developer (use gh-as-user.sh to post as a real user)
bash scripts/gh-as-user.sh pr comment {pr_number} --body "/q review"

# Codex
bash scripts/gh-as-user.sh pr comment {pr_number} --body "/codex review"

If scripts/gh-as-user.sh is not available in your project, use gh pr comment directly as a fallback.

Wait 60-90 seconds for the review to complete, then check for new comments.


Step 11: Iterate Until No Findings

Repeat until review bots find no more issues:

  1. Address findings (fix code or explain design)
  2. Reply to each comment thread
  3. Resolve all threads
  4. Trigger review command (/q review, /codex review, etc.)
  5. Wait 60-90 seconds
  6. Check for new findings
  7. If new findings: repeat from step 1
  8. Only proceed when no new positive findings appear

Step 12: E2E Tests & Ready for Merge (MANDATORY -- DO NOT SKIP)

  1. Run E2E tests against the deployed preview environment (all tests must pass; skipped agent-dependent tests are acceptable)
  2. Mark complete (if hooks are installed): hooks/state-manager.sh mark e2e-tests
  3. Update PR checklist to show all items complete
  4. STOP HERE: report status to the user (interactive mode) or post a summary comment on the issue (autonomous mode)
  5. User or review agent decides when to merge

Step 13: Cleanup Worktree

After the PR is merged or closed, execute in your terminal:

# Return to main workspace
cd $(git rev-parse --show-toplevel)

# Remove the worktree
git worktree remove .worktrees/<branch-name>

# Prune stale worktree references
git worktree prune

References

For detailed commands and conventions, consult:

  • references/commit-conventions.md -- Branch naming and commit message conventions
  • references/review-commands.md -- Complete gh CLI and GraphQL command reference
  • references/review-threads.md -- Review thread management, response patterns, and quick reference commands
  • references/autonomous-mode.md -- Decision making, resume awareness, requirement tracking, pre-existing changes, bot review integration, and error recovery (autonomous mode only)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.29%
按下载量换算89

Claude

30.11%
按下载量换算79

Cursor

19.49%
按下载量换算51

Gemini CLI

9.14%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/zxkane/autonomous-dev-team --skill autonomous-dev 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills