平台中立的行文 —— A 阶段设计
Section titled “平台中立的行文 —— A 阶段设计”Superpowers ships to multiple agent runtimes (Claude Code, Codex, Cursor, OpenCode, Copilot CLI, Gemini CLI). Skill content and supporting docs were written first for Claude Code and use “Claude” in places where any 运行时’s agent applies. OpenAI’s vendored fork (openai/plugins#217) attempted a wholesale rewrite that was actively wrong in places — rewriting historical attribution paths, model names, and platform-specific install instructions — and we want to avoid that mistake while still removing platform-centric prose where it is genuinely incidental.
The full effort is broken into 阶段 by 引用 category. This spec covers Phase A only: generic third-person prose mentioning “Claude” in non-platform-specific contexts. Later 阶段 (config-file 引用, marketing copy, tool-name 引用) are 范围外 here and will get their own specs.
Generic prose mentions of “Claude” in:
skills/*/SKILL.mdand supporting.mdfiles in active skill 目录skills/writing-skills/anthropic-best-practices.mdREADME.md(only where the mention is generic prose, not 平台 marketing)
Plus one coined-term rename: Claude Search Optimization (CSO) → Skill Discovery Optimization (SDO) in skills/writing-skills/SKILL.md.
- Platform/runtime statements — “In Claude Code:”, install instructions, tool-mapping references. (Phase D candidate.)
- Config-file 引用 — CLAUDE.md, AGENTS.md, GEMINI.md priority lists and “where to put 项目 conventions” callouts. (Phase B.)
- Tool-name 引用 —
Skill,Bash,Read,Task,TodoWrite. Skills are written in Claude Code’s tool vocabulary; the 现有references/{codex,copilot,gemini}-tools.mdfiles map them. (At the time this spec was written, the 计划 was to 延后处理 or 跳过 these. Phase E ended up doing them — replacing tool names with action language across active skills and unifying the platform-tools refs around the same vocabulary.) - Marketing copy in README — “Superpowers for Claude Code”, platform-named install sections. (Phase C.)
- Historical artifacts —
docs/plans/*.md,docs/superpowers/specs/*.md,CREATION-LOG.md. These are dated, point-in-time documents; rewriting them rewrites history. - Model identifiers — Claude Haiku / Sonnet / Opus. These are real product names.
- Filename / URL 引用 —
CLAUDE.md,claude.com,claude-plugin/, paths under~/.claude/. anthropic-best-practices.mdfilename — the file remains named after its source even though we rewrite the prose inside it.
Replacement style
Section titled “Replacement style”使用 a mix that 读取 naturally in English:
- Second person — “your agent” when addressing the skill author about their 运行时
- “your agent 读取 the description”
- Third person — “the agent” / “agents” / “an agent” when describing system behavior generically
- “Future agents find your skills”
- “使用 words an agent would search for”
- “Agents read SKILL.md only when the skill becomes relevant”
Pick whichever fits the surrounding sentence; do not force consistency at the 成本 of awkward phrasing. Pluralize when natural (“future agents”, “agents read”) rather than always saying “the agent”.
Carve-outs that stay as “Claude”
Section titled “Carve-outs that stay as “Claude””- Model names: Claude Haiku, Claude Sonnet, Claude Opus
- Filenames and URLs:
CLAUDE.md,claude.com,~/.claude/ - Branded 平台 name “Claude Code” wherever it refers to the 运行时 as such (handled in later 阶段)
Coined-term rename
Section titled “Coined-term rename”- Claude Search Optimization (CSO) → Skill Discovery Optimization (SDO)
- Appears in
skills/writing-skills/SKILL.mdas a section heading and in nearby prose. Rename the heading, the acronym, and any in-file cross-references.
- Appears in
文件 affected
Section titled “文件 affected”Approximate counts based on a grep filtered to exclude 例外:
| File | Generic-prose mentions |
|---|---|
skills/writing-skills/SKILL.md | ~12 (includes CSO heading + body) |
skills/writing-skills/anthropic-best-practices.md | ~30 |
skills/writing-skills/examples/CLAUDE_MD_TESTING.md | ~1 — filename stays (it’s a CLAUDE.md test artifact); the “Variant C: Claude.AI Emphatic Style” heading also stays (it’s a label naming a specific style) |
README.md | ~1 |
Final list confirmed during 实施 by re-running the filtered grep.
Four atomic commits, in order:
- Rename CSO → SDO in
skills/writing-skills/SKILL.md. Mechanical, isolated, easy to revert if we change our minds about the term. - Active skills prose — generic “Claude” → “agent” forms across
skills/*/SKILL.mdand supporting.md, excludinganthropic-best-practices.md. anthropic-best-practices.mdprose — same substitution rules. Separate commit because this file is a vendored adaptation of an external doc; isolating the change makes future reconciliation with upstream easier to read.- README.md prose (only if any generic-prose mentions remain after filtering). Skipped if empty.
Each 提交消息 names the 阶段 (“Phase A”) and the slice (“rename CSO to SDO”, “agent prose in active skills”, etc.) so the series is self-documenting.
After each commit:
grep -rn "Claude" <touched-paths>— every remaining hit must fall into a documented 例外 (model name, filename, URL, “Claude Code” 平台 name, 历史产物).- Read the touched file end-to-end — substitutions should not have broken sentence flow, pronoun agreement, or list parallelism.
- No tests to run; this is prose-only.
After the final commit:
- Skim each modified skill in a live session to confirm nothing 读取 awkwardly.
- Do not change behavior, structure, headings (other than CSO→SDO), examples, code blocks, or YAML frontmatter.
- Do not introduce 新 sections, callouts, or 兼容性 notes.
- Do not “improve” prose beyond the substitution while editing.