agentleFS
AztecProtocolAztecProtocol/aztec-packages/.claude/skills/fix/SKILL.md

fix

Skill458 starsChanged 2 months agoApache-2.0View on GitHub

Analyze Linear issues, validate them against the codebase, then implement fixes and create draft PRs.

  • Commits and pushes

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 69 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the relevant code and assess whether the described bug or problem actually exists.

    line 18
  2. Distinctive:

    Ask the user which issues to proceed with.

    line 25
  3. Very specific:

    Build: Run yarn build from yarn-project to verify the fix compiles.

    line 40

“Common” is measured: kept by at least 6 in 10 of the 69 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

Fix Issues

Given a list of Linear issue numbers, analyze each one against the codebase, then implement fixes and create draft PRs.

Phase 1: Triage (main context)

For each issue number provided:

  1. Fetch the full issue description using mcp__linear-server__get_issue.
  2. Investigate the codebase to determine if the issue is valid:
    • Find the files/functions mentioned in the issue description.
    • Read the relevant code and assess whether the described bug or problem actually exists.
  3. Produce a summary table for the user:
IssueTitleVerdictReasoning
A-XXX...Valid / Invalid / UnclearOne-line explanation
  1. Ask the user which issues to proceed with. Default is all valid issues.
  2. For each confirmed issue, set its Linear status to "In Progress" using mcp__linear-server__save_issue.

Phase 2: Implementation

Work through each confirmed issue sequentially in the main checkout:

  1. Stash & branch: Stash any uncommitted changes, then create a branch from next using the issue's gitBranchName from Linear (or the component's merge train, see CLAUDE.md). For a fix scoped to the v5 release line, branch from v5-next instead.
    git stash
    git checkout -B <gitBranchName> origin/next
  2. Implement the fix: Edit the relevant files.
  3. Build: Run yarn build from yarn-project to verify the fix compiles.
  4. Commit: Stage only the changed files and commit with a descriptive message.
    • Message format: fix: <short description> (A-XXX)
    • Include Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
  5. Push & PR: Push the branch and create a draft PR. Use --base v5-next for v5-scoped fixes.
    git push -u origin <gitBranchName>
    gh pr create --draft --base next --title "fix: ..." --body "..."
    • The PR body should reference the Linear issue (e.g. Fixes A-XXX).
  6. Return to original branch: Switch back and restore stashed changes before moving to the next issue.
    git checkout <original-branch>
    git stash pop

Repeat for each issue.

After all issues are done

Report a summary table with the PR URL for each issue, or what went wrong if any failed.

IssueTitlePR
A-XXX...URL or error

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.