Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

Wiki Submit

FreeRuns bundled scriptsNot checked

Submit wiki documentation pages to Wegent backend API. Simplifies the HTTP POST process for wiki content submission.

wecode-aiby wecode-ai★ 897 GitHub stars

About this skill

For every coordinated full-rebuild review action, read REVIEW_CONTRACT.md completely first. It defines the required handoffs, phase states, outputs, and completion criteria for both Writer and Reviewer.

Wiki Submit Skill

This skill provides a simple command-line tool to submit wiki documentation pages to the Wegent backend.

Page paths

A page is identified by its --path: index, architecture/backend, modules/indexing. Lowercase, /-separated, no file extension, at most 4 folders deep. Two paths may not differ only by case — the projection matches them case-insensitively, so they would collapse into one page.

Keep a path stable across runs. It is what lets an unchanged page keep its place, its links and its search index. Changing it republishes the page as a deletion plus an insertion, so reword titles freely and move paths rarely.

Send a page's complete content every time. There is no patch format; what you send replaces the page.

A section that holds pages needs a substantive page of its own. If you submit architecture/backend, also submit architecture with an overview of that section; for architecture/backend/api, submit both architecture and architecture/backend. This is a publish requirement: complete refuses a version with any ancestor path that is not a page. Submit overview pages first where practical, and always before running complete. Write index as the wiki overview.

Create a slash-separated section only when its parent has a meaningful overview and at least two independent child pages. If one topic is all that is needed, make it one page (for example domain-concepts) rather than a parent page plus a one-page folder. Titles name the subject and the reader's purpose; do not use generic titles such as "Domain concepts part", "Module part", "Part N", or their translated equivalents.

Link to another wiki page by its complete page path without an extension, for example [Backend](architecture/backend). Do not use ./architecture/backend.md or a URL: wiki pages are not files served at those locations.

Anything submitted is part of the version; there is no scratch page or draft namespace. Remove an accidental page before completing the run.

Generation workflow

Bounded Section Writers

If the invocation identifies you as a bounded Section Writer or assigns one Work Package, submit only that package's pages and return the result to the Coordinator. A bounded Section Writer must not run plan, complete, or fail: those commands change the whole generation and belong to its Coordinator.

Before the first submit

  1. Read the run prompt and make one page-and-link plan, including stable paths and a reading order.
  2. In an incremental run, use read before replacing an existing page. A submit always replaces the complete page; it is not a patch.
  3. Choose stable paths before writing. If a path has descendants, submit its substantive parent page as well.
  4. Before submitting a page that contains a Mermaid fence, run validate-mermaid on the same Markdown file. Correct every reported block before submitting it.
  5. In a full rebuild using the Writer/Reviewer Team, follow REVIEW_CONTRACT.md: open a persisted Plan handoff, delegate the Reviewer synchronously, and obtain a passed Plan verdict before submitting pages.
  6. In a full rebuild whose prompt says there is no review loop, record the finished page plan with plan before the first page submission. Update it with the full current order if exploration changes the plan. This reports progress to readers; it is not a review or a publishing gate.

Before ending the run

  1. Submit every planned finished page, and explicitly remove only pages whose subject disappeared in an incremental run.
  2. Re-run validate-mermaid for every page whose diagram changed after its last validation. It uses the pinned Mermaid parser plus a matching guard for the known subgraph/node layout cycle, and gives a block line number plus an actionable correction error.
  3. Run complete with the documented commit and an order that starts with index and follows the planned reading route. For a coordinated full rebuild, list every planned page in that order.
  4. Read the response. If publication is refused, restore the missing coverage — in particular, create every named section overview page — and run complete again. For every Mermaid diagram, keep node IDs distinct from subgraph IDs (for example rpc_service inside rpc_group), and correct every named diagram error before running complete again. The publish gate is authoritative: do not mark the run failed merely because it asks for a diagram correction.
  5. In a coordinated full rebuild, follow each returned nextAction and reviewPolicy. The default plan_only path publishes after a passed Plan and an exact effective page set. The reserved plan_and_qa path addi
Full SKILL.md on GitHub

Install Wiki Submit in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

REVIEW_CONTRACT.mdmermaid_validation.jswiki_submit.js

FAQ

What does the Wiki Submit skill do?

Submit wiki documentation pages to Wegent backend API. Simplifies the HTTP POST process for wiki content submission.

How do I install the Wiki Submit skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Wiki Submit skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare Wiki Submit with