From a675ebbdeaa9fcddbc5322ab9845a20e592c92e5 Mon Sep 17 00:00:00 2001 From: Luan Utimura Date: Thu, 12 Nov 2026 14:41:47 +0000 Subject: [PATCH 1/2] chore: add issue and pull request templates Issue forms route palette changes to the reference repo, ask for the details each app needs to reproduce a color problem, and ask whether a person or an agent wrote the issue. The PR template lists this repo's checks and reminds that the title becomes the squashed commit. --- .github/ISSUE_TEMPLATE/1-bug.yml | 63 ++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/2-plugin.yml | 49 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/3-feature.yml | 43 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/pull_request_template.md | 38 +++++++++++++++++ 5 files changed, 198 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/2-plugin.yml create mode 100644 .github/ISSUE_TEMPLATE/3-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml new file mode 100644 index 0000000..8140c11 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -0,0 +1,63 @@ +# Filing through the API or `gh issue create`? Forms only apply on the web: +# write the body with each field's label below as a `### ` heading, in order. +name: Wrong or broken colors +description: A highlight group in the wrong color, unreadable, uncolored, or an error from the colorscheme. +labels: [bug] +body: + - type: markdown + attributes: + value: | + mistpine.nvim follows the [mistpine spec](https://github.com/mistpine/mistpine/blob/main/docs/spec.md). + A color that differs from the spec is a bug here; a spec color you'd like + changed belongs in [mistpine](https://github.com/mistpine/mistpine/issues/new/choose). + - type: textarea + id: what + attributes: + label: What's wrong + description: What you see, and what you expected (a spec token if you know it). + validations: + required: true + - type: input + id: groups + attributes: + label: Highlight groups + description: Put the cursor on it and run `:Inspect`. + placeholder: "@string.documentation.python, TelescopeSelection, BlinkCmpMenu" + - type: textarea + id: screenshot + attributes: + label: Screenshot + description: Drag an image here. + - type: textarea + id: repro + attributes: + label: Minimal config + description: A config that shows the problem with `nvim --clean -u repro.lua`, including your mistpine `setup()` options. + render: lua + - type: textarea + id: versions + attributes: + label: Versions + description: "`nvim --version` (first three lines), the mistpine.nvim commit (`:Lazy` shows it), the terminal or GUI, and the OS." + render: text + validations: + required: true + - type: checkboxes + id: checks + attributes: + label: Checks + options: + - label: I'm on the latest mistpine.nvim commit. + required: true + - label: It still happens without my `on_colors` and `on_highlights` overrides. + - type: dropdown + id: author + attributes: + label: Who wrote this issue? + description: Issues from agents are welcome; say so, so they can be read with that in mind. + options: + - A person + - An AI agent, reviewed by a person + - An AI agent, without human review + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/2-plugin.yml b/.github/ISSUE_TEMPLATE/2-plugin.yml new file mode 100644 index 0000000..9361576 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-plugin.yml @@ -0,0 +1,49 @@ +# Filing through the API or `gh issue create`? Forms only apply on the web: +# write the body with each field's label below as a `### ` heading, in order. +name: Support a plugin +description: Add highlight groups for a plugin mistpine.nvim doesn't style yet. +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Supported today: blink.cmp, bufferline.nvim, flash.nvim, gitsigns.nvim, + grug-far.nvim, incline.nvim, lazy.nvim, mason.nvim, mini.icons, noice.nvim, + render-markdown.nvim, snacks.nvim, telescope.nvim, trouble.nvim, + which-key.nvim and zen-mode.nvim. For a supported plugin with a wrong or + missing group, use **Wrong or broken colors**. + - type: input + id: plugin + attributes: + label: Plugin + description: Its repository URL. + placeholder: "https://github.com/folke/todo-comments.nvim" + validations: + required: true + - type: textarea + id: groups + attributes: + label: Highlight groups + description: The groups the plugin defines (its docs, or `:filter /^Prefix/ highlight`), and which ones look off today. + render: text + - type: textarea + id: screenshot + attributes: + label: Screenshot + description: How it looks with mistpine today. Drag an image here. + - type: textarea + id: notes + attributes: + label: Notes + description: Which spec roles fit (diagnostics, diff, search, menus) and anything unusual, such as hard-coded colors. + - type: dropdown + id: author + attributes: + label: Who wrote this issue? + description: Issues from agents are welcome; say so, so they can be read with that in mind. + options: + - A person + - An AI agent, reviewed by a person + - An AI agent, without human review + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/3-feature.yml b/.github/ISSUE_TEMPLATE/3-feature.yml new file mode 100644 index 0000000..a4cf2a0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3-feature.yml @@ -0,0 +1,43 @@ +# Filing through the API or `gh issue create`? Forms only apply on the web: +# write the body with each field's label below as a `### ` heading, in order. +name: Feature or option +description: A new option, API or Neovim feature to support. +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + mistpine is dark only, and its colors come from the spec, so new + variants or palettes are out of scope here. `on_colors` and + `on_highlights` cover most one-off changes. + - type: textarea + id: what + attributes: + label: What you'd like + description: The option or behavior, and how you'd use it. + validations: + required: true + - type: textarea + id: why + attributes: + label: Why + description: What you can't do today, and what you tried (including `on_colors` and `on_highlights`). + validations: + required: true + - type: textarea + id: example + attributes: + label: Example + description: How the config would look. + render: lua + - type: dropdown + id: author + attributes: + label: Who wrote this issue? + description: Issues from agents are welcome; say so, so they can be read with that in mind. + options: + - A person + - An AI agent, reviewed by a person + - An AI agent, without human review + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..38fa07a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Change a palette color + url: https://github.com/mistpine/mistpine/issues/new?template=1-spec-change.yml + about: mistpine.nvim takes its colors from the mistpine spec. Propose palette changes there. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..79fd3cf --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,38 @@ + + +## What and why + + + +## Checks + +- [ ] `make test` +- [ ] `make test-plugins` (if a plugin integration changed) +- [ ] `make lint` (stylua, Biome, tsc) +- [ ] `make sync` leaves `lua/mistpine/palette.lua` unchanged + +## Colors + +- [ ] Every color is a palette key or a spec blend; no new hex values +- [ ] Bold and italic follow the spec (bold functions, italic strings and comments) +- [ ] `palette.lua` is not edited by hand (color changes go to mistpine first) + +## Screenshots + + + +## Authorship + + + +- [ ] Written by a person +- [ ] Written with an AI agent; a person reviewed every change +- [ ] Written by an AI agent without line-by-line human review From 4a83be8e2d5a47180ad38fe6b482e9706e22b33d Mon Sep 17 00:00:00 2001 From: Luan Utimura Date: Thu, 12 Nov 2026 14:44:44 +0000 Subject: [PATCH 2/2] chore: drop the authorship questions --- .github/ISSUE_TEMPLATE/1-bug.yml | 11 ----------- .github/ISSUE_TEMPLATE/2-plugin.yml | 11 ----------- .github/ISSUE_TEMPLATE/3-feature.yml | 11 ----------- .github/pull_request_template.md | 12 ++---------- 4 files changed, 2 insertions(+), 43 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml index 8140c11..42bf6e3 100644 --- a/.github/ISSUE_TEMPLATE/1-bug.yml +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -50,14 +50,3 @@ body: - label: I'm on the latest mistpine.nvim commit. required: true - label: It still happens without my `on_colors` and `on_highlights` overrides. - - type: dropdown - id: author - attributes: - label: Who wrote this issue? - description: Issues from agents are welcome; say so, so they can be read with that in mind. - options: - - A person - - An AI agent, reviewed by a person - - An AI agent, without human review - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/2-plugin.yml b/.github/ISSUE_TEMPLATE/2-plugin.yml index 9361576..4d65da2 100644 --- a/.github/ISSUE_TEMPLATE/2-plugin.yml +++ b/.github/ISSUE_TEMPLATE/2-plugin.yml @@ -36,14 +36,3 @@ body: attributes: label: Notes description: Which spec roles fit (diagnostics, diff, search, menus) and anything unusual, such as hard-coded colors. - - type: dropdown - id: author - attributes: - label: Who wrote this issue? - description: Issues from agents are welcome; say so, so they can be read with that in mind. - options: - - A person - - An AI agent, reviewed by a person - - An AI agent, without human review - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/3-feature.yml b/.github/ISSUE_TEMPLATE/3-feature.yml index a4cf2a0..9987f08 100644 --- a/.github/ISSUE_TEMPLATE/3-feature.yml +++ b/.github/ISSUE_TEMPLATE/3-feature.yml @@ -30,14 +30,3 @@ body: label: Example description: How the config would look. render: lua - - type: dropdown - id: author - attributes: - label: Who wrote this issue? - description: Issues from agents are welcome; say so, so they can be read with that in mind. - options: - - A person - - An AI agent, reviewed by a person - - An AI agent, without human review - validations: - required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 79fd3cf..cb0b4e4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,8 +3,8 @@ Title: a Conventional Commit header, e.g. `fix: link @lsp.type.enumMember to Con PRs are squash-merged and the title becomes the commit on main: lowercase, imperative, 72 characters at most (aim for 50). -Agents: keep every heading. Tick a box only for a command you ran in this -branch; otherwise leave it unticked and say why below it. +Keep every heading. Tick a box only for a command you ran on this branch; +otherwise leave it unticked and say why below it. --> ## What and why @@ -28,11 +28,3 @@ branch; otherwise leave it unticked and say why below it. - -## Authorship - - - -- [ ] Written by a person -- [ ] Written with an AI agent; a person reviewed every change -- [ ] Written by an AI agent without line-by-line human review