AGENT SKILL

公民新闻发布前检查

civic-publish-gate

在公民新闻发布前,运行确定性的来源、引用、时效性、隐私、会议确定性、无障碍、更正状态以及人工审批检查。

License 许可
MIT
所属仓库
jmagly/aiwg
最近更新
2026-11-14
Stars
★ 229
Forks
36

01 前言 Front Matter

name
civic-publish-gate
script
{ "cwd": "project-root", "runtime": "node", "argsHint": "<publication-packet.json>", "entrypoint": "scripts/publish_gate.mjs" }
triggers
[ "publish cited local public information", "run civic publication quality gates", "check a civic story before publishing" ]
namespace
aiwg
platforms
[ "all" ]
description
Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication.

02 资源文件 1

03 SKILL.md 正文

Civic Publish Gate

Process

  1. Supply a versioned publication packet with per-section count/freshness rules, claims, sources, links, structured-data validation, accessibility, privacy, correction state, static/CMS adapter results, and human review.
  2. Run aiwg run skill civic-publish-gate -- packet.json.
  3. Remediate every block. Warnings require visible human disposition.
  4. Treat automated accessibility checks as evidence only, never a complete WCAG conformance determination.
  5. Publication remains an external human action even after a machine pass.
  6. Verify the live page, last-good copy, sitemap, reindex, and cache handoffs; each must pass or be explicitly not applicable before publication completes.

Output

A schema-valid publication gate report. Exit 1 means blocked; exit 2 means invalid input/usage. The command never writes to a CMS or external service.

References

  • schemas/publication-gate-result.schema.json
  • rules/publication-human-review.md
  • docs/research/control-source-matrix.md
  • media-marketing-kit qa-protocol and approval-workflow; ops-complete ops-verify

04 同仓库更多 Skills