technical-analytical-writing
Write clear technical analysis, system architecture documents, decision records, and research synthesis. Covers argument structure, evidence-based reasoning, and technical communication patterns. Triggers on technical writing, architecture documentation, ADR creation, or analytical essay requests.
What this skill does
# Technical Analytical Writing
Communicate complex technical ideas clearly through structured analysis and evidence-based reasoning.
## Document Types
### Architecture Decision Record (ADR)
```markdown
# ADR-{NNN}: {Decision Title}
**Status:** Proposed | Accepted | Deprecated | Superseded by ADR-{NNN}
**Date:** YYYY-MM-DD
**Deciders:** {names/roles}
## Context
What is the issue that motivates this decision? What forces are at play?
## Decision
What is the change being proposed or decided?
## Consequences
### Positive
- {benefit}
### Negative
- {tradeoff}
### Neutral
- {observation}
## Alternatives Considered
### {Alternative A}
- Pros: {list}
- Cons: {list}
- Why rejected: {reason}
```
### System Analysis Document
```markdown
# {System/Component} Analysis
## Executive Summary
{2-3 sentences: what, why, recommendation}
## Current State
{What exists today, with evidence}
## Problem Statement
{Specific, measurable issue being addressed}
## Analysis
{Evidence-based investigation}
## Recommendations
{Ordered by priority, with effort estimates}
## Appendix
{Raw data, detailed metrics, supplementary evidence}
```
### Technical RFC
```markdown
# RFC: {Title}
**Author:** {name}
**Status:** Draft | Review | Accepted | Rejected
**Created:** YYYY-MM-DD
**Review deadline:** YYYY-MM-DD
## Summary
{One paragraph: what this proposes}
## Motivation
{Why this is needed, with concrete examples}
## Detailed Design
{How it works, with diagrams and code examples}
## Drawbacks
{Honest assessment of downsides}
## Alternatives
{What else was considered and why this approach wins}
## Unresolved Questions
{Open items for discussion}
```
## Writing Principles
### Argument Structure
Every analytical section follows:
1. **Claim** — What you're asserting
2. **Evidence** — Data, metrics, code examples supporting the claim
3. **Reasoning** — Why the evidence supports the claim
4. **Implication** — What follows from this being true
### Evidence Hierarchy
| Strength | Evidence Type | Example |
|----------|--------------|---------|
| Strongest | Production metrics | "P99 latency increased 3x after migration" |
| Strong | Reproducible test | "Benchmark shows 40ms vs 120ms" |
| Moderate | Code analysis | "This pattern creates N+1 queries" |
| Weak | Expert opinion | "The team believes this will scale" |
| Weakest | Analogy | "Netflix does it this way" |
### The Pyramid Principle
Lead with the conclusion, then support:
**Bad:**
> We analyzed the database, then the cache layer, then the API, and found that response times are slow because the cache hit rate is only 23%.
**Good:**
> Cache hit rate is 23%, causing slow response times. The database query layer generates cache keys inconsistently, leading to unnecessary misses. Standardizing key generation would bring hit rate to ~85%.
## Structural Patterns
### Problem-Solution-Evidence
```markdown
## {Problem Name}
**Problem:** {specific, measurable issue}
**Solution:** {proposed change}
**Evidence:** {why this solution addresses the problem}
**Effort:** {T-shirt size + key dependencies}
```
### Compare-Contrast Table
```markdown
| Criterion | Option A | Option B | Option C |
|-----------|----------|----------|----------|
| Performance | ★★★ | ★★ | ★★★ |
| Complexity | Low | Medium | High |
| Team familiarity | High | Low | Medium |
| Maintenance cost | Low | High | Medium |
| **Recommendation** | **✓** | | |
```
### Risk Matrix
```markdown
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| API rate limiting | High | Medium | Client-side rate limiter + cache |
| Data migration failure | Low | Critical | Rollback plan + dry-run first |
| Team bandwidth | Medium | High | Phased rollout |
```
## Style Guidelines
### Clarity
- **Active voice:** "The scheduler triggers the job" not "The job is triggered by the scheduler"
- **Concrete nouns:** "The API returns a 429 status" not "There are issues with the API"
- **Specific numbers:** "P99 latency is 230ms" not "Latency is high"
### Conciseness
- Lead with the point, not the preamble
- One idea per paragraph
- Cut "In order to" → "To"
- Cut "It is important to note that" → (just state it)
- Cut "As mentioned previously" → (don't mention it)
### Technical Accuracy
- Verify all metrics and measurements
- Include measurement methodology
- Distinguish between observations and interpretations
- Cite sources for external claims
- Date all data ("as of March 2026")
## Diagrams
### When to Use Diagrams
| Situation | Diagram Type |
|-----------|-------------|
| System components | Architecture diagram (boxes + arrows) |
| Process flow | Flowchart or sequence diagram |
| Data relationships | ER diagram |
| Timeline | Gantt or timeline |
| Hierarchy | Tree diagram |
| Comparison | Table (not a diagram) |
### Mermaid for Inline Diagrams
````markdown
```mermaid
graph LR
A[Client] --> B[API Gateway]
B --> C[Auth Service]
B --> D[Skills Service]
D --> E[(Database)]
```
````
## Review Checklist
- [ ] Executive summary is self-contained (reader gets the point without reading further)
- [ ] Every claim has supporting evidence
- [ ] Alternatives are fairly presented (not strawmen)
- [ ] Risks and tradeoffs acknowledged honestly
- [ ] Audience-appropriate level of detail
- [ ] Diagrams have legends and labels
- [ ] All acronyms defined on first use
- [ ] Stranger test: a new team member can follow the argument
## Anti-Patterns
- **Burying the lead** — Put conclusions first, evidence after
- **Appeal to authority** — "Google does it" is not an argument; explain why it works
- **False precision** — "This will improve performance by 47.3%" without measurement methodology
- **Missing alternatives** — Always compare at least 2-3 options
- **Scope creep** — Stay focused on the stated question; flag tangents for separate docs
- **No expiration date** — All analysis should include "valid as of" and conditions for revisiting
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.