codebase-explorer
探索程式碼庫架構與資料流程
此技能透過提供架構、資料流程和系統關係的清晰文件,幫助開發者理解複雜的程式碼庫結構。它引導探索資料庫結構、服務層和 API 路由,以加快入職和開發速度。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“codebase-explorer”。 Where is the user profile type defined and what tables does it connect to?
预期结果:
- User profile types are defined in: src/types/database/user-profile.ts
- Key tables: profiles, profile_settings
- Related services: consent.service.ts, organization.service.ts
- The profile.tenant_id field connects to the multi-tenant isolation system
- API routes: /api/storytellers for profile management
正在使用“codebase-explorer”。 How does Supabase client access work in this codebase?
预期结果:
- Three client types exist for different contexts
- Browser client: src/lib/supabase/client.ts for React components
- Server SSR client: src/lib/supabase/client-ssr.ts for API routes
- Service Role client: src/lib/supabase/service-role-client.ts for admin operations (bypasses RLS)
- RLS is enforced on all client queries except Service Role
安全审计
安全Pure documentation skill containing only markdown content and JSON metadata. No executable code, scripts, network calls, or filesystem access beyond its own files. All 35 static findings are FALSE POSITIVES caused by the scanner misinterpreting documentation formatting as security threats. The backticks in markdown tables, file paths in documentation, and SHA256 content hash were incorrectly flagged. This skill provides architectural guidance only.
风险因素
🌐 网络访问 (2)
📁 文件系统访问 (4)
质量评分
你能构建什么
入職程式碼庫
新團隊成員快速了解專案結構、關鍵檔案和架構模式。
找出實作位置
為新功能開發找到正確的服務、API 路由或元件。
理解資料關係
繪製整個系統的資料庫表格、關係和資料流程模式。
试试这些提示
Where is the consent service located and how does it connect to the distribution service?
Trace the data flow for a story from user action through to database storage.
Show me the relationship between projects, stories, and transcripts tables.
How does the multi-tenant isolation work in the API routes and service layer?
最佳实践
- 在開始新功能工作時使用此技能以了解現有模式
- 結合直接檔案閱讀以完整理解程式碼區塊
- 參考快速參考表格以快速導航到常見位置
避免
- 要求程式碼修改 - 此技能僅提供文件
- 期望直接資料庫存取或查詢執行
- 要求即時系統監控或指標