Skip to content

docs: standardize CONTRIBUTING against repo-standards - #77

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

docs: standardize CONTRIBUTING against repo-standards#77
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. Here they were split across Code standards and Testing, which each
described test package layout, suite naming, and table-driven cases --
the same facts twice in one file.

Applies the section order repo-standards now fixes: Setup, Project
structure, Code style, Code standards, Testing, then the operation
walkthrough. Package Structure folds into 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.

Supersedes #76, which removed these conventions rather than
standardizing them.

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

Copy link
Copy Markdown

Thank you for contributing to this project! 😊🕹️

@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       #77   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines         3217      3217           
=========================================
  Hits          3217      3217           

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 be9beb0...5ee7f61. 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 96ce1b5 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