developer-standards
Shared standards so AI coding agents write Makefiles, Dockerfiles, Compose files, GitHub Actions, and Go modules the same way in every repo.
This repo ships five skills, the activation rules that decide when to load them, validators, and templates. Your app repos keep their own checked-in Makefile, Dockerfile, compose.yaml, workflows, and Go module. None of them depend on this repo at runtime.
The skills
makefile-standard
Naming and shape for Makefiles. Not a target generator.
| Problem | What the skill does |
|---|
| Repos name the same job differently | Canonical names: test, lint, check, deploy, prod-backup, … |
| Agents pad Makefiles with unused targets | Adds only evidenced or requested ops. The catalog is vocabulary, not a to-do list |
| Local and production ops look alike | Production is always prod-*. Shipping from your machine is deploy, not prod-deploy |
| Broken or inconsistent shape | ## help text, .PHONY, kebab-case, checked by validate_makefile.py |
dockerfile-standard
Creates, reviews, migrates, and validates Dockerfiles and image build artifacts. Adapts to the project (Go, Node, static, CLI, …).
| Problem | What the skill does |
|---|
Floating latest, secrets in ARG | MUST rules plus a static validator |
| Fat single-stage images | Multi-stage and profile guidance, measured before and after |
| Cache thrash | Ordered COPY and BuildKit cache mounts |
| Root-by-default runtime | Non-root USER, structure checks in validate_image.sh |
compose-standard
Creates and reviews lean local Compose files. Not a platform generator.
| Problem | What the skill does |
|---|
Secrets or :latest in Compose | MUST rules plus validate_compose.py |
| Startup races | healthcheck and depends_on: condition: service_healthy |
| Overbuilt networks and sidecars | Only evidenced services. The default network is fine |
| Wrong ownership against Make and Dockerfile | Explicit boundaries with the sibling skills |
ci-standard
Creates and reviews GitHub Actions workflows that call your Make targets. GitHub Actions only in v1.
| Problem | What the skill does |
|---|
| Parallel CI scripts beside Make | Wires the job to make check or make ci |
| No concurrency, over-broad permissions | Concurrency groups and least-privilege defaults |
| Floating action branches, missed caches | Pins actions, caches when install is non-trivial |
| Unsolicited deploy from CI | Image build and deploy only when evidenced |
go-project-standard
Reviews and shapes Go modules (library, service, cli). Not a project scaffolder.
| Problem | What the skill does |
|---|
Empty pkg/, project-layout cargo cult | Flat start, cmd/ and internal/ when evidenced |
| Weak or v1-only lint | golangci-lint v2 template with curated enables |
| Missing tests, hard coverage gates | Logic packages get tests. No coverage percentage that fails the build |
tools.go blank imports on Go 1.24+ | Prefers the tool directive |
Also in the box: the six validators (validate_makefile.py, validate_dockerfile.py, validate_image.sh, validate_compose.py, validate_workflow.py, validate_go_project.py), short activation rules that say when to load each skill, and the rule catalogs each skill reads.
The rules
Each skill carries its full rules, and each reference doc links its own catalog and profiles.
Installation
Current version is in VERSION. Plugin id: developer-standards. Pick the path for your agent below. Run only one path per agent; mixing a marketplace install with ./install.sh for the same agent duplicates the skills.
Claude Code
/plugin marketplace add painhardcore/developer-standards
/plugin install developer-standards@developer-standards
Update with /plugin marketplace update. Uninstall with /plugin uninstall developer-standards@developer-standards.
Claude has no separate rule file. It picks the skills up from their descriptions, or you can name one directly (/makefile-standard).
Codex / ChatGPT
codex plugin marketplace add painhardcore/developer-standards