performance-tuning
Skill1 starsChanged 11 months agoMITView on GitHub
Performance optimization techniques. Auto-activates when discussing slow code, optimization, or performance issues.
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Always profile before optimizing:
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Performance Tuning
Measure First
Always profile before optimizing:
- Browser DevTools Performance tab
- Node.js:
--inspector clinic.js - Database:
EXPLAIN ANALYZE
Database Optimization
Indexing
-- Index frequently queried columns
CREATE INDEX idx_users_email ON users(email);
-- Composite index for multi-column queries
CREATE INDEX idx_orders_user_date ON orders(user_id, created_at);Query Optimization
-- Avoid SELECT *
SELECT id, name, email FROM users;
-- Use LIMIT
SELECT * FROM logs ORDER BY created_at DESC LIMIT 100;
-- Batch operations
INSERT INTO users (name) VALUES ('a'), ('b'), ('c');JavaScript Optimization
React Performance
// Memoize expensive components
const MemoizedList = React.memo(ExpensiveList);
// Memoize callbacks
const handleClick = useCallback(() => {}, [deps]);
// Memoize computed values
const total = useMemo(() => items.reduce(...), [items]);
// Virtualize long lists
<VirtualizedList items={items} />General JS
// Debounce frequent events
const debouncedSearch = debounce(search, 300);
// Use appropriate data structures
const map = new Map(); // O(1) lookup vs array O(n)
const set = new Set(); // O(1) has vs array includes O(n)Caching
- HTTP caching headers
- Redis/Memcached for hot data
- CDN for static assets
- Query result caching
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- NoobyGains/godmode★ 115same name
- jdanigo/hydraia★ 8same name
- polardb/polardb-pg-skills★ 2same name
- 0King0P/Claude-Skills★ 0same name
- devpilotX/skills★ 0same name
- kiko197/skill★ 0same name
- poteto0/my-skills★ 0same name
- SpencerGoss/agent-engineering★ 0same 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.
Used alongsideProjects with it also use code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 4 projects that use this
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-integrationSkill
- authenticationSkill
- caching-strategiesSkill
- ci-cd-pipelinesSkill
- clean-architectureSkill
- code-patternsSkill
- database-designSkill
- docker-composeSkill
- error-handlingSkill
- frontend-designSkill
- git-workflowSkill
- logging-monitoringSkill
- microservicesSkill
- project-setupSkill
- security-best-practicesSkill
- systematic-debuggingSkill
- tddSkill
- testing-strategiesSkill
- websockets-realtimeSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

