원클릭으로
convert-to-todo
コードレビュー結果をTODOリストに変換する。ブランチの変更をcode-refactorerでレビューし、改善点を.local/todo/配下にmarkdownファイルとして出力する。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
コードレビュー結果をTODOリストに変換する。ブランチの変更をcode-refactorerでレビューし、改善点を.local/todo/配下にmarkdownファイルとして出力する。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Investigate network connectivity issues by walking the stack from link layer up to application — Wi-Fi/Ethernet, DNS, routing, latency, and TLS. Trigger when the user says the internet is slow, a site won't load, "can't reach X", DNS errors, VPN issues, or asks why a specific host is unreachable.
Find which process is bound to a TCP/UDP port, walk up to its parent, and propose how to free the port. Trigger when the user says a port is already in use, "address already in use", "EADDRINUSE", a dev server fails to start, or asks "who's using port N".
Investigate disk usage and propose safe cleanup actions on Linux. Trigger when the user asks about storage capacity, disk space being full, what's eating disk, or how to free up space.
Investigate high CPU temperature by correlating temperature, load, and runaway processes. Trigger when the user says the CPU is hot, the fan is loud, the machine is throttling, or temperature is above normal.
| name | convert-to-todo |
| description | コードレビュー結果をTODOリストに変換する。ブランチの変更をcode-refactorerでレビューし、改善点を.local/todo/配下にmarkdownファイルとして出力する。 |
| allowed_tools | ["Bash","Task","Write","Read","Glob"] |
ブランチの変更をレビューし、改善点をTODOリストとしてmarkdownファイルに出力するスキル。
ユーザーが指定可能なパラメータ:
git branch --show-current
git status
以下のいずれかからtodoを作成する
コンテキストが不明の場合はUserAskQuestionToolを使ってユーザに確認を行う
Taskツールを使用してcode-refactorerエージェントを起動し、以下の観点でレビューを依頼:
レビュー用のプロンプト例:
このブランチ({ブランチ名})の{ベースブランチ}からの変更をレビューしてください。
以下の観点でコードをレビューしてください:
1. コードの可読性と保守性
2. 重複コードや不要な複雑さがないか
3. 命名規則の一貫性
4. エラーハンドリングの適切さ
5. リファクタリングの余地がある箇所
まず `git diff {ベースブランチ}...HEAD` で変更内容を確認し、変更されたファイルを読んでコンテキストを理解した上で、改善点や問題点を指摘してください。
コードを修正する必要はありません。レビューコメントのみを提供してください。
mkdir -p .local/todo
レビュー結果をもとに、以下の形式でmarkdownファイルを作成:
ファイルパス: .local/todo/{ブランチ名}-refactoring.md
ファイル構造:
# {ブランチ名} リファクタリングTODO
作成日: {YYYY-MM-DD}
ブランチ: {ブランチ名}
## 高優先度
### 1. {タスクタイトル}
- [ ] {サブタスク1}
- [ ] {サブタスク2}
**対象ファイル**: `{ファイルパス}`
**理由**: {改善が必要な理由}
## 中優先度
### 2. {タスクタイトル}
...
## 低優先度
### 3. {タスクタイトル}
...
## 完了済み
- [x] {完了したタスク} (commit: {コミットハッシュ})
ベースブランチからの全コミットを確認し、完了済みの改善を「完了済み」セクションに記載:
git log {ベースブランチ}..HEAD --oneline
作成したTODOファイルの内容をユーザーに表示し、確認を求める。
.local/todo/ 配下に作成{ブランチ名}-refactoring.md 形式(スラッシュは削除)- [ ] で未完了、- [x] で完了を表現入力:
/convert-to-todo
出力ファイル:.local/todo/feature-auth-refactoring.md
# feature-auth リファクタリングTODO
作成日: 2026-01-30
ブランチ: feature/auth
## 高優先度
### 1. AuthServiceの分割
- [ ] 認証ロジックを別メソッドに抽出
- [ ] トークン管理を別クラスに分離
**対象ファイル**: `src/services/auth.service.ts`
**理由**: 単一責任の原則に違反、テストが困難
## 完了済み
- [x] パスワードハッシュ化の実装 (commit: abc1234)