wiki

Featured

Read this repository and keep a wiki about it in its Space, sized to the repository: an overview that lists every page, then one page per part or flow a newcomer needs, each key sentence tied to the code lines it was read from, so Wenlan can tell when the code moved on. Writes the pages that are missing and leaves the rest alone; a page whose code changed is brought up to date by steep, not here. For a Space connected to the repository, also fixes sentences of the repository's own docs the code no longer agrees with, for the wiki pull request. Use for "build a wiki for this repo", "get to know this repository", "幫這個倉庫建 wiki", "認識這個倉庫". Invoked as `/wenlan wiki [space:<name>]`.

AI & Automation 498 stars 8 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 97/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /wenlan wiki Read this repository and keep a wiki about it in its Space. How many pages it has depends on the repository: a small tool may need five, a large monorepo twenty or more. The overview page lists them all. Each key sentence is tied to the code lines it was read from (a code basis), so Wenlan can tell when the code moved on. The pages are written by the AI. A rerun writes only the pages that are missing. A page whose cited code changed is brought up to date by steep (`/wenlan steep`, or Wenlan's automatic mode), not here: wiki writes new pages, steep keeps them current. Reply in the user's language. ## 1. Resolve repository and Space The skill accepts one optional inline token of the form `space:<name>`. The bundled resolver strips it and prints the resolved Space line itself: ```bash raw_args="<the full argument string passed to /wenlan wiki>" resolved="$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-space.sh" --cwd "$PWD" --args "$raw_args")" space="$(printf '%s\n' "$resolved" | cut -f1)" repo_root="$(git -C "$PWD" rev-parse --show-toplevel)" ``` If the resolver cannot run (a background run may allow only read-only commands), take the Space from the `space:<name>` token instead. If the `git rev-parse` fails, say this folder is not a git repository and stop. If `space` is empty, say this folder is not matched to a Space and that `/wenlan wiki space:<name>` names one, then stop. Do not ask a question. ## 2. Plan the pages Call `list_pages` with `space="<space>"` ...

Details

Author
wenlan-app
Repository
wenlan-app/wenlan
Created
7 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category