/harness-ship:documentation-and-adrsfrom harness-ship
Records the reasoning behind a codebase through architecture decision records, why-focused comments, API docs, READMEs, changelogs, and agent-facing project rules, plus a prose review pass. Use when making or revisiting an architectural decision, changing a public API, shipping user-visible behavior, onboarding people or agents, or when the same explanation keeps being repeated.
Ships in harness-ship. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Document decisions, not just code. Code shows what was built; documentation should say why it was built that way and what else was considered. That context is what future engineers and agents lack, and it stops settled questions being reopened.
Not for: obvious code, comments that restate the code, or throwaway prototypes.
ADRs are the most valuable documentation to write. Write one for decisions that are expensive to reverse: a framework or major dependency, a data model, an authentication strategy, an API style, hosting or build infrastructure.
Before creating an ADR, look for an established convention: existing ADRs, project instructions, and ADR tooling or config. If one exists it overrides the defaults here. Match:
If the evidence conflicts, say so rather than silently picking another scheme. Use the default below only when no convention can be found.
Store in docs/decisions/ with sequential numbers:
# ADR-001: <decision in a phrase>
## Status
Proposed | Accepted | Superseded by ADR-XXX | Deprecated
## Date
YYYY-MM-DD
## Context
The problem and the constraints that shaped it (requirements, team size, operational limits).
## Decision
What we chose, stated plainly.
## Alternatives Considered
### <Option A>
- Pros / Cons
- Rejected because: <specific reason>
### <Option B>
...
## Consequences
What gets easier, what gets harder, what must now be learned or maintained.
Proposed, then Accepted, then Superseded or Deprecated. Never delete an old ADR: it is history. When a decision changes, write a new ADR that supersedes and links the old one.
Comment the why, not the what.
// Bad: restates the code
// increment counter
counter += 1;
// Good: explains intent and a known limit
// Fixed window that starts at the first request after expiry, not on a
// clock boundary. Known gap: a client can use the full limit just before
// and just after a reset.
if (now - windowStart > WINDOW_MS) { counter = 0; windowStart = now; }
Do not comment self-explanatory code, leave TODOs you could just do, or keep commented-out code (version control remembers it). Do document gotchas where they bite, and point to the ADR that explains the design:
/** Must run before first render; after hydration it causes a flash of
* unstyled content because theme context is unavailable during SSR.
* See ADR-003. */
export function initializeTheme(theme: Theme): void { /* ... */ }
Prefer documentation that lives with the types: parameters, return value, thrown errors, and one short example.
/**
* Creates a task.
* @param input title (required, max 200 chars), description optional
* @returns the task with server-generated id and timestamps
* @throws ValidationError if the title is empty or too long
* @throws AuthenticationError if the caller is not signed in
*/
export async function createTask(input: CreateTaskInput): Promise<Task> { /* ... */ }
For HTTP APIs, maintain a machine-readable description (an OpenAPI document or equivalent) listing each path, request schema, and every response code including validation errors. See harness-build:api-and-interface-design for the contract itself.
Every project needs: a one-paragraph description; a quick start (clone, install, configure from the example env file, run); a commands table (dev, test, build, lint); a short architecture overview linking to ADRs; and contribution guidance. A reader should be able to run the project from the README alone.
Record shipped changes by version and date, grouped as Added, Changed, Fixed (and Removed or Security when relevant), each with a reference to the issue or pull request.
See harness-core for how these feed the context an agent loads.
After the technical content is right, review the wording for its readers without changing the decision or its limits.
| Rationalization | Reality |
|---|---|
| "The code is self-documenting" | It shows what, not why, not what was rejected, not which constraints apply. |
| "We'll document once the API stabilizes" | Documenting is the first test of the design and speeds stabilization. |
| "Nobody reads docs" | Agents, new engineers, and your future self do. |
| "ADRs are overhead" | Ten minutes now saves a two-hour debate on the same question later. |
| "Comments go stale" | Comments about why are stable; only restating what goes stale, so do not write those. |
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/ci-cd-and-automationDesigns and maintains CI/CD pipelines so every change passes automated quality gates before merge and deploys reversibly. Use when setting up or changing build and deployment pipelines, wiring test runners into CI, choosing a rollout or rollback mechanism, or diagnosing and speeding up a failing or slow pipeline./deprecation-and-migrationPlans the removal of old systems, APIs, and features and the safe migration of consumers to replacements, including zero-downtime database schema changes using expand and contract. Use when replacing or sunsetting a system, moving users between implementations, renaming or dropping a column in production, or deciding whether to maintain or retire legacy code./npx claudepluginhub ivedha-tech/platformnex-abilities --plugin harness-ship2 plugins ship this exact skill · first indexed Nov 17, 2026
Other plugins' skills for the same job