wewrite-learn
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesewewrite-learn — 自学习(改稿飞轮 / 范文库 / 排版学习)
wewrite-learn — Self-Learning (Edit Flywheel / Sample Library / Typography Learning)
运行约定
Operating Conventions
- CLI:确定性操作走 命令(需在 PATH;缺失则引导
wewrite,或在仓库里uv tool install wewrite)。bash install.sh - {home}:用户状态目录 = 或
$WEWRITE_HOME(~/.wewrite可查)。config/style/history/playbook/output/exemplars 全在 {home},不在仓库;references 文档中的状态路径同此约定。wewrite home - = 用文件读取工具真实读完该文件再继续,不是注释。
读取: <路径> - references/:本 skill 自带 ;references 文档内的
{skill_dir}/references/即本 skill 目录。{skill_dir}
- CLI: Deterministic operations use the command (must be in PATH; if missing, guide users to run
wewrite, or runuv tool install wewritein the repository).bash install.sh - {home}: User state directory = or
$WEWRITE_HOME(check with~/.wewrite). All config/style/history/playbook/output/exemplars are stored in {home}, not in the repository; state paths in references documents follow the same convention.wewrite home - = Actually read the entire file using a file reading tool before proceeding; this is not a comment.
Read: <path> - references/: This skill comes with ;
{skill_dir}/references/in references documents refers to the directory of this skill.{skill_dir}
子功能分发
Sub-function Dispatching
| 用户说 | 动作 |
|---|---|
| 学习我的修改 / 我改了,学习一下 | |
| 学习排版 / 学排版 + URL | |
| 学习这篇文章 / 导入范文 + URL | |
| 导入范文 + 本地文件 | |
| 查看范文库 | |
范文库的用途:exemplars 会在写作模块(wewrite-write)按框架类型注入初稿 prompt,
只用于校准结构和节奏,不能复用其中的观点、句子或个人经历。导入完成后告知用户库里现有
多少篇、覆盖哪些 category 和所有权标记。
改稿飞轮的价值:每次学习让下一篇初稿更接近用户风格。learn-edits.md 的
只有重复出现或用户明确确认的同范围规则才会成为硬约束;单次修改始终只是软参考。
| User Input | Action |
|---|---|
| Learn my edits / I made changes, learn from them | |
| Learn typography / Learn layout + URL | |
| Learn from this article / Import sample essay + URL | |
| Import sample essay + local file | |
| View sample library | |
Purpose of the Sample Library: Exemplars are injected into the first draft prompt by the writing module (wewrite-write) according to the framework type,
and are only used to calibrate structure and rhythm. Viewpoints, sentences, or personal experiences from the samples must not be reused. After import is complete, inform the user how many articles are currently in the library,
which categories they cover, and their ownership tags.
Value of the Edit Flywheel: Each learning iteration makes the next first draft closer to the user's style. For rules in learn-edits.md,
only rules of the same scope that appear repeatedly or are explicitly confirmed by the user will become hard constraints; a single edit is always just a soft reference.