一键导入
xx-voice-gen
Generate a writing style guide
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a writing style guide
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when 🤖{} or 🤖[] or 🤖~~ markers appear in markdown documents
use to learn from existing coding sessions, or record hints
Use when the user is requesting an artifact (capture, save, record, create) AND the substance to preserve is conversational context they've already produced. Skip when the user is stating facts, asking questions, or asking the agent to generate substance from scratch. Also trigger when editing markdown with known frontmatter type:
Use when editing issues in workshop/issues/.
Use to process interview feedback
apply a voice style
| name | xx-voice-gen |
| description | Generate a writing style guide |
Analyzes a corpus of writing samples and generates a concrete, example-driven style guide.
<slug> — voice identifier (e.g., xian). Output will be written to ~/.personal/<slug>-writing-style.md.<folder-path> — path to a folder containing sample writing (markdown, text, etc.). Searched recursively.Validate paths:
~/.personal/ doesn't exist: create it with mkdir -p ~/.personal.~/.personal/<slug>-writing-style.md already exists: warn the user and ask whether to overwrite or abort.<folder-path> doesn't exist or contains no readable files: tell the user and abort.Discover samples: Recursively find all markdown/text files in the folder. Report how many files found. Read at least 10-12 diverse samples for a reliable style profile. If fewer than 5 samples exist, warn that the guide may be thin.
Analyze across these dimensions:
Write the style guide to ~/.personal/<slug>-writing-style.md. Structure:
Report — summarize the key findings. What makes this voice distinctive.
/xx-voice-apply to rewrite documents. Make it precise enough that an AI can operationalize it.