Skip to content

docs: standardize CONTRIBUTING against repo-standards - #164

Merged
retr0h merged 1 commit into
mainfrom
docs/standardize-contributing
Aug 16, 2026
Merged

docs: standardize CONTRIBUTING against repo-standards#164
retr0h merged 1 commit into
mainfrom
docs/standardize-contributing

Conversation

@retr0h

@retr0h retr0h commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Standardizes this repository's CONTRIBUTING.md against the repo-standards capability, which now fixes the middle sections as well as the opening and closing ones (osapi-io/specs#89, osapi-io/specs#90).

The problem

The five Go repositories stated the same conventions five different ways:

gohai nats-client nats-server orchestrator osapi
Function signatures missing Code style Code style Code standards pointer only
Go patterns under Testing Code style Code style Code standards pointer only
Code standards
Casing Title Case sentence sentence Title Case

A reader comparing two repositories could not tell whether a difference in the document meant a difference in the rule.

Section order, now fixed

Before you start → Prerequisites → Setup → Project structure →
Code style → Code standards → Testing → (repo-specific) →
Before committing → Branching → Commit messages → Submitting a PR → AI usage → FAQ

Anything invented for one repository now sits after Testing.

The shared text is byte-identical

The Code standards body and the Test file conventions list are the same bytes in all five repositories — verified by hash. A difference in wording now means a difference in rule.

The linter list is gone

Every repository listed "errcheck, errname, goimports, govet, prealloc, predeclared, revive, staticcheck". Every .golangci.yml enables unused — named in no prose — and configures goimports under formatters:, not among the linters. Five identical copies of a wrong summary of the file beside them. The guide now names .golangci.yml instead.

Verification

just test passes; coverage unchanged.

🤖 Generated with Claude Code

The five Go repositories stated the same conventions five different
ways. gohai had lost them entirely: they were removed when the
repository was pointed at the go-code-standards capability, which the
corpus did not hold at the time.

Restores them in full, under the section order repo-standards now
fixes: Setup, Project structure, Code style, Code standards, Testing,
then anything specific to this repository.

Go Patterns was nested under Testing; it is now a subsection of Code
standards. Package Structure becomes Project structure, and the Title
Case headings become sentence case.

The linter list is gone. It named goimports as a linter and omitted
unused, while .golangci.yml has enabled unused all along and configures
goimports as a formatter. The configuration is now what the guide points
at.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #164   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          184       184           
  Lines         6359      6359           
=========================================
  Hits          6359      6359           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f955f2...cb8b3c0. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@retr0h
retr0h merged commit 42dfdca into main Aug 16, 2026
9 checks passed
@retr0h
retr0h deleted the docs/standardize-contributing branch August 16, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant