ワンクリックで
code-optimization
Use when analyzing code for performance issues, memory leaks, inefficient loops, blocking calls, and resource waste
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when analyzing code for performance issues, memory leaks, inefficient loops, blocking calls, and resource waste
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use before any DevOps build, change, or new feature — refine requirements through dialogue before touching infrastructure or code
Use when working with Docker — building images, writing Dockerfiles, debugging container issues
Use to execute a written implementation plan via subagents with review checkpoints
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when working with Kubernetes or Helm — authoring, reviewing, hardening, or debugging manifests, Deployments, Services, Ingress, RBAC, NetworkPolicy, or cluster operations
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
| name | code-optimization |
| description | Use when analyzing code for performance issues, memory leaks, inefficient loops, blocking calls, and resource waste |
RUN commands that could be combined)Python:
list.append() in a loop where a list comprehension would do+ string concatenation in a loop (use join)JavaScript/Node:
Promise chains that could run in parallel (Promise.all)console.log left in hot pathsfs methods (fs.readFileSync) in async handlersGo:
For each finding:
[SEVERITY] Type — Description
Location: file:line or "pasted code, line X"
Impact: what this costs (memory, CPU, latency, etc.)
Fix: specific change to make
Example:
Before: <bad code>
After: <fixed code>
Severity: HIGH (causes real degradation), MEDIUM (wastes resources), LOW (minor improvement).