claude.symlink/skills/perf/SKILL.md
Profile applications, optimize bottlenecks, and implement caching. Use for performance issues or optimization tasks.
npx skillsauth add htlin222/dotfiles 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.
Profile, analyze, and optimize application performance.
# Node.js profiling
node --prof app.js
node --prof-process isolate-*.log > profile.txt
# Python profiling
python -m cProfile -o output.prof script.py
python -m pstats output.prof
# Go profiling
go tool pprof http://localhost:6060/debug/pprof/profile
| Metric | Target | | -------------- | ------ | | Load Time (3G) | <3s | | Load Time (4G) | <1s | | API Response | <200ms | | Bundle Size | <500KB | | LCP | <2.5s | | FID | <100ms | | CLS | <0.1 |
## Performance Report
**Before:** [baseline metrics]
**After:** [improved metrics]
**Improvement:** [percentage]
### Bottlenecks Identified
1. [Issue] - Impact: High/Medium/Low
### Optimizations Applied
1. [Change] → [Result]
Input: "The API is slow" Action: Profile endpoints, identify slow queries, optimize, verify improvement
Input: "Page load is taking too long" Action: Analyze bundle, check network, optimize critical path, add caching
testing
Converts narrative medical text into Pocket Medicine bullet-style notes with proper abbreviations, then modularizes sections exceeding 20 lines into linked standalone files.
devops
Use when deploying Docker services on the local VM (hostname: vm, Pop!_OS) with Traefik reverse proxy and Homepage dashboard. Covers crane image workflow, Traefik file-provider registration, Homepage services.yaml entries, and compose templates on the traefik-proxy network.
development
Use when reviewing a data visualization or figure for clarity, checking if a graph communicates its message without additional context, or iterating on R/Python plot scripts until a naive reader can fully understand the figure.
development
Runs Vale prose linter on markdown/text files and auto-fixes issues. Use when the user asks to lint, proofread, or improve writing quality of markdown or text files.