SuperAPI AI Directory

wewrite-style

General & other

View repository

Updated 10-16 05:01

About this skill

wewrite-style — style settings / Onboard

Execution conventions

  • CLI: deterministic operations go through wewrite command (must be in PATH; if missing, guide to uv tool install wewrite, or in the repository bash install.sh)。
  • {home}: user state directory = $WEWRITE_HOME or ~/.wewrite(wewrite home can be checked). config/style/history/playbook/output/exemplars are all in {home}, not in the repository; state paths in the references documents follow this same convention.
  • 读取: <路径> = actually finish reading the file with the file-reading tool before continuing, it is not a comment.
  • references/: this skill comes with {skill_dir}/references/; the {skill_dir} inside the references documents is this skill's directory.
  • This module isinteractive's (it needs to ask the user questions), and is not bound by the main pipeline's "fully automatic" constraint.

Execute

Trigger scenarios:

  1. Main entry Step 1 finds that {home}/style.yaml does not exist (first-time use)
  2. The user says "reset style", "modify configuration"

Both scenarios execute:

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

Complete Phase 1-4 according to onboard.md: interactively collect information → generate {home}/style.yaml → optional Playbook library setup → trial run inquiry. When resetting the style, use the existing style.yaml as the baseline, and only change the fields the user wants to change; after changing, show the full text for the user to confirm.

After completion: if activated by the main pipeline (first-time onboard), return to the main pipeline Step 1 and continue; if triggered by the user separately, inform them "the configuration has been updated and will take effect automatically on the next writing task".