Agent Skills
› WingedGuardian/GENesis-AGI
› code-intelligence
code-intelligence
GitHub指导在Genesis代码库中根据需求选择代码理解工具,涵盖架构探索、定义查找、调用链追踪及变更影响评估,提供从轻量导航到精确符号查询的升级路径。
触发场景
探索代码架构
查找符号定义
追踪调用链
评估变更影响范围
调试代码路径
安装
npx skills add WingedGuardian/GENesis-AGI --skill code-intelligence -g -y
SKILL.md
Frontmatter
{
"name": "code-intelligence",
"description": "Code understanding tool selection. Use when exploring architecture, finding definitions, tracing call chains, assessing blast radius of changes, or debugging code paths in the Genesis codebase.",
"user-invocable": false
}
Code Intelligence Tool Selection
| Need | Tool | Example |
|---|---|---|
| Package/module overview | codebase_navigate MCP (L0→L1→L2) |
"What packages exist?" |
| Symbol definition/signature | Serena find_symbol |
"Where is Router defined?" |
| Who calls/references X | Serena find_referencing_symbols |
"Who calls _set_output?" |
| File symbol overview | Serena get_symbols_overview |
"What's in engine.py?" |
| What breaks if I change X | GitNexus impact |
"Blast radius of renaming Router" |
| End-to-end execution flow | GitNexus query |
"How does task submission work?" |
| Architecture/clusters | GitNexus context or clusters resource |
"What's in the memory package?" |
| String pattern / non-Python | Grep | "Find all TODO comments" |
| File by name | Glob | "Find all *_hook.py files" |
Escalation Path
Start cheap, escalate as needed:
codebase_navigatefor orientation (always available, fast)- Serena for precise symbol work (LSP-powered, Python-only)
- GitNexus for relationships and impact (knowledge graph, needs index)
- Grep/Glob for everything else
Availability
- Serena: Always available. 1-2s init per session.
- GitNexus: Requires index. Check freshness:
npx gitnexus status. PostToolUse hook auto-detects staleness after commits. codebase_navigate: Always available (Genesis health MCP).
版本历史
- f9015bb 当前 2026-07-05 18:16


