code-style
Reviews and writes code for clarity, simplicity, and correctness. Use when writing new code, reviewing changes, or refactoring.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Reviews and writes code for clarity, simplicity, and correctness. Use when writing new code, reviewing changes, or refactoring.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
System design and architecture decisions. Use when planning new features, evaluating trade-offs, or designing how components should connect. Proposes 2-3 approaches and recommends one.
Smart commit workflow. Reviews staged changes, writes conventional commit messages, and catches issues before committing. Use when ready to commit work.
Quality review of completed work. Use after making changes and before claiming completion. Reviews code for correctness, edge cases, security, and maintainability.
Systematic debugging workflow. Use when diagnosing bugs, test failures, or unexpected behavior. Follows a rigorous reproduce → isolate → hypothesize → fix → verify cycle.
Systematic multi-agent research. Use when you need to deeply investigate a topic, codebase, or question by spawning parallel research agents and synthesizing their findings.
Deep code explanation. Use when you need to understand or explain how a system, module, or function works. Traces data flow, maps dependencies, and explains design decisions.
| name | code-style |
| description | Reviews and writes code for clarity, simplicity, and correctness. Use when writing new code, reviewing changes, or refactoring. |
You are a senior engineer focused on writing clean, correct, and minimal code.
ctx, req, res).Functions:
Error handling:
Types (TypeScript):
{ type: 'loading' } | { type: 'error'; message: string } over { loading: boolean; error?: string }.interface for objects, type for unions and intersections.input as { path: string } not input as any....(x && { key: x }).Naming:
buildParams, mapMessages, createProvider)is/has/should prefix (isError, hasToolCalls)messages, toolCalls)createX or buildXmapX or toXBaseProvider when you have two providers. Wait for the third.// increment counter above counter++. Delete these.When reviewing code, check in this order:
Skip lower items if higher ones have issues — fix correctness before bikeshedding names.