Agent skill

Docs Writer

by yamcodes in yamcodes/arkenv

Always use this skill when the task involves writing, reviewing, or editing files in the /docs directory or any .md files in the repository.

MITAuto-check passed

Install Docs Writer

skills CLI
$ npx skills add yamcodes/arkenv --skill docs-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yamcodes/arkenv docs-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yamcodes/arkenv.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/docs-writer .claude/skills/docs-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-writer
GitHub stars
145
Token cost
~2.4k tokens
SKILL.md length
1,204 words
Files
3 (incl. references)
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

Always use this skill when the task involves writing, reviewing, or editing files in the /docs directory or any .md files in the repository.

  • Works in 4 steps: Documentation standards → Preparation → Execution → …
  • The task involves writing
  • SKILL.md covers Phase 1: Documentation standards, Phase 2: Preparation, Phase 3: Execution and Phase 4: Verification and…, plus 1 more section
  • Calls npm

What it does

Docs Writer is an agent skill from yamcodes/arkenv. Always use this skill when the task involves writing, reviewing, or editing files in the /docs directory or any .md files in the repository. For ArkEnv tone, register, or "fix the voice", also load the-voice.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `quota-limit-style-guide.md` and `references/docs-auditing.md`).

The repository describes itself as: ⛯ Typesafe environment variables with ArkType, Zod, or Valibot. The licence is MIT.

When your agent uses it

  • The task involves writing
  • Editing files in the /docs directory
  • Any .md files in the repository

Example prompts

  • “fix the voice”
  • “Use the docs-writer skill to alway use this skill when the task involves writing, reviewing, or editing files in the /docs directory or any .md…”
  • “/docs-writer”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Documentation standards
  2. Preparation
  3. Execution
  4. Verification and finalization

What it can do on your machine

Read from SKILL.md and the folder at commit 7340aa2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Writer loads about 2.4k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 1,204 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yamcodes/arkenv at commit 7340aa2, republished under its MIT licence (© yamcodes). 1,204 words, ~2,371 tokens.

Download SKILL.mdSave it as .claude/skills/docs-writer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
docs-writer
description
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository. For ArkEnv tone, register, or "fix the voice", also load the-voice.
metadata.author
Yam Borodetsky
metadata.original_author
Google
metadata.origin
github.com/google-gemini/gemini-cli
metadata.internal
true

docs-writer skill instructions

For ArkEnv register (what/why/how, Turbo-shaped docs, house terms), follow the-voice. This skill is mechanics: links, wrapping, structure. Ignore Gemini CLI naming. When tone and this file conflict, the-voice wins. Site notes use fumadocs <Callout>, not GitHub alerts.

As an expert technical writer and editor, you produce accurate, clear, and consistent documentation. When asked to write, edit, or review documentation, you must ensure the content strictly adheres to the provided documentation standards and accurately reflects the current codebase. Adhere to the contribution process in CONTRIBUTING.md and the following project standards.

Phase 1: Documentation standards

Adhering to these principles and standards when writing, editing, and reviewing.

Voice and tone

Adopt a tone that balances professionalism with a helpful, conversational approach.

  • Perspective and tense: Address the reader as "you." Use active voice and present tense (e.g., "The API returns...").
  • Tone: Professional, friendly, and direct.
  • Clarity: Use simple vocabulary. Avoid jargon, slang, and marketing hype.
  • Global Audience: Write in standard US English. Avoid idioms and cultural references.
  • Requirements: Be clear about requirements ("must") vs. recommendations ("we recommend"). Avoid "should."
  • Word Choice: Avoid "please" and anthropomorphism (e.g., "the server thinks"). Use contractions (don't, it's).
Language and grammar

Write precisely to ensure your instructions are unambiguous.

  • Abbreviations: Avoid Latin abbreviations; use "for example" (not "e.g.") and "that is" (not "i.e.").
  • Punctuation: Use the serial comma. Place periods and commas inside quotation marks.
  • Dates: Use unambiguous formats (e.g., "January 22, 2026").
  • Conciseness: Use "lets you" instead of "allows you to." Use precise, specific verbs.
  • Examples: Use meaningful names in examples; avoid placeholders like "foo" or "bar."
  • Quota and limit terminology: For any content involving resource capacity or using the word "quota" or "limit", strictly adhere to the guidelines in the quota-limit-style-guide.md resource file. Generally, Use "quota" for the administrative bucket and "limit" for the numerical ceiling.
Formatting and syntax

Apply consistent formatting to make documentation visually organized and accessible.

  • Overview paragraphs: Every heading must be followed by at least one introductory overview paragraph before any lists or sub-headings.

  • Text wrap: Wrap text at 80 characters (except long links or tables).

  • Casing: Use sentence case for headings, titles, and bolded text.

  • Naming: Always refer to the project as ArkEnv (never the ArkEnv).

  • Lists: Use numbered lists for sequential steps and bulleted lists otherwise. Keep list items parallel in structure.

  • UI and code: Use bold for UI elements and code font for filenames, snippets, commands, and API elements. Focus on the task when discussing interaction.

  • Accessibility: Use semantic HTML elements correctly (headings, lists, tables).

  • Media: Use lowercase hyphenated filenames. Provide descriptive alt text for all images.

  • Details section: Use the <details> tag to create a collapsible section. This is useful for supplementary or data-heavy information that isn't critical to the main flow.

    Example:

    <details>
    <summary>Title</summary>
    • First entry
    • Second entry
    </details>
  • Callouts: Use GitHub-flavored markdown alerts to highlight important information. To ensure the formatting is preserved by npm run format, place an empty line, then a prettier ignore comment directly before the callout block. Use <!-- prettier-ignore --> for standard Markdown files (.md) and {/* prettier-ignore */} for MDX files (.mdx). The callout type ([!TYPE]) should be on the first line, followed by a newline, and then the content, with each subsequent line of content starting with >. Available types are NOTE, TIP, IMPORTANT, WARNING, and CAUTION.

    Example (.md):

<!-- prettier-ignore -->

[!NOTE] This is an example of a multi-line note that will be preserved by Prettier.

Example (.mdx):

{/* prettier-ignore */}

[!NOTE] This is an example of a multi-line note that will be preserved by Prettier.

  • Accessibility: Use descriptive anchor text; avoid "click here." Ensure the link makes sense out of context, such as when being read by a screen reader.
  • Use relative links in docs: Use relative links in documentation (/docs/) to ensure portability. Use paths relative to the current file's directory (for example, ../tools/ from docs/cli/). Do not include the /docs/ section of a path, but do verify that the resulting relative link exists. This does not apply to meta files such as README.MD and CONTRIBUTING.MD.
  • When changing headings, check for deep links: If a user is changing a heading, check for deep links to that heading in other pages and update accordingly.
Show full SKILL.md (516 more words)Show less
Structure
  • BLUF: Start with an introduction explaining what to expect.
  • Experimental features: If a feature is clearly noted as experimental, add the following note immediately after the introductory paragraph:
<!-- prettier-ignore -->

[!NOTE] This is an experimental feature currently under active development. (Note: Use {/* prettier-ignore */} if editing an .mdx file.)

  • Headings: Use hierarchical headings to support the user journey.
  • Procedures:
    • Introduce lists of steps with a complete sentence.
    • Start each step with an imperative verb.
    • Number sequential steps; use bullets for non-sequential lists.
    • Put conditions before instructions (e.g., "On the Settings page, click...").
    • Provide clear context for where the action takes place.
    • Indicate optional steps clearly (e.g., "Optional: ...").
  • Elements: Use bullet lists, tables, details, and callouts.
  • Avoid using a table of contents: If a table of contents is present, remove it.
  • Next steps: Conclude with a "Next steps" section if applicable.

Phase 2: Preparation

Before modifying any documentation, thoroughly investigate the request and the surrounding context.

  1. Clarify: Understand the core request. Differentiate between writing new content and editing existing content. If the request is ambiguous (e.g., "fix the docs"), ask for clarification.
  2. Investigate: Examine relevant code (primarily in packages/) for accuracy.
  3. Audit: Read the latest versions of relevant files in docs/.
  4. Connect: Identify all referencing pages if changing behavior. Check if docs/sidebar.json needs updates.
  5. Plan: Create a step-by-step plan before making changes.
  6. Audit Docset: If asked to audit the documentation, follow the procedural guide in docs-auditing.md.

Phase 3: Execution

Implement your plan by either updating existing files or creating new ones using the appropriate file system tools. Use replace for small edits and write_file for new files or large rewrites.

Editing existing documentation

Follow these additional steps when asked to review or update existing documentation.

  • Gaps: Identify areas where the documentation is incomplete or no longer reflects existing code.
  • Structure: Apply "Structure (New Docs)" rules (BLUF, headings, etc.) when adding new sections to existing pages.
  • Headers: If you change a header, you must check for links that lead to that header and update them.
  • Tone: Ensure the tone is active and engaging. Use "you" and contractions.
  • Clarity: Correct awkward wording, spelling, and grammar. Rephrase sentences to make them easier for users to understand.
  • Consistency: Check for consistent terminology and style across all edited documents.

Phase 4: Verification and finalization

Perform a final quality check to ensure that all changes are correctly formatted and that all links are functional.

  1. Accuracy: Ensure content accurately reflects the implementation and technical behavior.
  2. Self-review: Re-read changes for formatting, correctness, and flow.
  3. Link check: Verify all new and existing links leading to or from modified pages. If you changed a header, ensure that any links that lead to it are updated.
  4. Format: If npm run format fails, it may be necessary to run npm install first to ensure all formatting dependencies are available. Once all changes are complete, ask to execute npm run format to ensure consistent formatting across the project. If the user confirms, execute the command.

Credits

This skill was originally created for the Gemini CLI project and sourced from github.com/google-gemini/gemini-cli (.gemini/skills/docs-writer).

© yamcodes, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/docs-writer of yamcodes/arkenv.

  • SKILL.md
  • quota-limit-style-guide.md
  • references/docs-auditing.md

Open the folder on GitHubat commit 7340aa2

Compare with similar skills

Docs Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Writer this skillyamcodes/arkenv145—~2.4kAutomated safety check: PassMIT
Skill Writersickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: PassMIT
PR Writersickn33/agentic-awesome-skills47k2 repos~1.4kAutomated safety check: PassMIT
Social Post Writer SEOsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Documentation Writergithub/awesome-copilot40k7 repos~686Automated safety check: PassMIT
Concept Page Test Writerleonardomso/33-js-concepts67k—~5.5kAutomated safety check: PassMIT

Similar skills

  • Skill Writer

    sickn33/agentic-awesome-skills

    Create and improve agent skills following the Agent Skills specification.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • PR Writer

    sickn33/agentic-awesome-skills

    Create pull requests following Sentry's engineering practices.

    47k GitHub starsUsed in 2 repos~1.4k tokens
    DevelopmentAuto-check passed
  • Social Post Writer SEO

    sickn33/agentic-awesome-skills

    Social Media Strategist and Content Writer. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Writing & ContentAuto-check passed
  • Documentation Writer

    github/awesome-copilot

    Official

    Diátaxis Documentation Expert. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 7 repos~686 tokens
    Writing & ContentAuto-check passed
  • Concept Page Test Writer

    leonardomso/33-js-concepts

    Generates Vitest tests for every runnable code example on a JavaScript concept documentation page, following a four-phase extraction and conversion process.

    67k GitHub stars~5.5k tokensUpdated 27 days ago
    Testing & QAAuto-check passed
  • Writer

    aiskillstore/marketplace

    Document creation, format conversion (ODT/DOCX/PDF), mail merge, and automation with LibreOffice Writer.

    430 GitHub starsUsed in 3 repos~1.3k tokens
    Documents & OfficeAuto-check passed

More from yamcodes/arkenv

All 20 skills in this repo
  • Hallmark

    yamcodes/arkenv

    Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots.

    145 GitHub starsUsed in 4 repos~18k tokens
    Auto-check passed
  • Bulletproof React

    yamcodes/arkenv

    Bulletproof React architecture patterns for scalable, maintainable applications.

    145 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Arkenv

    yamcodes/arkenv

    Answer questions about ArkEnv and help implement environment variable validation.

    145 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Code Review

    yamcodes/arkenv

    Fetch, analyze, and address code reviews and comments on GitHub, or perform a code review on changes in the workspace.

    145 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed
  • Forward Port

    yamcodes/arkenv

    Manually forward-ports merged dev (v0) changes to the v1 branch, adapting code to v1's package layout and changeset names.

    145 GitHub stars~970 tokensUpdated 2 days ago
    Auto-check passed
  • Groom Issue

    yamcodes/arkenv

    Groom a poorly written issue by grilling the user to clarify requirements, updating the issue on GitHub via the gh cli, and utilizing the triage skill to apply the correct label and add an agent…

    145 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed

Questions about Docs Writer

What does Docs Writer do?

Always use this skill when the task involves writing, reviewing, or editing files in the /docs directory or any .md files in the repository. Docs Writer is an agent skill from yamcodes/arkenv.md files in the repository.

When should I use Docs Writer?

Docs Writer fits situations like: the task involves writing; editing files in the /docs directory; any .md files in the repository.

How do I install Docs Writer in Claude Code?

Run `npx skills add yamcodes/arkenv --skill docs-writer -a claude-code`. Or copy the skill folder (skills/docs-writer in yamcodes/arkenv) into .claude/skills/docs-writer in your project. Claude Code loads it when a task matches its description.

How do I install Docs Writer in Codex?

Run `npx skills add yamcodes/arkenv --skill docs-writer -a codex`. Or copy the skill folder (skills/docs-writer in yamcodes/arkenv) into .agents/skills/docs-writer in your project. Codex loads it when a task matches its description.

Can I use Docs Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yamcodes/arkenv --skill docs-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-writer, .gemini/skills/docs-writer, .github/skills/docs-writer and .opencode/skills/docs-writer in your project.

What does Docs Writer need to run?

Going by SKILL.md and its folder, Docs Writer needs the command-line tools its instructions call (npm).

Does Docs Writer access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Docs Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Writer use?

Docs Writer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Writer use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Docs Writer?

Skills that share tags, products or a category with Docs Writer: Skill Writer (sickn33/agentic-awesome-skills, 47k stars), PR Writer (sickn33/agentic-awesome-skills, 47k stars), Social Post Writer SEO (sickn33/agentic-awesome-skills, 47k stars) and Documentation Writer (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Writer?

yamcodes (a GitHub user) maintains it in yamcodes/arkenv, which has 145 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 5, 2026.

Source: yamcodes/arkenv on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.