Skip to main content

docs

Use when writing, editing, or reviewing any page under agent-docs/, or when a code change in src/ needs its owning doc page updated (doc actualization). Authors and maintains the Halo agent-docs/ tree and enforces the anti-AI-slop style charter.

소스 정보

저장소
whitecircle/halo
최근 소스 활동
2026년 10월 4일 10:34
감지된 SKILL.md 언어
영어
스타
816
포크
38

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
docs
description
Use when writing, editing, or reviewing any page under agent-docs/, or when a code change in src/ needs its owning doc page updated (doc actualization). Authors and maintains the Halo agent-docs/ tree and enforces the anti-AI-slop style charter.
allowed-tools
["Read","Edit","Write","Grep","Glob","Bash"]
paths
["agent-docs/**","human-docs/**"]
# docs — author and maintain the Halo docs tree The `agent-docs/` tree is plain GitHub-rendered markdown (each section's `README.md` is its overview page). Two rules from `CLAUDE.md` govern this work: **Docs first** (check `agent-docs/` before searching the code) and **Keep docs current** (a significant `src/` change updates its owning doc page). This skill does both, to the house voice. ## Workflow 1. **Find the owning page.** For a changed `src/` path, look it up in [`docs-ownership.md`](docs-ownership.md). For a new topic, place it in the section directory it belongs to and add it to that section's `README.md` — do not orphan a page. 2. **Ground every edit against the code.** Read the actual `src/` file before you write the claim; when the code and the doc disagree, the code wins — fix the doc. `CLAUDE.md` and sibling docs can themselves lag the code (e.g. a mid-migration WIP commit) — treat them as leads, not authority, and verify against the `src/` file. Grounding is about correctness, not citation: cite the path only where the reader needs to find or set that thing (see `style.md`), not on every sentence. 3. **Apply the style charter.** Follow [`style.md`](style.md) on every edit: lead with the answer, cut to load-bearing facts, cite sparingly, tables only when they earn their space, present-state only, banned register removed. 4. **Keep the indexes and cross-links in sync.** A new or renamed page must be wired into its section `README.md` **and** the Documentation index in `CLAUDE.md`; a removed page comes out of both. Link a heading by the slug GitHub generates: lowercased, punctuation like `&`/`+`/`/` dropped, each space a hyphen, so `## EP+TP mode` → `#eptp-mode` and `## Checkpointing & state dict` → `#checkpointing--state-dict` (a double hyphen where a symbol sat between spaces); a repeated heading gets `-1`, `-2`. A `{#custom-id}` suffix is not an anchor on GitHub (it renders as heading text), and a `**bold line**` is not a heading. Renaming a heading breaks every link to it — the link check (step 6) catches it. 5. **Reconcile a changed fact across the tree.** When you change a fact that appears on more than one page (a support-matrix cell, a default, a migration like DeepEP V1→V2), `grep` the whole `agent-docs/` tree for the old wording and fix every copy — fixing only the owning page leaves the siblings stale. This is the `style.md` "one home per fact" rule enforced after the fact. 6. **Run the link check.** `./scripts/docs/check_links.sh` resolves every relative markdown link and heading anchor in `agent-docs/`, `human-docs/`, `skills/` and the root markdown and fails on a broken target, a missing anchor or a `{#id}` heading (CI runs the same script in `docs.yml`). It runs on the bare host with stdlib `python3` — no image needed. It must be green before the work is done. ## Citing repo paths Cite a repo path as plain inline code (`` `src/trainers/mixins/base.py` ``, `scripts/...`, `examples/...`, `tests/...`, `Dockerfile`, …). Do **not** hand-write `github.com` URLs — a relative markdown link is fine where the reader should click through to another doc page, and plain code is right for source paths. Class/method names (`EPMoELayerBase._compute_experts`), config fields (`ep_size`), flags (`--expert_parallel_size`), and env vars stay plain code. This does not change the charter: still cite sparingly. ## Reference material - [`style.md`](style.md) — the anti-AI-slop style charter (voice, banned register, good-vs-bad examples). Read it before editing prose. - [`docs-ownership.md`](docs-ownership.md) — the `src/` area → owning doc page(s) map. Read it before documenting a code change. ## Sources of truth This skill's whole premise: `agent-docs/` describes intended behavior, but the **code under `src/` is the ultimate authority** — workflow step 2 (ground every edit against the code; when code and doc disagree, the code wins) is non-negotiable. Never document a number, flag, or behavior you have not read in the `src/` file. Related skills own their domains — `parallelism`, `checkpoints`, `data`, `optimize`, `rl-setup`, `add-model` each ground in their code; keep the doc page consistent with the skill that owns the feature.
GitHub에서 보기