Skip to content

Commit 598783d

Browse files
committed
Add unified GitHub issue form
1 parent 39549e9 commit 598783d

File tree

1 file changed

+157
-0
lines changed

1 file changed

+157
-0
lines changed

.github/ISSUE_TEMPLATE/general.yml

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
name: General issue
2+
description: File a bug, feature request, docs request, question, or proposal.
3+
title: "[Type] "
4+
labels: []
5+
assignees: []
6+
body:
7+
- type: dropdown
8+
id: issue_type
9+
attributes:
10+
label: Issue type
11+
description: Select the type that best fits this issue.
12+
options:
13+
- Bug
14+
- Feature
15+
- Enhancement
16+
- Docs
17+
- Question
18+
- Proposal
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: summary
24+
attributes:
25+
label: Summary
26+
description: Briefly describe the issue or request (1-3 sentences).
27+
placeholder: A concise description of the problem or request.
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: motivation
33+
attributes:
34+
label: Motivation / problem
35+
description: Why does this matter? What are you trying to achieve?
36+
placeholder: Describe impact, context, or pain points.
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: proposed_solution
42+
attributes:
43+
label: Proposed solution
44+
description: |
45+
Optional. For bugs: expected behavior and any ideas for a fix.
46+
For features/proposals: desired behavior/API and expected outcome.
47+
placeholder: Describe your proposed solution.
48+
validations:
49+
required: false
50+
51+
- type: textarea
52+
id: alternatives
53+
attributes:
54+
label: Alternatives considered
55+
description: Optional - other approaches you considered.
56+
placeholder: List alternatives and trade-offs.
57+
validations:
58+
required: false
59+
60+
- type: markdown
61+
attributes:
62+
value: "### Environment (if applicable)"
63+
64+
- type: input
65+
id: sdk_version
66+
attributes:
67+
label: SDK version
68+
description: The `@anthropic-ai/sdk` version you're using.
69+
placeholder: e.g. 0.x.y
70+
validations:
71+
required: false
72+
73+
- type: dropdown
74+
id: runtime
75+
attributes:
76+
label: Runtime
77+
description: Select your runtime/environment (if relevant).
78+
options:
79+
- Node.js
80+
- Deno
81+
- Bun
82+
- Cloudflare Workers
83+
- Vercel Edge Runtime
84+
- Nitro
85+
- Web browser (only if `dangerouslyAllowBrowser: true`)
86+
- Other / Not sure
87+
validations:
88+
required: false
89+
90+
- type: input
91+
id: runtime_version
92+
attributes:
93+
label: Runtime version
94+
placeholder: e.g. Node 20.12.2, Deno 1.40.0, Bun 1.1.0
95+
validations:
96+
required: false
97+
98+
- type: input
99+
id: os
100+
attributes:
101+
label: OS
102+
placeholder: e.g. macOS 14, Ubuntu 22.04, Windows 11
103+
validations:
104+
required: false
105+
106+
- type: input
107+
id: framework
108+
attributes:
109+
label: Framework / test runner (if relevant)
110+
placeholder: e.g. Jest 29 (node), Next.js 14, Nitro 2.9
111+
validations:
112+
required: false
113+
114+
- type: textarea
115+
id: reproduction
116+
attributes:
117+
label: Reproduction (if applicable)
118+
description: Provide minimal reproducible code or clear steps.
119+
placeholder: |
120+
Steps:
121+
1.
122+
2.
123+
124+
Minimal code:
125+
```ts
126+
// ...
127+
```
128+
validations:
129+
required: false
130+
131+
- type: textarea
132+
id: error_output
133+
attributes:
134+
label: Error output / logs (if applicable)
135+
description: Paste exact error messages or logs.
136+
render: shell
137+
validations:
138+
required: false
139+
140+
- type: textarea
141+
id: additional_context
142+
attributes:
143+
label: Additional context
144+
description: Links, screenshots, related issues, or anything else helpful.
145+
placeholder: Add extra details here.
146+
validations:
147+
required: false
148+
149+
- type: checkboxes
150+
id: checklist
151+
attributes:
152+
label: Pre-submit checklist
153+
options:
154+
- label: I searched existing issues to avoid creating a duplicate.
155+
required: true
156+
- label: I provided enough detail for maintainers to understand and triage this issue.
157+
required: true

0 commit comments

Comments
 (0)