docs-sync
Skill38 starsChanged 6 days agoApache-2.0View on GitHub
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.
46 other projects use a version of this.
Adopted by
Most recently taken up by
- julianosirtori/skillstheir own version, first seen Nov 8, 2026
- voyager67/AgentFieldkittheir own version, first seen Nov 8, 2026
- uwuclxdy/agenticattheir own version, first seen Nov 8, 2026
- kekzl/imptheir own version, first seen Nov 7, 2026
- jackneil/claude-jackedtheir own version, first seen Nov 5, 2026
- yasik/agentlanetheir own version, first seen Nov 1, 2026
Used with
Projects with it also use tdd, code-review and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 5 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions46 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 46
- openai/openai-agents-python★ 31ksame name
- redis/node-redis★ 18ksame name
- redis/ioredis★ 15ksame name
- fossasia/visdom★ 10ksame name
- Kiln-AI/Kiln★ 5.3ksame name
- danielmeppiel/apm★ 4.2ksame name
- microsoft/apm★ 4.2ksame name
- openai/openai-agents-js★ 4ksame name
- pnp/powershell★ 912same name
- strands-agents/box★ 503same name
36 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository85 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- agent-inboxSkill
- ailang-core-triageSkill
- ailang-packagesSkill
- benchmark-managerSkill
- benchmark-runnerSkill
- builtin-developerSkill
- cli-doc-maintainerSkill
- cloud-cascade-debugSkill
- cloud-setupSkill
- codebase-organizerSkill
- collaboration-hubSkill
- coordinator-helperSkill
- design-doc-creatorSkill
- design-spec-auditorSkill
- docs-syncSkill
- eval-analyzerSkill
- eval-gap-finderSkill
- gemini-cli-helperSkill
- github-issue-triageSkill
- headless-runnerSkill
- local-model-onboardingSkill
- local-ollama-evalSkill
- mission-briefSkill
- mission-controlSkill
- mission-loop-changeSkill
- model-managerSkill
- motoko-analyzerSkill
- parser-developerSkill
- post-releaseSkill
- pr-monitorSkill
- prompt-managerSkill
- release-managerSkill
- sonarcloud-triageSkill
- sprint-evaluatorSkill
- sprint-executorSkill
- sprint-plannerSkill
- test-coverage-guardianSkill
- trace-debuggerSkill
- use-ailangSkill
- wasm-debuggerSkill
- agent-inboxSkill
- ailang-core-triageSkill
- ailang-packagesSkill
- benchmark-managerSkill
- benchmark-runnerSkill
- builtin-developerSkill
- cli-doc-maintainerSkill
- cloud-cascade-debugSkill
- cloud-setupSkill
- codebase-organizerSkill
- collaboration-hubSkill
- coordinator-helperSkill
- design-doc-creatorSkill
- design-spec-auditorSkill
- eval-analyzerSkill
- eval-gap-finderSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 11 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Keep the AILANG website in sync with actual implementation by checking design docs, validating examples, and tracking feature status.
- Distinctive: line 23
After any release (post-release should trigger this)
- Distinctive: line 33
Run all diagnostic scripts to understand current state:
- Very specific: line 65
Version Constants: - Update docs/src/constants/version.js
- Distinctive: line 67
Working Examples: - Ensure examples use raw-loader, all pass
- Distinctive: line 68
Status Banners: - Add "PLANNED" banners to future features
- Distinctive: line 69
Feature Docs: - Create missing docs for implemented features
- Distinctive: line 161
Examples Must Work: - Every code example should:
- Very specific: line 162
Use raw-loader to import from examples/
- Distinctive: line 164
Never embed code directly in MDX
- Very specific: line 166
Default entrypoint is main - don't use --entry main unless showing non-main entry
- Very specific: line 167
Test all commands before documenting: ./bin/ailang run --caps IO examples/runnable/hello.ail
- Very specific: line 189
Run ./scripts/derive_roadmap_versions.sh --check to validate website
- Very specific: line 190
Run ./scripts/derive_roadmap_versions.sh --full to see complete lifecycle
- Distinctive: line 203
When a feature doesn't fit existing themes, consider a new theme
- Very specific: line 205
Update resources/feature_themes.md when adding themes
- Distinctive: line 211
When reviewing new features, ask:
- Very specific: line 226
Add entry to resources/feature_themes.md
- Distinctive: line 227
Create website page at appropriate location
- Very specific: line 228
Update sidebar in docs/sidebars.js
- Distinctive: line 230
Update this skill's theme table above
“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
.claude/skills/docs-sync/scripts/audit_design_docs.sh
# Check version constants
.claude/skills/docs-sync/scripts/check_versions.sh
# Validate working examples
.claude/skills/docs-sync/scripts/check_examples.sh2. 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 - Ensure examples use raw-loader, all pass
- 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-examplesCLI 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
.claude/skills/docs-sync/scripts/derive_roadmap_versions.sh
# Full lifecycle: planned + implemented features
.claude/skills/docs-sync/scripts/derive_roadmap_versions.sh --full
# Check website consistency (exits 1 if mismatches)
.claude/skills/docs-sync/scripts/derive_roadmap_versions.sh --check
# JSON output for automation
.claude/skills/docs-sync/scripts/derive_roadmap_versions.sh --json --full
# Full validation: all features + website check
.claude/skills/docs-sync/scripts/derive_roadmap_versions.sh --full --checkResources
| 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 websiteKey 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:
- Use raw-loader to import from
examples/ - Be tested with
ailang runorailang test - Never embed code directly in MDX
- CLI commands must be added to
examples/cli_examples.txtand verified with./tools/verify_cli_examples.sh - Default entrypoint is
main- don't use--entry mainunless showing non-main entry - Test all commands before documenting:
./bin/ailang run --caps IO examples/runnable/hello.ail
Exception for Reference Documentation:
- Reference pages (e.g.,
language-syntax.md,effects.md) may use inline syntax snippets - These are small patterns showing language constructs, not complete runnable programs
- Tutorial pages (
examples.mdx,getting-started.mdx,guides/) must always import from files - Rule: If the code snippet is a complete runnable program, it MUST be imported
- Use raw-loader to import from
Design Docs = Ultimate Source of Truth - The folder structure tracks complete feature lifecycle:
Planned features:
design_docs/planned/v0_6_0/foo.md→ Feature targets v0.6.0- Website pages must match:
PLANNED FOR v0.6.0banner - Website MUST link to design doc on GitHub as ultimate reference
- OVERDUE = design doc folder version ≤ current release but not implemented
Implemented features:
design_docs/implemented/v0_5_6/foo.md→ Feature shipped in v0.5.6- Website reference pages can link to implemented design docs
- Moving
planned/→implemented/= feature is done
Validation:
- Run
./scripts/derive_roadmap_versions.sh --checkto validate website - Run
./scripts/derive_roadmap_versions.sh --fullto see complete lifecycle - Script checks for GitHub links in roadmap pages
- One Source of Truth - Version comes from:
git describe --tags→ actual versionprompts/versions.json→ latest syntax prompt (ailang prompt)prompts/devtools/versions.json→ latest dev tools prompt (ailang devtools-prompt)- These feed into
docs/src/constants/version.js - Website should reference both prompts and explain when to use each
- Themes Over Changelog - Group features by theme, not by version. Users care about "how do effects work?" not "what changed in v0.5.3?"
- Evolving Themes - Themes should evolve as the language grows:
- When a feature doesn't fit existing themes, consider a new theme
- New themes warrant new landing pages
- Update
resources/feature_themes.mdwhen adding themes - Current themes: Core Language, Type System, Effect System, Module System, Go Codegen, Arrays, Testing, AI Integration, Developer Experience
- Roadmap themes: Execution Profiles, Deterministic Tooling, Shared Semantic State
Theme Evolution Guidelines
When reviewing new features, ask:
- Does this fit an existing theme? → Add to that theme's page
- Is this a major new capability? → Consider a new theme
- Is this cross-cutting? → May need multiple mentions but one authoritative page
Signals for a New Theme
- 3+ related features with no natural home
- A new design doc folder (e.g.,
v0_7_0/) with a coherent focus - User questions consistently asking "how do I do X?" where X isn't covered
- A planned feature graduating to implemented that's substantial
Creating a New Theme
- Add entry to
resources/feature_themes.md - Create website page at appropriate location
- Update sidebar in
docs/sidebars.js - Cross-link from related themes
- Update this skill's theme table above
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

