Skip to content
Debugging
Skill

/knowledge-index-verify

Verify docs/features feature frontmatter, test attribution, docIndexLinks, code-facts tool evidence, and produce a candidate knowledge index under .nucleus/runs only.

From plugin
nucleus-marketplace
16527 skills1 agent

Claude Code

$ npx -y skills add protect-my-hair/nucleus-marketplace --skill knowledge-index-verify --agent claude-code

SKILL.md

knowledge-index-verify.SKILL.md
name: knowledge-index-verify
description: Verify docs/features feature frontmatter, test attribution, docIndexLinks, code-facts tool evidence, and produce a candidate knowledge index under .nucleus/runs only.

knowledge-index-verify

本 Skill 是 Nucleus V2 Knowledge Index / llm-wiki approved-write 的只读 verify gate。它只生成 candidate、diff、report 和 result package,不同步生产索引。

边界

  • 不覆盖 `docs/knowledge-index.json`。
  • 不生成、更新或补写 `docs/features/**/code-facts.md`。
  • 不从 LLM prompt、人工摘要或检索结果直接推断代码事实。
  • 不写 `docs/requirement/**`、`docs/features/**`、`tests/**`、`.nucleus/tests/**` 或源码。
  • Runtime 只允许写 `.nucleus/runs/<workflowRunId>/knowledge/**` 与 `.nucleus/runs/<workflowRunId>/result.json`。
  • 失败默认 `ALERT_AND_BLOCK`,不得静默降级。

使用

python3 skills/knowledge-index-verify/scripts/knowledge_index_verify.py verify \
  --repo-root /path/to/target-repo \
  --context /path/to/target-repo/.nucleus/context/<workflowRunId>.json \
  --tool-evidence /path/to/target-repo/.nucleus/runs/<workflowRunId>/knowledge/tool-evidence/gitnexus-search-report.json

`--tool-evidence` 必须是显式 adapter evidence JSON。GitNexus、Serena、Yog 或 static analyzer readiness 只能来自该 evidence、capabilityStatus 或工具注册报告,不能凭宿主环境猜测。

Code Facts Strict

当以下任一条件成立时,code-facts 证据缺失必须 `FAILED_BLOCKED`:

  • `docIndexLinks` 引用 `docs/features/**/code-facts.md`。
  • scanner 发现同 feature 目录下存在 `code-facts.md`。
  • context 明确要求 code facts。

没有 code-facts 的普通 feature 只能进入 candidate-only 与人工 review,不能生成 prompt-only facts。

人审前子代理预审

到达 `candidate-index-review` 前,必须按 workflow 的 `subagentPreReview` 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工评审通过。

输出

  • `.nucleus/runs/<workflowRunId>/knowledge/feature-scan-report.json`
  • `.nucleus/runs/<workflowRunId>/knowledge/candidate-knowledge-index.json`
  • `.nucleus/runs/<workflowRunId>/knowledge/index-diff.md`
  • `.nucleus/runs/<workflowRunId>/knowledge/verify-report.json`
  • `.nucleus/runs/<workflowRunId>/knowledge/verify-report.md`
  • `.nucleus/runs/<workflowRunId>/knowledge/blockers.json`
  • `.nucleus/runs/<workflowRunId>/result.json`
Read more
@protect-my-hair
Ships withnucleus-marketplace

Engineering Workflow Discipline Plugin · For Claude Code / Codex Nucleus is a workflow plugin installed inside an AI coding agent.

16527 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
165
Star history of protect-my-hair/nucleus-marketplace on GitHub, a chart by star-history.com

Other skills on nucleus-marketplace.

More skills from other plugins.

cpu-high

cpu-high

排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)

arthas10d38k
@alibaba@alibabaInstall Skill
analyze-dump

analyze-dump

Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a…

@svnscha@svnschaInstall Skill
d3k

d3k

Test and debug a web app in its existing d3k browser, including local Chrome connected to a Vercel Sandbox over CDP. Use for UI…

dev30008d1.6k
@vercel-labs-2@vercel-labs-2Install Skill

Questions about knowledge-index-verify.

Which coding agents can use knowledge-index-verify?
knowledge-index-verify installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.