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


