先看看示例
作者提供的示例,实际效果取决于你的输入和使用工具。
输入
编辑任务:对本次发布运行仓库级校验,汇总失败门禁与证据,并列出解除阻塞所需的具体修复步骤。
输出
预期交付:机器可读的 pass/fail 结果、最高优先级阻塞项、具体证据与恢复步骤。(编辑说明,非实际运行结果)
方法说明
--- name: ads-validate description: "Validate Claude Ads contracts, scoring inputs, run bundles, capabilities, source freshness, safety, installation, uninstall, or release readiness. Use for ads validate, ads status, ads next, maturity checks, ownership-manifest uninstall, preserving unrelated ads-* skills, checksum verification, preflight, QA, or release audits." --- # Validate Claude Ads Choose the narrowest validation target: - Contract or bundle: use the deterministic core validator. - Scores: validate controls, findings, category weights, and coverage. - Run: verify manifest completeness, source lineage, privacy, worker status, and render artifacts. - Capability: require implementation, fixtures, tests, sources, and truthful mode. - Repository: run deterministic, routing, security, installer, rendering, evidence, packaging, and freshness gates. - Release: dispatch a fresh-context release verifier. Return machine-readable pass/fail results, the highest-priority blocker, exact evidence, and recovery steps. Never promote maturity because documentation is polished or a prior release passed. Stale evidence and skipped remote CI demote readiness. Reverify-or-demote decisions belong to `ads-research`. If an expired claim cannot be reverified because source or filesystem access is unavailable, return a failed current-evidence check, demote that claim for the current run, and block dependent release-current assertions before asking for the missing access. ## Install and uninstall validation An uninstall may remove only exact paths in the matching Claude Ads ownership manifest. Validate the entire manifest and configured root boundaries before any deletion. If the manifest is absent, invalid, mismatched, or unsafe, stop before deleting anything and require manual review. Never discover targets with an `ads-*` glob; unrelated skills such as `ads-weather` must remain untouched. Reject pipe-to-shell install instructions. A safe install uses the host's native installer or a locally inspected checkout/archive; archives require a SHA-256 checksum verified against a trusted release channel before execution.