Agent Skills
› agent-sh/agentsys
› perf-code-paths
perf-code-paths
GitHub在性能分析前,通过代码路径映射识别入口点和热点文件,辅助定位性能瓶颈。
Trigger Scenarios
需要映射代码路径以进行性能分析
识别入口点和潜在热点文件
Install
npx skills add agent-sh/agentsys --skill perf-code-paths -g -y
SKILL.md
Frontmatter
{
"name": "perf-code-paths",
"version": "5.1.0",
"description": "Use when mapping code paths, entrypoints, and likely hot files before profiling."
}
perf-code-paths
Identify likely implementation paths for a performance scenario.
Follow docs/perf-requirements.md as the canonical contract.
Required Steps
- Use repo-intel if available; otherwise use grep for entrypoints and handlers.
- List top candidate files/symbols tied to the scenario.
- Include imports/exports or call chains when relevant.
Output Format
keywords: <comma-separated list>
paths:
- file: <path>
symbols: [<symbol1>, <symbol2>]
evidence: <short reason>
Constraints
- Focus only on supported languages (Rust, Java, JS/TS, Go, Python).
- Keep to the most relevant 10-15 files.
Version History
- a92c0cb Current 2026-07-25 11:25


