Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agilab-docs

БесплатноБез исполняемых скриптовНе проверен

Documentation workflow for AGILAB (sources vs generated HTML, public constraints, consistency checks).

ThalesGroupот ThalesGroup★ 23 звезды на GitHub

Об этом скилле

Docs Skill (AGILAB)

Use this skill when editing docs content or docs build tooling for AGILAB.

Source Of Truth

  • The public checkout independently owns its editable docs/source tree. Public Pages and local docs builds use that tree.
  • Do not discover, copy, sync, or build public docs from private thales_agilab/docs/source, another checkout, or another external source. Any docs source selected by AGILAB_DOCS_SOURCE, DOCS_REPOSITORY, or an explicit source argument must resolve to this checkout's own docs/source; external/private values are rejected before their contents are inspected.
  • Generate and validate release/UI evidence in this public checkout: data/release_proof.toml, release-proof.rst, and data/ui_robot_evidence.json retain their dedicated owner validators.
  • Refresh the public tree's integrity stamp with uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --apply --delete. The source and target default to this checkout's docs/source; this command stamps the local tree without importing another source. The historical stamp filename docs/.docs_source_mirror_stamp.json is retained by contract and must not be edited by hand. A valid stamp proves local integrity; it does not attest synchronization with private or external docs.
  • docs/html in this repo is generated output only (including docs/html/_sources).
  • Never hand-edit files under docs/html.
  • Do not change visible page labels directly in docs/html without regenerating from source: this is a frequent cause of stale/publication mismatches.

Required Workflow (No Direct docs/html Edits)

  1. Edit the source file under this checkout's docs/source. For release/UI evidence, edit or regenerate the public file and run its dedicated proof validator. Browser evidence must come from a recorded passing browser run. After its owner validator passes, refresh only its digest with uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --refresh-ui-robot-evidence-stamp. Ordinary documentation and release refreshes must preserve the existing browser-evidence digest.
  2. Refresh the local integrity stamp from the AGILAB repo root: uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --apply --delete
  3. If the change touches an SVG diagram, validate the SVG as XML, render a local preview at the intended docs width, and confirm the referencing .rst page still points to the intended file. Treat the source SVG, surrounding wording, captions, alt text, and rendered page as one alignment unit. Do not rely on XML validity alone; inspect the rendered preview for clipped text, overlong labels, hidden cards, and unreadable feedback arrows.
  4. If the change touches visible UI behavior, page labels, screenshots, GIFs, or screenshot-derived diagrams, refresh the corresponding source screenshot assets in docs/source in the same change. Update captions, alt text, and .rst references together; refresh the integrity stamp; and inspect the rendered page so stale labels, duplicate sidebars, old workflow names, or outdated screenshots cannot remain in public docs. Do not hand-edit generated docs/html/_images or copied Sphinx outputs.
  5. Validate the local integrity stamp before committing: uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --verify-stamp Use the checkout-local default source. Do not provide a private/external source or bypass its rejection to obtain a passing check.
  6. Rebuild or run the docs profile when the rendered page matters: uv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile docs
  7. Verify the change exists in:
    • this checkout's docs/source/<file>
    • the locally rendered HTML output when a build was run
  8. Validate the rendered public page after publish. Prefer checking the HTML page that embeds the figure, not a guessed raw asset URL.
  9. During an SVG tuning loop, do not publish every micro-retouch. Publish only after the local region is stable and the public source changes are committed.

If you accidentally edit docs/html directly, discard that manual edit and regenerate from source.

Local validation and manual publication

Run ./dev flow docs-guard for read-only source/proof checks, and ./dev flow docs for the Sphinx build. Graphviz must be installed explicitly; never run Homebrew as an automatic readiness repair. Pages is manual and still rebuilds in its isolated hosted job because no trusted local artifact handoff exists. A local build does not prove publication. Do not dispatch without publication authorization.

Source vs Published Pages

  • The Pages workflow currently builds docs/html from docs/source in the agilab repo.
  • Edit this checkout's docs/source and refresh its integrity stamp with `tool
Полный SKILL.md на GitHub

Установить agilab-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл agilab-docs?

Documentation workflow for AGILAB (sources vs generated HTML, public constraints, consistency checks).

Как установить скилл agilab-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agilab-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agilab-docs с