mcpField
W
wewrite-style

wewrite-style

github.com/imraywangMarketing & growth3.5k140 installsUpdated 3d ago
Repository

About wewrite-style

wewrite-style is an interactive setup skill for public-account authors using wewrite. It gathers preferences through questions and creates or updates style.yaml, with optional Playbook setup.

Key features

  1. 01Collect writing preferences interactively
  2. 02Create a style.yaml configuration
  3. 03Update selected fields in existing settings
  4. 04Optionally build a Playbook

Use cases

  1. 01Set up a writing style for first use
  2. 02Revise an existing style configuration
  3. 03Establish reusable guidance for future writing

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/imraywang/wewrite --skill wewrite-style

After installing, type/wewrite-stylein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

style.example.yaml
references/
onboard.md
style-template.md

Details

From the project README

wewrite-style — 风格设置 / Onboard

运行约定

  • CLI:确定性操作走 wewrite 命令(需在 PATH;缺失则引导 uv tool install wewrite,或在仓库里 bash install.sh)。
  • {home}:用户状态目录 = $WEWRITE_HOME 或 ~/.wewrite(wewrite home 可查)。config/style/history/playbook/output/exemplars 全在 {home},不在仓库;references 文档中的状态路径同此约定。
  • 读取: <路径> = 用文件读取工具真实读完该文件再继续,不是注释。
  • references/:本 skill 自带 {skill_dir}/references/;references 文档内的 {skill_dir} 即本 skill 目录。
  • 本模块是交互式的(需要问用户问题),不受主管道"全自动"约束。

执行

触发场景:

  1. 主入口 Step 1 发现 {home}/style.yaml 不存在(首次使用)
  2. 用户说"重新设置风格"、"修改配置"

两种场景都执行:

读取: {skill_dir}/references/onboard.md

按 onboard.md 的 Phase 1-4 完成:交互式收集信息 → 生成 {home}/style.yaml → 可选 Playbook 建库 → 试跑询问。重设风格时以现有 style.yaml 为基线,只改用户要改的字段, 改完展示全文让用户确认。

完成后:若由主管道激活(首次 onboard),回到主管道 Step 1 继续;若用户单独触发, 告知"配置已更新,下次写作自动生效"。

Comments

Markdown supported