From eafe594a66955f1c6d00c5e4512beca7a83cc45e Mon Sep 17 00:00:00 2001 From: JessyTsui <51992423+JessyTsui@users.noreply.github.com> Date: Mon, 4 Aug 2025 09:04:12 +0800 Subject: [PATCH] Expand issue templates from 3 to 7 types (#26) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Security template for vulnerability reporting - Add Performance template for performance issues - Add Enhancement template for existing feature improvements - Add Discussion template for general discussions - Add Question template for usage questions - Update project-management workflow to recognize all 7 types - Update all templates to show complete list of 7 issue types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- .github/ISSUE_TEMPLATE/bug_report.md | 6 +- .github/ISSUE_TEMPLATE/discussion.md | 67 +++++++++++++++++++ .github/ISSUE_TEMPLATE/enhancement.md | 61 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 6 +- .github/ISSUE_TEMPLATE/performance.md | 78 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 60 +++++++++++++++++ .github/ISSUE_TEMPLATE/security.md | 69 ++++++++++++++++++++ .github/workflows/project-management.yml | 4 ++ 8 files changed, 349 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/discussion.md create mode 100644 .github/ISSUE_TEMPLATE/enhancement.md create mode 100644 .github/ISSUE_TEMPLATE/performance.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/ISSUE_TEMPLATE/security.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0160363..74b9b58 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -27,7 +27,11 @@ Format: [BUG] Short clear description of the problem 📋 AVAILABLE ISSUE TYPES: 1. 🐛 Bug Report (this template) - Report broken functionality 2. ✨ Feature Request - Request new features -3. Create Discussion instead for questions +3. ❓ Question - Ask usage questions +4. 🔒 Security Report - Report security vulnerabilities +5. ⚡ Performance Issue - Report performance problems +6. 🔧 Enhancement - Suggest improvements to existing features +7. 💬 Discussion - General discussions and brainstorming --> ## Bug Type (select one) diff --git a/.github/ISSUE_TEMPLATE/discussion.md b/.github/ISSUE_TEMPLATE/discussion.md new file mode 100644 index 0000000..13304f0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/discussion.md @@ -0,0 +1,67 @@ +--- +name: 💬 Discussion +about: General discussions and brainstorming +title: '[DISCUSSION] ' +labels: 'discussion' +--- + + + +## Discussion Topic + + +## Context/Background + + +## Key Questions + +1. +2. +3. + +## Potential Options/Ideas + +- Option A: +- Option B: +- Option C: + +## Impact/Considerations + +- **Users**: +- **Development**: +- **Maintenance**: +- **Performance**: + +## Looking for +- [ ] Community feedback and opinions +- [ ] Technical input from maintainers +- [ ] Ideas and suggestions +- [ ] Help with decision making +- [ ] Brainstorming session \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md new file mode 100644 index 0000000..b072d3e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -0,0 +1,61 @@ +--- +name: 🔧 Enhancement +about: Suggest improvements to existing features +title: '[ENHANCEMENT] ' +labels: 'enhancement' +--- + + + +## What feature needs enhancement? + + +## Current behavior + + +## Suggested improvement + + +## Why is this enhancement needed? + + +## Priority +- [ ] Nice to have +- [ ] Would improve user experience +- [ ] Important for workflow +- [ ] Critical improvement needed + +## Implementation suggestions (optional) + + +## Environment +- **Node version**: +- **OS**: +- **Platform**: Email / Telegram / LINE / All \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index b9ef2f7..41dd498 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -28,7 +28,11 @@ Format: [FEATURE] Short clear description of the feature 📋 AVAILABLE ISSUE TYPES: 1. 🐛 Bug Report - Report broken functionality 2. ✨ Feature Request (this template) - Request new features -3. Create Discussion instead for questions +3. ❓ Question - Ask usage questions +4. 🔒 Security Report - Report security vulnerabilities +5. ⚡ Performance Issue - Report performance problems +6. 🔧 Enhancement - Suggest improvements to existing features +7. 💬 Discussion - General discussions and brainstorming --> ## Feature Type (select one) diff --git a/.github/ISSUE_TEMPLATE/performance.md b/.github/ISSUE_TEMPLATE/performance.md new file mode 100644 index 0000000..00ca694 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/performance.md @@ -0,0 +1,78 @@ +--- +name: ⚡ Performance Issue +about: Report performance problems +title: '[PERFORMANCE] ' +labels: 'performance' +--- + + + +## Performance Issue Type (select one) +- [ ] Slow response time +- [ ] High memory usage +- [ ] High CPU usage +- [ ] Long startup time +- [ ] Database performance +- [ ] Network latency +- [ ] File I/O performance + +## Current behavior + + +## Expected performance + + +## When does this occur? +- [ ] Always +- [ ] During high load +- [ ] With specific commands +- [ ] With large files/data +- [ ] At startup +- [ ] Other: + +## Performance metrics (if available) +- **Response time**: +- **Memory usage**: +- **CPU usage**: +- **Load time**: + +## Steps to reproduce +1. +2. +3. + +## Environment +- **Node version**: +- **OS**: +- **Platform**: Email / Telegram / LINE / All +- **System specs**: + +## Additional context + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..09208bf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,60 @@ +--- +name: ❓ Question +about: Ask usage questions +title: '[QUESTION] ' +labels: 'question' +--- + + + +## Question Category (select one) +- [ ] Installation and setup +- [ ] Configuration +- [ ] Platform integration (Email/Telegram/LINE) +- [ ] Command usage +- [ ] Troubleshooting +- [ ] Best practices + +## Your Question + + +## What have you tried? + + +## Context + + +## Environment (if relevant) +- **Node version**: +- **OS**: +- **Platform**: Email / Telegram / LINE / All + +## Additional Information + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/security.md b/.github/ISSUE_TEMPLATE/security.md new file mode 100644 index 0000000..f9c557e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/security.md @@ -0,0 +1,69 @@ +--- +name: 🔒 Security Report +about: Report a security vulnerability +title: '[SECURITY] ' +labels: 'security' +--- + + + +## Severity Level (select one) +- [ ] 🔴 Critical - Immediate action required +- [ ] 🟠 High - Should be fixed soon +- [ ] 🟡 Medium - Should be addressed +- [ ] 🟢 Low - Minor security concern + +## Vulnerability Type (select one) +- [ ] Authentication/Authorization +- [ ] Code injection (Command/SQL/XSS) +- [ ] Data exposure/leak +- [ ] Hardcoded secrets/credentials +- [ ] Input validation +- [ ] Path traversal +- [ ] Other + +## Description + + +## Steps to reproduce +1. +2. +3. + +## Impact + + +## Suggested fix + + +## Environment +- **Node version**: +- **OS**: +- **Platform**: Email / Telegram / LINE / All \ No newline at end of file diff --git a/.github/workflows/project-management.yml b/.github/workflows/project-management.yml index 7032c81..0ccaf84 100644 --- a/.github/workflows/project-management.yml +++ b/.github/workflows/project-management.yml @@ -37,6 +37,10 @@ jobs: if (title.includes('[bug]')) labels.push('type:bug'); if (title.includes('[feature]')) labels.push('type:enhancement'); if (title.includes('[question]')) labels.push('type:question'); + if (title.includes('[security]')) labels.push('type:security'); + if (title.includes('[performance]')) labels.push('type:performance'); + if (title.includes('[enhancement]')) labels.push('type:enhancement'); + if (title.includes('[discussion]')) labels.push('type:discussion'); if (labels.length > 0) { await github.rest.issues.addLabels({