用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ccwq/infocard-pub --skill authorized-infocard-execution命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use before infocard .docs authoring to select a registered theme from content-aware candidates. Owns the only content-to-theme association, capability filtering, bounded reproducible variation, and theme-decision.json.
Use when one URL or a complete user brief should become one published infocard through the .docs promotion workflow.
Light-batch publish 2–3 cards in parallel without worktree.
正在显示 SKILL.md
| name | authorized-infocard-execution |
| description | Use for authorized infocard runs after tool failures. |
| version | 2.0.0 |
| author | Hermes Agent |
| license | MIT |
| metadata | {"hermes":{"tags":["infocard","publishing","execution","recovery"],"related_skills":["infocard-publish-sop","infocard-mobile-verifier","visual-verification-gate"]}} |
Execution companion for an explicitly authorized infocard creation-and-publish run. The publishing SOP owns route selection, bundle schema, content gates, and release semantics; this skill owns execution discipline, resource fallback, evidence diagnosis, and closeout behavior.
When the user says “创建并发布信息卡”, “开始”, or “继续” during the same run, treat authoring, promotion, build, visual verification, commit, push, and public verification as one authorized critical path. Do not ask for phase-by-phase confirmation.
Pause only if the target changes, another platform is added, unrelated work would be deleted/reset, a secret would be exposed, or an unresolved editorial choice changes the requested artifact.
Use only the primary repository checkout:
Author: .docs/<run-id>/<slug>/ candidate artifacts + facts + manifest + evidence
Publisher: validate manifest → promote declared files to docs/assets → gates → Git → Pages
Record the primary checkout's ambient git status --short, preserve it, and exclude it from staging. Do not create or use Git worktrees, detached HEAD, temporary clones, /tmp/infocard*, force-push, reset, stash, or clean to isolate an infocard run.
Authors do not write formal docs//assets/, generated indexes, or Git state. Publishers alone promote, build, commit, and push from the primary checkout.
.docs bundle, sidecars, theme decision, and promotion manifest.docs//assets/.main..docs authoring material; do not perform any worktree cleanup.When one automation path fails, use the next available path without a new user decision:
Reduce scope to one card, one viewport, and one evidence artifact; do not repeat blocked batch commands.
Before treating a visual report as a CSS defect, inspect page scrollHeight, scrollWidth, clientWidth, relevant element geometry, and actual capture region. Distinguish a viewport crop, artificial canvas padding, and genuine clipping. If vision and DOM conflict, recapture the exact region once before editing.
For each card retain desktop and 390px evidence with:
card: <slug>
desktop: critical=0 major=0 minor=<n>
mobile: critical=0 major=0 minor=<n>
page_scroll_width: <number>
viewport_width: <number>
visual_status: VISUAL_PASSED | VISUAL_PENDING | VISUAL_BLOCKED
html_sha256: <sha256>
DOM checks are necessary but insufficient for visual PASS. Screenshot-provider failure remains VISUAL_PENDING unless an approved fallback produces structured findings.
promotion → local visual gate → npm run build → stage generated indexes
→ npm run verify / taxonomy / leak → stage declared HTML/sidecars/assets/evidence
→ inspect staged diff → commit → git push origin main
If remote advances, fetch/reconcile once in the primary checkout, regenerate affected outputs and evidence, and retry without force. Do not substitute raw GitHub 200 for Pages evidence.
During an authorized run, do not narrate routine steps. Report only a real blocker, a corrected deviation, or final deliverables with evidence and exceptions.
.docs/<run-id>/<slug>/, not from detached commits or worktrees.See references/authorized-run-resource-recovery-20260809.md for compact diagnostics; interpret any historical worktree wording there as incident context, not an active instruction.