with one click
with one click
Read a GitHub issue, summarize it, and create a branch for it
Commit, push, and open a pull request on GitHub
Verify all outputs exist after creating a new component and fix any issues
Create standardized git commits following Terrae's conventions
Generate or update documentation for Terrae components
Run linting and type checking across the Terrae codebase
| name | fix |
| description | Systematically fix issues found by /review or reported by the user |
| allowed-tools | Read, Grep, Glob, Edit, Write, Bash(git diff*), Bash(npx tsc *) |
Systematically fix code issues found by /review or reported by the user.
If coming from a /review, gather the issues from the review output. Otherwise, ask the user what needs fixing.
Categorize each issue by severity:
Fix issues in severity order (critical first). Group related fixes together when they touch the same file to minimize changes.
Present the plan to the user before starting:
## Fix Plan
### Critical (fix first)
1. [Issue] — [File:line] — [What to do]
### High
2. [Issue] — [File:line] — [What to do]
### Medium
3. [Issue] — [File:line] — [What to do]
For each fix:
Follow these principles:
.claude/rules/After all fixes:
npx tsc --noEmit to check for type errors## Fix Summary
### Fixed
- [Issue] — [File] — [What was done]
### Skipped (needs discussion)
- [Issue] — [Reason]
### Remaining
- [Issue] — [Why it wasn't fixed]
Show the user the diff of all changes:
git diff --stat
Ask if they want to proceed with committing or if adjustments are needed.
Add the import at the top of the file, grouped with similar imports.
Add a return function that removes event listeners, cancels animation frames, clears timeouts, and removes map layers/sources/markers.
Store the timer ID in a ref and clear it in the cleanup function.
Store the RAF ID and cancel it with cancelAnimationFrame in the cleanup function.
any with Proper TypesIdentify what the value actually is and create a named type for it. Use unknown only as a last resort.
Extract the duplicated code into a shared utility file. Update all files that used the duplicated code to import from the shared location.
Reference .claude/rules/ for the correct pattern and apply it consistently.