Standard Repository Policies

Reusable policies for application and library repositories, written for human maintainers and coding agents. They emphasize proportionate implementation, classical behavioral testing, clear documentation ownership, simple releases, and consistent licensing notices. The policies are language-independent, with Go-specific testing guidance where useful.

Adopt The Policies

Start with the adoption and update guide. Select an upstream commit, copy the policies that apply, customize them locally, and add the supplied attribution entry. Downstream repositories own their adopted rules; upstream updates are incorporated deliberately.

Policy Purpose
Policy set provenance Local policy authority and upstream adoption and update navigation.
Agents Implementation discipline and local commit practices.
Testing Meaningful behavioral coverage with proportionate maintenance cost.
Architecture A framework for application-specific boundaries and constraints.
Documentation Canonical ownership and document lifecycle.
Releases Minimal justified gates and a clear publication completion point.
Open source licensing and attribution Project grants and factual upstream notices.

Use the licensing examples as references when writing actual notices. Copy needed texts from the license collection. Keep the example collection upstream and use its linked examples to create the project's actual notices.

Work On This Project

Read the contributor guide before editing templates or reference assets. The public repository is the upstream source; commit-specific links identify adoption baselines.

Standard Repository Policies is licensed under CC-BY-SA 4.0, with original format examples dedicated under CC0 as specified there.

Sources and terms for reproduced license texts are documented in the reference collection.

Description
A collection of standard repository policy documents that should be applied across each of my personal projects.
Readme CC-BY-SA-4.0 353 KiB
Languages
Markdown 100%