wikitool
Run the Rust wikitool CLI for sync, indexing, docs, import, inspection, workflow, and release operations. Use when executing command-line workflows with dry-run guardrails and canonical CLI-help validation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-15
- Stars
- ★ 15
- Forks
- 1
01 前言 Front Matter
- name
- wikitool
- description
- Run the Rust wikitool CLI for sync, indexing, docs, import, inspection, workflow, and release operations. Use when executing command-line workflows with dry-run guardrails and canonical CLI-help validation.
- allowed-tools
- Bash(wikitool:*), Bash(cargo:*), Bash(cd:*), Read, Write
- argument-hint
- [command] [options]
03 SKILL.md 正文
/wikitool - Rust CLI Gateway
Treat this skill as a thin overlay.
Canonical behavior is defined by runbooks and live CLI help.
Use normal reasoning, ordinary shell/file tools, and direct editing by default.
Reach for wikitool when you need wiki-aware retrieval, MediaWiki-aware fetch/export, template/profile lookup, article lint/fix/validate, or guarded sync/push.
Usage
/wikitool
/wikitool <command>
/wikitool <command> [args]
Resolution
- Prefer direct binary:
wikitool .... - If binary is unavailable, use
cargo run --quiet --package wikitool -- .... - Do not invent flags from memory; verify against help.
Canonical lookup order
wikitool --helpwikitool <command> --helpdocs/wikitool/reference.md
Guardrails
- Run
diffbefore push/delete workflows. - Run
push --dry-run --summary "..."before write push. - Do not use
--forcewithout explicit approval. - Treat the local DB as disposable; use
db resetor delete.wikitool/data/wikitool.dbinstead of preserving old schema state.
Binary-native workflow helpers
wikitool status --modified --format json
wikitool diff --format json
wikitool pull --all --format json
wikitool workflow session-refresh
wikitool workflow full-refresh --yes
wikitool knowledge warm --docs-profile remilia-mw-1.44
wikitool knowledge status --docs-profile remilia-mw-1.44
wikitool knowledge article-start "Topic" --format json
wikitool research search "Topic" --format json
wikitool research fetch "https://wiki.remilia.org/wiki/Main_Page" --format rendered-html --output json
wikitool wiki profile sync
wikitool templates show "Template:Infobox person"
wikitool article lint wiki_content/Main/Title.wiki --format json
wikitool knowledge inspect chunks --across-pages --query "topic terms" --max-pages 6 --limit 10 --token-budget 1200 --format json --diversify
wikitool knowledge pack "Topic" --format json
wikitool docs generate-reference
wikitool dev install-git-hooks
wikitool release build-ai-pack
wikitool release package
wikitool release build-matrix
Retrieval model
- Treat local files as the editor-facing source of truth.
- Treat SQLite as an AI retrieval index: semantic page profiles, sections, templates, module invocation patterns, references, source authorities, identifiers, template implementation bundles, pinned docs corpora, links, and media.
- Do not describe reference rows as quality scored; use the stored retrieval signals, authority/identifier data, and source metadata directly.
- Prefer
knowledge article-startas the default authoring retrieval front door; useknowledge packonly when the deeper raw substrate is needed, and useknowledge statusto verify readiness before depending on local context.
04 同仓库更多 Skills
deploy-app
Deploy the application to staging or production environments.
deploy
Deploy the application to environments.
building-native-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
create-section
Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.
ship-checker
Run a full pre-ship review for this repo. Use when asked if a change is ready to deploy, publish, or ship.
lint-check
Run repository linters and report failures.