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


