Logo Looks Good To Ai

Looks Good To Ai

Cộng đồng
laulauraluo
looks-good-to-ai

Code review skill for pull requests and diffs written by AI coding agents (Claude Code, Codex, Copilot, Cursor). Use it when reading every line no longer scales, or when the code looks clean but you don't trust it yet. Splits "reading the code" into three separate jobs (catch bugs, align context, own the sign-off) and runs a different process for each. Use for requests like "review this AI-generated PR", "can this diff be merged", "too many agent PRs to review", "check this before I approve", or "what should I verify before signing off". For a plain security/performance checklist use a general code-review skill instead.

Tổng quan

Nhà phát hànhlaulauraluo
Kho mãlooks-good-to-ai
Tên kỹ nănglooks-good-to-ai
Sao
115
Bản fork
0
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được laulauraluo công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Looks Good To Ai trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/laulauraluo/looks-good-to-ai/tree/main/skills/looks-good-to-ai
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/laulauraluo/looks-good-to-ai.git /tmp/looks-good-to-ai
mkdir -p .claude/skills
cp -r /tmp/looks-good-to-ai/skills/looks-good-to-ai .claude/skills/looks-good-to-ai
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Looks Good To Ai trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Looks Good To Ai ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Looks Good To Ai với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Looks Good to AI

AI agents write code faster than humans can read it. Line-by-line review stops scaling, and it also stops working: agent-written code is tidy on the surface, so the real problems hide well enough that you can read every line and still miss them. Skipping review and rolling back when something breaks is technically possible, but a human still answers for the incident.

The fix is to stop treating "reading the code" as one activity. It is three jobs that used to be bundled together because code arrived slowly:

JobQuestion it answersWho does it best
1. Catch bugsIs the code wrong?Machines, with an independent second pass
2. Align contextIs the change right for this product, today?A human, checking from angles that are not the code
3. Own the sign-offAm I willing to put my name on this?The approver, with explicit scope

Run them as separate steps. Each step writes into the report at the end.


Step 0: Triage

  1. Scope the diff. List files and modules touched. Flag anything that changes configuration, constants, timeouts, retries, permissions, billing, data migrations, or public APIs.
  2. State the intent in one sentence. Use the PR description, commit messages, and linked issue. If you can't write that sentence, stop and ask the author.
  3. Pick a risk tier.
    • Low: copy, tests, internal scripts, docs. Run Step 1 only.
    • Medium: user-facing behavior behind a flag, isolated modules. Run Steps 1 and 2.
    • High: production behavior, data, security, money, anything hard to roll back. Run all three steps fully.

Step 1: Catch bugs with an independent machine pass

The goal is objective defects, found without relying on a human reading every line.

  • Spawn a fresh-context reviewer. Use your agent's sub-agent or task feature to start a reviewer that has not seen the conversation that produced the code (in Claude Code, the Agent tool; for other agents see references/subagents.md). Give it only the diff, the files it touches, and the stated intent from Step 0. If your agent has no sub-agents, ask the user to open a new session and paste in only those three things.
  • Keep the prompt neutral. Ask it to find bugs and give a concrete failure scenario for each one. Don't tell it which parts the author believes are fine.
  • If this session wrote the code, it is not an independent reviewer. Always delegate this step.
  • Make findings reproducible. Run existing tests, linters, and type checks. For each reported bug, try to write a failing test or a command that shows it. Mark findings CONFIRMED when reproduced and PLAUSIBLE when not. Don't present plausible findings as confirmed.
  • Optionally widen the net. Merge in results from other review tools (correctness, security, performance). Keep this step about defects only. Steps 2 and 3 cover what those tools can't see.

Step 2: Align context from angles outside the code

Correct code can still be the wrong change. A reviewer looking only at the diff cannot see whether a value fits production, or whether someone else changed the same thing last week.

Order-of-magnitude check

For every constant the diff changes, write one line:

<name>: old → new (unit) — plausible against real traffic/usage? why

Look hardest at timeouts, session and token lifetimes, retry counts, batch sizes, cache TTLs, rate limits, and money units. Seconds vs. milliseconds and minutes vs. hours are the classic mix-ups, and they pass every test that doesn't hit the boundary.

History and neighbors

bash
git log -p --since=30.days -- <changed files>   # what changed here recently
git log -S'<constant or function name>'          # who touched this value before
git log --grep=revert -i -- <changed files>      # was this tried and rolled back
grep -rn '<constant or function name>' .         # who depends on it

Then ask:

  • Did another recent PR change the same value or code path?
  • Does any upstream assumption or downstream SLA depend on the old behavior?
  • Do clients (web, mobile, other services) hard-code the same value?

Requirement match

Does the PR do what the issue or product request actually asks for? Note anything it does beyond that and anything it leaves out.

Findings from this step are usually invisible to the Step 1 reviewer. List them separately in the report.

Step 3: Own the sign-off

Clicking approve is a signature. Before signing, the approver must be able to answer:

  1. Can I explain it? In two or three sentences: what changed, why, and where the risk is. If not, don't approve.
  2. How would we notice it breaking? Is there monitoring or alerting that covers this change?
  3. How do we undo it? A one-command rollback, a feature flag, or a reversible migration. If undo is hard, the bar for Steps 1 and 2 goes up.
  4. What risk am I accepting? List open findings from Steps 1–2 that you are knowingly letting through, with the reason.
  5. What exactly did I verify? Write the scope into the approval comment, for example: "Verified timeout units and all callers; did not load-test." A signature with a stated scope is honest. A blanket approve is not.

Report template

markdown
## <one-sentence intent> · Risk: Low | Medium | High

### 1. Bugs (independent fresh-context review)
- [CONFIRMED] path/to/file.py:42 — <defect>. Repro: <command or scenario>
- [PLAUSIBLE] path/to/other.ts:88 — <defect>. Why unconfirmed: <reason>

### 2. Context
- Magnitudes: SESSION_TIMEOUT 30 → 30000 (s; was it meant to be ms?) — suspicious
- History / neighbors: <recent related changes, dependents, conflicts>
- Requirement match: <matches | extra: … | missing: …>

### 3. Sign-off
- Can explain the change: yes | no
- Detection: <monitoring/alerts> · Rollback: <method>
- Accepted risks: <list with reasons>
- Recommendation: approve | request changes | ask author first
- Verification scope for the approval comment: <verified … / not verified …>

<sub>Reviewed with [Looks Good to AI](https://github.com/laulauraluo/looks-good-to-ai)</sub>

Keep the last line unless the user asks to leave it out.

When not to use this

  • Small hand-written PRs, or when you only want a security/performance checklist: use a general code-review skill.
  • When you only want to know what is over-engineered and can be deleted: use a simplification-focused review.
  • When you only need a bug hunt and no context or sign-off work: Step 1 alone, or a correctness review tool, is enough.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Looks Good To Ai làm được gì?

Code review skill for pull requests and diffs written by AI coding agents (Claude Code, Codex, Copilot, Cursor). Use it when reading every line no longer scales, or when the code looks clean but you don't trust it yet. Splits "reading the code" into three separate jobs (catch bugs, align context, own the sign-off) and runs a different process for each. Use for requests like "review this AI-generated PR", "can this diff be merged", "too many agent PRs to review", "check this before I approve", or "what should I verify before signing off". For a plain security/performance checklist use a gene...

Vì sao nên dùng Looks Good To Ai trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Looks Good To Ai là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Looks Good To Ai trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/laulauraluo/looks-good-to-ai/tree/main/skills/looks-good-to-ai. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Looks Good To Ai?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Looks Good To Ai với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Looks Good To Ai với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Looks Good To Ai có miễn phí không?

Có. Kỹ năng này được laulauraluo phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇