guide-writing
Skill by ubolonton
Guides the assistant in writing or editing the docs/guide mdbook for the Emacs Rust crate. It sets voice, structure, and rules for compiled Rust examples. Intended for contributors editing files under docs/guide/.
Install guide-writing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ubolonton/emacs-module-rs /tmp/emacs-module-rs && mkdir -p ~/.claude/skills && cp -r /tmp/emacs-module-rs/.claude/skills/guide-writing ~/.claude/skills/guide-writingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ubolonton/emacs-module-rs /tmp/emacs-module-rs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/emacs-module-rs/.claude/skills/guide-writing ~/.gemini/antigravity-cli/skills/guide-writingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
guide-writing is an agent skill that sets the writing style for the docs/guide/ mdbook. It applies when the assistant creates or edits files under docs/guide/src/ or docs/guide/examples/. The rules cover active voice, sentence and section length, a code-first teaching approach, structure by content type, and consistent terminology. It also lists common mistakes to avoid, such as hedging and passive voice.
Rust code that uses the crate goes in docs/guide/examples/ so it compiles against the current API. Each file is one module registered as an example in Cargo.toml. Shown code is marked with ANCHOR comments and pulled into pages with mdbook includes. The skill is written for contributors who document the emacs crate, and it assumes readers know Rust or Emacs.
Written from the project's SKILL.md and checked against it.
What it can do
- Voice and toneSets active voice, imperative setup steps, and no hedging.
- Length limitsKeeps sentences to 10 to 25 words and sections to 10 to 40 lines.
- Code-first teachingShows a working example first, then explains the key point.
- Structure by content typeMaps reasoning to prose, options to bullets, and setup to numbered steps.
- Compiled Rust snippetsIncludes ANCHOR-marked code from docs/guide/examples/ into guide pages.
- Example checksRuns mise run guide:check-examples, which denies warnings to catch deprecated APIs.
- Terminology rulesRequires one consistent term per concept and uses domain terms without inline definitions.
- Common mistakes listFlags passive voice, over-hedging, listed options without trade-offs, and leaked internals.
What you need
- mise, to run guide:check-examples
Try asking
- Write a guide section on wrapping a hash map for Emacs
- Edit this guide page to remove passive voice and hedging
- Add a compiled Rust example with ANCHOR markers to the guide
Good to know
- Rustfmt is turned off for the examples directory.
- The {{#include}} directive does not dedent, so fragments start at column 0.
- Do not link to docs/research/ or docs/adrs/, which are for maintainers.
- Applies only to files under docs/guide/src/ and docs/guide/examples/.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/guide-writing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to guide-writing
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
guide-writing: common questions
Which files does this skill apply to?
It applies when creating or modifying files under docs/guide/src/ or docs/guide/examples/.
Where should Rust code for the guide go?
Rust code that uses the crate goes in docs/guide/examples/ so it compiles against the current API. Inline Rust blocks are only for code that cannot compile there.
How are guide examples checked?
Run mise run guide:check-examples. It denies warnings to catch deprecated APIs.
How do I install guide-writing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is guide-writing free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is guide-writing safe to use?
It scores 69 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to guide-writing?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
