xhe-doc-site-sync
Use when publishing, updating, moving, or removing Xee Harness Enhanced documentation website pages; editing website/docs.ts mappings or navigation…
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-site-sync
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, writing, productivity
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-site-sync
What's inside
- Skill name
xhe-doc-site-sync- Description
- Use when publishing, updating, moving, or removing Xee Harness Enhanced documentation website pages; editing website/docs.ts mappings or navigation; diagnosing a page missing from the VitePress site; fixing projected documentation links; or running the docs:dev, docs:check, and doc-sync workflow after website-content changes.
- License
- MIT
- Instructions
- 83 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Synchronizing the Xee Harness Enhanced Documentation Site Keep repository Markdown as the only editable content source. Treat the website as a tested projection: [website/docs.ts](../../../website/docs.ts) selects public pages, [scripts/project-doc-site.ts](../../../scripts/project-doc-site.ts) rewrites them into the disposable `website/.generated/` tree, and VitePress builds that tree. The build additionally emits a raw-Markdown twin of every route (page URL minus any trailing slash, plus `.md`; index routes also get a parent-level alias) and a root `llms.txt` index; both derive from the same manifest and projector, so publishing, moving, or removing a page updates them automatically and `docs:build` fails when one is missing. Repository translations follow the sibling pairing contract: English `foo.md`, Chinese `foo.zh.md`, and `foo.i18n.yaml` live together. Never create `zh-CN/` or other locale directories for website content. The site route trees are independent of that source layout: `foo.zh.md` projects to the root route and `foo.md` projects to the matching `/en/` route. ## Read the owning contracts - Read [docs/AGENTS.md](../../../docs/AGENTS.md) and use [xhe-doc-standards](../xhe-doc-standards/SKILL.md) when deciding where content belongs or changing product documentation prose. - For an edited bilingual source, follow the lightweight routine path in [docs/AGENTS.md](../../../docs/AGENTS.md#writing-rules) and the [pairing contract](../../../docs/i18n/README.md); never invoke the extended translation skill automatically. - Read the current `DocsPage` type and entries in [website/docs.ts](../../../website/docs.ts) before changing the manifest; do not rely on a remembered field set. - Read [website/.vitepress/config.ts](../../../website/.vitepress/config.ts) before adding a new section, sidebar collection, locale, or top-level navigation item. ## Classify the change - **Edit an already published page:** change only its canonical Markdown source. Do not touch the manifest unless its route or navigation metadata changes. - **Publish a new page:** create it in its owning `docs/` tier, then add one manifest entry. - **Rename, move, or remove a page:** update the canonical file, manifest entry, and inbound repository links atomically. Remove stale manifest entries; `docs:check` rejects missing sources. - **Publish a generated catalog:** map the generated `docs/` file, but change its generator or source metadata rather than editing the catalog by hand. - **Change site structure:** update the manifest for ordinary pages; update VitePress configuration only when the existing sidebar, section, or locale model cannot express the change. Never edit or commit `website/.generated/`, `website/.cache/`, or `website/.dist/`. Except for `website/AGENTS.md`, never add Markdown under `website/`; locale and route directories such as `website/zh-CN/`, `website/en/`, and `website/api/` are invalid source layouts. Keep generated catalogs under `docs/`, freshness-gate them there, and publish them through the manifest. ## Add or update a manifest entry Set every `DocsPage` field deliberately: - `source`: repository-relative canonical Markdown path. For a complete bilingual pair, add the English `.md` path through `pairedPages()`; it derives the sibling `.zh.md`, the content locales, and counterpart aliases. - `route`: public VitePress path including the `.md` suffix. - `label`: sidebar label, not necessarily the document H1. - `sidebar`: reuse `zh-guide`, `zh-develop`, or `en-docs` unless the information architecture genuinely needs another collection. - `section`: reuse an existing section when possible. If adding one, also place it in `sectionOrder` in the VitePress config. - `order`: stable order within the section. - `sourceAliases`: optional additional repository paths that should resolve to this page when links are projected. It does not create another public route. Use `mirroredPages()` only for a source that intentionally falls back to the same available language in both route trees. Convert that entry to `pairedPages()` when its counterpart is added. Keep the manifest an explicit public allowlist. Do not publish RFCs, postmortems, testing guides, `AGENTS.md`, or maintainer workflows merely because they exist under `docs/`; add internal material only when the user explicitly expands what the site publishes. ## Preserve link behavior Write normal repository-relative Markdown links in canonical docs. The projector applies these rules: - A target present in the manifest becomes a site-relative route. - An existing target outside the manifest becomes a GitHub source link, including supported line suffixes. - An image is the exception: its file is copied into the generated tree and referenced from there, so the site serves it regardless of repository visibility. It must be a regular file inside the repository. - External URLs, site-absolute URLs, email links, and fragment-only links remain unchanged. - A missing repository-relative target fails projection instead of silently producing a broken link. - Cross-page fragments use the English GitHub heading id as their canonical id. If an authored heading emits a different VitePress id, place an explicit `<a id="..."></a>` immediately before it; add generated aliases in the owning generator. Do not write website-specific routes into canonical Markdown just to satisfy VitePress. Use `sourceAliases` for directory-style repository links that should resolve to a mapped index page. ## Preview and validate Run local preview while editing: ```sh pnpm docs:dev ``` The dev server watches mapped source files and reprojects them. Restart it after changing the manifest if the new source is not picked up automatically. Run the focused website gate before treating the mapping as valid: ```sh pnpm docs:check ``` If Markdown link checks pass but the site build reports a missing fragment, follow the `verify-doc-site-fragments` source and target paths. Preserve the English GitHub id with an explicit alias in authored Markdown or in the owning generator. Before committing a documentation-site change, run: ```sh pnpm run doc-sync pnpm run lint git diff --check ``` Use [xhe-pre-push-checks](../xhe-pre-push-checks/SKILL.md) before pushing. Report the canonical files changed, manifest entries added or removed, public routes affected, and the exact checks run. ## Keep deployment separate Synchronizing content into the VitePress build does not publish it to the internet. Do not add GitHub Pages permissions, deployment workflows, custom domains, or public hosting unless the user explicitly requests deployment and confirms the hosting policy.
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-standards
origin-labs-ai
Use when writing, moving, reviewing, or auditing documentation in the xhe repo — choosing hierarchy and detail, separating tutorials from references, checking…
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-site-sync skill. Agent Mart. https://agentmart.dev/skills/origin-labs-ai-xhe-doc-site-sync (last updated 2026-10-24)