Cockpit:一個能 plan、edit、review、measure 的 Claude Code workspace
Claude Code 不只是 code chat box。Anthropic 把它描述成 agentic coding tool,可以讀 codebase、edit files、run commands,並從 terminal、IDE、desktop app 和 browser 與 development tools integration。對 SEO/GEO 工作來說,這代表你可以把一個 repository 變成實際 cockpit:source files、page briefs、analytics exports、prompt libraries、review rules 和 deployment checks 放在一起,而不是散落在 docs 和 dashboards。
初學者版本很簡單:建立 project folder、加入 CLAUDE.md、把 data 放在可預測 folders、要求 Claude editing 前先 plan、review diffs,並且只在 checks 通過後 publish。
圖說:先把 Claude Code 當成 repo-aware operator,而不是 generic content writer。
SEO/GEO cockpit 應該放什麼
在網站 repository 裡建立這個 folder structure:
seo-geo/
briefs/
exports/
gsc/
bing/
ga4/
prompt-library/
reports/
screenshots/
qa/
CLAUDE.md
每個 folder 都有工作。briefs/ 存 page briefs。exports/ 存 Google Search Console、Bing Webmaster Tools、GA4、SERP APIs 或 AI visibility tools 的 CSVs。prompt-library/ 存你用來測 ChatGPT、Perplexity、Gemini、Google AI Overviews、Felo Search 和其他 answer surfaces 的問題。qa/ 存 launch gates。
這很重要,因為 Claude Code 在能 inspect real files 並產生可 review diff 時最強。不要把十個 dashboards 貼進 chat。把 data 放進 files,請 Claude read files。
第一個 prompt:先 inspect,不要先改東西
在 fresh repository 裡使用這個 prompt:
I want to use Claude Code as an SEO/GEO workflow cockpit for this website.
Do not edit files yet. First inspect the repository and tell me:
1. What framework the site uses.
2. Where pages, metadata, routes, components, and content files live.
3. Whether the site has sitemap, robots.txt, schema, canonical URLs, and analytics.
4. Where I should store SEO/GEO briefs, exports, prompt libraries, QA reports, and screenshots.
5. What commands I should run for install, lint, typecheck, test, and build.
6. The safest first workflow to improve one page without breaking production.
Return a cockpit setup plan and wait for approval.
如果 Claude 直接開始 edits,請停下來要求 plan。Plan 應該命名 files 和 commands。如果它只說「improve SEO」但沒有說 metadata 存在哪裡,這個 plan 還不夠 specific。
Weekly cockpit routine
實用 weekly routine 可以像這樣:
| 步驟 | 輸入 | Claude Code 輸出 | 人工核准點 |
|---|---|---|---|
| 1. 讀 performance | GSC/Bing/GA4 exports | Opportunity list | 確認 target pages |
| 2. 讀 visibility | AI prompt snapshots | Mention/citation gaps | 確認 priority prompts |
| 3. 檢查頁面 | 來源檔案和 rendered page | Diagnosis | 核准 edit scope |
| 4. 編輯 | Page file、metadata、schema | Diff | 審核 content claims |
| 5. 驗證 | Build/lint/test | Pass/fail report | 核准 deploy |
| 6. 記錄 | Report markdown | Next action queue | 指派 owner |
要求 Claude 保存 report:
Create seo-geo/reports/YYYY-MM-DD-weekly-review.md.
Include pages checked, data files used, decisions made, diffs created, commands run, risks, and next actions. Do not claim improvements until we have post-change data.
什麼讓它是 Claude Code-specific
Cockpit 應該刻意使用 Claude Code features:
CLAUDE.md存 persistent project instructions。- VS Code extension 做 inline diff review 和 selected-file context。
- Subagents 處理 noisy research,避免淹沒 main conversation。
- Hooks 在 risky edits 前或 file changes 後做 deterministic checks。
- MCP 控制 external systems 和 APIs 的 access。
- GitHub Actions 在 changes 進 GitHub 後用
@claude做 PR review。
這和 generic AI writing workflow 不同。Claude Code 在這裡有用,是因為它能把 strategy 連到 actual repository files、validation commands 和 reviewable diffs。
初學者安全規則:one page、one diff、one report
第一天不要要求 Claude Code「optimize the whole site」。用這個 starter task:
Pick one existing page that has commercial or GEO value.
Use available metadata, content, and exports to propose a safe improvement.
Only edit that one page and any directly related metadata/schema file.
Run the build command.
Write a report explaining what changed, why it should help, and what data we need to check later.
這讓 workflow 保持 reviewable。初學者常出問題,是因為讓 agent 在一個 giant task 裡同時碰 navigation、schema、copy、redirects 和 deployment settings。
Cockpit QA checklist
在真正使用 cockpit 做 SEO/GEO work 前,確認:
| 檢查 | 通過條件 |
|---|---|
| Repository map | Claude 能解釋頁面、component、metadata 和 build 位置 |
| CLAUDE.md | Project rules 包含 SEO/GEO standards 和 approval boundaries |
| Data folders | Exports 和 prompt snapshots 使用 日期化檔名 |
| Validation | Build/lint/typecheck commands 已 documented |
| Diff review | Claude 會 摘要 changed files 和 風險假設 |
| Measurement | 每個 change 都有 後續 metric 或 prompt 要檢查 |
FAQ
Claude Code 可以自動 publish SEO changes 嗎?
它可以 edit files 並協助 deployment workflows,但初學者應該把 publishing 放在人類 review 後。讓 Claude 準備 diffs、reports 和 PR comments;production changes 自己核准。
這只適合 developers 嗎?
不是。如果 website 在 repository 裡,而且 team 同意 review steps,marketer 也能用這套 workflow。關鍵是要求 plans、reports 和 safe diffs。
我該用 Claude Code 還是 CMS AI writer?
當 SEO/GEO change 會碰 code、metadata、schema、routing、deployment 或 reusable page templates 時,用 Claude Code。只有需要 draft copy 時,用 CMS AI writer。
Claude Code SEO/GEO 學習路徑
這篇屬於 Claude Code SEO/GEO operator series。如果你從零建立 workflow,請照這個順序:
- 如何用 Claude Code 做 SEO Automation
- 如何建立 Claude Code SEO/GEO Workflow Cockpit
- 如何把 CLAUDE.md 和 Memory 用在 SEO/GEO Workflows
- 如何用 Claude Code VS Code Extension 更新 SEO Pages
- 2026 年最佳 GEO Claude Code Skills
- 如何用 Claude Code Subagents 做 GEO Research
- 如何把 Claude Code Hooks 當成 SEO/GEO Quality Gates
- 如何用 MCP 將 Claude Code 接上 SEO 資料
- 如何用 Claude Code GitHub Actions 做 SEO/GEO Reviews
- 如何在 Claude Code 裡跑每日 SEO/GEO Monitoring
下一篇
上一篇: 如何用 Claude Code 做 SEO Automation
下一篇: 如何把 CLAUDE.md 和 Memory 用在 SEO/GEO Workflows
Sources and notes
- Anthropic Claude Code docs: Overview 、 Memory 、 VS Code integration 、 Skills 、 Subagents 、 Hooks 、 MCP 與 GitHub Actions 。
Author: Nina Patel, Auspia Organic Growth Strategist for 250+ Content Programs。Nina 撰寫 practical growth systems,連結 content、tooling 和 measurement。