@simpleapps-com/augur-skills 0.0.21 → 0.0.22
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
|
@@ -38,6 +38,26 @@ MUST NOT commit, push, create PRs, or merge unless the user explicitly asks. Aft
|
|
|
38
38
|
|
|
39
39
|
The pattern is always: **do the work → report results → wait**.
|
|
40
40
|
|
|
41
|
+
## Git Commands (no `cd`)
|
|
42
|
+
|
|
43
|
+
`cd` is denied. MUST use `git -C repo` for all git operations. For multi-line commit messages, write the message to a tmp file and use `git commit -F`:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Stage files
|
|
47
|
+
git -C repo add path/to/file.md
|
|
48
|
+
|
|
49
|
+
# Write commit message to tmp file (use Write tool, not echo/cat)
|
|
50
|
+
# → /tmp/commit-msg.txt
|
|
51
|
+
|
|
52
|
+
# Commit using -F flag
|
|
53
|
+
git -C repo commit -F /tmp/commit-msg.txt
|
|
54
|
+
|
|
55
|
+
# Clean up
|
|
56
|
+
rm /tmp/commit-msg.txt
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
This avoids shell quoting issues with HEREDOCs and `cd` permission blocks. The Write tool creates the tmp file safely.
|
|
60
|
+
|
|
41
61
|
## Issues
|
|
42
62
|
|
|
43
63
|
MUST use `--repo simpleapps-com/<repo>` on every `gh` call. MUST ask the user which repo — never assume.
|
|
@@ -69,6 +69,8 @@ The wiki is a separate git repo at `wiki/`. No branch protection, no PRs.
|
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
71
|
git -C wiki add -A
|
|
72
|
-
|
|
72
|
+
# Write commit message using Write tool → tmp/commit-msg.txt
|
|
73
|
+
git -C wiki commit -F tmp/commit-msg.txt
|
|
74
|
+
rm tmp/commit-msg.txt
|
|
73
75
|
git -C wiki push
|
|
74
76
|
```
|