Skip to content

chore: add issue templates so reporters are not handed a blank box - #173

Merged
ChelseaKR merged 1 commit into
mainfrom
chore/issue-templates
Aug 13, 2026
Merged

chore: add issue templates so reporters are not handed a blank box#173
ChelseaKR merged 1 commit into
mainfrom
chore/issue-templates

Conversation

@ChelseaKR

Copy link
Copy Markdown
Owner

Why

This repo already has CONTRIBUTING.md, SECURITY.md and (mostly) a PR template. It had no issue template, so a first-time reporter opened an empty textarea and had to guess what would be useful. That costs a round trip on nearly every report, and for a validator it costs the most, because a useful report needs the input, the version, and expected-vs-actual.

What

GitHub issue forms:

  • Bug report — what happened, what was expected, the input, the version. The input field is rendered per repo (json for payloads, text for feeds) and asks the reporter to reduce the case first.
  • Idea or feature request — says plainly that a suggestion which turns out to be a bad fit is fine, and asks, optionally, whether the reporter wants to build it.
  • config.yml — routes "is this a bug or did I misread the spec?" to Discussions, and vulnerabilities to SECURITY.md rather than a public issue. Blank issues stay enabled, so nobody is forced through a form.

One implementation note

Field descriptions are folded block scalars (>-), not plain scalars. Prose containing a colon followed by a space is ambiguous YAML, and a form that fails to parse does not error visibly, it just silently stops rendering. The first draft had exactly that bug in the ctdl-validate payload hint. All 28 generated files now parse under yaml.safe_load.

Every repo here has CONTRIBUTING.md, SECURITY.md and a PR template, but no
issue template, so a first-time reporter got an empty textarea and had to guess
what would be useful. That costs a round trip on almost every report.

Adds GitHub issue forms: a bug report that asks for what happened, what was
expected, the input, and the version; an idea form that says out loud that a
bad-fit suggestion is fine; and a config that routes 'is this a bug or did I
misread the spec' to Discussions and vulnerabilities to SECURITY.md instead of
a public issue.

Descriptions are folded block scalars rather than plain scalars, because prose
containing a colon and a space is ambiguous YAML and the form silently fails
to render.

Signed-off-by: Chelsea Kelly-Reif (she/her) <ckellyreif@gmail.com>
@ChelseaKR
ChelseaKR merged commit d8ab8b0 into main Aug 13, 2026
12 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