automatasaurus 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -249,10 +249,11 @@ Load the `pr-writing` skill for detailed guidance.
|
|
|
249
249
|
|
|
250
250
|
**Creating the PR:**
|
|
251
251
|
|
|
252
|
+
Use Write tool + `--body-file` (heredocs fail in sandboxed environments):
|
|
253
|
+
|
|
252
254
|
```bash
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
--body "**[Developer]**
|
|
255
|
+
# Step 1: Use Write tool to create .github-pr-body.md with:
|
|
256
|
+
**[Developer]**
|
|
256
257
|
|
|
257
258
|
## Summary
|
|
258
259
|
{Description}
|
|
@@ -265,7 +266,15 @@ Closes #{issue_number}
|
|
|
265
266
|
- [ ] Tester
|
|
266
267
|
|
|
267
268
|
## Testing
|
|
268
|
-
- [x] Tests passing
|
|
269
|
+
- [x] Tests passing
|
|
270
|
+
|
|
271
|
+
# Step 2: Create the PR
|
|
272
|
+
gh pr create \
|
|
273
|
+
--title "#{issue} feat: {description}" \
|
|
274
|
+
--body-file .github-pr-body.md
|
|
275
|
+
|
|
276
|
+
# Step 3: Clean up
|
|
277
|
+
rm .github-pr-body.md
|
|
269
278
|
```
|
|
270
279
|
|
|
271
280
|
After creating, update issue:
|
|
@@ -282,13 +282,10 @@ Each issue should:
|
|
|
282
282
|
- Be sized for a single PR
|
|
283
283
|
- **No type prefix in title** (e.g., "Feature:", "Bug:") - use labels instead
|
|
284
284
|
|
|
285
|
+
**Important:** Don't use heredocs (`<<EOF`) with `gh` commands - they fail in sandboxed environments. Instead, use the Write tool to create a temp file, then `--body-file`:
|
|
286
|
+
|
|
285
287
|
```bash
|
|
286
|
-
|
|
287
|
-
--title "[Concise description]" \
|
|
288
|
-
--milestone "[Milestone Name]" \
|
|
289
|
-
--label "feature" \
|
|
290
|
-
--label "ready" \
|
|
291
|
-
--body "$(cat <<'EOF'
|
|
288
|
+
# Step 1: Use Write tool to create .github-issue-body.md with:
|
|
292
289
|
## Context
|
|
293
290
|
From discovery: [link to current discovery file, e.g., discovery.md or discovery-2.md]
|
|
294
291
|
|
|
@@ -309,8 +306,17 @@ So that [benefit].
|
|
|
309
306
|
|
|
310
307
|
## Out of Scope
|
|
311
308
|
[What's NOT included]
|
|
312
|
-
|
|
313
|
-
|
|
309
|
+
|
|
310
|
+
# Step 2: Create the issue
|
|
311
|
+
gh issue create \
|
|
312
|
+
--title "[Concise description]" \
|
|
313
|
+
--milestone "[Milestone Name]" \
|
|
314
|
+
--label "feature" \
|
|
315
|
+
--label "ready" \
|
|
316
|
+
--body-file .github-issue-body.md
|
|
317
|
+
|
|
318
|
+
# Step 3: Clean up
|
|
319
|
+
rm .github-issue-body.md
|
|
314
320
|
```
|
|
315
321
|
|
|
316
322
|
---
|
|
@@ -87,6 +87,20 @@ gh issue edit {number} --milestone "v1.0 - Basic Cart"
|
|
|
87
87
|
|
|
88
88
|
## Issue Commands
|
|
89
89
|
|
|
90
|
+
### Sandbox Compatibility (Important)
|
|
91
|
+
|
|
92
|
+
**Don't use heredocs (`<<EOF`) with `gh` commands** - they fail in sandboxed environments because the shell can't create temp files for the heredoc content.
|
|
93
|
+
|
|
94
|
+
Instead, use the Write tool + `--body-file` pattern:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# 1. Use Write tool to create .github-issue-body.md with the issue body
|
|
98
|
+
# 2. Create the issue with --body-file
|
|
99
|
+
gh issue create --title "..." --body-file .github-issue-body.md
|
|
100
|
+
# 3. Clean up
|
|
101
|
+
rm .github-issue-body.md
|
|
102
|
+
```
|
|
103
|
+
|
|
90
104
|
### Before Creating an Issue
|
|
91
105
|
|
|
92
106
|
**Always check for duplicates first:**
|
|
@@ -7,6 +7,20 @@ description: Best practices for writing clear, effective pull request descriptio
|
|
|
7
7
|
|
|
8
8
|
Guidelines for writing pull request descriptions that help reviewers understand and approve changes quickly.
|
|
9
9
|
|
|
10
|
+
## Creating PRs (Sandbox Compatibility)
|
|
11
|
+
|
|
12
|
+
**Don't use heredocs (`<<EOF`) with `gh pr create`** - they fail in sandboxed environments.
|
|
13
|
+
|
|
14
|
+
Use the Write tool + `--body-file` pattern:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# 1. Use Write tool to create .github-pr-body.md with your PR body
|
|
18
|
+
# 2. Create the PR
|
|
19
|
+
gh pr create --title "#42 feat: Add user auth" --body-file .github-pr-body.md
|
|
20
|
+
# 3. Clean up
|
|
21
|
+
rm .github-pr-body.md
|
|
22
|
+
```
|
|
23
|
+
|
|
10
24
|
## PR Title Format
|
|
11
25
|
|
|
12
26
|
```
|