Use when documenting an HTTP API, message payloads, queue contracts, DTOs, file formats, or webhooks - or when writing the api-reference of a legacy campaign, or when callers keep asking what a field means or which errors an endpoint returns. Encodes the four detail levels, the DTO-first catalog, wire types with source anchors, the generated-spec one-home rule, and omitted-versus-null semantics.
安装
npx skills add riekelt/technical-writer --skill documenting-contractsnpx skills add riekelt/technical-writer --skill documenting-contracts -a claude-code -gnpx skills add riekelt/technical-writer --skill documenting-contracts -a codex -ggemini skills install https://github.com/riekelt/technical-writer.git --path plugins/technical-writer/skills/documenting-contractsgh skill install riekelt/technical-writer documenting-contractsgit clone --depth 1 https://github.com/riekelt/technical-writer /tmp/riekelt__technical-writer
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/riekelt__technical-writer/plugins/technical-writer/skills/documenting-contracts ~/.claude/skills/documenting-contracts # Claude Code
cp -R /tmp/riekelt__technical-writer/plugins/technical-writer/skills/documenting-contracts ~/.agents/skills/documenting-contracts # Codex, Cursor, Gemini CLI, Copilot, OpenCode