Write or update the cozzle wiki. The source is an Open Knowledge Format (OKF) v0.3 bundle with English and Korean pages in docs/wiki/, and scripts/publish.py copies it to the GitHub wiki (https://github.com/teamBuzzle/cozzle/wiki). Use this skill whenever you add, change, or review a wiki page, or when a cozzle feature merged to main needs documentation.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Cozzle Wiki?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/teambuzzle-cozzle-wiki)
---
name: cozzle-wiki
description: Write or update the cozzle wiki. The source is an Open Knowledge Format (OKF) v0.3 bundle with English and Korean pages in docs/wiki/, and scripts/publish.py copies it to the GitHub wiki (https://github.com/teamBuzzle/cozzle/wiki). Use this skill whenever you add, change, or review a wiki page, or when a cozzle feature merged to main needs documentation.
---
# Write the cozzle wiki
The source of the cozzle wiki is an OKF v0.3 bundle in `docs/wiki/` of this repository. The GitHub wiki is a published copy: GitHub wiki shows YAML frontmatter as plain text, so the copy has no frontmatter. Use the `okf-generate` skill in this project (`.claude/skills/okf-generate/`) for the format rules, the frontmatter fields, and the validator. This skill adds the rules that are specific to cozzle.
## Sources
1. Write only what the code on `main` shows. Read the source files in `src/`, `src/agent_guide.md`, `src/shortcuts.rs` (the shortcut table), `src/commands.rs` (the CLI), `README.md`, and `.github/`.
2. Describe only features on `main`, because the wiki documents what users get; leave out work that is on a branch or in progress.
3. Give each concept a `sources` list. Use the repository file as `resource`, for example `https://github.com/teamBuzzle/cozzle/blob/main/src/shortcuts.rs`.
4. Do not invent facts, such as a name origin, a version, or a platform that has not been tested. If you cannot find a source, leave the fact out and tell the user.
## Bundle layout
1. The bundle root is `docs/wiki/` in this repository. Edit pages there, not in the wiki checkout, because `publish.py` overwrites the checkout. On GitHub, the repository file view shows the frontmatter as a table.
2. Write one page per concept, in English and in Korean. The English page is the default. The Korean page has the same file name with the suffix `-ko`, for example `Getting-Started.md` and `Getting-Started-ko.md`.
3. Give every Korean page a Korean `title`. The published wiki page is named after it, with spaces as hyphens: `Getting-Started-ko.md` with `title: "시작하기"` becomes the page `시작하기`. Each title must give a page name that no other page uses, and it must not contain `\ / : * ? " < > | #`. For example, the Korean CLI page is titled `Cozzle 명령` because `Cozzle-CLI` is the English page.
4. Link between pages with the file name and `.md`, such as `[시작하기](Getting-Started-ko.md#세션-복원)`. The repository view and the validator understand this form, and `publish.py` rewrites it to the wiki page name.
5. Link to repository files relative to the page, such as `[src/app.rs](../../src/app.rs)`. Write footnote sources this way too: `[^app]: [src/app.rs](../../src/app.rs)`. A bare path such as `src/app.rs` is not safe, because GitHub can turn names that end in a country domain (`.rs`, `.md`) into web links. `publish.py` rewrites these links to `https://github.com/teamBuzzle/cozzle/blob/main/<path>`.
6. Start every page body, right after the frontmatter, with a language line: `English | [한국어](<Name>-ko.md)` on English pages, and `[English](<Name>.md) | 한국어` on Korean pages. Link only to pages in the same language in the body.
7. Keep `Home.md` (English) and `Home-ko.md` (`title: "홈"`) as the entry pages. GitHub shows `Home` first.
8. Keep `_Sidebar.md` and `_Footer.md` without frontmatter. The sidebar has one list for English and one for Korean.
9. Keep `index.md` and `log.md` at the bundle root as the OKF index and change log. The root `index.md` has the frontmatter `okf_version: "0.3"`, `title`, `description` and `license: MIT`. They are not published to the wiki.
10. Use `type: Guide` for how-to pages, `type: Reference` for tables such as shortcuts and CLI commands, and `type: Policy` for security and contribution rules. Reuse these types.
## Writing style
Follow the technical writing principles at https://technical-writing.dev/:
1. Know the reader and the task. State in the first paragraph who the page is for and what it helps them do.
2. Put the most important information first.
3. Use short sentences and plain words. Use one term for one thing, and keep the terms in the cozzle UI, such as the names in the shortcut table.
4. Write steps as numbered lists, one action per step. Write options and facts as bulleted lists or tables.
5. Show a working example, such as a command or a shortcut, near the start.
6. Keep code, commands, file names, and UI labels exactly as they appear. English pages use the English labels from `locales/en.json` and Korean pages the Korean labels from `locales/ko.json`; do not add Korean labels in parentheses to English pages.
7. Name other products only when the feature needs them, such as Claude Code, Codex, GitHub, or an operating system, because comparisons in a public wiki read as copying (see `.claude/rules/naming.md`).
The Korean page says the same thing as the English page. Write natural Korean, not a word-for-word translation.
## Check
1. Run the OKF validator on the bundle: `python3 .claude/skills/okf-generate/scripts/validate.py docs/wiki`. It needs PyYAML (`uv run --with pyyaml python3 ...` works). Fix every error. Expect only `W120` for `_Sidebar.md` and `_Footer.md`: they are GitHub wiki layout files, not concepts.
2. Run `python3 .claude/skills/cozzle-wiki/scripts/publish.py --test`.
3. Commit the bundle change to this repository like any other change (`docs(wiki): ...`).
## Publish
1. Clone or update the wiki checkout: `git clone https://github.com/teamBuzzle/cozzle.wiki.git`.
2. Run `python3 .claude/skills/cozzle-wiki/scripts/publish.py docs/wiki <wiki-checkout>`. Add `--dry-run` first to see what it writes and deletes. The script:
- drops the frontmatter,
- names each Korean page after its `title`,
- rewrites `Name.md#anchor` links to wiki page links,
- rewrites relative links to repository files outside the bundle to GitHub URLs,
- skips `index.md` and `log.md`,
- deletes wiki pages that the bundle no longer produces,
- stops with an error when a link points to a page that is not in the bundle or outside the repository, or when two pages would get the same name.
3. Commit in the wiki checkout with a short message, and push only when the user has asked for the wiki to be published, because the wiki is public as soon as it is pushed.
4. After you push, open the wiki in a browser. Check that no frontmatter text shows, that Korean pages show Korean titles, and that the language line and the sidebar links work.