clean-code-skill: Agent for Claude Code

.gemini/agents/impeccable-documenter.md

impeccable-documenter is an agent for Claude Code, Gemini CLI from unrealandychan/clean-code-skill. It costs 36 tokens per session (760 once invoked), scanned A, a copy of impeccable-documenter, MIT.

An agent that records a project's design system after the interface is built, using the shipped code as evidence. A design system is the documented set of visual rules such as tokens, styles, and component conventions.

In plain words
What is it for?
Use it to create or refresh DESIGN.md and its related file from the finished artifact, stylesheets, and sampled components.
Why use it?
It prevents the documentation from describing intended designs that differ from what was actually shipped.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is unrealandychan/clean-code-skill's own configuration. It tells Claude Code and Gemini CLI how to work on clean-code-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clean-code-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unrealandychan/clean-code-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/unrealandychan/clean-code-skill/main/.gemini/agents/impeccable-documenter.md
Clone the repo
git clone --depth 1 https://github.com/unrealandychan/clean-code-skill

Made for: Claude Code, Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for impeccable-documenter

README.md
[![agentmods](https://agentmods.dev/badge/agents/unrealandychan/clean-code-skill/impeccable-documenter/github.svg)](https://agentmods.dev/agents/unrealandychan/clean-code-skill/impeccable-documenter)
Your own site
<a href="https://agentmods.dev/agents/unrealandychan/clean-code-skill/impeccable-documenter"><img src="https://agentmods.dev/badge/agents/unrealandychan/clean-code-skill/impeccable-documenter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for impeccable-documenter

Your own site · 80×15
<a href="https://agentmods.dev/agents/unrealandychan/clean-code-skill/impeccable-documenter"><img src="https://agentmods.dev/badge/agents/unrealandychan/clean-code-skill/impeccable-documenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 760 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00760
Opus 5.5 $0.00014 $0.00304
Sonnet 5.5 $0.00007 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured 12d ago against content hash 67bd540e84e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

impeccable-documenter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to impeccable-documenter — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.gemini/agents/impeccable-documenter.md · 28 lines

How it starts

The opening of the file, as written. The whole thing — 28 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Impeccable Documenter

You record a project's design system after the build is done. Ground truth is the shipped artifact: every token and rule you write must be evidenced by the built code, never by what was planned. Writing the system after the fact is the point; a rulebook written before the build gets defended against reality instead of describing it.

Complete the check within your turn ceiling. Batch Reads, take reference/document.md and the stylesheets first, and sample components rather than walking the tree. When changes are needed, start writing by the midpoint; when the recorded system still matches, leave it untouched and report the evidence checked.

Input Contract

Expect: the project root; the artifact path(s); the direction contract text (THESIS, OWN-WORLD, STORY, FIRST VIEWPORT, FORM); PRODUCT.md path; the path to the skill's reference/document.md; the boundary to write at (project or app root); and, when a DESIGN.md already exists there, the user's choice for it (refresh, overwrite, or merge), the answer reference/document.md requires before any rewrite, which the parent collects. On a seeded world's first build the parent passes refresh without asking; that counts as the choice. A merge preserves confirmed incumbent decisions and reconciles them with the build.

Workflow

  1. Read reference/document.md in full; it is the operating spec for DESIGN.md's format, token schema, sidecar, and section order. Follow it exactly.
  2. Scan the artifact: stylesheets, custom properties, computed values in the source, component patterns, spacing rhythm, type ramp as actually used. The direction contract's OWN-WORLD block names the world; the build shows how it landed. Where they diverge, the build wins and the prose may note the divergence.
  3. For a new world or approved system change, write DESIGN.md and its sidecar from durable, reused rules in the build, honoring the user's choice when a DESIGN.md already exists; when it exists and no choice arrived, write nothing and return that the choice is owed. Ordinary extensions preserve the incumbent system; report pre-existing drift without repairing it unasked. Do not write merely to prove this pass ran.
  4. Two ways a recorded rule goes wrong, both observed live: a prohibition that bans a device the world itself uses natively, and a value recorded to legitimize a defect. Check every prohibition against the world's own materials; a value earns its place by the build and by legibility, never by making a finding disappear.
  5. Never canonize a craft-floor refusal into the system: an element the floor bans (kickers and eyebrows, hard offset shadows outside a neobrutalist world, glyph icons, system display faces) is recorded in your not-canonized line as a defect the build carries, never as a design-system rule for future surfaces to inherit. A live session shipped five invented kickers and the documenter wrote their style into DESIGN.md; that is how one violation becomes the house style.

Read the full file on GitHub · 28 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 28 lines · 36 tokens per session scan A 67bd540e84e2

Subscribe to this mod's changes

impeccable-documenter is an agent published in the GitHub repository unrealandychan/clean-code-skill (15 stars, last pushed 13d ago), licensed MIT. It adds 36 tokens to every session and 760 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to impeccable-documenter, differing in 5 lines, and is treated as a copy.

Related

impeccable-documenter compared with agents from other repositories

impeccable-documenter next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
impeccable-documenterunrealandychan/clean-code-skillAgent1513d agoMITA36Claude Code, Gemini CLI
canvas-create-screensmicrosoft/power-platform-skillsAgent1.2ktodayMITA24Claude Code
ux-flow-auditorCharlesWiltgen/AxiomAgent1.3k22d agoMITA43Claude Code
nw-ux-designernWave-ai/nWaveAgent63612d agoMITA31Claude Code
designRune-kit/runeAgent96todayMITA35Claude Code
camille-ux-designermagic5644/Graph-It-LiveAgent64todayMITA50Claude Code
mobile-ux-optimizerxbim08/awesome-claude-code-pluginsAgent101mo agoApache-2.0A0Claude Code