Skip to content

Unique-Divine/jiyuu / ai-skills/ud-writing-tech

ud-writing-tech

Verified

Improve technical writing for specs, implementation notes, READMEs, engineering references, and agent-authored docs. Use when drafting, editing, reviewing, or polishing technical prose; when the user mentions technical writing, style, clarity, ambiguity, specs, docs, documentation, or Google developer docs; or when docs contain many code symbols, database names, API endpoints, GraphQL schema items, commands, or skills.

UD writing tech

Use this skill to write and edit clear technical documentation for engineers and agents. Choose wording that makes the project clear, even when it departs from general style rules.

General guidance

  • Write for readers who work with code, schemas, databases, APIs, commands, services, and operational systems.
  • Make the entity type clear when referring to code-formatted symbols.
  • Be concise, but don't let brevity create ambiguity.
  • Adapt these guidelines when another wording makes the document clearer.

Qualify code symbols with entity type

When referring to a named code symbol, data object, or tool in prose, add a noun that tells the reader what it is.

Backticks identify the exact symbol. The surrounding noun tells the reader what the symbol is.

Prefer:

  • table stats_perp_by_user
  • database column market_id
  • GraphQL field volume
  • GraphQL type PerpBorrowing
  • function Delegation
  • agent skill nibiru-cli
  • command just fmt
  • REST endpoint GET /dexpal/v1/stats
  • file graphql/graph/perp.graphqls
  • service StatsRefresher

Avoid bare references when the entity type is not obvious:

  • stats_perp_by_user refreshes
  • Delegation handles this
  • use nibiru-cli
  • run just fmt

Better:

  • table stats_perp_by_user refreshes
  • function Delegation handles this
  • use agent skill nibiru-cli
  • run command just fmt

How strict to be

  • Add a qualifier on first use in a section, as you would define a term or spell out an abbreviation.
  • In specs, repeat qualifiers when readers need them to understand a reference.
  • Relax the rule when repeated qualifiers make a paragraph noisy and the entity type is already clear.
  • Use judgment about how often to repeat qualifiers. Each reference should be clear to the reader.
  • Use abbreviations such as proc, fn, func, db column, and GQL field in drafts and working notes when readers understand them.
  • If the user asks for a polished style or says not to use abbreviations, prefer fuller labels like SQL procedure, function, database column, and GraphQL field.

Formatting conventions

  • Use code font for exact code-related text: filenames, paths, commands, symbols, class names, method names, database objects, GraphQL objects, API fields, config keys, HTTP methods, and status codes.
  • Use bold for UI elements and run-in labels, not as a substitute for code font.
  • Use Title Case for headings. Capitalize major words and the first and last words; keep short articles, conjunctions, and prepositions lowercase unless they start or end the heading. Preserve literal code identifiers.
  • In Markdown, capitalize the first prose word after a label colon or separating dash, even when the label is lowercase; preserve literal code, identifiers, URLs, and paths.
  • Use standard American spelling and punctuation.
  • Use serial commas.
  • Avoid underlining except for links.

Prose conventions

  • Prefer active voice. Make clear who or what performs the action.
  • Put conditions, circumstances, or goals before instructions when that helps readers skip irrelevant content.
  • Use present tense for current behavior.
  • Avoid future-tense promises unless distinguishing a future action is necessary.
  • Avoid time-sensitive words like now, new, currently, soon, and as of this writing in durable docs.
  • Use claims readers can verify. Avoid unsupported words such as best, simplest, fastest, never, always, ensure, and guarantee.
  • Define domain jargon on first use when the reader might not already know it.
  • Avoid anthropomorphism when literal wording is clearer.

Editing checklist

When editing technical docs:

  1. Identify ambiguous bare code symbols.
  2. Add entity-type qualifiers where they improve clarity.
  3. Check whether the first use in each section is clear enough for a reader who knows the domain but not this code.
  4. Remove repeated qualifiers when they become noisy.
  5. Verify that exact symbols use code font.
  6. Tighten sentences that rely on vague pronouns such as it, this, that, or they.
  7. Keep examples concrete and domain-specific.

References

Read resources.md when you need additional style guidance.

deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall