skills/assess-docs/SKILL.md
Assess documentation core health in one pass — artifact norms compliance, layer readiness scoring, and minimum fill plan.
npx skillsauth add nesnilnehc/ai-cortex assess-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
在单次运行中评估文档核心治理状态:是否符合规范、证据是否足够支撑规划、缺口应如何最小化补齐。
首要目标:输出一份可执行的文档评估报告,明确合规问题、层级就绪度和最小补齐行动。
成功标准(必须全部满足):
docs/ARTIFACT_NORMS.md 或默认契约)docs/calibration/doc-assessment.md验收测试:团队是否能仅凭报告明确“先修什么、后补什么、由谁处理”?
本技能负责:
本技能不负责:
define-docs-norms)assess-docs-code-alignment)assess-docs-links)assess-docs-ssot)tidy-repo)交接点:核心评估报告完成后,按问题类型交给对应拆分技能做专项评估。
按 specs/artifact-contract.md §8 Runtime Norms Resolution Protocol 实现本技能产出(doc-assessment)的 path_pattern 解析 + 同时解析被评估的项目规范作为评估基线:
.ai-cortex/artifact-norms.yaml,其次 docs/ARTIFACT_NORMS.md);不存在则回退 specs/artifact-contract.md 默认doc-assessment artifact_type 的 path_pattern 决定本次评估报告的输出路径(默认 docs/calibration/doc-assessment.md);本技能为固定路径治理产出docs/calibration/doc-assessment.mddocs/)medium|high)docs/calibration/doc-assessment.mddocs/ARTIFACT_NORMS.md不要做这些(其他技能负责):
define-docs-normsassess-docs-code-alignmentassess-docs-linksassess-docs-ssotdoc-assessment.md(含合规+readiness+补齐计划)本技能产出文档健康评估报告:
| 元素 | 格式 | 必填字段 | 路径模式 | | :--- | :--- | :--- | :--- | | 报告主体 | Markdown | front-matter(artifact_type=assessment / lifecycle=snapshot);章节:规范合规 / 分层就绪度评分 / 最小补全计划 | docs/calibration/doc-assessment.md | | 规范合规 | 列表项 | rule_id / artifact_path / status(pass/fail/n-a)/ evidence | 「规范合规」节 | | 分层就绪度 | 表格 | layer / score(0-3)/ missing_artifacts / next_action | 「分层就绪度评分」节 | | 最小补全计划 | 列表项 | artifact_path / proposed_skill / priority / rationale | 「最小补全计划」节 |
development
Generate an LLM agent test suite (golden cases, mock-LLM unit tests, evaluator harness) from an agent implementation and its agent-test contract. Use when an agent has no tests, or a contract exists but the test code is missing.
development
After code changes, auto-detect the project's build system and local deployment method for a given directory, then build the project and restart its locally-deployed environment (Docker Compose / systemd / process manager). Never assumes — asks only when detection is ambiguous. Caches detected commands per project in .cortex/redeploy-local.yaml; re-invocations on the same project skip re-scanning until signal files change, the cache expires (30 days), or the skill version bumps.
tools
Publish a NATS message conforming to a cross-team contract, using NATS MCP tools. Authors the contract on first use if missing. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting basics across sessions.
tools
Drain pending NATS messages from a producer contract via NATS MCP tools (default batch / drain-style). Applies Tolerant Reader semantics and per-message ack/nak/term, returning aggregated stats. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting.