ソース情報
- リポジトリ
- ccwq/infocard-pub
- ソースの最終更新活動
- 2026年8月20日 06:45
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 1
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/ccwq/infocard-pub --skill infocard-visual-pass-loopコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?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 | infocard-visual-pass-loop |
| description | Screenshot-and-fix loop when 200 passes but theme is broken. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| metadata | {"hermes":{"tags":["infocard","visual-verification","theme","hardblue","darkblue","hard-gate"],"related_skills":["infocard-publish-sop","theme-visual-reference-workflow"]}} |
The missing chapter between npm run build → HTTP 200 and PUBLISHED.
curl -I <url> returns 200.In any of these cases: do not push again yet. Run this loop.
scripts/capture-infocard-screenshots.sh).vision_analyze with a "list every defect as CRITICAL/MAJOR/MINOR" prompt.HTTP 200 and npm run build success are NEVER sufficient evidence of completion.
| Symptom | Root cause | Fix |
|---|---|---|
| Plain text rendering, no colors, mojibake | <style> block missing from final HTML | Rebuild full HTML: head + inline style + body. Never split across files. |
| Hero bar absent | .hero-bar rule not in template CSS | Add .hero-bar{height:14px;border-radius:999px;background:linear-gradient(...);...} to the template. |
| Sections float without container | .section, .card, .grid-2, .risk-grid not defined | Add background+border+box-shadow rules to each container class. |
| Theme not dominant | Wrong template cloned | Confirm theme/<style>.html matches the meta's style: field before cloning. |
| Mobile overflow / illegible | No @media (max-width: 720px) rules | Add responsive rules to collapse grid columns to 1fr. |
See scripts/capture-infocard-screenshots.sh for the verified Chrome headless invocation. It follows chrome-automation-safety: per-run temporary profile, no broad process cleanup, and no default --no-sandbox. Always:
4183, 4184, ...);curl -sI to verify the preview before screenshotting;?v=<n> query on every retry.When reporting completion, MUST include:
Visual pass:
- desktop 1280×1800: <count> screenshots, 0 critical, 0 major
- mobile 720×1600: <count> screenshots, 0 critical, 0 major
- commit: <hash>
- cache-bust URL: <url>?cb=<hash>
Without this report, the card is 视觉未通过 — 待修复, NOT 已发布.
A page identity check is necessary but not visual evidence. If URL/title/readyState and DOM checks succeed while Page.captureScreenshot times out, classify the run as SCREENSHOT_TIMEOUT / VISUAL_PENDING unless a readable screenshot is actually produced and reviewed. Do not upgrade HTTP 200, CSS/theme signatures, or scrollWidth == clientWidth into a visual pass.
Before retrying, confirm the exact target identity and use one fresh owned target for a viewport capture; do not blindly repeat full-page captures. If the fallback capture path also times out or produces no verifiable PNG, retain the pending state and report the concrete infrastructure failure. A publication that proceeds under an approved infrastructure-only fallback must remain PUBLISHED_PENDING_VISUAL, never PUBLISHED with an implied visual pass.
When using live-server, its configured port may already be occupied and the server may auto-select a different port. Read the actual serving URL from the server output, verify that URL with curl, and use the same port for browser review. Never review a stale page on the originally requested port.
references/pitfalls-20260728-visual-gate.md — full incident transcript of the 2026-07-28 case.infocard-pub-hardening — additional screenshot and preview hardening notes (currently user-owned; adopt before autonomous edits).