技能 codebase-explorer
🔍

codebase-explorer

安全 🌐 网络访问📁 文件系统访问⚙️ 外部命令

探索程式碼庫架構與資料流程

此技能透過提供架構、資料流程和系統關係的清晰文件,幫助開發者理解複雜的程式碼庫結構。它引導探索資料庫結構、服務層和 API 路由,以加快入職和開發速度。

支持: Claude Codex Code(CC)
📊 69 充足
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“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

安全审计

安全
v5 • 1/16/2026

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
已扫描文件
327
分析行数
3
发现项
5
审计总数
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
85
内容
22
社区
100
安全
91
规范符合性

你能构建什么

入職程式碼庫

新團隊成員快速了解專案結構、關鍵檔案和架構模式。

找出實作位置

為新功能開發找到正確的服務、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?

最佳实践

  • 在開始新功能工作時使用此技能以了解現有模式
  • 結合直接檔案閱讀以完整理解程式碼區塊
  • 參考快速參考表格以快速導航到常見位置

避免

  • 要求程式碼修改 - 此技能僅提供文件
  • 期望直接資料庫存取或查詢執行
  • 要求即時系統監控或指標

常见问题

哪些 AI 平台支援此技能?
此技能適用於 Claude、Codex 和 Claude Code。已針對 Claude Code CLI 使用進行最佳化。
此技能可以幫助我探索哪些檔案類型?
它涵蓋 TypeScript 檔案,包括元件、API 路由、服務和資料庫類型。
此技能可以修改我的程式碼庫嗎?
不能。此技能僅用於探索的文件。它提供指導但無法撰寫程式碼。
使用此技能時我的資料安全嗎?
可以。此技能僅讀取和提供資訊。它不會存取外部網路或修改檔案。
此技能如何找到資訊?
它根據 Empathy Ledger 文件提供預先記錄的架構指導。
這與一般程式碼搜尋有何不同?
此技能提供情境感知的架構理解,而非簡單的文字比對。