chipi/agentic-ai-homelab/docs-preflight
- community
Checking that the SKILL.md file is still in the repository.
Validate that the docs site builds cleanly in strict mode and the changed Markdown passes the repo's own markdownlint config, before committing or pushing docs changes. Detects the project's docs toolchain (Makefile docs target, MkDocs, Sphinx, Docusaurus, mdBook) and runs its strict build, then reports PASS/FAIL with the exact unresolved refs, warnings or lint errors. Use when about to commit or push changes under docs/, mkdocs.yml, or docs config, or whenever asked to check or validate the docs build.
Install
npx vskill@latest install chipi/agentic-ai-homelab/docs-preflightSKILL.md
docs-preflight
Run the project's strict docs build locally and report green/red before a docs commit lands. Strict mode is what CI runs — catching a broken cross- reference here costs ~20s; catching it in CI costs a wasted push and a red badge.
When this applies
The change touches any docs-affecting path: docs/**, mkdocs.yml, requirements-docs.txt, a Makefile docs target, conf.py, docusaurus.config.*, book.toml. If in doubt and a docs toolchain exists, run it — it's cheap.
Detect the toolchain, then run its strict build
Use the first match, top to bottom. A repo's own make target is preferred because it already encodes the venv and the correct strict flags.
- Makefile docs target —
grep -E '^docs-build:|^docs:' Makefile.
If present, run make docs-build (or make docs). This is the common case for repos scaffolded from the operator's new-project template.
- MkDocs —
mkdocs.ymlat repo root. Prefer the project venv:
.venv/bin/mkdocs build --strict --cleanif.venv/bin/mkdocsexists- else
python -m mkdocs build --strict --clean
- Sphinx —
docs/conf.py.sphinx-build -W -b html docs /tmp/_docs_preflight
(-W promotes warnings to errors = strict).
- Docusaurus / npm —
package.jsonwith a docs build script
(docs:build, build:docs, or a docs workspace). Run that script; Docusaurus fails on broken links by default.
- mdBook —
book.toml.mdbook build.
If none match, say so — there is nothing to preflight. Do not invent a build.
Then lint the changed Markdown
A strict build does not check Markdown style, and a repo's commit hook or CI often does. When the repo has a markdownlint config (.markdownlint.json, .markdownlint.jsonc, .markdownlint.yaml, .markdownlint-cli2.*), lint the changed .md files with it:
- Always pass the repo's config. Without
--config, markdownlint uses its defaults, and a
file outside the repo tree (a temp copy) never picks the config up. The errors then are not the repo's errors.
- Unset `NODE_OPTIONS`. Some repos export it for other tools, and it breaks the linter's
Node.
- Prefer the repo's own target when it has one (
make lint-markdown,npm run lint:md). - No config in the repo means no lint step; do not impose the defaults.
Report
- Run in the foreground and show full output (do not
| tail), so streaming
warnings are visible.
- End with one unambiguous line:
DOCS PREFLIGHT: PASSorDOCS PREFLIGHT: FAIL, covering both
the strict build and the Markdown lint.
- On FAIL, surface the specific offenders — unresolved links, pages missing from
nav, orphan warnings — not just the exit code.
Conventions this enforces
- Green local, then commit. Never push-and-pray on the docs build; reproduce
and fix locally first.
- No new deps to make a build pass. Use the project's existing toolchain and
venv. If a dependency is genuinely missing, report it — do not install silently.
- When linking from inside a docs tree to a file outside it, strict builders
can't resolve relative paths — use absolute repo URLs (https://github.com/<org>/<repo>/blob/main/...).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkstation/claude/skills/docs-preflight/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chipi/agentic-ai-homelab/docs-preflight)