一键导入
agent-comments
Scan the current project for agent code comments and fix each one. Use when the user asks to run agent-comments, fix AI comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scan the current project for agent code comments and fix each one. Use when the user asks to run agent-comments, fix AI comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | agent-comments |
| description | Scan the current project for agent code comments and fix each one. Use when the user asks to run agent-comments, fix AI comments. |
Find and fix every AI: comment in the current project.
From the project root (or the path the user gave):
~/dotfiles/bin/symlinks/agent-comments .
Empty output means there is nothing to fix — say so and stop.
Each comment is a block:
path/to/file.ts:42
The instruction text
Blocks are separated by a blank line. The first line is file:line; the rest is the instruction.
Work through every comment before re-scanning.
AI: comment only after an actionable instruction has been fixed.Prefer fixing comments in dependency order when one fix clearly unblocks another (types before callers, shared helpers before usages).
Re-run agent-comments after all fixes. Repeat the fix loop until the scanner reports no comments.
Then run the project’s usual validation (tsc, linter, tests) when available. Fix failures caused by your changes.
Summarize:
file:line — one line on what changedIf nothing was found initially, one sentence is enough.
Fetch the current branch pull request’s CI logs, analyze reported failures, and fix them. Use when asked to investigate failing PR checks, or fix CI failures.
Review frontend code changes. Use when reviewing pull requests, examining code changes, or giving feedback on correctness, simplicity, security, performance, tests, and design.
Interview the user relentlessly about a plan, decision, or design until reaching shared understanding. Use when the user wants to stress-test an idea, get grilled on a design, or says “grill me”.
Stress-test a plan against the codebase, tests, and existing docs before implementation. Use when the user wants a rigorous, correctness-focused plan review.
Write a concise pull request description for the current branch compared to the base branch. Use when preparing pull request text, summarizing branch changes, or drafting a pull request body.
Work with GitHub repositories, source code, pull requests, issues, releases, Actions, and API data using the gh CLI. Use for GitHub URLs and GitHub resources.