fix-review – skill Lập trình cho agent AI
Xác minh các commit sửa lỗi đã xử lý đúng phát hiện của audit mà không gây lỗi mới
Cài skill fix-review bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/fix-review-442cc.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /fix-review – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/fix-review-442cc.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $fix-review – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/fix-review-442cc.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /fix-review – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/fix-review-442cc.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /fix-review – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Fix Review
Overview
Verify that fix commits properly address audit findings without introducing new bugs or security vulnerabilities.
When to Use This Skill
Use this skill when you need to verify fix commits address audit findings without new bugs.
Use this skill when:
- Reviewing commits that address security audit findings
- Verifying that fixes don't introduce new vulnerabilities
- Ensuring code changes properly resolve identified issues
- Validating that remediation efforts are complete and correct
Instructions
This skill helps verify that fix commits properly address audit findings:
1. Review Fix Commits: Analyze commits that claim to fix audit findings
2. Verify Resolution: Ensure the original issue is properly addressed
3. Check for Regressions: Verify no new bugs or vulnerabilities are introduced
4. Validate Completeness: Ensure all aspects of the finding are resolved
Review Process
When reviewing fix commits:
1. Compare the fix against the original audit finding
2. Verify the fix addresses the root cause, not just symptoms
3. Check for potential side effects or new issues
4. Validate that tests cover the fixed scenario
5. Search reachable related paths for the same root cause; record what was covered and what remains unverified
Evidence record
Bind the review to the exact full head SHA, original finding and affected scope. Record the pre-fix trigger, post-fix behavior, tests actually run, unresolved variants and limitations. A test that cannot run is unverified, not passing. This instruction alone does not satisfy a repository Tessl or maintainer merge gate.
Best Practices
- Review fixes in context of the full codebase
- Verify test coverage for the fixed issue
- Check for similar patterns that might need fixing
- Ensure fixes follow security best practices
- Document the resolution approach
Resources
For more information, see the [source repository](https://github.com/trailofbits/skills/tree/main/plugins/fix-review).
Example
User request:
> Review commits that address security audit findings.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- fp-async – Mẫu xử lý bất đồng bộ thực tế với TaskEither - pipeline gọn gàng thay vì try/catch rối…
- fp-backend – Mẫu lập trình hàm cho phát triển backend Node.js/Deno với fp-ts, ReaderTaskEither và…
- fp-errors – Đừng throw ở mọi nơi - xử lý lỗi như giá trị bằng Either và TaskEither để code gọn gàng…
- fp-pragmatic – Hướng dẫn thực tế, không biệt ngữ về lập trình hàm - cách tiếp cận 80/20 mang lại kết…
- fp-react – Mẫu thực tế dùng fp-ts với React - hooks, state, form, lấy dữ liệu. Có ví dụ React theo…
- fp-refactor – Hướng dẫn toàn diện refactor code TypeScript theo kiểu mệnh lệnh sang mẫu fp-ts
- fp-taskeither-ref – Tài liệu tham khảo nhanh về TaskEither. Dùng khi cần xử lý lỗi bất đồng bộ, gọi API hoặc…
- fp-ts-errors – Xử lý lỗi như giá trị bằng fp-ts Either và TaskEither để code TypeScript gọn gàng và dễ…