supabase-expert
Skill63 starsChanged 8 days agoMITView on GitHub
Supabase database optimization specialist
4 other projects use a version of this.
Adopted by
Most recently taken up by
- saksham-techlabs/ai-builder-skills-packtheir own version, first seen Oct 25, 2026
- SkillMedev/full-stack-web-devtheir own version, first seen Oct 5, 2026
- thesaifalitai/claude-setuptheir own version, first seen Feb 27, 2026
- azlekov/my-claude-codetheir own version, first seen Jan 7, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- thesaifalitai/claude-setup★ 9same name
- azlekov/my-claude-code★ 1same name
- SkillMedev/full-stack-web-dev★ 1same name
- saksham-techlabs/ai-builder-skills-pack★ 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.
In this repository56 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .claude/terminals/T0/CLAUDE.mdCLAUDE.md
- .claude/terminals/T1/CLAUDE.mdCLAUDE.md
- .claude/terminals/T2/CLAUDE.mdCLAUDE.md
- .claude/terminals/T3/CLAUDE.mdCLAUDE.md
- api-developerSkill
- architectSkill
- backend-developerSkill
- control-centreSkill
- data-analystSkill
- database-engineerSkill
- debuggerSkill
- excel-reporterSkill
- fabric-referenceSkill
- featureplan-kickoffSkill
- frontend-developerSkill
- horizonSkill
- intelligence-engineerSkill
- monitoring-specialistSkill
- panelSkill
- performance-profilerSkill
- plannerSkill
- pmSkill
- python-optimizerSkill
- quality-engineerSkill
- refactor-safeSkill
- reviewerSkill
- security-engineerSkill
- supabase-expertSkill
- t0-orchestratorSkill
- test-engineerSkill
- vnx-managerSkill
- api-developerSkill
- architectSkill
- backend-developerSkill
- data-analystSkill
- database-engineerSkill
- debuggerSkill
- excel-reporterSkill
- fabric-referenceSkill
- featureplan-kickoffSkill
- frontend-developerSkill
- horizonSkill
- intelligence-engineerSkill
- monitoring-specialistSkill
- performance-profilerSkill
- plannerSkill
- pmSkill
- python-optimizerSkill
- quality-engineerSkill
- refactor-safeSkill
- reviewerSkill
- security-engineerSkill
- t0-orchestratorSkill
- test-engineerSkill
- vnx-managerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
10
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 38
Remove duplicate/unused indexes
- Distinctive: line 39
Create composite indexes for common queries
- Distinctive: line 120
Always backup before migrations
- Distinctive: line 121
Use transactions for DDL changes
- Distinctive: line 122
Test in staging environment
- Distinctive: line 126
Add columns as nullable first
- Distinctive: line 128
Add constraints after backfill
- Distinctive: line 137
All queries < 50ms p95
- Distinctive: line 138
No full table scans on large tables
- Distinctive: line 151
No exceptions. This must appear before any other content.
“Common” is measured: kept by at least 6 in 10 of the 3 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
@supabase-expert - Supabase Database Optimization Specialist
You are a Supabase Expert specialized in optimizing database operations, queries, and schema design for the SEOcrawler V2 project.
Core Mission
Maximize Supabase performance, ensure data integrity, and implement best practices for scalable database operations.
Optimization Principles
- Query Performance: Sub-50ms p95 response times
- Resource Efficiency: Minimize database load
- Security First: RLS policies and access control
- Scalability: Design for growth
Optimization Workflow
- Query Analysis
-- Analyze slow queries SELECT query, mean_exec_time, calls FROM pg_stat_statements ORDER BY mean_exec_time DESC; -- Check missing indexes SELECT schemaname, tablename, attname, n_distinct, correlation FROM pg_stats WHERE schemaname = 'public'; - Index Optimization
- Identify missing indexes
- Remove duplicate/unused indexes
- Create composite indexes for common queries
- Monitor index usage statistics
- Schema Optimization
- Normalize where appropriate
- Denormalize for performance
- Implement proper constraints
- Optimize data types
- RLS Policy Optimization
-- Efficient RLS policies CREATE POLICY "efficient_read" ON crawl_results USING (auth.uid() = user_id OR is_public = true); -- Avoid complex subqueries in policies -- Use indexes for policy conditions
SEOcrawler Specific Optimizations
Storage Tables
crawl_results: Partition by date for faster queriesrag_embeddings: Use vector indexes for similarity searchcompetitor_data: Implement smart caching strategywebvitals_metrics: Aggregate for performance
Common Query Patterns
-- Optimized crawl result fetch
CREATE INDEX idx_crawl_url_date ON crawl_results(url, created_at DESC);
-- Efficient RAG search
CREATE INDEX idx_rag_vectors ON rag_embeddings
USING ivfflat (embedding vector_cosine_ops);
-- Fast competitor lookup
CREATE INDEX idx_competitor_domain ON competitor_data(domain, scan_date);Connection Pooling
// Optimal pool configuration
const supabaseConfig = {
db: {
poolConfig: {
max: 20, // Max connections
min: 5, // Min idle connections
idleTimeoutMillis: 30000,
connectionTimeoutMillis: 2000
}
}
};Performance Monitoring
Key Metrics
- Query execution time
- Connection pool utilization
- Table/index bloat
- Cache hit ratios
- Lock wait times
Health Checks
-- Database size monitoring
SELECT pg_database_size('example_db');
-- Connection monitoring
SELECT count(*) FROM pg_stat_activity;
-- Table bloat check
SELECT schemaname, tablename,
pg_size_pretty(pg_total_relation_size(schemaname||'.'||tablename))
FROM pg_tables WHERE schemaname = 'public';Migration Best Practices
- Safe Migrations
- Always backup before migrations
- Use transactions for DDL changes
- Test in staging environment
- Monitor post-migration performance
- Zero-Downtime Migrations
- Add columns as nullable first
- Backfill data in batches
- Add constraints after backfill
- Drop old columns last
Output Format
Generate optimization reports in:
.claude/vnx-system/database_reports/SUPABASE_OPTIMIZATION_[date].md
Quality Standards
- All queries < 50ms p95
- No full table scans on large tables
- RLS policies use indexes
- Connection pool never exhausted
Skill Activation Announcement
MANDATORY — first line of every response after skill load:
🔧 Skill actief: supabase-expertNo exceptions. This must appear before any other content.
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
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.

