Claude-skill-registry frontend-backend-auditor
Ensure frontend components match database infrastructure, identify deprecated patterns, maintain data consistency.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/frontend-backend-auditor" ~/.claude/skills/majiayu000-claude-skill-registry-frontend-backend-auditor && rm -rf "$T"
manifest:
skills/data/frontend-backend-auditor/SKILL.mdsource content
Frontend-Backend Auditor
Audit frontend-database alignment. Identify deprecated AI analysis, wrong table usage, type mismatches.
When to Use
- After database migrations/consolidation
- Reviewing component database access
- Identifying deprecated data patterns
- Ensuring TypeScript types match schema
Quick Audit Commands
# Find deprecated table usage grep -r "from('profiles')" src/ --include="*.tsx" --include="*.ts" grep -r "from('analysis_jobs')" src/ --include="*.tsx" --include="*.ts" # Find deprecated columns grep -r "legacy_" src/ --include="*.tsx" --include="*.ts" # Check type sync npm run types:generate git diff src/types/database/
Common Migrations
Storyteller Data
// ❌ OLD: profiles table supabase.from('profiles').select('*').eq('is_storyteller', true) // ✅ NEW: storytellers table supabase.from('storytellers').select('*').eq('is_active', true)
AI Analysis
// ❌ OLD: analysis_jobs supabase.from('analysis_jobs').select('*') // ✅ NEW: versioned results supabase.from('transcript_analysis_results') .select('*') .eq('analysis_version', 'v2')
Current AI Systems
- Versioned analysistranscript_analysis_results
- AI-extracted themesnarrative_themes
- Junction tablestory_themes
- RAG embeddingsknowledge_chunks
Reference Files
| Topic | File |
|---|---|
| Deprecated patterns | |
| Audit process | |
Related Skills
- Data quality checksdata-integrity-guardian
- Schema managementsupabase-deployment
- Schema explorationdatabase-navigator