You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fetch each issue title: `gh api "repos/synonymdev/bitkit-android/issues/NUMBER" --jq '.title'`
50
+
- Fetch each issue title: `gh api "repos/$REPO/issues/NUMBER" --jq '.title'` (using repo from Step 3)
44
51
- These will be used to start the PR description with linking keywords (see Step 6)
45
52
46
53
### 5. Identify Suggested Reviewers
@@ -80,7 +87,6 @@ This PR adds support for...
80
87
- Example:
81
88
```
82
89
This PR:
83
-
84
90
1. Adds a Claude Code /pr command for generating PRs
85
91
2. Fixes issue preventing Claude Code reviews to be added as PR comments
86
92
3. Updates reviews workflow to minimize older review comments
@@ -93,22 +99,41 @@ This PR adds support for...
93
99
- Match writing style of recent PRs
94
100
- Focus on functionality over technical details
95
101
- Avoid excessive bold formatting like `**this:** that`
96
-
- Minimize code references like `TheClassName` or `someFunctionName`
102
+
- Minimize code and file references like `TheClassName` or `someFunctionName`, `thisFileName.ext`
97
103
- Exception: for refactoring PRs (1:10 ratio of functionality to code changes), more technical detail is ok
98
104
99
105
**QA Notes / Testing Scenarios:**
100
106
- Structure with numbered headings and steps
101
107
- Make steps easily referenceable
102
108
- Be specific about what to test and expected outcomes
103
109
104
-
**Preview Section:**
110
+
**For library repos (has `bindings/` directory or `Cargo.toml`):**
111
+
Structure QA Notes around testing and integration:
112
+
113
+
Example:
114
+
```
115
+
### QA Notes
116
+
117
+
#### Testing
118
+
-[ ]`cargo test` passes
119
+
-[ ]`cargo clippy` clean
120
+
-[ ] Android bindings: `./build_android.sh`
121
+
-[ ] iOS bindings: `./build_ios.sh`
122
+
123
+
#### Integration
124
+
- Tested in: [bitkit-android#XXX](link)
125
+
- Or N/A if internal refactor with no API changes
126
+
```
127
+
128
+
**Preview Section (conditional):**
129
+
Only include if the PR template (`.github/pull_request_template.md`) contains a `### Preview` heading:
105
130
- Create placeholders for media: `IMAGE_1`, `VIDEO_2`, etc.
106
131
- Add code comment under each placeholder describing what it should show
107
132
- Example: `<!-- VIDEO_1: Record the send flow by scanning a LN invoice and setting amount to 5000 sats -->`
108
133
109
134
### 7. Save PR Description
110
135
Before creating the PR:
111
-
- Get next PR number: `gh api "repos/synonymdev/bitkit-android/issues?per_page=1&state=all&sort=created&direction=desc" --jq '.[0].number'` then add 1
136
+
- Get next PR number: `gh api "repos/$REPO/issues?per_page=1&state=all&sort=created&direction=desc" --jq '.[0].number'` then add 1 (using repo from Step 3)
112
137
- Create `.ai/` directory if it doesn't exist
113
138
- Save to `.ai/pr_NN.md` where `NN` is the predicted PR number
114
139
@@ -130,10 +155,6 @@ Saved: .ai/pr_NN.md
130
155
Suggested reviewers:
131
156
- @username1 (X files modified recently)
132
157
- @username2 (CODEOWNER)
133
-
134
-
## TODOs
135
-
- [ ] IMAGE_1: [description]
136
-
- [ ] VIDEO_2: [description]
137
158
```
138
159
139
160
**If dry run:**
@@ -146,10 +167,13 @@ To create PR: /pr [--draft]
146
167
Suggested reviewers:
147
168
- @username1 (X files modified recently)
148
169
- @username2 (CODEOWNER)
170
+
```
149
171
172
+
**Media TODOs (only if Preview section was included):**
173
+
If the PR description includes a Preview section with media placeholders, append:
174
+
```
150
175
## TODOs
151
176
- [ ] IMAGE_1: [description]
152
177
- [ ] VIDEO_2: [description]
153
178
```
154
-
155
179
List all media placeholders as TODOs with their descriptions.
Copy file name to clipboardExpand all lines: docs/transfer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -455,5 +455,5 @@ Transfers are serialized to JSON and included in backup. Restore deserializes an
455
455
456
456
[^1]:Currently we can't display the channel closure transactions as 'transfer' yet in the activity list, due to an api missing in ldk-node. See comment in [ldk-node/wallet/mod.rs#L728-L738][ldk-node-comment]
0 commit comments