From b283dd395557d64c2fd98b4cf335ffe1a28c9aed Mon Sep 17 00:00:00 2001 From: tak Date: Wed, 4 Nov 2026 18:58:30 +0900 Subject: [PATCH] feat(github): add bug and feature issue forms Issue forms ask for version, OS and agent. Blank issues are off; security reports and CLI questions are redirected via config.yml. --- .github/ISSUE_TEMPLATE/bug_report.yml | 65 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 43 ++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..f0e9b45 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,65 @@ +name: Bug report +description: A hook, skill or rule in the Hwip Claude Code plugin does not work as expected. +title: "bug: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for reporting. Security problems: do not open an issue, follow [SECURITY.md](https://github.com/hwipit/plugin/blob/main/SECURITY.md). + Please remove private content (questions, answers, project names, API keys, email addresses) from anything you paste. + - type: input + id: version + attributes: + label: Hwip plugin version + description: The `version` in the plugin's `.claude-plugin/plugin.json`, or the output of `/plugin`. + placeholder: "0.1.2" + validations: + required: true + - type: dropdown + id: agent + attributes: + label: Agent + description: The plugin targets Claude Code. Pick another entry only if you run the hooks elsewhere. + options: + - Claude Code + - Other + validations: + required: true + - type: input + id: agent-version + attributes: + label: Agent version + description: Output of `claude --version`. + placeholder: "2.1.0" + validations: + required: true + - type: input + id: os + attributes: + label: Operating system + description: Include the shell and the bash version if a hook failed (`bash --version`). + placeholder: "macOS 15.1, bash 3.2 / Ubuntu 24.04, bash 5.2" + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: What happened? + description: What you did, what you expected and what happened instead. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + validations: + required: false + - type: textarea + id: logs + attributes: + label: Output or logs + description: Hook output or terminal text. It is rendered as code. + render: shell + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..418656c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Security vulnerability + url: https://github.com/hwipit/plugin/security/advisories/new + about: Report security problems privately, not in a public issue. + - name: CLI problems (hwip command, listener, other agents) + url: https://github.com/hwipit/cli/issues/new/choose + about: The hwip CLI and its agent integrations are tracked in hwipit/cli. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..ae76eb2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,43 @@ +name: Feature request +description: Suggest a change or an addition to the Hwip Claude Code plugin. +title: "feat: " +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: What problem do you want solved? + description: Describe the situation you are in, not the solution. + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: What you would like to happen. Alternatives you considered are welcome too. + validations: + required: false + - type: dropdown + id: agent + attributes: + label: Agent + description: The agent this is about. Rules for other agents live in hwipit/cli. + options: + - Claude Code + - Other + validations: + required: true + - type: input + id: version + attributes: + label: Hwip plugin version + placeholder: "0.1.2" + validations: + required: false + - type: input + id: os + attributes: + label: Operating system + placeholder: "macOS 15.1 / Ubuntu 24.04" + validations: + required: false