perf-profile
Skill338 starsChanged 8 months agoMITView on GitHub
结构化的性能分析工作流。识别瓶颈、与性能预算对比测量,并生成带有优先级排序的优化建议。
8 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Sep 29, 2026
- dawn840705/codex-code-studiostheir own version, first seen Aug 28, 2026
- striderZA/OpenCodeGameStudiostheir own version, first seen Aug 10, 2026
- PatriotAgenticLLC/better_claude_skillztheir own version, first seen Jul 1, 2026
- cenconq25/claude-code-app-studiotheir own version, first seen May 3, 2026
Used with
Projects with it also use asset-spec, create-control-manifest and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +10 more from cenconq25
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- striderZA/OpenCodeGameStudios★ 90same name
- tranhieutt/software_development_department★ 72same name
- cenconq25/claude-code-app-studio★ 41same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dawn840705/codex-code-studios★ 17same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
- HunLuanZhiZhu/Game-Studios-Plugin★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architecture-decisionSkill
- asset-auditSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- changelogSkill
- code-reviewSkill
- design-reviewSkill
- design-systemSkill
- estimateSkill
- gate-checkSkill
- hotfixSkill
- launch-checklistSkill
- localizeSkill
- map-systemsSkill
- milestone-reviewSkill
- onboardSkill
- patch-notesSkill
- playtest-reportSkill
- project-stage-detectSkill
- prototypeSkill
- release-checklistSkill
- retrospectiveSkill
- reverse-documentSkill
- scope-checkSkill
- setup-engineSkill
- sprint-planSkill
- startSkill
- team-audioSkill
- team-combatSkill
- team-levelSkill
- team-narrativeSkill
- team-polishSkill
- team-releaseSkill
- team-uiSkill
- tech-debtSkill
The file
Files
当此技能被调用时:
- 确定范围根据参数:
- 如果是系统名称:专注于该特定系统的分析
- 如果是
full:对所有系统进行全面分析
- 读取性能预算 — 检查设计文档或 CLAUDE.md 中是否有现有性能目标:
- 目标 FPS(例如 60fps = 16.67ms 帧预算)
- 内存预算(总量和按系统)
- 加载时间目标
- Draw Call 预算
- 网络带宽限制(如果是多人游戏)
分析代码库中的常见性能问题:
CPU 分析目标:
_process()/Update()/Tick()函数 — 列出所有并估算开销- 大集合上的嵌套循环
- 热路径中的字符串操作
- 每帧代码中的分配模式
- 未优化的游戏实体搜索/排序
- 每帧执行的昂贵物理查询(射线检测、重叠检测)
内存分析目标:
- 大型数据结构及其增长模式
- 纹理/资源内存占用估算
- 对象池 vs 实例化/销毁模式
- 泄漏的引用(应该释放但未释放的对象)
- 缓存大小和淘汰策略
渲染目标(如适用):
- Draw Call 估算
- 重叠透明物体导致的过度绘制
- 着色器 (Shader) 复杂度
- 未优化的粒子系统
- 缺失 LOD (Level of Detail) 或遮挡剔除 (Occlusion Culling)
I/O 目标:
- 存档/读档性能
- 资源加载模式(同步 vs 异步)
- 网络消息频率和大小
生成性能分析报告:
## 性能分析:[系统或全面] 生成日期:[日期] ### 性能预算 | 指标 | 预算 | 估算当前值 | 状态 | |------|------|-----------|------| | 帧时间 | [16.67ms] | [估算值] | [正常/警告/超标] | | 内存 | [目标] | [估算值] | [正常/警告/超标] | | 加载时间 | [目标] | [估算值] | [正常/警告/超标] | | Draw Call | [目标] | [估算值] | [正常/警告/超标] | ### 发现的热点 | # | 位置 | 问题 | 预估影响 | 修复工作量 | |---|------|------|---------|-----------| | 1 | [文件:行号] | [描述] | [高/中/低] | [小/中/大] | | 2 | [文件:行号] | [描述] | [高/中/低] | [小/中/大] | ### 优化建议(按优先级排序) 1. **[标题]** — [优化描述] - 位置:[文件:行号] - 预期收益:[估算值] - 风险:[低/中/高] - 方案:[实现方式] ### 快速见效(每个不到 1 小时) - [简单优化 1] - [简单优化 2] ### 需要进一步调查 - [需要实际运行时分析来确定影响的领域]- 输出报告并附带摘要:前 3 个热点、相对于预算的估算余量,以及建议的下一步行动。
规则
- 不要先测量就优化 — 对性能的直觉是不可靠的
- 建议必须包含预估影响 — "让它更快"不具有可操作性
- 在目标硬件上进行分析,而不仅仅是开发机器
- 区分 CPU 瓶颈、GPU 瓶颈和 I/O 瓶颈
- 考虑最坏情况(最大实体数、最低配置硬件、最差网络条件)
- 静态分析(本技能)识别候选;运行时分析确认
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

