Agent Skillsagent-sh/agentsys › perf-profiler

perf-profiler

GitHub

用于性能分析,执行CPU/内存热点探查、生成火焰图或捕获JFR/perf证据。需遵循perf规范,验证调试符号并输出带证据的热点报告。

.kiro/skills/perf-profiler/SKILL.md agent-sh/agentsys

Trigger Scenarios

分析CPU或内存热点路径 生成火焰图 捕获性能分析证据

Install

npx skills add agent-sh/agentsys --skill perf-profiler -g -y
More Options

Non-standard path

npx skills add https://github.com/agent-sh/agentsys/tree/main/.kiro/skills/perf-profiler -g -y

Use without installing

npx skills use agent-sh/agentsys@perf-profiler

指定 Agent (Claude Code)

npx skills add agent-sh/agentsys --skill perf-profiler -a claude-code -g -y

安装 repo 全部 skill

npx skills add agent-sh/agentsys --all -g -y

预览 repo 内 skill

npx skills add agent-sh/agentsys --list

SKILL.md

Frontmatter
{
    "name": "perf-profiler",
    "version": "5.1.0",
    "description": "Use when profiling CPU\/memory hot paths, generating flame graphs, or capturing JFR\/perf evidence.",
    "argument-hint": "[tool] [command]"
}

perf-profiler

Run profiling tools and capture hotspots with evidence.

Follow docs/perf-requirements.md as the canonical contract.

Parse Arguments

const args = '$ARGUMENTS'.split(' ').filter(Boolean);
const tool = args[0] || '';
const command = args.slice(1).join(' ');

Required Rules

  • Verify debug symbols before profiling.
  • Capture file:line for hotspots.
  • Provide flame graph or equivalent output when possible.

Output Format

tool: <profiler>
command: <command>
hotspots:
  - file:line - reason
artifacts:
  - <path to flame graph or profile>

Constraints

  • No profiling without a clear scenario.
  • Keep outputs minimal and evidence-backed.

Version History

  • a92c0cb Current 2026-07-25 11:25

Same Skill Collection

.kiro/skills/consult/SKILL.md
.kiro/skills/debate/SKILL.md
.kiro/skills/deslop/SKILL.md
.kiro/skills/discover-tasks/SKILL.md
.kiro/skills/drift-analysis/SKILL.md
.kiro/skills/enhance-agent-prompts/SKILL.md
.kiro/skills/enhance-claude-memory/SKILL.md
.kiro/skills/enhance-cross-file/SKILL.md
.kiro/skills/enhance-docs/SKILL.md
.kiro/skills/enhance-hooks/SKILL.md
.kiro/skills/enhance-orchestrator/SKILL.md
.kiro/skills/enhance-plugins/SKILL.md
.kiro/skills/enhance-prompts/SKILL.md
.kiro/skills/enhance-skills/SKILL.md
.kiro/skills/learn/SKILL.md
.kiro/skills/orchestrate-review/SKILL.md
.kiro/skills/perf-analyzer/SKILL.md
.kiro/skills/perf-baseline-manager/SKILL.md
.kiro/skills/perf-benchmarker/SKILL.md
.kiro/skills/perf-code-paths/SKILL.md
.kiro/skills/perf-investigation-logger/SKILL.md
.kiro/skills/perf-theory-gatherer/SKILL.md
.kiro/skills/perf-theory-tester/SKILL.md
.kiro/skills/repo-intel/SKILL.md
.kiro/skills/sync-docs/SKILL.md
.kiro/skills/validate-delivery/SKILL.md
meta/skills/maintain-cross-platform/SKILL.md

Metadata

Files
0
Version
a0b2c8d
Hash
41a0fa53
Indexed
2026-07-25 11:25

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 12:44
浙ICP备14020137号-1 $Гость$