docs-writer
Skill by haseeb-heaven
Guides an AI assistant to write, review, and edit documentation in the /docs directory and Markdown files for the Gemini CLI project.
Install docs-writer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/haseeb-heaven/open-agent /tmp/open-agent && mkdir -p ~/.claude/skills && cp -r /tmp/open-agent/.openagent/skills/docs-writer ~/.claude/skills/docs-writerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/haseeb-heaven/open-agent /tmp/open-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/open-agent/.openagent/skills/docs-writer ~/.gemini/antigravity-cli/skills/docs-writerAntigravity 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
The docs-writer skill tells an AI assistant how to write, review, and edit documentation for the Gemini CLI project. It applies to files in the /docs directory and to any .md files in the repository. The skill sets rules for voice, tone, grammar, formatting, callouts, and relative links. It also asks the assistant to check relevant code, mainly under packages/, for accuracy before changing anything.
Before editing, the assistant must clarify the request, audit the current docs, and plan its changes. When behavior changes, it checks referencing pages and docs/sidebar.json. After edits, it verifies links and asks the user before running npm run format. The skill is written for contributors to the Gemini CLI project who work on its documentation.
Written from the project's SKILL.md and checked against it.
What it can do
- Documentation standardsSets rules for voice, tone, grammar, and word choice in project docs.
- Formatting rulesCovers sentence case, 80-character wrapping, lists, bold UI elements, and code font.
- Callout formattingExplains GitHub-flavored alerts and prettier-ignore lines for .md and .mdx files.
- Link checksRequires relative links and updates deep links when a heading changes.
- Preparation workflowRequires clarifying the request, investigating code, auditing docs, and planning first.
- Docs auditFollows the procedure in docs-auditing.md when asked to audit the docset.
- Sidebar checkChecks whether docs/sidebar.json needs updates after behavior changes.
- Final verificationChecks accuracy, self-review, links, and formatting before finishing a change.
What you need
- Access to the Gemini CLI project repository
- CONTRIBUTING.md in the repository
- npm, to run npm run format
Try asking
- Review the files in /docs/cli for style and tone issues.
- Edit this .md file to fix grammar and make the links relative.
- Audit the docs against the code in packages/ and list gaps.
Good to know
- Written for the Gemini CLI project and its docs and packages layout.
- Asks for clarification when a request is ambiguous, such as fix the docs.
- Runs npm run format only after the user confirms.
- Relative link rules do not apply to README.MD or CONTRIBUTING.MD.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .openagent/skills/docs-writer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to docs-writer
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
docs-writer: common questions
Which files does docs-writer apply to?
The skill applies when a task involves writing, reviewing, or editing files in the /docs directory or any .md files in the repository.
Does docs-writer check the code before changing docs?
Yes. The skill asks the assistant to examine relevant code, mainly in packages/, for accuracy before modifying documentation.
How does docs-writer handle callouts in MDX files?
For .mdx files, the skill places a {/* prettier-ignore */} comment directly before the callout block so Prettier keeps the formatting.
How do I install docs-writer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docs-writer free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is docs-writer safe to use?
It scores 81 of 100. Grades: maintenance A, 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 docs-writer?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
