browser-automation
Browser automation for rendered UI exploration, validation, screenshots,
Write, rewrite, or update project docs from implementation facts - README
Claude Code
$ npx -y skills add alexei-led/cc-thingz --skill documenting-code --agent claude-code
Codex
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a codex -y
Cursor
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a cursor -y
Gemini CLI
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a gemini-cli -y
GitHub Copilot
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a github-copilot -y
OpenCode
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a opencode -y
Windsurf
$ npx skills add alexei-led/cc-thingz --skill documenting-code -a windsurf -y
description: Write, rewrite, or update project docs from implementation facts - README front pages, user guides, configuration references, architecture docs, evaluations, agent instructions, and code comments. Use when writing or improving project docs for clarity, concision, accuracy, or useful visuals, or when code changes make docs stale. NOT for release preparation or release notes (releasing-code), external library docs (looking-up-docs), engineering messages (writing-style), scoring instruction files (reviewing-instructions), or ADRs unless explicitly requested. name: documenting-code
Turn implementation facts into docs that a named reader can use. Every claim in the result matches the code, and every visual renders cleanly.
Done when each changed behavior is documented where its reader looks, and nothing unrelated changed.
example a README front page, guides, or an architecture doc. Done when:
request names neither, with one question and these options: auto-detect from recent changes, README, API docs, or the full doc set.
Decide the reader before writing.
answers a question faster than prose. Load `references/doc-set.md` only for doc-set structure or Overhaul mode, `references/style.md` when rewriting prose, and `references/visuals.md` only when changing diagrams or charts.
headers, bullets, numbered steps, exact contracts, and a table where it is the clearest form. No diagrams or rationale that a model already knows. To score or lint instruction files, use `reviewing-instructions`.
errors, and non-obvious decisions. Delete comments that restate the code. Load `references/code.md` for shared comment rules and per-language doc checks.
1. Scope the work from the request and the changed files (`git diff --name-only`), and find the existing docs that cover them. 2. List the doc files, the reader and the job of each, and the facts that more than one doc states. In Overhaul mode, write the ownership map from `references/doc-set.md` before editing. 3. Read the code, tests, and configuration that each doc describes. When docs and code conflict, report it and update the docs to the code, unless the user says that the doc is the intended contract. 4. Write. Keep each fact in one place and link to it from the others. Replace adjectives with measured facts. Name actors, conditions, and referents; use one term per concept. Cut words only when meaning and necessary context survive. 5. Check changed claims against their source; use `references/claims.md` for configuration, API, or measured-performance claims. Generate sample output when changing examples. Mark unconfirmed claims and say where you looked. 6. If visuals changed, load `references/visuals.md`, render them, inspect the images, and fix the faults. 7. Run the gate once. Run it again only after further edits. 8. Report with the output contract.
Run the bundled scripts on the changed docs from the project root. `<skill-dir>` is the directory that contains this SKILL.md, as the host reports it. Do not use a `scripts/` directory of the project instead.
python3 <skill-dir>/scripts/check-links.py <files or dirs> # relative links and #anchors bash <skill-dir>/scripts/render-mermaid.sh <files or dirs> # renders each Mermaid block to PNG python3 <skill-dir>/scripts/prose-lint.py <files or dirs> # advisory plain-language lint
`make` docs target, when they exist.
Done when the relevant build/test/lint checks pass on what you changed, or you name each check that did not run and why.
the changelog, not in design docs.
## Documentation Update Mode: update | overhaul Updated: - `path` — <what changed> (reader: <human | agent | code>) Moved (overhaul only): - <fact> → owned by `path`; other docs now link to it Checked: - claims: <n> checked against source; unconfirmed: none | <claim — where looked> - visuals: <n> rendered and inspected | none changed - gate: links <passed | failed>, diagrams <passed | skipped (reason)>, prose <n findings> Issues: none | <remaining issue>
Without write access, return proposed changes (file, change, reason) instead of applying them.
trust its report. Check its claims and the actual diff (`git diff --stat`) before you report success.
Portable skills, agents, hooks, and Pi-native extensions for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. Gemini is retired.
Browser automation for rendered UI exploration, validation, screenshots,
Create normal git commits with logical grouping. Use when committing,
Fix code defects with a reproducible feedback loop, root-cause diagnosis,
Improve test design, speed, and coverage with behavior-focused tests,
Prepare, publish, or repair a software release and write its release notes. Use for cutting a versioned release or editing…
Produce findings, not edits, for the requested diff, PR, changed files, or file list. Read `references/severity-rubric.md` before…
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.