resolve-fixme
できること
このスキルは、コード内のFIXMEのメモを見つけ、コメントのブロック全体を読み、関連するものをまとめて、そこに書かれた作業を完了します。多くのFIXMEのメモを片付けたい開発者向けです。
使う場面
- ✓片付けたいFIXMEのコメントが、コードベースに多くあるとき。
- ✓FIXMEのコメントが、複数のファイルにまたがる作業を説明しているとき。
- ✓変更を行う前に、各FIXMEが求めていることの一覧がほしいとき。
スキルのリンク
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/resolve-fixme/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のプロジェクトのFIXMEのコメントをすべて見つけて、そこに書かれた作業を行ってもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、FIXMEのメモを探すスクリプトを実行し、それぞれの周りのコメントブロック全体を読み、関連する項目をまとめます。その後、変更を行い、完了したメモを削除します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Resolve FIXME Comments
Workflow
1. Run the discovery script
Execute the script from the repository root to collect all FIXMEs with context:
bash .forge/skills/resolve-fixme/scripts/find-fixme.sh [PATH]
PATHis optional; omit it to search the entire working directory.- The script prints each FIXME with 2 lines of context before and 5 lines after, along with the exact file path and line number.
- Skips
.git/,target/,node_modules/, andvendor/. - Requires either
rg(ripgrep) orgrep+python3.
2. Expand each FIXME into its full instruction
Do not rely on the discovery output alone.
For every hit:
- Open the file and read around the reported line.
- Expand the FIXME to include the entire comment block.
- Treat all consecutive related comment lines as part of the same instruction.
Important:
- A FIXME may be multiline. The line containing
FIXMEis often only the beginning. - The real instruction may continue on following comment lines and may contain the actual implementation details.
- Do not interpret or edit a FIXME until you have read the full block.
For each expanded FIXME, capture:
- file path
- start line and end line of the full comment block
- a short summary of what that FIXME is asking for
3. Consolidate related FIXMEs across files
Before editing code, review all expanded FIXMEs together.
Many FIXMEs describe different facets of the same underlying task across multiple files. For example:
- one file may describe a domain type that needs to be introduced
- another may describe a parameter that should disappear once that type exists
- another may describe a service, repo, or UI update needed to complete the same refactor
Group such FIXMEs into a single implementation task.
When grouping, look for:
- shared vocabulary
- references to the same type, service, repo, parameter, or feature
- comments that clearly describe prerequisite and follow-up changes in different files
- comments that only make sense when read together
For each group, produce one consolidated understanding of the task:
- all files and line ranges involved
- the complete implementation required across the group
- the order in which the changes should be made
Do not resolve grouped FIXMEs one file at a time in isolation. Resolve the whole task consistently.
4. Implement every FIXME completely
Every FIXME must be resolved. There is no skip path.
Work through each grouped task until the underlying implementation is complete:
- Read any additional files needed to understand the design.
- Create or modify the required code, types, services, repos, tests, configs, or templates.
- Propagate the change through every affected file in the group.
- Remove each FIXME comment only after the work it describes has actually been implemented.
Critical rule: Never delete or rewrite a FIXME comment unless the underlying implementation is finished. The comment is a record of required work. Removing it before completing that work is a failure.
If the FIXME implies a larger refactor, do the refactor. If it requires creating new supporting code, create it. Do not stop at the first local change if the comment clearly implies additional follow-through elsewhere.
5. Verify
After resolving all FIXMEs:
- Run the project's standard verification step:
cargo insta test --accept
- Re-run the discovery script:
bash .forge/skills/resolve-fixme/scripts/find-fixme.sh [PATH]
- Confirm that no FIXME comments remain in the targeted scope.
Notes
- Prefer targeted fixes, but do not under-scope the work when multiple FIXMEs describe one larger task.
- Read broadly before editing when the intent is ambiguous.
- Consistency matters more than locality: grouped FIXMEs should lead to one coherent implementation.
- The job is not to clean up comments. The job is to complete the implementation those comments are pointing at.
よくある質問
一部のフォルダーは除外されますか?
はい。.git、ビルドの出力、node_modules、vendorなどのフォルダーは除外します。
1つのFIXMEが複数行にわたる場合はどうしますか?
指示が後の行に続くかもしれないので、エージェントはコメントのブロック全体を読みます。
検索を1つのフォルダーに限れますか?
はい。パスを指定すると、そのフォルダーだけを検索できます。
詳細
作者による元の説明
Find all FIXME comments across the codebase and fully implement the work they describe. Use when the user asks to fix, resolve, or address FIXME comments, or when running the "fixme" command. Runs a discovery script to find every FIXME, expands multiline comment blocks, groups related FIXMEs across files into a single implementation task, completes the full underlying code changes, removes the FIXME comments only after the work is done, and verifies that no FIXMEs remain.
repo: tailcallhq/forgecode
人気
- GitHubのスター
- 7.6k
- ランキング
- #13115
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
create-agent
7.6kForgeのコーディングアプリ向けのカスタムエージェントを、先頭に設定があるMarkdownファイルとして作成または変更する方法をエージェントに教えます。
create-command
7.6kForgeのコーディングアプリ向けに、順番に実行される手順としてMarkdownで書く、再利用可能なコマンドを作る方法をエージェントに教えます。
create-github-issue
7.6kリポジトリ独自のIssueテンプレートに従い、適切な項目とラベルを付けたGitHubのIssueを作成するようエージェントを支援します。
create-plan
7.6kコードを変更する前に、手順、リスク、代替案を含む、複雑な作業の詳しい実装計画を書くようエージェントを支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。