Technical writing

From toilahuongg/Shopify-Agents-Kit · View interactive version

Technical writing is an AI agent skill from the GitHub repository toilahuongg/Shopify-Agents-Kit. Guide for creating effective internal technical documentation (READMEs, ADRs, Contribution Guides). Use this skill when the user asks to write, refactor, or improve internal project documentation.

How to use this skill

Skill file

Technical Writing for Developers

This skill provides best practices and templates for writing clear, maintainable internal documentation.

Core Principles

  1. Audience Awareness: Write for your teammates (and your future self). Assume they know how to code, but not why this specific code exists.
  2. Active Voice: Use active voice for instructions.
  1. Single Source of Truth: Don't duplicate code logic in comments. Explain why, not what.
  2. Front-Load Context: Put the most important information (what is this? how do I run it?) at the top.

Common Artifacts & Templates

1. README.md (Root or Component)

Every significant directory should have a README.

# [Project/Component Name]

[One-sentence description of what this is].

## Prerequisite

*   Node.js >= 20
*   [Other dependency]

## Quick Start

npm install

npm run dev


## Architecture

[Brief explanation of how it works. Diagrams are great.]

## Key Concepts

*   **Concept A**: Definition...
*   **Concept B**: Definition...

2. Architecture Decision Record (ADR)

Use for significant technical decisions.

# [Short Title]

*   **Status**: [Proposed | Accepted | Deprecated]
*   **Date**: YYYY-MM-DD
*   **Deciders**: [List names]

## Context

[Describe the problem and constraints.]

## Decision

[Describe what we are doing.]

## Consequences

*   [Positive consequence]
*   [Negative consequence / Trade-off]

Style Guide

Review Checklist

Before committing documentation:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.