academic-writing
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Write Architecture Decision Records that a future engineer can act on: a numbered, immutable record with the context that forced the decision, the options weighed with real trade-offs, the decision in one sentence, and the consequences including what becomes harder. Covers when
Claude Code
$ npx -y skills add KhaledSaeed18/dotclaude --skill adr-writing --agent claude-code
Codex
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a codex -y
Cursor
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a cursor -y
Gemini CLI
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a gemini-cli -y
GitHub Copilot
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a github-copilot -y
OpenCode
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a opencode -y
Windsurf
$ npx skills add KhaledSaeed18/dotclaude --skill adr-writing -a windsurf -y
name: adr-writing description: "Write Architecture Decision Records that a future engineer can act on: a numbered, immutable record with the context that forced the decision, the options weighed with real trade-offs, the decision in one sentence, and the consequences including what becomes harder. Covers when a decision deserves an ADR, how to supersede one, and how to keep an index. Use when a design choice has cross-cutting or long-lived effects, when reviewers keep asking why, or when onboarding depends on decisions nobody wrote down." argument-hint: "(optional) the decision to record, or the existing ADR to supersede"
An ADR records a decision at the moment it was made, with the reasoning that was available then. It is not documentation of the system (that changes) and not a design document (that precedes the decision). Its reader is an engineer two years from now asking "why is it like this, and can I change it?"
Write an ADR when a decision is:
Do not write one for choices that are local, obvious, or cheaply reversible; a comment or a commit message serves those. A repository with 200 ADRs has stopped recording decisions and started recording activity.
# 0007. Use PostgreSQL row-level security for tenant isolation Date: 2026-09-21 Status: accepted Supersedes: 0003 Deciders: (names or roles) ## Context What situation forces a decision. The constraints (scale, team, deadline, compliance), the problem observed, and what happens if nothing is decided. Facts, with numbers where they exist. No solutions yet. ## Options considered ### A. Application-level filtering (current) How it works in one or two sentences. Pros. Cons. What it costs to stay. ### B. Row-level security in PostgreSQL Same. ### C. Schema per tenant Same. ## Decision One sentence: "We will use B: row-level security policies on every tenant-scoped table, enforced by a session variable set in the connection middleware." Then the reasoning that tipped it, referring to the context's constraints. Two or three paragraphs at most. ## Consequences What becomes easier. What becomes harder or is now forbidden (and what to do instead). Migration or rollout steps and who owns them. What would make us revisit this (the trigger for a superseding ADR).
1. Write the new ADR with `Supersedes: NNNN` and a Context section that says what changed since. 2. Edit the old ADR's status line only: `Status: superseded by 0012`. 3. Update the index.
When a codebase has undocumented decisions, write ADRs for the ones people keep asking about, dated today, with a Context that says "recorded retrospectively; the original reasoning was reconstructed from ...". Do not fake the date.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Report computational benchmarks and experimental comparisons the way examiners and reviewers expect: fair baselines run under the…
Maintain the thesis .bib file as a single source of truth: fetch verified BibTeX from a DOI, arXiv id, or title via CrossRef and…
Expand a set of key papers into the literature around them by walking the citation graph with the Semantic Scholar and OpenAlex…
Audit every citation in a chapter, paper, or proposal against the .bib file and the real world: each cite key must exist, each…
Structure a thesis whose contribution is a built artifact (tool, system, method, model) using design science research: explicit…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.