Agent skill

Doc Sync

by macalbert in macalbert/envilder

Audit and synchronize documentation across website, READMEs, and docs/.

MITAuto-check passedDevelopment

Install Doc Sync

skills CLI
$ npx skills add macalbert/envilder --skill doc-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install macalbert/envilder doc-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/doc-sync .claude/skills/doc-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doc-sync
GitHub stars
138
Token cost
~1.3k tokens
SKILL.md length
460 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Audit and synchronize documentation across website, READMEs, and docs/.

  • Works in 6 steps: Identify Scope → Extract Source of Truth → Audit Each Surface → …
  • Verifying docs are aligned after feature changes
  • SKILL.md covers When to Use, Documentation Surfaces, Procedure and Cross-Reference Matrix, plus 1 more section
  • Calls pnpm

What it does

Doc Sync is an agent skill from macalbert/envilder. Audit and synchronize documentation across website, READMEs, and docs/. Use when verifying docs are aligned after feature changes, SDK updates, CLI changes, or release preparation. Detects drift between website content, markdown docs, and SDK READMEs.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation and CI/CD. It works with Astro. The repository describes itself as: One secret mapping for local dev, CI/CD, and runtime. Envilder resolves cloud secrets from your own vaults without SaaS middlemen, duplicated config, or .env drift. The licence is MIT.

When your agent uses it

  • Verifying docs are aligned after feature changes
  • Release preparation

Example prompts

  • “/doc-sync”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Identify Scope
  2. Extract Source of Truth
  3. Audit Each Surface
  4. Report Drift
  5. Apply Fixes
  6. Validate

What it can do on your machine

Read from SKILL.md and the folder at commit b6a0327. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Doc Sync loads about 1.3k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 460 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from macalbert/envilder at commit b6a0327, republished under its MIT licence (© macalbert). 460 words, ~1,269 tokens.

Download SKILL.mdSave it as .claude/skills/doc-sync/SKILL.md (or your agent's skills folder).
name
doc-sync
description
Audit and synchronize documentation across website, READMEs, and docs/. Use when verifying docs are aligned after feature changes, SDK updates, CLI changes, or release preparation. Detects drift between website content, markdown docs, and SDK READMEs.
argument-hint
feature area to audit or "full" for complete audit

Doc Sync: Cross-Surface Documentation Alignment

Audit and synchronize documentation across all surfaces to prevent drift.

When to Use

  • After adding or changing a feature, CLI flag, or SDK capability
  • After updating website content (DocsContent.astro, i18n strings)
  • Before a release to verify all docs reflect current behavior
  • When a code review flags outdated documentation

Documentation Surfaces

SurfaceLocationPurpose
Website docssrc/website/src/components/DocsContent.astroUser-facing docs page with code examples
Website i18nsrc/website/src/i18n/{en,ca,es}.tsTranslated strings for website
Root READMEREADME.mdProject overview, install, quick start
GHA READMEgithub-action/README.mdGitHub Action usage and inputs
CLI docsdocs/pull-command.md, docs/push-command.mdCLI command reference
GHA docsdocs/github-action.mdGitHub Action detailed docs
SDK READMEssrc/sdks/{dotnet,python,typescript}/README.mdSDK-specific install and usage
SDK examplesexamples/sdk/{dotnet,python}/README.mdExample code with explanations
Changelogsdocs/changelogs/{cli,gha,sdk-*}.mdPer-component changelogs
ROADMAPROADMAP.mdFeature status tracking

Procedure

1. Identify Scope

Determine which feature area to audit:

  • CLI: root README, docs/pull-command.md, docs/push-command.md, website DocsContent
  • GHA: github-action/README.md, docs/github-action.md, website DocsContent
  • SDK (per runtime): src/sdks/{runtime}/README.md, examples/sdk/{runtime}/, website DocsContent + Sdks.astro, i18n strings
  • Full: all surfaces
2. Extract Source of Truth

For each feature area, identify the authoritative source:

AreaSource of Truth
CLI flags/optionssrc/envilder/apps/cli/entry/Cli.ts
GHA inputsgithub-action/action.yml
SDK public APISDK source code (src/sdks/{runtime}/)
Providerssrc/envilder/core/infrastructure/
Map-file formatenvilder.json (example) + copilot-instructions
3. Audit Each Surface

For each documentation surface, check:

  • Code examples compile/run: verify syntax matches current API
  • CLI flags match: documented flags exist in Cli.ts
  • GHA inputs match: documented inputs exist in action.yml
  • SDK methods match: documented methods exist in source
  • Install commands correct: package names, versions, registries
  • Provider names consistent: aws/azure naming across all docs
  • Links not broken: internal cross-references resolve
  • i18n complete: all 3 locales (en, ca, es) have matching keys
Show full SKILL.md (188 more words)Show less
4. Report Drift

Present findings in a structured table:

text
## Documentation Drift Report

| Surface | File | Issue | Severity |
|---------|------|-------|----------|
| Website | DocsContent.astro | Missing --profile flag in CLI section | High |
| SDK README | src/sdks/python/README.md | load() example uses old API | High |
| Root README | README.md | Version badge outdated | Low |

## Alignment Actions

1. {file}: {what to update}
2. {file}: {what to update}
5. Apply Fixes

For each drift item:

  1. Update the documentation surface
  2. If i18n strings changed, update all 3 locales
  3. Verify the fix against the source of truth
6. Validate
  • Run pnpm lint to check for formatting issues
  • For website changes, verify the build: check i18n key consistency

Cross-Reference Matrix

Use this matrix to ensure consistency when updating a feature:

When you change...Also update...
CLI flag in Cli.tsdocs/pull-command.md or docs/push-command.md, root README, DocsContent, i18n
GHA input in action.ymlgithub-action/README.md, docs/github-action.md, website DocsContent, i18n
SDK public APISDK README, examples README, website DocsContent + Sdks.astro, i18n
New SDK addedRun full sdk-release-checklist skill (version badge, changelog, i18n, docs)
SDK version bumpBump canonical source file; changelog entry; website picks up version at build time
New providerAll provider listings: root README, website Providers.astro, DocsContent, SDK READMEs
Map-file formatRoot README, all SDK READMEs, website DocsContent
ROADMAP statusROADMAP.md, website Roadmap.astro

Constraints

  • Never invent features not present in code
  • Verify claims against source code before writing
  • Preserve existing document structure and tone
  • Keep code examples minimal and runnable

© macalbert, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/doc-sync of macalbert/envilder.

Open the folder on GitHubat commit b6a0327

Compare with similar skills

Doc Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Doc Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doc Sync this skillmacalbert/envilder138—~1.3kAutomated safety check: PassMIT
Benchmark Readme Syncrstackjs/build-tools-performance115—~1.6kAutomated safety check: PassMIT
Posting Review Summarybitwarden/ai-plugins154—~2.3kAutomated safety check: PassCustom licence
Writing Commentswithastro/astro63k—~2.7kAutomated safety check: PassCustom licence
Ccb GitHubSeemSeam/claude_codex_bridge3.5k—~4.9kAutomated safety check: PassCustom licence
Star History Chartdavila7/claude-code-templates32k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Benchmark Readme Sync

    rstackjs/build-tools-performance

    Refresh README benchmark results from a successful GitHub Actions Benchmark run, preserving data provenance and separate development, build, and memory tables.

    115 GitHub stars~1.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Posting Review Summary

    bitwarden/ai-plugins

    Official

    A skill your agent uses when posting the final summary comment, including its No Verdict form when nothing could be reviewed and no inline comments exist.

    154 GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Writing Comments

    withastro/astro

    Official

    How to write JSDoc (/ /) and inline (//) comments in the Astro codebase, for contributors reading the source — not end users.

    63k GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Ccb GitHub

    SeemSeam/claude_codex_bridge

    Maintain this CCB project's GitHub-facing release and npm publication surface.

    3.5k GitHub stars~4.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Star History Chart

    davila7/claude-code-templates

    Add a self-hosted "Stargazers over time" chart to any GitHub repo's README.

    32k GitHub stars~1.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Nemo Rl Docs

    NVIDIA/skills

    Official

    Documentation conventions for NeMo-RL. An agent skill from NVIDIA/skills.

    3.5k GitHub stars~357 tokensUpdated today
    DevelopmentAuto-check passed

More from macalbert/envilder

All 30 skills in this repo
  • Code Review Perspectives

    macalbert/envilder

    Five independent analysis perspectives for code review: correctness, architecture, security, conventions, and complexity.

    138 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Index of Architecture Decision Records (ADRs) for cross-cutting technical decisions.

    138 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Common Git

    macalbert/envilder

    Git commit messages, PR workflow, and branching strategy using Conventional Commits and Semantic Versioning.

    138 GitHub stars~991 tokensUpdated 2 days ago
    Auto-check passed
  • Common Testing Conventions

    macalbert/envilder

    Mandatory testing conventions including the narrow diagnostic exception for testing test-only code, AAA pattern, test naming, and assertions across all stacks (.NET, TypeScript, Python).

    138 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed
  • Doc Maintenance

    macalbert/envilder

    Workflow for maintaining changelogs, READMEs, and documentation files.

    138 GitHub stars~904 tokensUpdated 2 days ago
    Auto-check passed
  • Dotnet Test Doubles

    macalbert/envilder

    Test doubles including Fakes (Bogus), Dummies (AutoFixture), Stubs, Spies, and Mocks (NSubstitute).

    138 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Doc Sync

What does Doc Sync do?

Audit and synchronize documentation across website, READMEs, and docs/. Doc Sync is an agent skill from macalbert/envilder. Audit and synchronize documentation across website, READMEs, and docs/.

When should I use Doc Sync?

Doc Sync fits situations like: verifying docs are aligned after feature changes; release preparation.

How do I install Doc Sync in Claude Code?

Run `npx skills add macalbert/envilder --skill doc-sync -a claude-code`. Or copy the skill folder (.github/skills/doc-sync in macalbert/envilder) into .claude/skills/doc-sync in your project. Claude Code loads it when a task matches its description.

How do I install Doc Sync in Codex?

Run `npx skills add macalbert/envilder --skill doc-sync -a codex`. Or copy the skill folder (.github/skills/doc-sync in macalbert/envilder) into .agents/skills/doc-sync in your project. Codex loads it when a task matches its description.

Can I use Doc Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add macalbert/envilder --skill doc-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doc-sync, .gemini/skills/doc-sync, .github/skills/doc-sync and .opencode/skills/doc-sync in your project.

What does Doc Sync need to run?

Going by SKILL.md and its folder, Doc Sync needs the command-line tools its instructions call (pnpm).

Does Doc Sync access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Doc Sync safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Doc Sync use?

Doc Sync is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Doc Sync use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Doc Sync?

Skills that share tags, products or a category with Doc Sync: Benchmark Readme Sync (rstackjs/build-tools-performance, 115 stars), Posting Review Summary (bitwarden/ai-plugins, 154 stars), Writing Comments (withastro/astro, 63k stars) and Ccb GitHub (SeemSeam/claude_codex_bridge, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doc Sync?

macalbert (a GitHub user) maintains it in macalbert/envilder, which has 138 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 5, 2026.

Source: macalbert/envilder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.