Website md language docs

From ax-llm/ax · View interactive version

Website md language docs is an AI agent skill from the GitHub repository ax-llm/ax. Use when changing Ax website language docs, language-specific snippets, examples, API symbol mappings, generated package capabilities, or adding a new website language route. Keeps the markdown-only Hugo site source-audited and generated from repo truth.

How to use this skill

Skill file

Website-MD Language Docs

Use this skill when a change affects website/, Ax public APIs, examples, AxIR package docs, language capabilities, or docs that should appear in language-prefixed markdown routes.

Workflow

  1. Inspect current repo truth first:
  1. Update common prose once in website/content-src/templates/.
  2. Put language-specific install commands, snippets, package labels, and API section mappings in website/content-src/languages/<language>.json.
  1. Add or reorder pages only in website/content-src/site-map.json; generated pages read this manifest.
  2. Do not hand-edit website/.generated/ or generated package docs. If AxIR package truth is stale, refresh it with npm run axir:generate-packages.
  3. Keep old Astro docs untouched unless the user explicitly asks to change that site.

Feature, Language, And Example Sync

API Mapping

Checks

Run the narrow checks for the surface you changed, then run:

npm run doc:build:markdown
npm run axir:check-packages
npm run example -- list
npm run example -- list --json
npm run website:prepare
npm run website:check
npm run test:examples:generated
npx biome check package.json scripts/website-prepare.mjs scripts/check-website-links.mjs .github/workflows/ci.yml --files-ignore-unknown=true
git diff --check

If Hugo is not installed locally, install or point PATH at the pinned Hugo binary used by CI before running website:check.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.