npx skills add https://github.com/continuedev/skills --skill check像 CI 中的 GitHub PR 检查一样,针对当前更改运行每个 .continue/checks/*.md 检查。
git diff main...HEAD 并将其写入 /tmp/check-diff.patch。如果差异为空,也尝试 git diff --cached 和 git diff。
\n... (diff truncated at 3000 lines)。git diff main...HEAD | head -3000 > /tmp/check-diff.patch广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
git log main..HEAD --oneline 并将其写入 /tmp/check-log.txt。.continue/checks/*.md 查找所有检查文件。code-conventions.md -> "Code Conventions")。为每个检查文件,使用以下设置生成一个子代理:
subagent_type: "general-purpose"run_in_background: true使用以下提示结构:
You are a code reviewer running an automated check on a pull request.
## Setup
1. Read your check instructions from: {absolute path to .continue/checks/xxx.md}
2. Read the diff from: /tmp/check-diff.patch
3. Read the commit log from: /tmp/check-log.txt
## Your Task
Review the diff according to your check instructions. For each finding:
1. State the severity (Error / Warning / Info)
2. Reference the specific file and line from the diff
3. Explain what's wrong and how to fix it
If everything looks good and you have no findings, say "PASS" and briefly explain why the changes are clean for your check.
If you have findings, say "FAIL" and list them.
Keep your response concise. Do not repeat the diff back. Focus only on actionable findings.
Your final message must start with either "PASS" or "FAIL" on its own line.
在单条消息中启动所有子代理(所有 Agent 工具调用一起)。
所有代理完成后,仅读取每个输出文件的最后 30 行:tail -30 {output_file}。解析其显示的是 PASS 还是 FAIL,并提取关键发现。
呈现一个汇总表格:
| Check | Result |
|-------|--------|
| Code Conventions | Passed |
| Security | 2 errors, 1 warning |
| Test Quality | Passed |
不要在一个大块中转储所有失败详情。相反,使用 AskUserQuestion 来呈现每个失败检查的发现,并让用户决定如何处理。
对于每个有发现项的检查,呈现一个 AskUserQuestion,包含:
你可以将多个失败的检查批量处理到一个 AskUserQuestion 调用中(每个失败的检查对应一个问题,每次调用最多 4 个)。如果失败的检查超过 4 个,请使用多个 AskUserQuestion 调用。
然后执行用户选择的任何操作——修复他们说要修复的问题,跳过他们说要跳过的项目。
每周安装量
112
仓库
GitHub 星标数
5
首次出现
2026年2月17日
安全审计
安装于
github-copilot109
opencode109
codex109
gemini-cli108
amp108
kimi-cli108
Run every .continue/checks/*.md check against the current changes, just like the GitHub PR checks do in CI.
git diff main...HEAD and write it to /tmp/check-diff.patch. If the diff is empty, also try git diff --cached and git diff.
\n... (diff truncated at 3000 lines).git diff main...HEAD | head -3000 > /tmp/check-diff.patchgit log main..HEAD --oneline and write it to /tmp/check-log.txt..continue/checks/*.md to find all check files.code-conventions.md -> "Code Conventions").For each check file, spawn a sub-agent with these settings:
subagent_type: "general-purpose"run_in_background: trueUse this prompt structure:
You are a code reviewer running an automated check on a pull request.
## Setup
1. Read your check instructions from: {absolute path to .continue/checks/xxx.md}
2. Read the diff from: /tmp/check-diff.patch
3. Read the commit log from: /tmp/check-log.txt
## Your Task
Review the diff according to your check instructions. For each finding:
1. State the severity (Error / Warning / Info)
2. Reference the specific file and line from the diff
3. Explain what's wrong and how to fix it
If everything looks good and you have no findings, say "PASS" and briefly explain why the changes are clean for your check.
If you have findings, say "FAIL" and list them.
Keep your response concise. Do not repeat the diff back. Focus only on actionable findings.
Your final message must start with either "PASS" or "FAIL" on its own line.
Launch ALL sub-agents in a single message (all Agent tool calls together).
After all agents complete, read just the last 30 lines of each output file: tail -30 {output_file}. Parse whether it says PASS or FAIL and extract the key findings.
Present a summary table:
| Check | Result |
|-------|--------|
| Code Conventions | Passed |
| Security | 2 errors, 1 warning |
| Test Quality | Passed |
Do NOT dump all failure details in a big block. Instead, use AskUserQuestion to present each failed check's findings and let the user decide what to do.
For each check that has findings, present ONE AskUserQuestion with:
You can batch multiple failed checks into a single AskUserQuestion call (one question per failed check, up to 4 per call). If there are more than 4 failed checks, use multiple AskUserQuestion calls.
Then execute whatever the user chose — fix the issues they said to fix, skip the ones they said to skip.
Weekly Installs
112
Repository
GitHub Stars
5
First Seen
Feb 17, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot109
opencode109
codex109
gemini-cli108
amp108
kimi-cli108
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
150,000 周安装