codebase-exploration by 404kidwiz/claude-supercode-skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill codebase-exploration专长于系统性的代码库探索与发现。运用高级搜索技术、模式识别和代码分析,快速理解陌生代码库,定位特定实现,映射架构模式,并回答关于代码的位置相关问题。
在以下情况调用此技能:
在以下情况请勿调用:
快速(快速,概览)
中等(平衡深度)
(深度探索)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 问题类型 | 搜索策略 |
|---|---|
| "用户身份验证在哪里?" | 搜索身份验证关键词 + 登录模式 |
| "数据流是如何工作的?" | 查找模型、服务、控制器模式 |
| "哪个文件处理 X API?" | 搜索端点 + 路由定义 |
| "查找所有数据库查询" | 搜索 ORM 模式、SQL 关键词 |
| "定位错误处理" | 查找 try-catch、错误类 |
| 工具 | 最适合 | 示例 |
|---|---|---|
grep/rg | 文本模式匹配 | rg "function handleAuth" |
find/fd | 文件名/路径匹配 | fd -e ts auth |
ast-grep | 代码结构匹配 | ast-grep --pattern "class $NAME" |
| LSP 工具 | 符号和引用查找 | lsp_find_references |
git log | 历史上下文 | git log --name-only |
"X 在哪里实现?"
rg "X|x"rg "related|terms"ls src/X/rg "X" tests/"Y 是如何工作的?"
"哪些文件使用了 Z?"
基于模式的搜索
上下文感知搜索
多角度发现
tree -L 2, ls -la src/)fd -e ts, rg -c "class|function")fd authrg "authentication"ast-grep --pattern "class $NAME"lsp_workspace_symbols# 身份验证流程
1. 入口:src/middleware/auth.ts
2. 令牌验证:src/services/jwt.service.ts
3. 用户查找:src/repositories/user.repository.ts
4. 守卫:src/guards/auth.guard.ts
每周安装数
294
代码仓库
GitHub 星标数
43
首次出现
2026年1月24日
安全审计
安装于
opencode256
gemini-cli246
codex245
github-copilot223
cursor221
claude-code204
Specializes in systematic codebase exploration and discovery. Uses advanced search techniques, pattern recognition, and code analysis to quickly understand unfamiliar code, locate specific implementations, map architectural patterns, and answer location-based questions about code.
Invoke this skill when:
Do NOT invoke when:
Quick (Fast, broad strokes)
Medium (Balanced depth)
Very Thorough (Deep dive)
| Question Type | Search Strategy |
|---|---|
| "Where is user authentication?" | Search for auth keywords + login patterns |
| "How does data flow work?" | Find models, services, controllers pattern |
| "Which file handles X API?" | Search endpoints + route definitions |
| "Find all database queries" | Search ORM patterns, SQL keywords |
| "Locate error handling" | Find try-catch, error classes |
| Tool | Best For | Example |
|---|---|---|
grep/rg | Text pattern matching | rg "function handleAuth" |
find/fd | File name/path matching | fd -e ts auth |
ast-grep | Code structure matching | ast-grep --pattern "class $NAME" |
| LSP tools | Symbol and reference finding |
"Where is X implemented?"
rg "X|x"rg "related|terms"ls src/X/rg "X" tests/"How does Y work?"
"Which files use Z?"
Pattern-Based Search
Context-Aware Search
Multi-Angle Discovery
tree -L 2, ls -la src/)fd -e ts, rg -c "class|function")fd authrg "authentication"ast-grep --pattern "class $NAME"lsp_workspace_symbols# Authentication Flow
1. Entry: src/middleware/auth.ts
2. Token validation: src/services/jwt.service.ts
3. User lookup: src/repositories/user.repository.ts
4. Guards: src/guards/auth.guard.ts
Weekly Installs
294
Repository
GitHub Stars
43
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode256
gemini-cli246
codex245
github-copilot223
cursor221
claude-code204
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
138,300 周安装
Google Ads Manager 技能:广告系列管理、关键词研究、出价优化与效果分析
311 周安装
Telegram机器人开发教程:构建AI助手、通知系统与群组自动化工具
311 周安装
AI图像生成提示词优化指南:DALL-E、Midjourney、Stable Diffusion提示工程技巧
311 周安装
AI协作头脑风暴工具 - 将想法转化为完整设计规范,支持代码模板与项目管理
311 周安装
解决 Docker 沙盒 npm 安装崩溃:sandbox-npm-install 技能详解与使用指南
311 周安装
网页设计方法论:生产级HTML/CSS构建模式与BEM命名规范
311 周安装
lsp_find_references |
git log | Historical context | git log --name-only |