agentleFS
clice-ioclice-io/clice/.claude/skills/write-docs/SKILL.md

write-docs

Skill2k starsChanged 4 days agoApache-2.0View on GitHub

Read before writing or editing anything under docs/ — the generated pages, the en↔zh contract and the pixi commands that check it; sync.md for the end-of-branch docs sync, glossary.md for the Chinese pages' wording.

51 other projects use a version of this.

Trending

More talk lately.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 3 mentionsNov 2026: 4 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the clice-io/clice repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about clice-io/clice

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub (9 times).

On GitHub · 9

4 more on GitHub

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LucasMatuszewskiSkill

    audit-agents

    Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.

    Also in 5 projects that use this

  • transitive-bullshitSkill

    compare-screenshots

    Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.

    Also in 5 projects that use this

  • rhnfzlSkill

    explore-unknowns

    Walk the user through mapping the unknowns of a task before, during, and after they build it, and hand them a four-quadrant map (settled ground, open decisions, taste, and landmines) they keep. Reach for this eagerly whenever a request is ambiguous or underspecified, the codebase or domain is unfamiliar, the user will "know it when they see it", a reference implementation must be understood before porting, a build-queue or architecture-changing task is about to start, a mid-build deviation needs capturing, or a finished change needs buy-in or verified understanding before merge. Trigger even when the skill is not named: "do a blindspot pass", "find my unknown unknowns", "interview me about this change", "brainstorm the approach for a task I am about to build", "help me scope this", "what am I missing here", "plan this before I build", "I know nothing about X in this codebase". When a territory profile is present it reads memory and the graph first and feeds the map into the build pipeline; without one it degrades to a plain general map. Not for trivial or mechanical tasks with clear acceptance criteria, single-fact lookups, pure debugging of a known symptom, or pure code review, those have their own tools. Do not use it to run the build itself; the map is the deliverable and implementation remains a separate task, whether it has not started or is already underway.

    Also in 5 projects that use this

  • +7 more from dzhng

The file

Files
SKILL.md

Writing the docs

Beside this file: sync.md, the docs sync at the end of a branch; glossary.md, the wording of the Chinese pages.

Layout and sources of truth

  • docs/en/ — English pages, written by hand except their GENERATED regions: the cards of the documented cases (tests/README.md, "Docs") on the feature, CLI and guide pages, and the option lists of guide/configuration.md, rendered from the config schema. Never edit inside a <!-- BEGIN GENERATED ... --> region — edit the case's README.md or the config annotations instead.
  • docs/cards/ — one card per documented case, written by every cases run and ignored by git; publishing (docs.yml) and the site build of pull requests (main.yml's docs-site) take the cards of CI's linux-x64 run (test.yml's docs-cards).
  • docs/zh/ — Chinese pages, equally real and equally hand-edited (by a person or a model). Each zh page must stay segment-isomorphic to its en counterpart: same sequence of markdown blocks, translated text in the translatable blocks, code blocks and HTML comments byte-identical.
  • docs/meta/translations/ — the hash pairs attesting each translated segment. Maintained exclusively by record; never edit by hand.
  • Each tree has its own hand-maintained sidebar.yaml.
  • docs/public/clice-config.schema.json — committed output of clice inspect config-schema; CI checks freshness.

Commands (pixi)

commandwhat it does
pixi run docs-updaterewrite every GENERATED region: the feature pages' from the cases, the configuration page's from the schema
pixi run docs-checkwhat CI's lint docs job checks: the GENERATED regions are current, zh is isomorphic to en and all pairs are attested
pixi run docs-reporttranslator worklist: drifted segments with texts
pixi run docs-recordre-attest hash pairs after deliberate edits
pixi run docs-reviewmodel review of zh pages, segment by segment

Translation contract

The checker is @clice-io/translate from the clice-io/docs repository, shared by every clice-io project with a Chinese tree. Its RULES.md at v1.0.0 states the contract, the commands and the editing workflow — read it before any edit touching translated pages:

gh api 'repos/clice-io/docs/contents/tools/translations/RULES.md?ref=v1.0.0' -H 'Accept: application/vnd.github.raw'

The pixi tasks above run it at an exact release, locally and in the lint workflow's docs job alike: tools/docs/translations.ts holds the pin, until the package is on npm and the tasks call npx @clice-io/translate@1. A new release is adopted by bumping that pin and the RULES.md reference here. What clice adds on top:

  • In clice the frontmatter that translates is index.md's (the VitePress home page), and the bold paragraph whose shape must survive is a capability card's name; a table row paired with a later heading is a capability's status row and its section.
  • The formatter of step 4 in RULES.md's workflow is pixi run format (table padding, emphasis style). The spacing between Chinese and Latin text is the writer's: nothing fixes it, and CI's autocorrect step only reports it, without failing.
  • The workflow applies to generated regions too: after docs-update changes an en page, the zh page must receive the translated equivalent in the same PR — batched at the end of the branch (sync.md).
  • pixi run docs-review [page...] has a model (codex, the external-agents skill) review the zh pages segment by segment against glossary.md; review its diff, then format and record. Prefer it over handing a model whole pages: the code blocks would only burn its context.

docs/ contains no changelog content — neither per-page "Changelog" sections nor changelog pages. Feature history lives in git and PRs; LLVM upgrade notes live in the upgrade-llvm skill's llvm-changelog.md.

What belongs in a "Known Limitations" section

Design-level, user-visible trade-offs that are stable on a months timescale, written in behavior terms — they answer the reader's "why does it work this way". Bugs never go there: they live in the issues and disappear when fixed; in docs they would go stale. Feature coverage gaps are already expressed by the generated status tables. An issue becomes a doc limitation only once it is decided to be design (or long-term deferral), and a doc limitation is removed only when the design changes. Never reference internal IDs, file paths, or timelines in docs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.