Repo Standards¶
Repo Standards is a reusable standards system for GitHub repositories. It covers repository policy, AI-agent instructions, CI/CD, governance, security, dependency updates, release automation, deployment guidance, and migration assessment.
Current status: V1.0. The current V1.0 release is the first stable, wizard-first, modular Repo Standards release.
Start here¶
| If you want to... | Read this |
|---|---|
| Understand the V1.0 baseline | Roadmap |
| Understand versioning | Versioning |
| Use the wizard-first flow | Wizard-first adoption |
| Migrate an existing repo with today's CLI | Existing repository migration |
| Set up a new repo with today's CLI/manual steps | New repository setup |
| Understand the modular model | Modular standards |
| Standardize AI-agent instructions | AI-agent standardization |
| Choose governance and community settings | Governance model |
| Choose a license intentionally | License selection |
Product stance¶
Repo Standards is built first for a maintainer standardizing a set of repositories, then for other developers who want to adopt, contribute to, or extend the standard.
The V1.0 user experience is:
- Launch the Textual migration wizard.
- Answer governance and license questions.
- Review language, platform, and deployment detection.
- Confirm AI-agent cleanup and Rulesync regeneration.
- Review CI/CD classification.
- Apply a safe migration plan.
- Run assessment.
- Open a focused standards PR.
The CLI tools remain supported for scripted adoption and troubleshooting.
What Repo Standards manages¶
.repo-policy.ymlrepository policy- AI-agent/editor rules through Rulesync
- GitHub Actions checks and reusable workflow strategy
- branch protection recommendations
- dependency updates
- release automation
- deployment-provider guidance
- governance files such as
CONTRIBUTING.md, PR templates, issue templates,SECURITY.md, andCODEOWNERS - migration assessment and drift checks
Source-of-truth model¶
In downstream repositories:
| Layer | Path | Purpose |
|---|---|---|
| Repo policy | .repo-policy.yml |
Adopted profile, modules, commands, gates, governance, release, and deploy metadata |
| AI rule source | .rulesync/rules/*.md |
Canonical AI/editor behavior |
| Rulesync config | rulesync.jsonc |
Generated target configuration |
| Universal generated instructions | AGENTS.md |
Generated AI-agent instructions |
| Editor generated outputs | .cursor/, .agents/ |
Generated editor-specific rules and memories |
Generated AI/editor files are committed, but they are not the source of truth.
Contributing¶
See CONTRIBUTING.md. Contributions should preserve the phased migration approach and keep docs, templates, and AI rule source aligned.