Agent skill

Tech Writer

by stacklok in stacklok/mecatl

A skill your agent uses when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning…

Apache-2.0Auto-check passedDevelopment

Install Tech Writer

skills CLI
$ npx skills add stacklok/mecatl --skill tech-writer -a claude-code

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

GitHub CLI
$ gh skill install stacklok/mecatl tech-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/stacklok/mecatl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tech-writer .claude/skills/tech-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
tech-writer
GitHub stars
241
Token cost
~2.2k tokens
SKILL.md length
1,031 words
Files
6 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning…

  • Works in 4 steps: Mecatl's style guide is the canonical… → The user-docs authoring contract is the… → The website instructions own Docusaurus… → …
  • Substantively editing user-facing documentation: drafting a new page
  • SKILL.md covers Canonical sources, Workflow, The compass: classifying content and The four modes, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tech Writer is an agent skill from stacklok/mecatl. Use when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning engineering material (PR descriptions, specs, release notes, rough notes) into docs. Writes clear, focused technical documentation following the Diataxis framework and Mecatl's canonical style guide. Use it even when the request doesn't mention writing quality; it governs how documentation gets written. Not for editorial review of finished work.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/anti-patterns.md`, `references/explanation.md` and `references/how-to-guides.md`).

It sits in Development, covering Technical documentation, Pull requests and Copy editing and proofreading. The repository describes itself as: Open source agent harness, built from the ground up for cloud-native production workloads on infrastructure you control. Run the same provider-agnostic loop locally, remotely, or… The licence is Apache-2.0.

When your agent uses it

  • Substantively editing user-facing documentation: drafting a new page
  • Restructuring an existing one
  • Adding a major section
  • Turning engineering material (PR descriptions

Example prompts

  • “s canonical style guide. Use it even when the request doesn”
  • “/tech-writer”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Mecatl's style guide is the canonical prose and style guide.
  2. The user-docs authoring contract is the canonical information-architecture,
  3. The website instructions own Docusaurus infrastructure and preview mechanics.
  4. The mode references in references/ provide Diataxis discipline and

What it can do on your machine

Read from SKILL.md and the folder at commit dcf1ea4. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Tech Writer loads about 2.2k tokens when it runs, and up to ~7.5k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 1,031 words of instructions outside code blocks.

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

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 stacklok/mecatl at commit dcf1ea4, republished under its Apache-2.0 licence (© stacklok). 1,031 words, ~2,176 tokens.

Download SKILL.mdSave it as .claude/skills/tech-writer/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
tech-writer
description
Use when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning engineering material (PR descriptions, specs, release notes, rough notes) into docs. Writes clear, focused technical documentation following the Diataxis framework and Mecatl's canonical style guide. Use it even when the request doesn't mention writing quality; it governs how documentation gets written. Not for editorial review of finished work.

Technical writing

Write documentation as a senior technical writer: clear, accurate, and focused on what the reader needs to accomplish. Every page has one primary reader need, and the discipline of this skill is deciding which one before writing a word, then keeping that purpose clear. Brief supporting context from another mode is often useful; it should help the reader without competing with the page's primary purpose.

Everything in this skill and its references is guidelines, not rules. Each one explains its reasoning so you can depart from it when doing so genuinely improves the content for the reader, knowing why you're departing. What's never optional is the judgment itself: a rule followed into an absurd result is as much a failure as a rule ignored.

Canonical sources

Don't duplicate guidance; read it from where it lives:

  1. Mecatl's style guide is the canonical prose and style guide.
  2. The user-docs authoring contract is the canonical information-architecture, ownership, link, and verification contract for public documentation. Its Mecatl-specific placement, page structure, and verification requirements take precedence over the style guide and mode references.
  3. The website instructions own Docusaurus infrastructure and preview mechanics.
  4. The mode references in references/ provide Diataxis discipline and write-time anti-patterns.

Workflow

  1. Classify. Use the compass below to decide the page's primary mode. Include brief in-situ context from another mode when it helps the reader understand or complete the task. Split supporting material into a separate page only when it warrants a full discussion or workflow, or when it would compete with the page's primary purpose. Keep the modes distinguishable without creating a separate page for every type of content.
  2. Place. For public documentation, follow the ownership map in user-docs/_README.md. Diataxis determines the page's mode, not its directory: use the terminal-client, operator, or builder journey that owns the task; shared capability behavior stays in features/, and exact contracts stay in reference/. For contributor documentation, use the owning architecture topic from docs/READING.md. Update that owner; do not append the same feature narrative to several pages. Create a page only for a distinct reader need.
  3. Read. Read the reference file for your mode, plus the write-time anti-patterns, plus the style guide sections your task touches. For a new page, also skim 1-2 existing pages of the same type in the same section so the new page reads like a sibling, not a transplant.
  4. Draft. Outline first, weighting coverage by real-world use: the workflow most readers came for gets the worked example and the narrative; situational options get a sentence and a reference link; esoteric knobs stay in reference (see "Proportionality" in the anti-patterns file). Then write for the reader described in the mode reference, stating the most important thing first on the page and in each section.
  5. Self-check. Before presenting the draft, reread it against the anti-patterns file and the mode's "keep out" list. Cut what fails. For substantial new content, use an independent editorial review when available; for small edits, the self-check is enough.

The compass: classifying content

Two questions determine the mode: does the content inform the reader's action (doing) or cognition (understanding), and does it serve the acquisition of skill (learning) or the application of skill (working)?

Content......serves skill...ModeIt is...
informs actionacquisitiontutoriala lesson
informs actionapplicationhow-toa recipe
informs cognitionapplicationreferencea map
informs cognitionacquisitionexplanationa discussion

A quick tiebreaker: ask what the reader is doing when they open the page. Learning by following along means tutorial. Getting a real task done means how-to guide. Looking something up means reference. Trying to understand why or how something works means explanation.

Show full SKILL.md (422 more words)Show less

The four modes

  • Tutorial - a guided lesson where you take responsibility for the reader's success. Quickstarts and end-to-end getting-started pages. Read the tutorial guidance.
  • How-to guide - a recipe for a competent user with a real task. Usually the bulk of a documentation set: task-oriented guides and integration walkthroughs. Read the how-to guidance.
  • Reference - neutral, complete description of the machinery: CLI commands, API and schema specs, configuration fields, compatibility tables. Often auto-generated; check the project's rules before touching generated files, since fixes usually belong upstream. Read the reference guidance.
  • Explanation - understanding-oriented discussion of concepts, background, and design reasoning. Concept pages and product introductions. Read the explanation guidance.

Reference files

When you are...Read
Writing or editing a tutorial or quickstartTutorials
Writing or editing a how-to guideHow-to guides
Writing or editing reference materialReference
Writing or editing concept/explanation contentExplanation
Drafting anything (always, before self-check)Write-time anti-patterns
Checking style, structure, or terminologyStyle guide

Self-check

Before presenting a draft, verify:

  • The page has a clear primary mode. Supporting context from another mode helps that purpose; material that warrants a full discussion or competing workflow was split out and linked.
  • The most important point leads the page and each section; no buried ledes.
  • Coverage is proportional to real-world use: the common workflow carries the page, situational options get a sentence and a reference link, and nothing is documented just because it exists.
  • Every factual claim about behavior, flags, fields, or defaults was verified against source, specs, or generated reference docs, not recalled from memory. Living docs describe implemented behavior, not merely an approved plan.
  • Outdated and duplicate text was replaced or deleted. Only unique, verified knowledge was migrated; implementation chronology stays in PRs/Git rather than a catch-all notes page.
  • Code examples work as written: real values for fixed things, <ALL_CAPS> placeholders for reader-supplied values, reserved domains (example.com) in URLs.
  • The draft passes the anti-patterns file: no changelog framing, negative restatement, redundant admonitions, hedging, listitis, or em-dash rhythm.
  • Public pages have sentence-case title, a reader-focused description whose first 70 characters stand alone, and an explicit matching H1, as required by the authoring contract.
  • Closing sections follow the authoring contract: include Next steps in tutorials and task guides when readers have a clear next action; reference, explanation, index, and narrow troubleshooting pages do not need that section.
  • The page is reachable through the autogenerated sidebar and inbound links from related pages. New sections follow the authoring contract's entry-page and category rules; published URL changes follow the website instructions.
  • Terminology matches the style guide's word list.

© stacklok, Apache-2.0. 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 5 other files (references) in .claude/skills/tech-writer of stacklok/mecatl.

  • SKILL.md
  • references/anti-patterns.md
  • references/explanation.md
  • references/how-to-guides.md
  • references/reference.md
  • references/tutorials.md

Open the folder on GitHubat commit dcf1ea4

Compare with similar skills

Tech 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.

Tech Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tech Writer this skillstacklok/mecatl241—~2.2kAutomated safety check: PassApache-2.0
Opik Documentation Patternscomet-ml/opik22k—~1.3kAutomated safety check: PassApache-2.0
Technical Writingfrappe/skills146—~1.1kAutomated safety check: PassNone
Maintain DisCatSharpAiko-IT-Systems/DisCatSharp140—~1.2kAutomated safety check: PassMIT
Writingagentic-community/mcp-gateway-registry964—~3.5kAutomated safety check: PassApache-2.0
Vibe Slop Filterash1794/vibe-engineering163—~2.3kAutomated safety check: PassMIT

Similar skills

  • Rules for writing PR descriptions, changelog entries and feature documentation in the Opik repository, including the exact headings that CI requires.

    22k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Technical Writing

    frappe/skills

    Write prose in "Simplified Technical English". An agent skill from frappe/skills.

    146 GitHub stars~1.1k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Maintain DisCatSharp

    Aiko-IT-Systems/DisCatSharp

    Guides changes to the DisCatSharp C# Discord library: tracing a payload field through parsing, serialization and caches, then validating across target frameworks.

    140 GitHub stars~1.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Writing

    agentic-community/mcp-gateway-registry

    Write prose people will actually read. An agent skill from agentic-community/mcp-gateway-registry.

    964 GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Vibe Slop Filter

    ash1794/vibe-engineering

    Strips AI-generation "smell" from prose before it ships (READMEs, docs, release notes, PR descriptions, posts, emails).

    163 GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Outward Prose

    stylelint-stylistic/stylelint-stylistic

    Write a commit body, a changelog entry, a PR body, an issue comment or a code comment so that no sentence in it is a claim nobody ran.

    106 GitHub stars~2.9k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from stacklok/mecatl

All 8 skills in this repo
  • Interviews you about provider, cost, openness and image needs, then designs the models section of a mecatl settings file with aliases, slots and router categories.

    241 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Runs mecatl's offline benchmark and scenario harness to measure, profile with pprof, optimize and prove a performance win with benchstat, then adds a regression benchmark.

    241 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Mecatl Release Cutting

    stacklok/mecatl

    Cuts a tagged mecatl release by dispatching the release-PR workflow, merging the bot's pull request and verifying the tag, images, Helm chart, signed archives and Homebrew formula.

    241 GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • mecatl Learning Config

    stacklok/mecatl

    Designs, validates and writes the learning section of a mecatl settings file, covering mode, sensitivity, reflection budgets and validated or evaluated activation.

    241 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Guides reading mecatl's perf MCP data to find why a running harness is slow, leaking goroutines or growing in memory, using cheap reads before any CPU capture.

    241 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Rebuilds the mecak8s image into the local mecatl-dev Kind cluster and builds mecatui, so you can try in-progress mecatl changes against a real Kubernetes deployment.

    241 GitHub stars~927 tokensUpdated today
    Auto-check passed

Questions about Tech Writer

What does Tech Writer do?

A skill your agent uses when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning…. Tech Writer is an agent skill from stacklok/mecatl. Use when writing or substantively editing user-facing documentation: drafting a new page, rewriting or restructuring an existing one, adding a major section, or turning engineering material (PR descriptions, specs, release notes, rough notes) into docs.

When should I use Tech Writer?

Tech Writer fits situations like: substantively editing user-facing documentation: drafting a new page; restructuring an existing one; adding a major section; turning engineering material (PR descriptions.

How do I install Tech Writer in Claude Code?

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

How do I install Tech Writer in Codex?

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

Can I use Tech 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 stacklok/mecatl --skill tech-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/tech-writer, .gemini/skills/tech-writer, .github/skills/tech-writer and .opencode/skills/tech-writer in your project.

What does Tech Writer need to run?

SKILL.md names no scripts, command-line tools or credentials: Tech Writer is instructions for the agent only.

Does Tech Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tech 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 Tech Writer use?

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

How many tokens does Tech Writer use?

About 2.2k tokens (SKILL.md is roughly 8.7k 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 5.3k tokens, read only when the agent opens those files.

What are the alternatives to Tech Writer?

Skills that share tags, products or a category with Tech Writer: Opik Documentation Patterns (comet-ml/opik, 22k stars), Technical Writing (frappe/skills, 146 stars), Maintain DisCatSharp (Aiko-IT-Systems/DisCatSharp, 140 stars) and Writing (agentic-community/mcp-gateway-registry, 964 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tech Writer?

stacklok (a GitHub organization) maintains it in stacklok/mecatl, which has 241 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.

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