agentleFS
davidvornholtdavidvornholt/standards/.agents/skills/standards-sync/SKILL.md

standards-sync

Skill3 starsChanged 4 days agoMITView on GitHub

Use when changing a file the standards sync manages (listed in `sync-standards.json`, such as `AGENTS.md`, `biome.base.jsonc`, `justfile`, canonical skills, or the standards workflows), changing sync behavior, propagating standards, or running the standards CLI.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before changing declared repository settings, the automatic sync workflow, or Standards auto-merge, read GitHub settings, automatic sync, …

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Standards sync

The canonical files live in davidvornholt/standards and are mirrored into every consumer repository. A consumer's copy of a synced file is read-only: the next sync overwrites any local edit, and standards check reports it as drift against sync-standards.lock. So before editing, find which class the path belongs to.

A consumer receives one of two payloads, chosen by "payload" in sync-standards.local.json. core holds AGENTS.md, the language-neutral skills, the weekly sync, the standards CI workflow, and the GitHub settings, for a repository of any language. bun, the default, adds the Bun workspace tooling. A Bun consumer runs the CLI as bun standards <command>. Any other runs it from the repository root as bash .agents/skills/standards-sync/scripts/standards.sh <command>, which needs Bun installed but not a Bun workspace, and runs the CLI from the commit that sync-standards.lock records, as the Standards workflow does. bunx @davidvornholt/standards runs whatever version Bun resolves, so use it only for init in a repository without a lock.

ClassHow to recognize itWhere a change goes
SyncedAGENTS.md, or listed in a payload of sync-standards.json, or inside a listed directoryThe standards repository, which edits canonical files directly
Project-ownedSeeded once by init from template/, or an extension point belowThe consumer, freely
GeneratedRebuilt by the CLI, such as sync-standards.lockIts inputs, then regenerate

A change every consumer should get belongs upstream. A change for one consumer belongs in that consumer's extension point. Don't copy canonical logic into a project-owned file to change it locally.

Sync also raises every Bun pin in a consumer's own files that is below the Bun the standards repository runs: packageManager, an exact or >= engines.bun, BUN_VERSION and bun-version in YAML and container files, oven/bun image tags with their Docker Hub digests, .bun-version, and .tool-versions. It never lowers a pin, so a consumer can run a newer Bun but not hold an older one.

Extension points

Canonical pathConsumer extension
biome.base.jsoncbiome.jsonc
AGENTS.mdBelow its ## Project-specific rules heading
justfile and secrets.justlocal.just
.github/settings.json.github/settings.local.json
.github/dependabot.ymlBelow its # Project-specific updates line
.agents/skills/*Unmanaged sibling skill directories
.github/workflows/standards-sync.ymlsync-standards.local.json
.mise/config.tomlmise.toml
nix/standards-bun.nix and nix/bun-archives.jsonflake.nix and dev-shell.local.nix
nix/package-source.nix, nix/package-source-check.nix, and nix/bun-lock-deps.nixflake.nix and nix/package.nix

A core consumer has only the AGENTS.md, GitHub settings, skills, and sync workflow rows. An extension adds to its canonical file and doesn't replace it. GitHub settings can only add stricter settings, rulesets, and labels. A repository's own Dependabot blocks can't repeat a shared block's ecosystem, directory, and target branch, so a hold on a shared block goes upstream. Blocks that share an ecosystem and target branch list their directories without globs, because check can't tell whether two globs overlap.

standards help lists the commands and options.

Before changing declared repository settings, the automatic sync workflow, or Standards auto-merge, read GitHub settings, automatic sync, and auto-merge.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.