Skip to content

Add issue templates and CONTRIBUTING.md - #20

Merged
ndbroadbent merged 3 commits into
mainfrom
repo/contributing
Dec 4, 2026
Merged

ndbroadbent merged 3 commits into
mainfrom
repo/contributing

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Outside-user readiness, part 2 and 3: issue templates and CONTRIBUTING.md. Based on main, independent of the tools stack.

Issue templates (.github/ISSUE_TEMPLATE/)

GitHub issue forms (YAML) rather than Markdown templates, so the required fields are enforced.

  • Bug report (bug): cigen version, provider, the config or a minimal one, the command and its output, the generated output, expected and actual. It asks people to say in the title when a job skipped though its inputs changed, and points at cigen expand, validate --format json and explain, which become real as Add cigen validate, with config errors as data #13, Add cigen explain <job>: what a job's hash covers #14 and Add cigen expand: the whole config as one cigen.yml #17 merge.
  • Feature request (enhancement): the CI problem in their own words, the provider (multi-select, including GitHub Actions on Blacksmith, Depot or Namespace), how they handle it today, and an optional config sketch.
  • I tried cigen on my repo (field report): version, provider, the repository (toolchains, job count, CI time, monorepo or not), what worked, what didn't, the config (optional), and whether they'll keep using it. I created the field report label, because GitHub drops a template's labels that don't exist.
  • config.yml keeps blank issues and links to the README and to STATUS.md's known problems. cigen.dev doesn't resolve yet, and the GitHub Pages site is stale (known problem 8). When the new site is live, these links should move to its docs.

CONTRIBUTING.md

  • Setup: the pinned toolchain, protoc, Task, and optional lefthook hooks (never --no-verify).
  • The dev loop: test first, task ci, STATUS.md in the same commit.
  • Generated files: golden fixtures, the JSON schemas, .github/workflows/ from .cigen/, and deterministic output.
  • mockci for skip tests.
  • The false-skip rule.
  • The public-repository rule, written for outside contributors: no private config from their employer or clients.
  • Code style highlights, pointing at CLAUDE.md for the full rules.

It describes only what's on main. #18 will add the trycmd refresh command when it lands.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Three issue forms for outside users: a bug report (version, provider,
config, command output, generated output, expected and actual), a feature
request (the CI problem in their words, the provider), and an 'I tried
cigen on my repo' report (what worked, what didn't, provider, repo size).
config.yml links to the README and STATUS.md's known problems.

CONTRIBUTING.md covers setup, the dev loop (task ci, golden files, the
generated schemas and workflows, mockci), the false-skip rule and the
public-repository rule.
It runs lefthook's postinstall (allowed in pnpm-workspace.yaml), which
installs the hooks, and installs the formatters they run. scripts/setup.sh
installs lefthook with Homebrew but not the formatters. README and
CONTRIBUTING now say the same thing.
It installed lefthook through Homebrew but not the formatters the hooks
run, so a commit failed on a clean machine, and it suggested skipping
the hooks with --no-verify. pnpm install is the setup step, as README and
CONTRIBUTING say.
@ndbroadbent
ndbroadbent merged commit f6be83e into main Dec 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant