Skip to content

Commit 7bbc840

Browse files
committed
feat: Add GitHub workflows for PR management, bug reporting, feature requests, and AI assessments
1 parent 736b4a1 commit 7bbc840

14 files changed

Lines changed: 613 additions & 0 deletions
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug", "ai-review"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
This issue will be automatically analyzed by AI to help with triage.
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Bug Description
16+
description: A clear and concise description of what the bug is
17+
placeholder: Tell us what you see!
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: reproduction
23+
attributes:
24+
label: Steps to Reproduce
25+
description: Steps to reproduce the behavior
26+
placeholder: |
27+
1. Go to '...'
28+
2. Click on '....'
29+
3. Scroll down to '....'
30+
4. See error
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: expected
36+
attributes:
37+
label: Expected Behavior
38+
description: What you expected to happen
39+
placeholder: Tell us what should happen
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: actual
45+
attributes:
46+
label: Actual Behavior
47+
description: What actually happened
48+
placeholder: Tell us what actually happened
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
id: environment
54+
attributes:
55+
label: Environment
56+
description: |
57+
Please provide information about your environment:
58+
placeholder: |
59+
- OS: [e.g. Ubuntu 22.04, macOS 14.0, Windows 11]
60+
- Python Version: [e.g. 3.11.5]
61+
- Package Version: [e.g. 1.2.3]
62+
render: markdown
63+
validations:
64+
required: true
65+
66+
- type: textarea
67+
id: logs
68+
attributes:
69+
label: Logs/Error Messages
70+
description: If applicable, add logs or error messages
71+
render: shell
72+
73+
- type: textarea
74+
id: additional
75+
attributes:
76+
label: Additional Context
77+
description: Add any other context about the problem here
78+
placeholder: Screenshots, links, references, etc.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Documentation
4+
url: https://github.com/denny/adk-agui-middleware/blob/main/README.md
5+
about: Check the documentation for guides and API reference
6+
- name: Discussions
7+
url: https://github.com/denny/adk-agui-middleware/discussions
8+
about: Ask questions and discuss with the community
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement", "ai-review"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature!
10+
This request will be automatically analyzed by AI to help with prioritization.
11+
12+
- type: textarea
13+
id: problem
14+
attributes:
15+
label: Problem Statement
16+
description: Is your feature request related to a problem? Please describe.
17+
placeholder: I'm always frustrated when...
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: solution
23+
attributes:
24+
label: Proposed Solution
25+
description: Describe the solution you'd like
26+
placeholder: I would like to see...
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: alternatives
32+
attributes:
33+
label: Alternatives Considered
34+
description: Describe any alternative solutions or features you've considered
35+
placeholder: I've also thought about...
36+
37+
- type: dropdown
38+
id: priority
39+
attributes:
40+
label: Priority (Your Opinion)
41+
description: How important is this feature to you?
42+
options:
43+
- Critical - Blocking my work
44+
- High - Very important
45+
- Medium - Would be nice to have
46+
- Low - Minor improvement
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: use-case
52+
attributes:
53+
label: Use Case
54+
description: Describe your use case and how this feature would help
55+
placeholder: In my project, I need to...
56+
validations:
57+
required: true
58+
59+
- type: textarea
60+
id: example
61+
attributes:
62+
label: Example/Mockup
63+
description: If applicable, add code examples or mockups
64+
placeholder: |
65+
```python
66+
# Example usage
67+
```
68+
69+
- type: textarea
70+
id: additional
71+
attributes:
72+
label: Additional Context
73+
description: Add any other context about the feature request here
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Question
2+
description: Ask a question about usage, configuration, or best practices
3+
title: "[Question]: "
4+
labels: ["question", "ai-review"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Ask your question here!
10+
AI will help analyze and provide guidance on your question.
11+
12+
- type: textarea
13+
id: question
14+
attributes:
15+
label: Your Question
16+
description: What would you like to know?
17+
placeholder: How do I...?
18+
validations:
19+
required: true
20+
21+
- type: dropdown
22+
id: category
23+
attributes:
24+
label: Question Category
25+
description: What is your question about?
26+
options:
27+
- Installation/Setup
28+
- Configuration
29+
- Usage/How-to
30+
- Best Practices
31+
- Troubleshooting
32+
- API/Integration
33+
- Performance
34+
- Other
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: context
40+
attributes:
41+
label: Context
42+
description: Provide context about what you're trying to achieve
43+
placeholder: I'm trying to...
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
id: attempted
49+
attributes:
50+
label: What Have You Tried?
51+
description: What have you already attempted?
52+
placeholder: I tried...
53+
54+
- type: textarea
55+
id: code
56+
attributes:
57+
label: Relevant Code
58+
description: If applicable, provide code snippets
59+
render: python
60+
61+
- type: textarea
62+
id: additional
63+
attributes:
64+
label: Additional Context
65+
description: Add any other information that might be helpful
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: Security Vulnerability
2+
description: Report a security vulnerability (please use private disclosure if critical)
3+
title: "[Security]: "
4+
labels: ["security", "ai-review"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
⚠️ **IMPORTANT: For critical vulnerabilities, please use GitHub's private vulnerability reporting**
10+
11+
This issue will be automatically analyzed by AI for security assessment.
12+
13+
- type: dropdown
14+
id: severity
15+
attributes:
16+
label: Severity (Your Assessment)
17+
description: How severe do you think this vulnerability is?
18+
options:
19+
- Critical - Immediate exploitation possible
20+
- High - Serious security risk
21+
- Medium - Moderate security concern
22+
- Low - Minor security issue
23+
- Info - Security best practice suggestion
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: description
29+
attributes:
30+
label: Vulnerability Description
31+
description: Describe the security vulnerability
32+
placeholder: There is a potential security issue with...
33+
validations:
34+
required: true
35+
36+
- type: dropdown
37+
id: type
38+
attributes:
39+
label: Vulnerability Type
40+
description: What type of vulnerability is this?
41+
options:
42+
- SQL Injection
43+
- Cross-Site Scripting (XSS)
44+
- Cross-Site Request Forgery (CSRF)
45+
- Authentication Bypass
46+
- Authorization Issue
47+
- Sensitive Data Exposure
48+
- Security Misconfiguration
49+
- Insecure Dependencies
50+
- Denial of Service (DoS)
51+
- Code Injection
52+
- Other
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
id: impact
58+
attributes:
59+
label: Impact
60+
description: What is the potential impact of this vulnerability?
61+
placeholder: An attacker could...
62+
validations:
63+
required: true
64+
65+
- type: textarea
66+
id: reproduction
67+
attributes:
68+
label: Steps to Reproduce
69+
description: How can this vulnerability be reproduced?
70+
placeholder: |
71+
1. Configure...
72+
2. Send request...
73+
3. Observe...
74+
validations:
75+
required: true
76+
77+
- type: textarea
78+
id: poc
79+
attributes:
80+
label: Proof of Concept
81+
description: Provide a proof of concept (redact sensitive info)
82+
render: python
83+
84+
- type: textarea
85+
id: affected
86+
attributes:
87+
label: Affected Versions
88+
description: Which versions are affected?
89+
placeholder: All versions, or specific versions...
90+
91+
- type: textarea
92+
id: mitigation
93+
attributes:
94+
label: Suggested Mitigation
95+
description: If you have suggestions on how to fix this, please share
96+
placeholder: This could be fixed by...
97+
98+
- type: textarea
99+
id: references
100+
attributes:
101+
label: References
102+
description: Any relevant CVEs, CWEs, or references
103+
placeholder: |
104+
- CWE-XXX
105+
- CVE-XXXX-XXXXX
106+
- https://...
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
model: gpt-5-nano
2+
temperature: 0.3
3+
max_tokens: 1500
4+
5+
system_prompt: |
6+
You are an expert software engineer analyzing bug reports.
7+
Assess the issue and provide structured, actionable feedback.
8+
9+
user_prompt: |
10+
Analyze this bug report comprehensively:
11+
12+
Issue Title: {{ issue_title }}
13+
Issue Body: {{ issue_body }}
14+
15+
Provide detailed assessment:
16+
SEVERITY: [critical/high/medium/low]
17+
CATEGORY: [logic/performance/security/ui/api/database/infrastructure/other]
18+
REPRODUCIBILITY: [always/sometimes/rare/unknown]
19+
USER_IMPACT: [describe impact on users]
20+
AFFECTED_COMPONENTS: [list likely affected code areas]
21+
SUGGESTED_PRIORITY: [p0/p1/p2/p3]
22+
INVESTIGATION_STEPS: [brief troubleshooting steps]
23+
ANALYSIS: [detailed analysis with actionable insights]
24+
25+
label_regex: "SEVERITY:\\s*(\\w+)"
26+
label_prefix: "ai:severity-"
27+
28+
comment_regex: "ANALYSIS:\\s*(.+)"
29+
comment_enabled: true

0 commit comments

Comments
 (0)