.claude/skills/perf/SKILL.md
Audit component performance and identify optimization opportunities with actionable fixes
npx skillsauth add alamenai/terrae perfInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit Terrae components for performance issues. Identifies problems, explains their impact, and provides actionable fixes.
If $ARGUMENTS is provided, audit only that component. Otherwise, audit all components in src/registry/map/.
Performance patterns and best practices are defined in .claude/rules/react/performance.md.
If a component name is provided, locate it in src/registry/map/. Otherwise, scan all component files.
For each component, read the full file and check every rule in .claude/rules/react/performance.md:
Also check for:
Structure the report as:
## Performance Audit: [Component Name]
### Score: [X/10]
### Critical Issues
Issues that cause measurable performance degradation or memory leaks.
### Warnings
Patterns that could degrade performance under load or over time.
### Best Practices
Recommendations for following optimal patterns.
### Passed Checks
Checks that the component already handles correctly.
For each issue found, include:
testing
Run tests for Terrae components
development
Review code changes implemented in the current session before committing
development
Prepare a Terrae component for release by running all checks and builds
tools
Commit, push, and open a pull request on GitHub