Community影像github.com

umairmsm/wp-content

第四階段:處理網站內容的真實性與法律合規,包括由業主核准的文案、真實照片管線、法律頁面與內容變更追蹤。

wp-content 是什麼?

這個技能(Skill)是「wp-site-kit」WordPress 建站流程中的第四階段,專注於網站內容的「真實性」與「合規性」。它的核心運作方式是:所有公開頁面的文字必須經過業主核准,且所有照片必須是真實、合法且輕量的。技能涵蓋了從事實收集(僅來自業主提供的 BRIEF.md 或資料檔案)、AI 草稿標記、到嚴格的「聲明稽核」(Claims Audit)—確保每個數字、獎項、評論都有證據,並移除禁用詞。照片部分則包含去重(感知雜湊)、真實性過濾、EXIF 清理、WebP 尺寸轉換、取代文字(alt text)產生,以及 AI 生成圖片登錄。技能還強制要求法律頁面的內容必須使用業主原文,並透過結構化的 JSON 變更檔案與指派腳本來管理線上內容的更新,嚴禁手動編輯。支援平台為 Claude Code、Cline 等以 SKILL.md 為基礎的 AI 代理,可作為專案「Stage 4」的任務指示,或用於「撰寫文案」、「新增照片」、「檢查重複」、「更新價格或文字」等具體請求。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/umairmsm/wp-site-kit/tree/HEAD/skills/wp-content

Installed? Explore more 影像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

第四階段:內容

目標:每個公開頁面都承載業主核准的文字,以及真實、合法、輕量的照片。網站上不得宣稱企業無法證明的任何事項。

文案步驟

  1. 盤點: 列出每個頁面及項目所需內容(文字、事實、照片),記錄於 docs/data/content-plan.md。
  2. 事實優先:
    • 事實(價格、包含項目、時間、政策、安全備註)必須來自業主提供的 docs/BRIEF.md 或 docs/data/<type>/ 下的資料檔案。
    • 缺少的事實 → 在旗標清單(docs/data/<type>/_SUMMARY.md)中標記為 PENDING-<who>。絕不憑空捏造事實。
  3. 草稿: AI 可以起草,但草稿必須標記為草稿(使用 <prefix>_copy_status 元資料或在內容計畫中列出),直到業主核准為止。
  4. 發布前的聲明稽核(references/copy-and-claims.md):
    • 每項聲明都必須與其來源進行比對;
    • 移除禁用詞;
    • 數字、獎項及評論需要提供證明。 如果已安裝 claims-auditor 代理,則執行之。
  5. 分批在暫存站進行業主審閱。 發送簡短訊息,每個問題以「是/否」作答。冗長的問卷可能數週無人回應。
  6. 法律頁面: 隱私權通知(含詢問保留期間)、服務條款或預訂政策(僅使用業主原文)、若需追蹤同意則有 Cookie 通知,以及法律要求(德國、奧地利)的版權標示。
  7. 線上內容的變更需透過 docs/data/content-changes/*.json 及 scripts/apply-content-change.sh(階段 wp-ship)進行。絕不透過手動編輯線上內容。

照片步驟(詳細內容請見 references/photo-library.md)

  1. 將業主的原始照片存放在 git 之外的備份資料夾中。
  2. python3 -I scripts/photos/photos.py review <folder> → 產生審閱 CSV 檔案:列出重複照片(感知雜湊)、已存在於資料庫中的照片、以及小尺寸照片。
  3. 親自檢視每個候選照片,或讓較便宜的模型搭配 CSV 進行審閱。決定:匯入、擱置-人物(尚無同意)、擱置-授權(圖庫或來源不明)、或跳過。
  4. 撰寫清單(group,file,key,alt)。以 --dry-run 執行匯入,確認無誤後正式執行。將輸出的行貼入 photo-library.php。
  5. 模板使用 <prefix>_photo( 'key' )。每個區段最多使用兩張照片,僅 LCP(最大內容繪製)影像可設定為急切載入。

閘門(在 SITE_STATUS.md 中勾選)

  • 每個公開頁面都有業主核准的文案(日期)
  • 真實照片已匯入並附有取代文字;AI 生成圖片已記錄在 AI_IMAGES.md 中
  • 隱私權通知、服務條款及政策已發布(業主原文)
  • 公開頁面上沒有 PENDING- 事實,也沒有佔位文字

絕不

  • 偽造或匯入虛假的評論數、星級評分、「曾獲報導」徽章、「12,000+ 滿意客戶」等無憑證的數字。(我們曾移除舊網站上類似捏造的數字及評論數。)
  • 使用對應真實房間、地點、產品或人物的 AI 生成圖片,或任何暗示「這就是你得到的」的影像。
  • 未經同意使用人物照片。無授權可出示的圖庫照片。
  • 將價格或政策句子直接輸入模板或翻譯中。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

umairmsm/wp-build

Stage 3 of a wp-site-kit WordPress build - local DDEV site, the core must-use plugin (modules), the presentation-only child theme with skins, the content model (custom post types, meta, WP_Query, render functions), and the enquiry pipeline that saves leads before forwarding. Use when building or changing features, templates, content types, forms or plugin modules on a wp-site-kit site.

umairmsm/wp-design

Stage 2 of a wp-site-kit WordPress build - design direction, a static HTML/CSS prototype with design tokens, owner sign-off with screenshots, self-hosted fonts, and porting the approved look into a swappable WordPress skin. Use for "design the site", "new look", "redesign", "change colours or fonts", "make a new skin", "port the prototype to WordPress".

umairmsm/wp-kickoff

Stage 1 of a wp-site-kit WordPress build. Use when starting a new WordPress website or taking over or rebuilding an existing one - discovery brief, stack decision, creating the project with bin/wp-site-new, locked decisions, private repo and credentials inventory. Triggers - "new WordPress site", "start a client website", "rebuild this site", "take over this WordPress site".

umairmsm/wp-operate

Stage 8 of a wp-site-kit WordPress build and everything after launch - backups with an off-machine copy, restore drills, the disaster-recovery runbook, credentials inventory, update policy, alerts, and working from more than one machine (bridge file, workstation doctor, encrypted state bundle, rescuing unpushed work). Use for "backup", "restore", "move to a new machine/server", "update plugins", "what if the server dies", "work from the cloud box", "set up a second machine".

umairmsm/wp-seo

Stage 5 of a wp-site-kit WordPress build - titles and descriptions, canonical URLs, one schema owner and JSON-LD, sitemaps, robots.txt and llms.txt, AI crawler access, redirects (301 vs 302), legacy URL maps, Search Console, and adding languages one pilot at a time with Polylang (hreflang, .po/.mo strings, native review). Use for "SEO", "schema", "redirect", "old URLs", "translate the site", "add French/Spanish", "hreflang", "canonical".

umairmsm/wp-ship

Stage 7 of a wp-site-kit WordPress build - staging behind Cloudflare Access, server hardening, safe deploys from a commit (scripts/deploy-safe.sh), database content changes, the launch audit, DNS cutover without breaking a running business, and the first week after launch. Use for "deploy", "set up staging", "go live", "launch", "cutover", "move DNS", "harden the server".

umairmsm/wp-site

Start here for any WordPress website built with wp-site-kit, from an empty folder to a live site. Use when someone says "build a WordPress site", "new website for a client", "where are we on the site", "what is next before launch", or asks to continue a site project. Finds the current stage from SITE_STATUS.md, applies the hard rules, and hands over to the right stage skill.

相關技能