/waris-skill-library:warisskill-documentation-practicesfrom waris-skill-library
Use when a README or project doc is explicitly requested (standing global rule: never create those unprompted), and use automatically whenever an API is being built or changed — API documentation is always-on, not request-gated. Also use when writing commit messages, pull-request titles or descriptions, changelogs, release notes, or other change summaries. Trigger on any new/changed endpoint for the API-docs path, on explicit doc requests for the README path, and on any request to explain or package a code change for review or release.
Ships in waris-skill-library. 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.
Standing rule (unchanged, this skill doesn't loosen it): never create a README or general project doc unless explicitly asked. API documentation is the one exception — it's generated automatically whenever an API exists, no request required. See below.
Ask which register applies if it's not obvious from context (a client deliverable vs a personal tool) rather than defaulting to either extreme.
# Project Name
One-line description.
## Setup
[exact commands to get running locally]
## Key Commands
[test, build, lint, etc.]
Every API — regardless of whether it has external consumers yet — gets
documentation, generated from code annotations (OpenAPI/Swagger for REST,
schema-derived docs for GraphQL, JSDoc/TSDoc for internal service
interfaces), not hand-written. This is not gated behind a request; it's
part of building the API, the same way an endpoint gets a
warisskill-system-design-api-design-shaped error response without being
asked for one.
Generate, don't hand-write, specifically because hand-written API docs drift from the code fastest of any documentation type — annotation-driven generation keeps the doc and the implementation from diverging.
Commit messages, PR messages, changelogs, and release notes are documentation of the change. Write them from the actual diff and verified behavior, not from memory or a planned description that the implementation no longer matches.
update, misc, or fix stuff; the
message must make the intent discoverable in history.Use the project's established convention. If none exists, use Conventional Commits:
<type>(<scope>): <imperative summary>
<optional body: why the change was needed, constraints, or user impact>
Keep the subject short and specific. Use the body when the reason, tradeoff, compatibility concern, or migration detail is not obvious from the diff. Do not restate a file list. Before proposing a commit message, identify the commit's single logical purpose and confirm that the staged diff contains only that purpose.
The PR title should summarize the single change and follow the repository's commit convention when practical. The description should let a reviewer understand the motivation, scope, behavior, verification, and remaining risk:
## Summary
What changed and why.
## Scope
What is included and intentionally excluded.
## Verification
Exact tests, checks, or manual verification performed.
## Risks / rollout
Compatibility concerns, migrations, flags, monitoring, and rollback notes.
If the work is too broad for one coherent PR, split it into a logical series of small PRs with explicit dependencies. Do not describe unrelated changes as one feature merely because they happen to be ready at the same time.
Write release communication for users and operators, grouped by impact (for example Added, Changed, Fixed, Deprecated, Removed, Security). Explain what someone needs to know or do; do not paste raw commit history. Record the entry with the change while its user impact is still clear. Follow the Git workflow skill for versioning, tags, branch strategy, and merge mechanics.
After a non-trivial modification, provide a concise change summary covering:
This summary is useful in a PR, handoff, or agent response. It is not a reason to expand scope or perform unrelated cleanup.
warisskill-system-design-decision-making) — those are separate,
narrower documentation decisions with their own rules.warisskill-workflows-git (and addy-git-workflow-and-versioning when
that skill is available). This skill governs the clarity and scope of the
written change record.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./