resolve-fixme
Skill này làm gì
Skill này tìm các ghi chú FIXME trong code, đọc toàn bộ khối bình luận, nhóm các ghi chú liên quan và hoàn thành công việc chúng mô tả. Skill dành cho lập trình viên đã để lại nhiều ghi chú FIXME cần xử lý.
Khi nào nên dùng
- ✓Khi một codebase có nhiều bình luận FIXME bạn muốn xử lý hết.
- ✓Khi một bình luận FIXME mô tả công việc trải dài qua nhiều file.
- ✓Khi bạn muốn có danh sách những gì mỗi FIXME yêu cầu trước khi thay đổi gì.
Liên kết skill
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/resolve-fixme/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể tìm mọi bình luận FIXME trong dự án của tôi và làm công việc chúng mô tả không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy một script tìm kiếm các ghi chú FIXME, đọc toàn bộ khối xung quanh từng ghi chú, nhóm các mục liên quan, rồi thực hiện thay đổi và xóa những ghi chú đã hoàn thành.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Nó có bỏ qua một số thư mục không?
Có. Nó bỏ qua các thư mục như .git, output build, node_modules và vendor.
Nếu một FIXME trải dài nhiều dòng thì sao?
Agent đọc toàn bộ khối bình luận, vì chỉ dẫn có thể tiếp tục ở các dòng sau.
Tôi có thể giới hạn tìm kiếm trong một thư mục không?
Có. Bạn có thể truyền một đường dẫn để tìm kiếm chỉ trong thư mục đó.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13115
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
create-agent
7.6kDạy agent của bạn tạo hoặc chỉnh sửa agent tùy chỉnh cho ứng dụng lập trình Forge, lưu dưới dạng file markdown với thiết lập ở đầu.
create-command
7.6kDạy agent của bạn tạo lệnh tái sử dụng cho ứng dụng lập trình Forge, viết dưới dạng các bước markdown chạy theo thứ tự.
create-github-issue
7.6kGiúp agent của bạn tạo issue GitHub theo đúng mẫu issue của kho lưu trữ, với các trường và nhãn phù hợp.
create-plan
7.6kGiúp agent của bạn viết một kế hoạch triển khai chi tiết cho tác vụ phức tạp, gồm các bước, rủi ro và phương án thay thế, trước khi sửa code.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.