agentleFS
ReviewToolkitsReviewToolkits/cpython-review-toolkit/.claude/skills/task-workflow/SKILL.md

task-workflow

Skill10 starsChanged 8 months agoMITView on GitHub

Execute the standard issue, branch, code, test, commit, PR, merge workflow for a task

  • Commits and pushes

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. beyondeye/aitasks★ 8same name
    2. digitaldreams/tuhin★ 3same name
    3. pfeff/claude-skills★ 3same name
    4. customware-ai/skills★ 2same name
    5. tammai/bigin-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these steps in order.

    line 13
  2. Distinctive:

    Use the task description to write a clear issue title and body.

    line 23
  3. Distinctive:

    Read existing code before modifying it.

    line 40
  4. Very specific:

    Add an entry to CHANGELOG.md under ## [Unreleased] in the appropriate section (Added/Enhanced/Fixed/Documentation).

    line 46
  5. Distinctive:

    Run all verification commands.

    line 50
  6. Very specific:

    If any tests fail, fix them before proceeding.

    line 61
  7. Distinctive:

    Test results (pass count)

    line 114

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Task Workflow

Execute the standard development workflow for this task: $ARGUMENTS

Follow these steps in order. Do NOT skip any step.

Step 1: Create GitHub Issue

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.

Step 2: Create Feature Branch

Branch naming convention:

  • feat/<slug> for new features
  • fix/<slug> for bug fixes
  • refactor/<slug> for refactoring
  • test/<slug> for test-only changes
  • docs/<slug> for documentation
git checkout -b <prefix>/<short-slug>

Step 3: Implement Changes

Read existing code before modifying it. Follow patterns already established in the codebase. Key conventions:

  • Line length: 99 characters
  • Double quotes for strings
  • Complete type hints on all functions
  • Docstrings on classes and public methods
  • Tests use unittest with unittest.mock — never pytest
  • Add an entry to CHANGELOG.md under ## [Unreleased] in the appropriate section (Added/Enhanced/Fixed/Documentation). Format: - Description.

Step 4: Verify

Run all verification commands. ALL must pass before committing.

Important: The .venv uses a JIT-enabled CPython build with AddressSanitizer. All commands require the ASAN_OPTIONS=detect_leaks=0 PYTHON_JIT=0 prefix.

ASAN_OPTIONS=detect_leaks=0 PYTHON_JIT=0 .venv/bin/ruff format <changed-files>
ASAN_OPTIONS=detect_leaks=0 PYTHON_JIT=0 .venv/bin/ruff check <changed-files>
ASAN_OPTIONS=detect_leaks=0 PYTHON_JIT=0 .venv/bin/mypy
ASAN_OPTIONS=detect_leaks=0 PYTHON_JIT=0 .venv/bin/python -m unittest discover tests -v

If any tests fail, fix them before proceeding. If ruff format changes files, that's fine — they'll be committed in the next step.

Step 5: Commit

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
)"

Step 6: Push and Create PR

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
)"

Step 7: Merge and Cleanup

gh pr merge <pr-number> --merge
git checkout main
git pull
git push origin --delete <branch-name>

Step 8: Report

Tell the user:

  • Issue URL
  • PR URL (merged)
  • Summary of changes made
  • Test results (pass count)
  • Changelog entry

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.