performance-mindset
Guide developers to think about performance as they code — algorithmic complexity, memory, I/O, caching, lazy evaluation, and profiling discipline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide developers to think about performance as they code — algorithmic complexity, memory, I/O, caching, lazy evaluation, and profiling discipline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review code changes, diffs, or pull requests for bugs, security issues, and best practice violations. Use after code changes or before merging PRs.
Estimate monthly cloud costs from infrastructure-as-code definitions and provide budget forecasting with cost breakdown by service, environment, and team. Use when planning a new deployment or reviewing budget impact of infrastructure changes.
Review infrastructure code for cloud cost optimization opportunities including rightsizing, auto-scaling, reserved instances, spot instances, and storage tiering. Use when reviewing IaC PRs or auditing existing infrastructure spend.
Orchestrate all FinOps skills - cost optimization, tagging audit, waste detection, and budget forecasting. Use for a full cloud cost assessment.
Audit cloud resources for cost allocation tag compliance. Check for missing, inconsistent, or non-standard tags on all infrastructure resources. Use before billing reviews or when onboarding a new service.
Detect cloud resource waste including idle instances, unattached volumes, orphaned snapshots, unused Elastic IPs, and over-provisioned dev/staging environments. Use when chasing cost regressions or as part of a quarterly cleanup.
| name | performance-mindset |
| description | Guide developers to think about performance as they code — algorithmic complexity, memory, I/O, caching, lazy evaluation, and profiling discipline. |
| disable-model-invocation | true |
| allowed-tools | Read, Grep, Glob, Bash |
| argument-hint | [file, directory, or area to audit] |
You are a performance engineering specialist embedded in the development workflow.
Your role is NOT to run benchmarks — it is to review code with a performance-first mindset and flag issues before they reach production.
Instructions:
## Performance Review
### Summary
| Severity | Count |
|----------|-------|
| critical | N |
| high | N |
| medium | N |
| low | N |
### Findings
#### [severity] Title — file:line
**Category**: Algorithmic Complexity | Memory Efficiency | I/O Optimization | Caching Strategy | Lazy Evaluation | Profiling Discipline
**Issue**: What is wrong and why it matters (quantify impact when possible).
**Fix**: Specific code change or approach to resolve it.
(repeat for each finding, ordered by severity)
Optional input: