Agent skill

Common Quality Gate

by lihaozheCharlie in lihaozheCharlie/the-way-here

验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读. An agent skill from lihaozheCharlie/the-way-here.

MITAuto-check passedTesting & QA

Install Common Quality Gate

skills CLI
$ npx skills add lihaozheCharlie/the-way-here --skill common-quality-gate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lihaozheCharlie/the-way-here common-quality-gate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .claude/skills && cp -r skills-src/knowledge-engine/skills/common/quality-gate .claude/skills/common-quality-gate && rm -rf skills-src

Use ~/.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/

Facts

Skill name
common-quality-gate
GitHub stars
145
Token cost
~488 tokens
SKILL.md length
68 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读. An agent skill from lihaozheCharlie/the-way-here.

  • Works in 5 steps: 把目标重述为具体交付物。 → 将每个请求类别映射到已修改或有意保持不变的产物。 → 检查代表性文件内容和验证器实际输出。 → …
  • Tasks that involve Quality gates
  • SKILL.md covers 先读, 内容检查, 验证模式 and 需要人工复核的情况, plus 1 more section
  • Calls python3

What it does

Common Quality Gate is an agent skill from lihaozheCharlie/the-way-here. 验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读。

Its SKILL.md is about 490 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 Testing & QA, covering Quality gates. The repository describes itself as: the-way-here:想成为一个会记得你的来时路、越聊越懂你的朋友。 The licence is MIT.

When your agent uses it

  • Tasks that involve Quality gates

Example prompts

  • “/common-quality-gate”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 把目标重述为具体交付物。
  2. 将每个请求类别映射到已修改或有意保持不变的产物。
  3. 检查代表性文件内容和验证器实际输出。
  4. 报告跳过的检查和未解决风险。
  5. 只要请求中的要求仍不确定,就继续处理。

What it can do on your machine

Read from SKILL.md and the folder at commit 760d128. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Common Quality Gate loads about 488 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 68 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~488

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from lihaozheCharlie/the-way-here at commit 760d128, republished under its MIT licence (© lihaozheCharlie). 68 words, ~488 tokens.

Download SKILL.mdSave it as .claude/skills/common-quality-gate/SKILL.md (or your agent's skills folder).
name
common-quality-gate
description
验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读。

通用:质量门

在 Markdown 或 Skill 修改后、宣布构建完成前,或执行 wiki 健康检查时使用。验证不会自行扩大任务的变更范围。

先读

  • 归档或移动页面时读取 knowledge-engine/skills/common/filing-rules.md。
  • 读取被检查页面所属领域的负责 Skill。
  • 检查解释性查询或构建时读取 knowledge-engine/skills/common/reasoning-lenses/SKILL.md,验证人物视角没有污染中性证据或越过领域边界。

内容检查

  • 每个非显然判断都能追溯到原始笔记、已标注的对话材料或既有综合页。推断标为 推断 或 待查。
  • 模板只提供结构,不构成生成占位内容的许可。省略无证据支持的项目、表格行、引文和章节。
  • 按主要对象归档,并维护有用的双向导航。
  • 不要在不同章节机械重复同一证据。
  • 使用与领域匹配的语言;人物、城市、系统、状态、事件和人生阶段需要不同类型的判断。
  • 当措辞本身是可沉淀证据时,保留用户准确原话。
  • 优先做局部、精确的更新,避免宽泛重写。
  • 使用共享人物视角时,人物原则不构成证据;日期、原句、实体、金额、事件顺序和可观察状态必须与中性证据卡一致。
  • 主视角只负责解释,页面结构仍由领域 Skill 负责;辅助视角不能接管中心、结构和结尾。
  • 重大重解释应在日志记录主视角、辅助任务和重跑范围。新增人物必须由动态发现脚本自动出现,下游 Skill 不得复制人物名单。

验证模式

只读维护

当前目标只检查健康状况、不包含修复时,运行:

bash
python3 knowledge-engine/tools/validate_wiki_links.py
python3 knowledge-engine/tools/validate_skill_system.py
python3 knowledge-engine/tools/diary_entity_audit.py --check
python3 knowledge-engine/tools/diary_entity_deep_audit.py --check

实体检查可能以非零状态报告生成索引陈旧;这是检查结果,不等于必须立即重新生成。

Markdown 修改后

在仓库根目录运行:

bash
python3 knowledge-engine/tools/update_obsidian_tags.py
python3 knowledge-engine/tools/update_obsidian_tags.py
python3 knowledge-engine/tools/validate_wiki_links.py

第二次标签运行必须报告 updated=0;链接验证必须报告 missing=0 ambiguous=0。

Skill 或配套工具修改后

还要运行:

bash
python3 knowledge-engine/tools/validate_skill_system.py

可用时,对每个规范 Skill 运行系统自带的快速验证器。

重新生成实体索引

只有任务明确包含摄取/重新生成,或来源数量变化使生成索引陈旧时,才运行:

bash
python3 knowledge-engine/tools/diary_entity_audit.py --write
python3 knowledge-engine/tools/diary_entity_deep_audit.py --write

只读审计绝不使用写入模式。

需要人工复核的情况

修改格式错误的 YAML、已改名的原始笔记来源、歧义别名、生成索引数量的意外变化,以及需要用户判断的证据冲突前,先人工复核。

完成审计

  1. 把目标重述为具体交付物。
  2. 将每个请求类别映射到已修改或有意保持不变的产物。
  3. 检查代表性文件内容和验证器实际输出。
  4. 报告跳过的检查和未解决风险。
  5. 只要请求中的要求仍不确定,就继续处理。

验证器通过只能证明它覆盖的约束成立,不能证明用户要求的语义工作已经完成。

© lihaozheCharlie, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in knowledge-engine/skills/common/quality-gate of lihaozheCharlie/the-way-here.

Open the folder on GitHubat commit 760d128

Compare with similar skills

Common Quality 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.

Common Quality Gate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Common Quality Gate this skilllihaozheCharlie/the-way-here145—~488Automated safety check: PassMIT
Feature Plannerserendipity1004/cc-feature-implementer176—~2.4kAutomated safety check: PassNone
Ccg Workflowfengshao1227/ccg-workflow5.9k—~2.3kAutomated safety check: PassMIT
Conducty Checkpointrobertbarclayy/conducty176—~1.5kAutomated safety check: PassMIT
Mission Plannerjdforsythe/forge151—~3.5kAutomated safety check: PassMIT
Quality Gate0xNyk/lacp305—~382Automated safety check: PassMIT

Similar skills

  • Feature Planner

    serendipity1004/cc-feature-implementer

    Creates phase-based feature plans with quality gates and incremental delivery structure.

    176 GitHub stars~2.4k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed
  • Ccg Workflow

    fengshao1227/ccg-workflow

    How to run a non-trivial change end to end with the CCG role tools (ccganalyze / ccgdesign / ccgbuild / ccgdebug / ccgoptimize / ccgreview / ccgtest) and the verify- quality gates.

    5.9k GitHub stars~2.3k tokensUpdated 26 days ago
    Testing & QAAuto-check passed
  • Conducty Checkpoint

    robertbarclayy/conducty

    Quality gate between parallelization groups. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Mission Planner

    jdforsythe/forge

    Decomposes goals into team blueprints using evidence-based scaling laws, topology selection, and role design.

    151 GitHub stars~3.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Quality Gate

    0xNyk/lacp

    Production quality gate for agent sessions. An agent skill from 0xNyk/lacp.

    305 GitHub stars~382 tokensUpdated 19 days ago
    Testing & QAAuto-check passed
  • Deploy Workflow

    nwiizo/ccswarm

    Release deployment process for ccswarm. An agent skill from nwiizo/ccswarm.

    153 GitHub stars~582 tokensUpdated 2 days ago
    Testing & QAAuto-check passed

More from lihaozheCharlie/the-way-here

All 8 skills in this repo
  • Common Reasoning Lenses

    lihaozheCharlie/the-way-here

    为个人 Wiki 的查询、回信和解释性构建提供可动态发现的人物推理视角。它只改变怎样理解证据,不构成新证据,也不决定是否写入。

    145 GitHub stars~640 tokensUpdated yesterday
    Auto-check passed
  • Common Retrieval

    lihaozheCharlie/the-way-here

    知识库共享检索:绑定资料范围,关键词召回、来源和时间辨析、渐进阅读、双链追溯与证据核验。由查询、预测、了解度和构建 Skill 按需调用;不负责回答格式、未来推演或写入。

    145 GitHub stars~399 tokensUpdated yesterday
    Auto-check passed
  • Common Skill System

    lihaozheCharlie/the-way-here

    分析、设计、验证或更新本 wiki 的 Codex Skill 体系、AGENTS.md 唯一路由、职责图和验证规则。当前目标只要求分析时保持只读。

    145 GitHub stars~609 tokensUpdated yesterday
    Auto-check passed
  • Common Signal Detector

    lihaozheCharlie/the-way-here

    在普通对话、wiki 维护或路由诊断中扫描可沉淀信号;本 Skill 只分类,是否更新由 Agent 结合当前目标判断。

    145 GitHub stars~228 tokensUpdated yesterday
    Auto-check passed
  • Consume Query

    lihaozheCharlie/the-way-here

    以只读方式回答个人 wiki 问题:先检索综合页面,仅在需要证据时查原始笔记。不要用于摄取或修改 wiki. An agent skill from lihaozheCharlie/the-way-here.

    145 GitHub stars~391 tokensUpdated yesterday
    Auto-check passed
  • Consume Predict Self

    lihaozheCharlie/the-way-here

    预测页主动触发:只读绑定知识库的冻结资料,生成有证据的五年生活情景。

    145 GitHub stars~896 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Common Quality Gate

What does Common Quality Gate do?

验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读. An agent skill from lihaozheCharlie/the-way-here. Common Quality Gate is an agent skill from lihaozheCharlie/the-way-here.

When should I use Common Quality Gate?

Common Quality Gate fits situations like: tasks that involve Quality gates.

How do I install Common Quality Gate in Claude Code?

Run `npx skills add lihaozheCharlie/the-way-here --skill common-quality-gate -a claude-code`. Or copy the skill folder (knowledge-engine/skills/common/quality-gate in lihaozheCharlie/the-way-here) into .claude/skills/common-quality-gate in your project. Claude Code loads it when a task matches its description.

How do I install Common Quality Gate in Codex?

Run `npx skills add lihaozheCharlie/the-way-here --skill common-quality-gate -a codex`. Or copy the skill folder (knowledge-engine/skills/common/quality-gate in lihaozheCharlie/the-way-here) into .agents/skills/common-quality-gate in your project. Codex loads it when a task matches its description.

Can I use Common Quality Gate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lihaozheCharlie/the-way-here --skill common-quality-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/common-quality-gate, .gemini/skills/common-quality-gate, .github/skills/common-quality-gate and .opencode/skills/common-quality-gate in your project.

What does Common Quality Gate need to run?

Going by SKILL.md and its folder, Common Quality Gate needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Common Quality Gate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Common Quality Gate safe to install?

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.

What licence does Common Quality Gate use?

Common Quality Gate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Common Quality Gate use?

About 488 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Common Quality Gate?

Skills that share tags, products or a category with Common Quality Gate: Feature Planner (serendipity1004/cc-feature-implementer, 176 stars), Ccg Workflow (fengshao1227/ccg-workflow, 5.9k stars), Conducty Checkpoint (robertbarclayy/conducty, 176 stars) and Mission Planner (jdforsythe/forge, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Common Quality Gate?

lihaozheCharlie (a GitHub user) maintains it in lihaozheCharlie/the-way-here, which has 145 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.

Source: lihaozheCharlie/the-way-here on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.