xhe-doc-standards
Use when writing, moving, reviewing, or auditing documentation in the xhe repo — choosing hierarchy and detail, separating tutorials from references, checking…
Skill by origin-labs-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/origin-labs-ai-xhe-doc-standards
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, security, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/xhe-doc-standards
What's inside
- Skill name
xhe-doc-standards- Description
- Use when writing, moving, reviewing, or auditing documentation in the xhe repo — choosing hierarchy and detail, separating tutorials from references, checking tutorial progression, trimming doc slop, responding to a verify-doc-budgets failure, or requests like "improve the docs", "audit the docs", "where should this be documented", or "this doc is too long".
- License
- MIT
- Instructions
- 53 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Applying the Xee Harness Enhanced Documentation Standard The documentation rules live in [docs/AGENTS.md](../../../docs/AGENTS.md). This workflow covers placement, corpus audits, budgets, and validation across Markdown, JSDoc, and code comments. It is guidance, not a script; use [xhe-prose-standard](../xhe-prose-standard/SKILL.md) for required coverage and editorial judgment, and never treat length alone as a defect. ## Sources of truth (read, don't re-summarize) - [docs/AGENTS.md](../../../docs/AGENTS.md) — hierarchy, tutorial/reference forms, taxonomy, budgets, and slop checklist. - [.agents/notes/README.md](../../notes/README.md) — when a decision earns an Agent Note, how to file it, and what goes inside one (the header block, per-lifecycle skeleton, and Alternatives-considered mandate, gated by `verify-agent-note-format`); [docs/postmortem/README.md](../../../docs/postmortem/README.md) — when an incident earns a postmortem. - [docs/i18n/README.md](../../../docs/i18n/README.md) — the bilingual pairing rules; editing either side of a pair obligates the counterpart in the same change. - Root [AGENTS.md](../../../AGENTS.md) — the standing orders whose budget discipline this skill protects. - [Archived Agent Notes](../../notes/archived/AGENTS.md) — frozen historical snapshots excluded from editorial maintenance and evolving documentation gates. ## Review structure before prose Apply the standard's authoring order to every human-facing document in scope. Do not apply this structural pass to Agent Notes. Classify a postmortem as a reference scoped to one incident; preserve its required chronological evidence without treating chronology as a teaching sequence. 1. Locate the document in the repository and navigation trees. State its own subject and identify its direct children. 2. Set the permitted level of detail. Keep full detail about the document's subject, summarize direct children by purpose, responsibility, and high-level behavior, and move deeper explanations to their owning descendants with links. Treat test infrastructure as descendant-owned unless it is the document's subject. 3. Classify the document from its intended use, not its path or title. A tutorial must lead through ordered work to an observable outcome; a reference must support lookup within an explicit scope without requiring sequential reading. 4. For a tutorial, privately classify the starting reader and concepts as beginner, intermediate, or advanced. Trace each concept to its prerequisites, reorder premature material, and move optional advanced detail to a later tutorial or reference. 5. Split substantial mixed forms. Put a small secondary form in a clearly labeled section. Then check constraints that make placement expensive or wrong: - Paired docs (`pnpm run verify-translation-pairing --list`) cost a zh counterpart update and a `--write` re-record on every edit — prefer an unpaired home for content that will churn. - Generated catalogs are never hand-edited; if the fact belongs there, change the generator's source. - Before renaming or moving any doc, grep for inbound references: `verify-md-links` catches Markdown link targets AND `#fragment` anchors onto Markdown files (heading slugs and explicit `<a id>`), and `verify-doc-refs` catches `docs/*.md` citations in TypeScript comments; anchors cited from TypeScript strings still need a manual grep when their output never reaches gate-scanned Markdown. - A move is atomic: remove from the old home, add to the new home, and fix every inbound link in the same change. ## Audit the corpus After the structural pass, hunt the standard's slop checklist with the cheapest probes first. Verify and fetch the PR's live base, then run `pnpm --silent run change-scope --base <verified-base-ref>` to identify committed and dirty paths before applying semantic judgment. After a retarget or base merge, rerun the report and audit prose introduced by the new base. 1. Measure: `pnpm run verify-doc-budgets --list`, then `git ls-files '*.md' ':(exclude)vendor/**' | xargs wc -w | sort -rn | head -30` to spot unbudgeted outliers. 2. Hunt reasoning-transcript leakage — narrated history, dead design-session citations, review choreography, control-flow narration, test walkthroughs — with [xhe-trim-cot-leakage](../xhe-trim-cot-leakage/SKILL.md), which defines the taxonomy, recall batteries, and rules for what to keep or delete. Preserve only a non-obvious contract or durable rationale; the same rationale repeated beside sibling methods keeps one home. 3. Hunt duplication by grepping distinctive phrases. Keep one home and replace other copies with links. 4. Replace hand-written catalogs, test/status inventories, and JSDoc restatements with the authoritative tree, script, or generated reference. 5. In `implemented/` Agent Notes, remove migration plans, acceptance-task checklists, and future-tense spec language. Keep concise verification contracts that identify the behaviors and tiers pinning the shipped decision, plus named coverage gaps. 6. If removing prose changes a promised behavior rather than its explanation, use a proposed Agent Note first (follow [xhe-find-simplifications](../xhe-find-simplifications/SKILL.md)). Exclude `.agents/notes/archived/` from corpus audits and edits. Active prose may repair, redirect, or delete an inbound link, but never follow an archive-wide cleanup into the frozen target. Keep every load-bearing rule, preferably as one to three lines plus a link to its rationale. Cut stories, duplicates, status notes, and the path used to derive the rule. Do not create a new explanation merely to relocate disposable reasoning. ## When verify-doc-budgets goes red Apply the ordered relocate-condense-raise policy in [docs/AGENTS.md](../../../docs/AGENTS.md); this skill only supplies the workflow probes above. ## Validation and PR hygiene Run at least `pnpm run doc-sync`, `pnpm run lint`, and `git diff --check`; JSDoc changes may regenerate catalogs. If a paired doc changed, follow the [lightweight routine path](../../../docs/AGENTS.md#writing-rules) and run `pnpm run verify-translation-pairing --write <pair>`. The PR body should give word deltas, explain any deliberately long exception, and list checks.
From origin-labs-ai/code-fusion, MIT.
More from origin-labs-ai/code-fusion
- 0.529score
record-browser-gif
origin-labs-ai
Record browser or Web UI interaction demos as optimized GIFs using the available built-in browser, state-based frame capture, and deterministic encoding, then…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-prose-standard
origin-labs-ai
Use when writing, reviewing, restoring, trimming, or auditing prose in the xhe repo, including deciding where documentation or comments are required across…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-trim-cot-leakage
origin-labs-ai
Use when auditing or fixing prose that reads like a leaked reasoning transcript — dead design-session citations such as (decision N), audit item codes, or §N…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-doc-site-sync
origin-labs-ai
Use when publishing, updating, moving, or removing Xee Harness Enhanced documentation website pages; editing website/docs.ts mappings or navigation…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-find-simplifications
origin-labs-ai
Use when working in the xhe repo to find non-obvious simplification candidates, write proposed Agent Notes or inline TODO/FIXME/XXX notes, audit or coalesce…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-pre-push-checks
origin-labs-ai
Use before pushing, force-pushing, marking ready for review, or claiming checks pass on a xhe branch, and immediately after gh stack sync publishes rewritten…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-merging-stacked-prs
origin-labs-ai
Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-archive-agent-notes
origin-labs-ai
Use when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in xhe; checks every new note for superseded active records, classifies…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-code-review
origin-labs-ai
Use when reviewing a pull request in the xhe repo — orients the reviewer to this codebase's standards (AGENTS.md conventions, defensive patterns, ADRs…
SkillBFreshness: BClaude Code +9 - 0.521score
xhe-translate-docs
origin-labs-ai
Manually run the extended Xee Harness Enhanced bilingual-document workflow, including generated briefings, delegated prose translation, whole-document…
SkillBFreshness: BClaude Code +9 - 0.281score
xhe-popular-skills
origin-labs-ai
No description from the publisher yet.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 23, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/origin-labs-ai/code-fusion
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from origin-labs-ai
- 0.529score
record-browser-gif
origin-labs-ai
Record browser or Web UI interaction demos as optimized GIFs using the available built-in browser, state-based frame capture, and deterministic encoding, then…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-prose-standard
origin-labs-ai
Use when writing, reviewing, restoring, trimming, or auditing prose in the xhe repo, including deciding where documentation or comments are required across…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-trim-cot-leakage
origin-labs-ai
Use when auditing or fixing prose that reads like a leaked reasoning transcript — dead design-session citations such as (decision N), audit item codes, or §N…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-pre-push-checks
origin-labs-ai
Use before pushing, force-pushing, marking ready for review, or claiming checks pass on a xhe branch, and immediately after gh stack sync publishes rewritten…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-find-simplifications
origin-labs-ai
Use when working in the xhe repo to find non-obvious simplification candidates, write proposed Agent Notes or inline TODO/FIXME/XXX notes, audit or coalesce…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-merging-stacked-prs
origin-labs-ai
Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's…
SkillBFreshness: BClaude Code +9
Cite this page
xhe-doc-standards skill. Agent Mart. https://agentmart.dev/skills/origin-labs-ai-xhe-doc-standards (last updated 2026-10-24)