对代码变更、Pull Request、分支或工作区 diff 进行聚焦性能评审,关注算法复杂度、数据库查询模式、N+1 风险、分页、缓存、批处理、内存使用、同步 I/O、延迟和负载行为;当 Codex 被要求做性能评审、可扩展性评审、性能剖析计划、基准测试计划或延迟风险评估时使用。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add franklioxygen/agent-workflows --skill performance-review --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Performance Review?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/franklioxygen-performance-review-agent-workflows)More formats (shields.io, HTML) on the badges page.
---
name: performance-review
description: 对代码变更、Pull Request、分支或工作区 diff 进行聚焦性能评审,关注算法复杂度、数据库查询模式、N+1 风险、分页、缓存、批处理、内存使用、同步 I/O、延迟和负载行为;当 Codex 被要求做性能评审、可扩展性评审、性能剖析计划、基准测试计划或延迟风险评估时使用。
---
<!--
Function Name: performance-review.zh-cn
Description: 聚焦性能评审与性能剖析规划技能说明中文翻译。
-->
# 性能评审
## 快速开始
- 当仓库路径或变更文件路径可用时,运行 `scripts/performance_signal_scan.py <path>`。
- 在输出发现前,先阅读 [references/performance-review-checklist.md](references/performance-review-checklist.md)。
- 遵循 [../_shared/references/skill-operating-rules.md](../_shared/references/skill-operating-rules.md) 中共享的安全、验证和范围规则。
- 关注热点路径、数据规模、请求速率和运维成本。
- 除非用户明确要求修复,否则保持只读。
## 评审流程
1. 先明确预期规模:记录数、每秒请求数、并发度、负载大小、内存预算和延迟预算。
2. 识别热点路径和高成本依赖:数据库、网络、文件系统、CPU、序列化、渲染、队列。
3. 运行信号扫描:
```bash
python3 scripts/performance_signal_scan.py /path/to/repo-or-file
```
4. 针对现实中的最坏输入,追踪循环、查询、API 调用和分配路径。
5. 推荐验证方式:定向测试、性能剖析、explain plan、基准测试、压测或生产指标观察。
## 输出规则
- 每个发现都必须包含规模假设和成本机制。
- 区分“已经测量到的问题”和“合理推断的风险”。
- 优先给出具体缓解措施:加分页、批量调用、加索引、带失效机制的缓存、流式处理数据、避免重复工作。
- 如果没有发现问题,也要说明剩余风险,以及是否跳过了性能剖析或基准测试。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...