Back to Skills

technical-writing

EvanLavender13
Updated Today
116 views
0
View on GitHub
Documentationword

About

This Claude Skill applies rigorous technical writing standards to technical prose like code comments and documentation, enforcing active voice, present tense, and precise language. It transforms vague terms into specific metrics and provides tailored rules for different writing types. Use it whenever clarity and precision in technical communication are critical.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/EvanLavender13/audio-jones
Git CloneAlternative
git clone https://github.com/EvanLavender13/audio-jones.git ~/.claude/skills/technical-writing

Copy and paste this command in Claude Code to install this skill

Documentation

Technical Writing Standards

Apply these standards to ALL technical writing.

Core Rules

Language Mechanics

  • Active voice: "The parser validates input" NOT "Input is validated"
  • Present tense: "returns null" NOT "will return null"
  • 15-20 words per sentence (max 30 before splitting)
  • Code references: Use file_path:line_number format

Precision Requirements

Replace vague terms with specifics:

  • "fast" → "completes in <100ms"
  • "many" → "up to 1000 items"
  • "handles" → "validates/transforms/routes/stores" (specify which)
  • "manages" → "creates/updates/deletes/tracks" (specify which)
  • "processes" → "parses/filters/aggregates/formats" (specify which)

Writing Types

Code Comments

// BAD: Handle the data
// GOOD: Parse JSON response and extract sample values into ring buffer
  • Explain WHY, not WHAT (code shows what)
  • One line for simple logic, block for complex algorithms
  • Reference related code: // See also: waveform.c:45

Research/Planning Docs

  • State findings, not opinions
  • Include sources or evidence
  • Mark unknowns explicitly: "TBD", "Needs investigation"
  • Separate facts from conclusions

Architecture Docs

  • WHAT the component does (1 sentence)
  • HOW it fits into the system (1 sentence)
  • Reference implementation: src/audio.c:120

Function/API Documentation

Purpose: [1 sentence - what transformation/effect]
Parameters: [type, constraints]
Returns: [type, conditions]
Errors: [what triggers them]

Quality Checklist

Before finalizing:

  • Active voice throughout
  • Present tense only
  • No vague verbs without specifics
  • Quantities have units/ranges
  • First use of acronyms spelled out

Examples

BAD: "This handles user data and manages sessions."

GOOD: "Validates user credentials against the database and issues JWT tokens with 24-hour expiration."

BAD: "Component processes requests quickly."

GOOD: "Parses incoming HTTP requests and routes to controllers within 50ms p95."

Anti-patterns

Never write:

  • "handles various operations"
  • "responsible for managing things"
  • "processes data as needed"
  • "main functionality"

Always specify WHAT operations, WHICH things, WHAT data.

No Duplication

  • Don't summarize content that exists elsewhere
  • Reference files instead of repeating their contents
  • If documentation exists, link to it

Remember: Every word should add understanding. If it doesn't teach something specific, cut it.

GitHub Repository

EvanLavender13/audio-jones
Path: .claude/skills/technical-writing

Related Skills

llamaindex

Meta

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

View skill

canvas-design

Meta

The canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.

View skill

go-test

Meta

The go-test skill provides expertise in Go's standard testing package and best practices. It helps developers implement table-driven tests, subtests, benchmarks, and coverage strategies while following Go conventions. Use it when writing test files, creating mocks, detecting race conditions, or organizing integration tests in Go projects.

View skill

business-rule-documentation

Meta

This skill provides standardized templates for systematically documenting business logic and domain knowledge following Domain-Driven Design principles. It helps developers capture business rules, process flows, decision trees, and terminology glossaries to maintain consistency between requirements and implementation. Use it when documenting domain models, creating business rule repositories, or bridging communication between business and technical teams.

View skill