skills/assess-docs-links/SKILL.md
Assess documentation link graph health including broken links, orphan docs, cycles, and deep chains.
npx skillsauth add nesnilnehc/ai-cortex assess-docs-linksInstall 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/calibration/doc-link-health.md本技能负责:文档图健康。 本技能不负责:规范合规、code alignment、SSOT 审计。
按 specs/artifact-contract.md §8 Runtime Norms Resolution Protocol 的 §8.2 / §8.3 / §8.5 实现:读项目规范若声明了 doc-link-health artifact_type 的 path_pattern,则使用项目值;否则 fall through 到技能默认(docs/calibration/doc-link-health.md)。本技能为固定路径治理产出,只用 path_pattern 覆盖机制。
docs/calibration/doc-link-health.md本技能产出 Doc Link Health Report:
| 元素 | 格式 | 必填字段 | 路径模式 |
| :--- | :--- | :--- | :--- |
| 报告主体 | Markdown | front-matter;章节:摘要 / 断链 / 孤儿文档 / 循环引用 / 深链路径 | docs/calibration/doc-link-health.md |
| 断链条目 | 列表项 | source_path / target_ref / kind(404 / anchor_missing / external_unreachable) | 「断链」节 |
| 孤儿条目 | 列表项 | doc_path / inbound_count=0 / suggested_link_target | 「孤儿文档」节 |
| 机器可读块 | YAML fenced yaml link_health: | broken[]、orphans[]、cycles[]、deep_chains[] | 报告末尾 |
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.