Notre avis
Ce skill définit et applique la voix, le style et la structure d'écriture technique d'un projet, notamment pour les README, ADR et commentaires de code.
Points forts
- Crée une documentation cohérente avec la voix du projet
- Fournit des structures de documents prêtes à l'emploi
- Évite les expressions artificielles communes aux IA
- Applicable à plusieurs formats de documentation
Limites
- Nécessite une phase d'adaptation pour saisir la voix du projet
- Peut être trop prescriptif pour certains projets
- Ne couvre pas tous les types de documentation technique
Lorsque vous rédigez ou éditez des READMEs, ADRs, commentaires de code Swift ou toute documentation technique nécessitant une voix cohérente.
Pour des documents très informels ou des communications internes rapides où la voix n'est pas critique.
Analyse de sécurité
SûrThe skill is a style guide for technical writing and contains no executable code, dangerous commands, or external data exfiltration instructions. It poses no security risk.
Aucun point d'attention détecté
Exemples
Write a README for a new Swift package called 'NetworkingKit' that provides HTTP networking functionality. Use our project's technical writing voice and follow the README structure defined in the project documentation.Review the following Architecture Decision Record and edit it to match our project's technical writing voice. Ensure it follows the ADR template, uses present tense, avoids hedging words, and includes at least one 'Bad' consequence.Write Swift doc comments for this method following the project's code documentation style. The first line should be a complete sentence describing the purpose, and include parameters and return value documentation.name: writing-project-technical-writing description: Writes technical prose (READMEs, ADRs, code comments) in the project's established human voice. Use when creating or editing .md files, writing Swift doc comments, authoring ADRs, or reviewing technical writing for voice consistency.
Writing Project Technical Writing
This skill defines the voice, style, and structure for all technical writing in this project. The existing documentation is the gold standard — preserve and extend it.
Voice
Tone
- Pragmatic and honest — Acknowledge trade-offs, constraints, and downsides openly
- Direct and declarative — Use active voice and imperative mood for instructions
- Confident without arrogance — State positions clearly without hedging or dismissing alternatives
- Developer-to-developer — Speak as a peer, assume competence
Pronoun Usage
Use "we" for the team voice:
<!-- Correct -->
We use Homebrew to install dependencies.
We prefer value types for models.
<!-- Incorrect -->
You should use Homebrew to install dependencies.
Users must prefer value types for models.
Tense
Use present tense to describe current state:
<!-- Correct -->
This package defines the data layer.
The goal is to keep call sites stable.
<!-- Incorrect -->
This package will define the data layer.
The goal would be to keep call sites stable.
Instructions
Use imperative mood for actionable steps:
<!-- Correct -->
Run this command to install dependencies.
Add the secrets to 1Password.
<!-- Incorrect -->
You can run this command to install dependencies.
You should add the secrets to 1Password.
Anti-Patterns
Never use these patterns — they sound like AI-generated content:
| Pattern | Example | Why It's Wrong | |---------|---------|----------------| | Enthusiasm markers | "This is great for debugging!" | Unprofessional, sounds like marketing | | Filler words | "This basically reduces complexity" | Adds no information, hedges | | AI-isms | "Let me explain...", "Here's how to...", "Sure!" | Sounds like chatbot output | | Hedging | "This might help", "could potentially" | Lacks confidence | | Over-qualification | "It should be noted that..." | Verbose, indirect | | Exclamation points | "Install the dependencies!" | Overly casual in technical prose |
Specific Words to Avoid
- "simply", "just", "basically", "essentially" (as filler)
- "Let me...", "I'll...", "Here's...", "Sure!", "Certainly!", "Great!", "Awesome!"
- "might", "could potentially", "may or may not"
- "It should be noted that...", "It is important to note that..."
Document Structures
READMEs
# Package Name
One-line summary of what this package does.
## About
Explain purpose, context, and when to use this package.
### Capabilities
What this package enables (bullet list).
### Non-Goals
What this package intentionally does not do.
## Getting Started
Practical usage instructions with code examples.
### Design
Core patterns, concepts, and architectural decisions.
## Architecture
Detailed explanation of structure and concepts.
## Trade-Offs and Constraints
Honest discussion of limitations and design decisions.
ADRs (Architecture Decision Records)
Location: Documents/Decisions/NNNN Title.md
# Title
## Context and Problem Statement
Describe the situation and frame the problem as a question:
"How can we ensure that X while also Y?"
## Considered Options
- Option A description
- Option B description
- Option C description
## Decision Outcome
Chosen option: "Option B", because [rationale connecting back to the problem].
### Consequences
- Good, because [benefit].
- Good, because [another benefit].
- Bad, because [downside or trade-off].
The "Consequences" section must include at least one "Bad" item. Omitting downsides is dishonest.
Code Documentation (Swift)
First line is a complete sentence describing purpose:
/// A single-result operation that produces a response from the GraphQL service.
public protocol CoastGraphQLRequest<Model>: Request { }
Multi-paragraph for complex concepts:
/// A pattern for managing hierarchical relationships among coordinators.
///
/// By adopting `Coordinating`, you can form intricate structures of nested objects
/// that manage their own child coordinators. This pattern facilitates clean separation
/// of responsibilities.
public protocol Coordinating: AnyObject { }
Use callouts for important notes:
/// - Note: This has a `Sendable` requirement because of constraints on `AnyAsyncSequence`.
/// - Important: "Subscription" refers to `Clients/Subscription`, not GraphQL subscriptions.
/// - Attention: Modifying this property outside the framework is a programming error.
Document parameters and returns for public APIs:
/// Create a new request.
///
/// - Parameter fileName: The name of the file to create.
/// - Parameter mimeType: The MIME type of the file.
/// - Returns: A configured request ready for execution.
/// - Throws: `ValidationError` if the MIME type is unsupported.
Formatting
Code Blocks
Always include language hints:
```swift
let client = CoastGraphQLClient()
```
```sh
make build/app
```
Inline Code
Use backticks for:
- File paths:
Packages/Common/README.md - Commands:
make build/app - Types and symbols:
CoastGraphQLRequest,execute(_:) - Values:
true,nil,"production"
Emphasis
Use bold for key terms and warnings, not ALL CAPS:
<!-- Correct -->
**Use this package when** you need ergonomic data operations.
<!-- Incorrect -->
USE THIS PACKAGE WHEN you need ergonomic data operations.
Asides
Use em-dashes for mid-sentence asides:
<!-- Correct -->
The model layer — which sits above Apollo — keeps call sites stable.
<!-- Incorrect -->
The model layer (which sits above Apollo) keeps call sites stable.
Callouts
For GitHub-rendered markdown, use:
> [!NOTE]
> There are no requirements for running on Simulator.
> [!WARNING]
> This will delete all local data.
Tables
Use tables for structured data like variables, options, or comparisons:
| Variable | Required | Description |
|----------|:--------:|-------------|
| PACKAGE | Yes | Name of the package to build |
| CONFIG | No | Build configuration. Defaults to `Debug`. |
Rationale
Always explain "why" after decisions:
<!-- Correct -->
Chosen option: "Accept automatic behavior", because iOS enforces APNS
environment selection regardless of entitlements configuration.
<!-- Incorrect -->
Chosen option: "Accept automatic behavior".
The word "because" should appear after every decision statement.
Examples
Use real code from the codebase, not contrived examples. If you must create an example, make it realistic and consistent with existing patterns.
<!-- Correct: Real code -->
let response = try await client.execute(CreateMediaRequest(fileName: "a.jpg", mimeType: "image/jpeg"))
<!-- Incorrect: Contrived -->
let response = try await client.execute(MyRequest(foo: "bar"))
Generateur de Documentation API
Documentation
Genere automatiquement de la documentation API OpenAPI/Swagger.
Rédacteur Technique
Documentation
Rédige de la documentation technique claire selon les meilleurs style guides.
Maintenance de la documentation
Documentation
Cette compétence propose un workflow structuré pour mettre à jour la documentation du projet, notamment CLAUDE.md, README et CHANGELOG. Elle guide à travers des phases comme l'inventaire des documents existants, l'analyse de l'historique Git pour identifier les changements nécessaires, l'optimisation pour la lisibilité par l'IA et la cohérence entre les documents. À utiliser lors de la synchronisation de la documentation avec les modifications de code ou pour améliorer l'efficacité de la documentation pour les agents de codage IA.