一键导入
task-workflow
Execute the standard issue, branch, code, test, commit, PR, merge workflow for a task
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute the standard issue, branch, code, test, commit, PR, merge workflow for a task
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | task-workflow |
| description | Execute the standard issue, branch, code, test, commit, PR, merge workflow for a task |
| argument-hint | <task-description> |
| disable-model-invocation | false |
| user-invocable | true |
Execute the standard development workflow for this task: $ARGUMENTS
Follow these steps in order. Do NOT skip any step.
gh issue create --title "<title>" --body "<description>" --label "<label>"
Common labels: enhancement, bug, tests, documentation, refactor
Use the task description to write a clear issue title and body. The body should explain the context, what needs to change, and why.
Branch naming convention:
feat/<slug> for new featuresfix/<slug> for bug fixesrefactor/<slug> for refactoringtest/<slug> for test-only changesdocs/<slug> for documentationgit checkout -b <prefix>/<short-slug>
Read existing code before modifying it. Follow patterns already established in the codebase. Key conventions:
unittest — never pytestanalyze() + main() pattern (see scan_common.py for arg parsing)CHANGELOG.md under ## [Unreleased] in the appropriate section (Added/Enhanced/Fixed/Documentation). Format: - Description.Run formatting, linting, type checking, and all tests. ALL must pass before committing. NEVER install tools to the system Python, if necessary create a venv and install tools into it.
ruff format <changed-files>
ruff check <changed-files>
mypy
python -m unittest discover tests -v
If any tests fail, fix them before proceeding.
Stage only the files you changed. Use conventional commit format. Always include the issue reference.
git add <specific-files>
git commit -m "$(cat <<'EOF'
<type>: <description>
<optional body>
Closes #<issue-number>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
git push -u origin <branch-name>
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
- [x] <verification items>
Closes #<issue-number>
Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
gh pr merge <pr-number> --merge
git checkout main
git pull
git push origin --delete <branch-name>
Tell the user:
基于 SOC 职业分类