@xynogen/pix-skills 0.12.0 → 0.12.1
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 +9 -6
package/package.json
CHANGED
package/skills/commit.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: commit
|
|
3
|
-
description: Split, write, and maintain Conventional
|
|
3
|
+
description: Split, write, and maintain Conventional Commits 1.0.0 commits. Use only on explicit request — "commit this", "make a commit", "split these changes", "amend/squash the history".
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
# Commit
|
|
7
7
|
|
|
8
|
-
Invocation is permission: commit without asking again. Never commit secrets, binaries, debug logs, unrelated edits, or
|
|
8
|
+
Invocation is permission: commit without asking again. Never commit secrets, binaries, debug logs, unrelated edits, or attribution trailers.
|
|
9
9
|
|
|
10
10
|
## State (live at load time)
|
|
11
11
|
|
|
@@ -23,10 +23,13 @@ Invocation is permission: commit without asking again. Never commit secrets, bin
|
|
|
23
23
|
- Secret, binary, debug print, or unrelated edit in a tracked or staged diff → stop, commit nothing, and report it with `file:line`.
|
|
24
24
|
- Before staging, bump every changed publishable package whose version is already on npm (`feat` → minor, `fix`/`perf` → patch; minor/major need user approval). An unpublished bump needs no second bump. Update dependent package ranges, aggregator pins, and the lockfile in the same commit; run the repo's required checks after the bumps.
|
|
25
25
|
2. **Group** — One commit per logical change, clustered by module and function. Never mix `feat` with an unrelated `fix`. Stage with `git add <paths>` (`-p` for partial hunks).
|
|
26
|
-
3. **Compose** — `<type>(<scope>): <
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
- scope: lowercase
|
|
26
|
+
3. **Compose** — Conventional Commits 1.0.0: `<type>[(<scope>)][!]: <description>`, then an optional body and footers.
|
|
27
|
+
- Structure: description, one blank line, body paragraphs, one blank line, footers. Leave out every part that carries no information.
|
|
28
|
+
- type: `feat` new capability (MINOR) · `fix` bug fix (PATCH) · `refactor` no behavior change · `perf` speed/memory · `docs` documentation · `test` tests only · `build` build system/deps · `ci` CI/CD config · `style` formatting only · `chore` tooling/misc · `revert` undo a commit. Other nouns are allowed; they carry no SemVer meaning.
|
|
29
|
+
- scope: optional noun for the codebase section, lowercase, in parentheses. description: imperative, no trailing period.
|
|
30
|
+
- Breaking change (MAJOR): `!` immediately before the colon, e.g. `feat(api)!: drop v1 routes`, and/or a `BREAKING CHANGE: <what breaks and how to migrate>` footer. With `!`, the footer may be omitted and the description states the break. The token is uppercase `BREAKING CHANGE`; `BREAKING-CHANGE` is its synonym.
|
|
31
|
+
- Footer: `Token: value` or `Token #123`, token using `-` for spaces, one blank line after the body. Add one only for real information (breaking change, issue reference). No attribution trailers: no `Co-Authored-By`, no `Signed-off-by`.
|
|
32
|
+
- Keep one case style per commit; only `BREAKING CHANGE` must be uppercase.
|
|
30
33
|
- Example: `fix(parser): handle empty frame without panic`
|
|
31
34
|
4. **Commit with hooks on** — Let hooks run lint, format, typecheck, and tests. Do not repeat them by hand. If hooks miss required checks, follow repo instructions.
|
|
32
35
|
- Hook fails → stop, report, fix in-scope issues, re-stage, retry. Never use `--no-verify` or disable hooks.
|