Agent Skillsfranklioxygen/agent-workflows › performance-review

performance-review

GitHub

用于对代码变更、PR或分支进行性能审查,评估算法复杂度、数据库查询、N+1风险及内存使用等。通过扫描信号和追踪热点路径,提供具体的优化建议与验证方案,支持可扩展性分析与延迟风险评估。

skills/performance-review/SKILL.md franklioxygen/agent-workflows

Trigger Scenarios

请求代码性能审查 请求可扩展性分析 请求性能剖析计划 请求基准测试计划 请求延迟风险评估

Install

npx skills add franklioxygen/agent-workflows --skill performance-review -g -y
More Options

Use without installing

npx skills use franklioxygen/agent-workflows@performance-review

指定 Agent (Claude Code)

npx skills add franklioxygen/agent-workflows --skill performance-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add franklioxygen/agent-workflows --all -g -y

预览 repo 内 skill

npx skills add franklioxygen/agent-workflows --list

SKILL.md

Frontmatter
{
    "name": "performance-review",
    "description": "Perform focused performance reviews of code changes, pull requests, branches, or workspace diffs for algorithmic complexity, database query patterns, N+1 risks, pagination, caching, batching, memory use, synchronous I\/O, latency, and load behavior. Use when Codex is asked for a performance review, scalability review, profiling plan, benchmark plan, or latency-risk assessment."
}

Performance Review

Quick Start

Review Workflow

  1. Establish expected scale: records, requests per second, concurrency, payload size, memory budget, latency budget.
  2. Identify hot paths and expensive dependencies: database, network, filesystem, CPU, serialization, rendering, queues.
  3. Run signal scan:
python3 scripts/performance_signal_scan.py /path/to/repo-or-file
  1. Trace loops, queries, API calls, and allocations through realistic worst-case inputs.
  2. Recommend validation: targeted tests, profiling, explain plans, benchmarks, load tests, or production metrics.

Output Rules

  • Findings must include scale assumptions and the cost mechanism.
  • Distinguish measured issues from plausible risks.
  • Prefer concrete mitigations: add pagination, batch calls, add index, cache with invalidation, stream data, avoid repeated work.
  • If no findings are found, state residual risk and whether profiling or benchmarks were skipped.

Version History

  • 063f52c Current 2026-07-05 20:14

Same Skill Collection

skills/docs-maintenance/SKILL.md
skills/migration-planning/SKILL.md
skills/project-initialization/SKILL.md
skills/release-prep/SKILL.md
skills/security-review/SKILL.md
skills/test-strategy/SKILL.md
skills/workflow-automation/SKILL.md
skills/workflow-maintainer/SKILL.md
zh-cn/skills/docs-maintenance/SKILL.md
zh-cn/skills/migration-planning/SKILL.md
zh-cn/skills/performance-review/SKILL.md
zh-cn/skills/project-initialization/SKILL.md
zh-cn/skills/release-prep/SKILL.md
zh-cn/skills/security-review/SKILL.md
zh-cn/skills/test-strategy/SKILL.md
zh-cn/skills/workflow-automation/SKILL.md
zh-cn/skills/workflow-maintainer/SKILL.md

Metadata

Files
0
Version
063f52c
Hash
a7ffc1cf
Indexed
2026-07-05 20:14

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