Tbd
jlevy/strif
Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents.
【Code Review 子 Agent · 门控二】对 git diff 逐项执行代码质量门控检查(运行时异常、性能瓶颈、安全漏洞、权限缺失、破坏性变更等 10 项),按 LOGAF h/m/l 分级输出,h 级清零后方可进入门控三。由 spec-driven-dev 的 codereview 阶段自动调用。
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .claude/skills/cr-code-gate && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .claude/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .agents/skills/cr-code-gate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .agents/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .cursor/skills/cr-code-gate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .cursor/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/spec-driven-dev/sub-skills/cr-code-gate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .gemini/skills/cr-code-gate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .gemini/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .github/skills/cr-code-gate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .github/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cr-code-gate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/spec-driven-dev/sub-skills/cr-code-gate .opencode/skills/cr-code-gate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cr-code-gate" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/spec-driven-dev/sub-skills/cr-code-gate into .opencode/skills/cr-code-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cr-code-gate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cr-code-gate【Code Review 子 Agent · 门控二】对 git diff 逐项执行代码质量门控检查(运行时异常、性能瓶颈、安全漏洞、权限缺失、破坏性变更等 10 项),按 LOGAF h/m/l 分级输出,h 级清零后方可进入门控三。由 spec-driven-dev 的 codereview 阶段自动调用。
Cr Code Gate is an agent skill from LeoYeAI/openclaw-master-skills. 【Code Review 子 Agent · 门控二】对 git diff 逐项执行代码质量门控检查(运行时异常、性能瓶颈、安全漏洞、权限缺失、破坏性变更等 10 项),按 LOGAF h/m/l 分级输出,h 级清零后方可进入门控三。由 spec-driven-dev 的 codereview 阶段自动调用。
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Spec-driven development and Code review. It works with Git. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cr Code Gate loads about 1.2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 276 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 276 words, ~1,164 tokens.
.claude/skills/cr-code-gate/SKILL.md (or your agent's skills folder).Code Review 流水线的第二道门控:代码质量静态门控子 Agent。
由 spec-driven-dev 的 code_review 阶段在 cr-commit-check 通过后调用,
对 diff 进行结构性问题扫描,参照 Sentry 工程实践的必检项分类。
| 字段 | 类型 | 说明 |
|---|---|---|
us_id | string | 用户故事 ID |
iter_id | string | 当前迭代 ID |
git_diff | string | git diff main...HEAD 的完整输出 |
iter_summary_path | string | requirements/{us_id}/docs/iteration_summary/current_iter.md 路径,用于核查架构变更审批记录 |
coding_standards_path | string | auxiliary/coding_standards.md 路径 |
Orchestrator 调用示例(OpenCode Sub-Agent 格式):
invoke_skill: cr-code-gate
with:
us_id: "US042"
iter_id: "iter_003"
git_diff: "<diff output>"
iter_summary_path: "requirements/US042/docs/iteration_summary/current_iter.md"
coding_standards_path: "auxiliary/coding_standards.md"{
"agent": "cr-code-gate",
"verdict": "PASS | WARN | FAIL",
"h_count": 0,
"m_count": 0,
"l_count": 0,
"findings": [
{
"id": "GK-01",
"logaf": "h",
"result": "PASS | FAIL | WARN",
"file": "src/foo.py:42",
"description": "…",
"suggestion": "…"
}
]
}[AGENT:cr-code-gate] START us_id={us_id} iter_id={iter_id}git_diff,提取所有变更文件和具体行变更。current_iter.md,检索是否有架构/Schema 变更的 senior 确认记录(供 GK-08 使用)。coding_standards.md,获取项目命名与规范约定(供 GK-10 使用)。对 diff 中每一个变更文件/代码块执行以下 10 项检查:
h 级(任意一项命中 → 整体 FAIL)_ = err)(api_key|secret|password|token)\s*=\s*['"][^'"]+['"])pickle.loads、eval、exec 处理用户数据)../ 未过滤的文件路径拼接)string → int)m 级(命中 → WARN,记录后可继续)current_iter.md 中无 senior 确认记录l 级(命中 → INFO,可选修复)print()、console.log()、fmt.Println()、System.out.println())TODO / FIXMEcoding_standards.md 约定不一致每条发现使用统一格式:
[{logaf}] {GK-ID} | 文件: {path}:{line} | 问题: {描述} | 建议: {可操作方案}示例:
[h] GK-03 | 文件: src/auth/handler.py:47 | 问题: API Key 硬编码在源文件 | 建议: 改为 os.getenv("API_KEY"),在 .env.example 添加占位符
[h] GK-01 | 文件: src/db/query.py:83 | 问题: result[0] 访问前未检查列表长度 | 建议: 改为 result[0] if result else None
[m] GK-07 | 文件: tests/test_auth.py | 问题: 缺少越权访问的拒绝场景测试 | 建议: 新增 test_access_denied_for_non_owner
[l] GK-09 | 文件: src/utils/parser.py:12 | 问题: 注释掉的旧代码块 | 建议: 删除或移至 CHANGELOG{
"agent": "cr-code-gate",
"verdict": "FAIL",
"h_count": 2,
"m_count": 1,
"l_count": 1,
"findings": [
{
"id": "GK-03", "logaf": "h", "result": "FAIL",
"file": "src/auth/handler.py:47",
"description": "API Key 硬编码",
"suggestion": "改为 os.getenv('API_KEY')"
}
]
}[AGENT:cr-code-gate] DONE verdict=PASS|WARN|FAIL h={N} m={N} l={N}| 裁决 | 条件 | Orchestrator 行为 |
|---|---|---|
| PASS | 所有 h 级检查项均无命中(m/l 可有) | 继续调用 cr-logaf-review |
| WARN | 无 h 级命中,存在 m/l 级发现 | 继续调用 cr-logaf-review,m/l 发现传入汇总报告 |
| FAIL | 任意 h 级检查项命中 | 终止流水线,阻塞 release,返回修复清单 |
h 级问题降级为 m 或 l,即使代码作者附有解释。git_diff 为空时静默通过,应报告 GK-06 INFO(本次无代码变更)。© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/spec-driven-dev/sub-skills/cr-code-gate of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Cr Code Gate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cr Code Gate this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Tbdjlevy/strif | 131 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Understand Diff AnalysisEgonex-AI/Understand-Anything | 85k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Open Code Review CLIalibaba/open-code-review | 44k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Open Code Review Delegatealibaba/open-code-review | 44k | — | ~2k | Automated safety check: Pass | Apache-2.0 |
jlevy/strif
Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
alibaba/open-code-review
Has the host agent do the code review itself while the ocr CLI handles file selection and rule lookup, covering workspace changes, branch ranges or single commits.
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
Categories
【Code Review 子 Agent · 门控二】对 git diff 逐项执行代码质量门控检查(运行时异常、性能瓶颈、安全漏洞、权限缺失、破坏性变更等 10 项),按 LOGAF h/m/l 分级输出,h 级清零后方可进入门控三。由 spec-driven-dev 的 codereview 阶段自动调用。. Cr Code Gate is an agent skill from LeoYeAI/openclaw-master-skills.
Cr Code Gate fits situations like: tasks that involve Spec-driven development; tasks that involve Code review.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a claude-code`. Or copy the skill folder (skills/spec-driven-dev/sub-skills/cr-code-gate in LeoYeAI/openclaw-master-skills) into .claude/skills/cr-code-gate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a codex`. Or copy the skill folder (skills/spec-driven-dev/sub-skills/cr-code-gate in LeoYeAI/openclaw-master-skills) into .agents/skills/cr-code-gate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill cr-code-gate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cr-code-gate, .gemini/skills/cr-code-gate, .github/skills/cr-code-gate and .opencode/skills/cr-code-gate in your project.
Going by SKILL.md and its folder, Cr Code Gate needs the command-line tools its instructions call (git) and credentials named API_KEY. Our summary lists: A credential in API_KEY.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cr Code Gate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cr Code Gate: Tbd (jlevy/strif, 131 stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,158 GitHub stars. The repository holds 1,215 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.