@xynogen/pix-skills 0.4.9 → 0.4.10
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 +1 -1
- package/skills/commit.md +16 -1
package/package.json
CHANGED
package/skills/commit.md
CHANGED
|
@@ -15,7 +15,22 @@ Still forbidden: secrets, binaries, unrelated changes, trailer metadata.
|
|
|
15
15
|
|
|
16
16
|
### Phase 1: Inspect
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
The blocks below are pre-populated with live repository state at skill-load
|
|
19
|
+
time via `\!`cmd`` directives — read them before composing the commit.
|
|
20
|
+
|
|
21
|
+
#### Branch + short status
|
|
22
|
+
|
|
23
|
+
!`git status -sb`
|
|
24
|
+
|
|
25
|
+
#### Staged changes (index vs HEAD)
|
|
26
|
+
|
|
27
|
+
!`git diff --cached`
|
|
28
|
+
|
|
29
|
+
#### Unstaged changes (working tree vs index)
|
|
30
|
+
|
|
31
|
+
!`git diff`
|
|
32
|
+
|
|
33
|
+
- **AUTO-RUN**: The status + diff above are already loaded — review them, then proceed straight to commit. Re-run `git status` / `git diff` only after staging or `.gitignore` edits. Do NOT pause for "may I commit?" confirmation — user already asked.
|
|
19
34
|
- **GITIGNORE**: Before staging, inspect untracked/generated files. Add obvious ignore candidates to `.gitignore` (build dirs, caches, logs, temp files, editor/OS junk, local env files). Re-run `git status`. Uncertain whether file should be ignored vs committed → ask user before changing `.gitignore` or staging it.
|
|
20
35
|
- **GROUP**: Cluster changes by path/module and by functionality. Each cluster → one self-contained commit.
|
|
21
36
|
- **GUARD**: Scan diff for secrets, binaries, debug logs, unrelated edits. Halt and report if found.
|