docs-sync
БесплатноЗапускает вложенные скриптыНе проверенSync AILANG documentation website with codebase reality. Use after releases, when features are implemented, or when website accuracy is questioned. Checks…
от sunholo-data★ 39 звёзд на GitHubОб этом скилле
Documentation Sync Skill
Keep the AILANG website in sync with actual implementation by checking design docs, validating examples, and tracking feature status.
Quick Start
# After a release - full sync check
# User: "sync docs for v0.5.6" or "run docs-sync"
# Check specific area
# User: "verify landing pages" or "check working examples"
When to Use This Skill
Invoke this skill when:
- After any release (post-release should trigger this)
- User questions website accuracy
- Features move from planned → implemented
- Examples may be broken or outdated
- Version constants need updating
Workflow
1. Pre-flight Checks
Run all diagnostic scripts to understand current state:
# Check design docs status
.Codex/skills/docs-sync/scripts/audit_design_docs.sh
# Check version constants
.Codex/skills/docs-sync/scripts/check_versions.sh
# Validate working examples
.Codex/skills/docs-sync/scripts/check_examples.sh
2. Review Feature Themes
Features are grouped into themes (see resources/feature_themes.md):
| Theme | Status Page | Description |
|---|---|---|
| Core Language | /reference/language-syntax |
Types, ADTs, pattern matching |
| Effect System | /reference/effects |
Capabilities, IO, FS, Net |
| Module System | /reference/modules |
Imports, exports, aliasing |
| Go Codegen | /guides/go-codegen |
Compilation to Go |
| AI Integration | /guides/ai-integration |
Prompts, benchmarks, agents |
| Testing | /guides/testing |
Inline tests, property-based |
| Developer Experience | /guides/development |
REPL, debugging, CLI |
| Roadmap: Execution Profiles | /roadmap/execution-profiles |
v0.6.0 planned |
| Roadmap: Shared Semantic State | /roadmap/shared-semantic-state |
v0.6.0 planned |
| Roadmap: Deterministic Tooling | /roadmap/deterministic-tooling |
v0.7.0 planned |
3. Fix Priority Order
- Version Constants - Update
docs/src/constants/version.js - Landing Pages - intro.mdx, vision.mdx, why-ailang.mdx
- Working Examples -
make check-doc-samplesgreen; runnable programs via raw-loader - Status Banners - Add "PLANNED" banners to future features
- Feature Docs - Create missing docs for implemented features
- Roadmap Section - Move theoretical pages to roadmap
4. Update Checklist
After fixing, verify:
# Rebuild and check
cd docs && npm run build
# Verify no broken links
npm run serve # Manual check
# Commit changes
git add docs/
git commit -m "docs: sync website with v0.X.X implementation"
Scripts
| Script | Purpose |
|---|---|
audit_design_docs.sh |
Compare planned vs implemented design docs |
derive_roadmap_versions.sh |
Derive target versions from design doc folders |
check_versions.sh |
Verify version constants match releases |
check_examples.sh |
Validate example files compile/run |
generate_report.sh |
Generate sync status report |
CLI Example Verification (External)
The Makefile provides CLI example verification that complements this skill:
# Verify all CLI examples documented in examples/cli_examples.txt
make verify-cli-examples
# Full verification: code examples + CLI examples
make verify-examples && make verify-cli-examples
CLI Examples File Format (examples/cli_examples.txt):
# Comment explaining the example
$ ailang run --caps IO --entry main examples/runnable/hello.ail
Hello, AILANG!
This ensures CLI syntax in documentation matches actual behavior.
Version Derivation Script
# List all planned features with derived target versions
.Codex/skills/docs-sync/scripts/derive_roadmap_versions.sh
# Full lifecycle: planned + implemented features
.Codex/skills/docs-sync/scripts/derive_roadmap_versions.sh --full
# Check website consistency (exits 1 if mismatches)
.Codex/skills/docs-sync/scripts/derive_roadmap_versions.sh --check
# JSON output for automation
.Codex/skills/docs-sync/scripts/derive_roadmap_versions.sh --json --full
# Full validation: all features + website check
.Codex/skills/docs-sync/scripts/derive_roadmap_versions.sh --full --check
Resources
| Resource | Content |
|---|---|
feature_themes.md |
Feature groupings and expected pages |
landing_page_checklist.md |
Requirements for main pages |
Integration with Post-Release
The post-release skill should invoke docs-sync automatically:
# In post-release workflow after eval baselines
# Run docs-sync to update website
Key Principles
Theoretical is OK - Future features can be documented, but must:
- Link to design docs on GitHub
- Have clear status banner (e.g., "PLANNED FOR v0.6.0")
- Be in roadmap section, not current features
Examples Must Work - Every code example should:
- Inline blocks must pass the gate or be tagged (ROADMAP D-67 ruling 7, replacing "never inline"): `make check-doc-
Установить docs-sync в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл docs-sync?
Sync AILANG documentation website with codebase reality. Use after releases, when features are implemented, or when website accuracy is questioned. Checks design docs vs website, validates examples, updates feature status.
Как установить скилл docs-sync?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-sync запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic