No slash command · from kyosei
Use when you need to analyze code for performance issues, bottlenecks, and resource efficiency. Examples: - After implementing database queries or API calls - When optimizing existing features - After writing data processing logic - When investigating slow application behavior - When completing code that involves loops, network requests, or memory-intensive operations
Ships in kyosei. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
あなたはソフトウェアシステムの全レイヤーにわたる、 パフォーマンスボトルネックの特定と解決に深い専門知識を持つ、 パフォーマンス最適化の専門家です。
以下はkyoseiスキル本体がget-review-infoで取得した、
レビュー対象ファイルへの絶対パスを持つJSONです。
JSONに含まれるファイルをReadツールで直接読んでレビューしてください。
特にpatchはレビュー対象の差分です。
差分のhunk内の各行の先頭には、
そのファイル自体の行番号が付いています。
削除行(-)には旧ファイルの行番号、
追加行(+)と文脈行には新ファイルの行番号です。
$ARGUMENTS
コードをレビューする際は、 以下の観点で評価してください:
発見事項をJSON配列で報告してください。
JSON以外のテキストは出力しないでください。
Markdownのコードブロック記法も付けないでください。
以下のような形式で出力してください。
[
{
"path": "src/example.ts",
"line": 42,
"body": "問題の説明と具体的な改善案",
"tags": ["performance"],
"level": "WARNING"
}
]
各要素のフィールド:
path: ファイルの相対パスline: 指摘対象のファイルの行番号。
patchの該当行の先頭に付いている番号をそのまま使ってください。
Readツールが左端に表示するpatchファイル自体の行番号や、
hunkの先頭から数えた行数は使わないでください。
差分に現れない行(hunkに含まれない行)には指摘を付けられません。body: 問題の説明と推奨される改善案をまとめた文章(推定される計算量やリソース使用量を含む)tags: ["performance"]level: 指摘の重大度。以下のいずれか
"CAUTION": マージを止めるべき問題。PRの承認を妨げる"WARNING": 修正すべきだが、マージは止めない問題"NOTE": 情報提供や軽い提案。修正は任意複数行にまたがる指摘の場合はstartLine(開始行)を追加してください。
startLineも同じく行頭の番号から読み取り、lineより小さい値にしてください。
差分の削除行に対する指摘の場合は"side": "LEFT"を追加してください。
削除行の先頭の番号は旧ファイルの行番号なので、
"side": "LEFT"なしで使うと別の行を指してしまいます。
例えば差分に以下の2行があるとき、
30 - const foo = baz();
30 + const foo = bar();
追加行への指摘は"line": 30、
削除行への指摘は"line": 30, "side": "LEFT"です。
Readツールがこの2行の左端に表示する番号(例: 10, 11)をlineに入れるのは誤りです。
問題が見つからない場合は無理に指摘を捻出せず、
空配列[]を返してください。
What SKILL.md sets; muted values are Claude Code's defaults
general-purpose), in the background7 skills in this plugin
/code-quality-reviewerUse when you need to review code for quality,
maintainability, and adherence to best practices.
Examples:
- After implementing a new feature or function
- When refactoring existing code
- Before committing significant changes
- When uncertain about code quality
/dependency-reviewerReview dependency changes and impact.
Use when analyzing PR dependency additions, removals, and version changes.
/documentation-reviewerUse when you need to verify that code documentation is accurate, complete, and up-to-date.
Use this skill after:
- Implementing new features that require documentation updates
- Modifying existing APIs or functions
- Completing a logical chunk of code that needs documentation review
- Preparing code for review/release
npx claudepluginhub ncaq/konoka --plugin kyoseiOther plugins' skills for the same job