AgentSkillsCN

dev-autodev

通用的自动开发循环:分支、实现、测试、提交,以及 PR 摘要。

SKILL.md
--- frontmatter
name: dev-autodev
description: Common autodev loop for branch, implement, test, commit, and PR summary.

Autodev Loop

Shared development workflow used by project-specific dev skills. No planning step, go straight to implementation.

Steps

  1. Sync, detect the default branch (git remote show upstream 2>/dev/null | sed -n 's/.*HEAD branch: //p', fallback to main), checkout it and run git sync.

  2. Create a branch for the feature/fix.

  3. Implement, follow existing coding style, keep changes minimal.

  4. Add tests, parameterized, concise, following project conventions.

  5. Verify, run the project's build and test commands.

  6. Commit with git commit -n -m "msg", no co-author tags.

  7. PR summary: Use /dev-pr-summarize to generate a changelog.

  8. Checkout the default branch when done.