All checks were successful
check / check (push) Successful in 7s
- Add test requirement item to both checklists (must not be a no-op) - Add .dockerignore template URL to Dockerfile items in both checklists - Add REPO_POLICIES.md symlink in repo root pointing to prompts/ - Add comment to Makefile explaining why prettier flags are repeated
3.4 KiB
3.4 KiB
title, last_modified
| title | last_modified |
|---|---|
| New Repo Checklist | 2026-02-22 |
Use this checklist when creating a new repository from scratch. Follow the steps
in order. Full policies are at
https://git.eeqj.de/sneak/prompts/raw/branch/main/prompts/REPO_POLICIES.md.
Template files can be fetched from:
https://git.eeqj.de/sneak/prompts/raw/branch/main/<path>
1. Initialize
git init- Ask the user for the license (MIT, GPL, or WTFPL)
2. First Commit (README only)
- Create
README.mdwith all required sections:- Description: name, purpose, category, license, author
- Getting Started: copy-pasteable code block
- Rationale: why does this exist?
- Design: how is it structured?
- TODO: initial task list
- License: matches chosen license
- Author: @sneak
git add README.md && git commit
3. Scaffolding (feature branch)
git checkout -b initial-scaffolding
Fetch Template Files
.gitignore— fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.gitignore, extend for language-specific artifacts.editorconfig— fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.editorconfigMakefile— fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/Makefile, adapt targets for the project's language and tools- For JS/docs repos:
.prettierrcand.prettierignore— fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.prettierrcandhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.prettierignore
Create Project Files
LICENSEfile matching the chosen licenseREPO_POLICIES.md— fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/prompts/REPO_POLICIES.mdDockerfileand.dockerignore— fetch.dockerignorefromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.dockerignore- All Dockerfiles must run
make checkas a build step - Server: also builds and runs the application
- Non-server: brings up dev environment and runs
make check - Image pinned by sha256 hash with version/date comment
- All Dockerfiles must run
- Gitea Actions workflow at
.gitea/workflows/check.ymlthat runsdocker build .on push — referencehttps://git.eeqj.de/sneak/prompts/raw/branch/main/.gitea/workflows/check.yml - Language-specific:
- Go:
go mod init sneak.berlin/go/<name>,.golangci.yml(fetch fromhttps://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml) - JS:
yarn init,yarn add --dev prettier - Python:
pyproject.toml
- Go:
Configure Makefile
make test— runs real tests, not a no-op (30-second timeout)make lint— runs lintermake fmt— formats code (writes)make fmt-check— checks formatting (read-only)make check— prereqs:test,lint,fmt-check; must not modify filesmake docker— builds Docker imagemake hooks— installs pre-commit hook
4. Verify
make checkpassesmake dockersucceeds- No secrets in repo
- No mutable image/package references
- No unnecessary files in repo root
- All dates written as YYYY-MM-DD
5. Merge and Set Up
- Commit, merge to
main make hooksto install pre-commit hook- Add remote and push
- Verify
mainpassesmake check