dev-technical-writing
Skill6 starsChanged 25 days agoMITView on GitHub
Escrever documentação técnica de qualidade — ADRs, module specs, decision logs — em Markdown padrão com diagramas Mermaid. Para uso de Architect e lead.
In this repository124 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- ai-ml-data-scienceSkill
- ai-ml-timeseriesSkill
- brand-platformSkill
- brand-researchSkill
- brand-rolloutSkill
- brand-trackingSkill
- brand-verbal-identitySkill
- brand-visual-systemSkill
- copy-humanizeSkill
- core-web-vitalsSkill
- data-analytics-engineeringSkill
- data-lake-platformSkill
- data-sql-optimizationSkill
- data-supabase-patternsSkill
- deep-researchSkill
- dev-api-designSkill
- dev-database-patternsSkill
- dev-debuggingSkill
- dev-defuddleSkill
- dev-error-handlingSkill
- dev-git-workflowSkill
- dev-security-patternsSkill
- dev-testing-strategySkill
- dev-typescript-patternsSkill
- doc-to-markdownSkill
- finance-bookkeepingSkill
- finance-cash-flowSkill
- finance-receivables-payablesSkill
- finance-reportingSkill
- finance-tax-complianceSkill
- instagram-dm-flowsSkill
- instagram-publishingSkill
- instagram-strategySkill
- legal-clause-librarySkill
- legal-compliance-lgpdSkill
- legal-contract-draftingSkill
- legal-contract-lifecycleSkill
- legal-researchSkill
- linkedin-publishingSkill
- linkedin-strategySkill
- negotiationSkill
- nextjs-react-best-practicesSkill
- presentation-designSkill
- pricingSkill
- sala-de-controleSkill
- sales-deck-productionSkill
- sales-discovery-intakeSkill
- sales-enablementSkill
- sales-pricing-paybackSkill
- sales-proposal-copySkill
- sales-proposal-planningSkill
- security-audit-methodSkill
- security-incident-responseSkill
- security-privacy-data-mapSkill
- security-threat-modelingSkill
- seo-ahrefsSkill
- seo-auditSkill
- seo-backlinksSkill
- The first 60 shown.
The file
Files
Technical Writing para Software Complexo
ADR — Architecture Decision Record
Toda decisão arquitetural relevante deve ser documentada em docs/decisions/YYYY-MM-DD-{slug}.md.
Template ADR
# ADR-{NNN}: {Título da Decisão}
**Data:** YYYY-MM-DD
**Status:** Proposto | Aceito | Depreciado | Substituído por ADR-{NNN}
**Contexto:** {O problema que precisa ser resolvido. Forças em jogo.}
## Decisão
{A decisão tomada, explicada de forma direta.}
## Consequências
**Positivas:**
- {benefício 1}
**Negativas:**
- {trade-off 1}
## Alternativas Consideradas
| Alternativa | Por que descartada |
|---|---|
| {opção A} | {motivo} |
## Diagrama (se aplicável)
\`\`\`mermaid
graph TD
A[Cliente] --> B[API Gateway]
B --> C[Auth Service]
B --> D[Core Service]
\`\`\`Module Spec
Documentação de módulo em docs/modules/{module-name}.md.
Template Module Spec
# Módulo: {Nome}
**Responsabilidade:** {Uma frase descrevendo o que este módulo faz}
**Owner:** {Agente ou pessoa responsável}
## Interface pública
\`\`\`typescript
// Exports principais
export function {functionName}(params: {ParamsType}): {ReturnType}
\`\`\`
## Dependências
- **Requer:** {módulos que este consome}
- **Expõe para:** {módulos que consomem este}
## Fluxo de dados
\`\`\`mermaid
sequenceDiagram
participant C as Client
participant M as {Module}
participant D as Database
C->>M: request
M->>D: query
D-->>M: result
M-->>C: response
\`\`\`
## Decisões relevantes
- [ADR-{NNN}]({link}) — {título}Smart Memory — Formato Obsidian
Documentos em docs/smart-memory/ usam frontmatter com links relativos para navegação:
---
title: {Título}
type: overview | story | decision | schema | research | task-log
agent: {nome-do-agente}
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [tag1, tag2]
related: ["[[caminho/relativo]]"]
---Links internos entre documentos: [[caminho/relativo]] — compatível com Obsidian.
Diagramas Mermaid — Tipos Úteis
Fluxo de dados (flowchart)
graph LR
A[Input] --> B{Validação}
B -- válido --> C[Processamento]
B -- inválido --> D[Erro 400]
C --> E[Resposta 200]Sequência de chamadas
sequenceDiagram
Client->>API: POST /auth/login
API->>DB: SELECT user WHERE email=?
DB-->>API: user record
API-->>Client: JWT tokenEntidades do banco
erDiagram
USER ||--o{ ORDER : places
ORDER ||--|{ LINE_ITEM : containsEstado de um fluxo
stateDiagram-v2
[*] --> Pending
Pending --> Processing: start
Processing --> Done: success
Processing --> Failed: errorRegras de escrita técnica
- Uma ideia por parágrafo — leitor deve entender sem reler
- Voz ativa — "o sistema valida" não "a validação é feita"
- Exemplos concretos — código > descrição abstrata
- Mermaid no repo — nunca imagens externas, diagramas devem versionar junto com código
- Links entre docs — ADR referencia módulo, módulo referencia ADR
- Data em tudo — decisão sem data não tem contexto temporal
- Frontmatter obrigatório — todo documento na smart-memory deve ter frontmatter completo
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

