skills/define-docs-norms/SKILL.md
Create or update docs/ARTIFACT_NORMS.md from an approved proposal and establish project docs norms as canonical rules.
npx skillsauth add nesnilnehc/ai-cortex define-docs-normsInstall 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,并作为项目文档治理的 canonical 规则。
首要目标:安全、可审计地创建或更新项目规范文件。
成功标准(必须全部满足):
docs/ARTIFACT_NORMS.mdrules/doc-health-criteria.md)验收测试:规范文件是否可直接作为路径/命名/front-matter 校验依据,并被其他技能稳定解析?
本技能负责:
docs/ARTIFACT_NORMS.md本技能不负责:
rules/repo-structure-hygiene.md,由 AgentFabric runtime 或人工执行)交接点:规范写入后,结构整改与合规检测由 runtime / linter / CI 工具按 rules/repo-structure-hygiene.md 与 rules/doc-health-criteria.md 执行。
ARTIFACT_NORMSdocs/calibration/docs-norms-proposal.md)docs/ARTIFACT_NORMS.mdcreate | merge | replacedocs/ARTIFACT_NORMS.mdrules/repo-structure-hygiene.md 整理 + rules/doc-health-criteria.md 合规检测docs/ARTIFACT_NORMS.mdcreate|merge|replace)docs/ARTIFACT_NORMS.md不要做这些(其他技能负责):
rules/doc-health-criteria.md)rules/repo-structure-hygiene.md 执行docs/ARTIFACT_NORMS.mddocs/calibration/docs-norms-proposal.mdcreatedocs/ARTIFACT_NORMS.mdmergedevelopment
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.