@xynogen/pix-skills 0.9.2 → 0.10.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 +3 -0
- package/skills/lint.md +1 -1
- package/skills/lsp.md +1 -1
package/package.json
CHANGED
package/skills/commit.md
CHANGED
|
@@ -54,6 +54,9 @@ refactor(api): extract response builder from handler
|
|
|
54
54
|
|
|
55
55
|
- Stage per cluster: `git add <paths>` (or `-p` for partial hunks).
|
|
56
56
|
- One commit per logical change. Never mix `feat` + unrelated `fix` in one commit.
|
|
57
|
+
- For new hook setup, use Git's standard `.git/hooks` directory, resolved with `git rev-parse --git-path hooks` for worktree compatibility. Do not create a tracked hook folder such as `.githooks` or configure `core.hooksPath`. Preserve existing hooks; never overwrite them. If the repository already uses a custom hook setup, keep it enabled and follow repository instructions; migration requires an explicit request.
|
|
58
|
+
- Commit with the repository's Git hooks enabled. Let hooks run their configured lint, format, typecheck, and tests; do not run the same checks separately just to commit. If hooks do not cover required checks, follow repository instructions.
|
|
59
|
+
- If a hook fails, stop, report the failure, fix in-scope issues, review and re-stage before retrying. Never use `--no-verify` or disable hooks to force a commit.
|
|
57
60
|
|
|
58
61
|
### Phase 4: Maintain (when asked)
|
|
59
62
|
|
package/skills/lint.md
CHANGED
|
@@ -9,7 +9,7 @@ Pix does not bundle linters. Use the project toolchain.
|
|
|
9
9
|
|
|
10
10
|
## Selection order
|
|
11
11
|
|
|
12
|
-
1. Run `
|
|
12
|
+
1. Run `lsp_diagnostics` for language-server diagnostics.
|
|
13
13
|
2. Prefer the project's `lint` or `check` script.
|
|
14
14
|
3. Use the tool named by a project config file.
|
|
15
15
|
4. Use the language default below only when the project has no choice.
|
package/skills/lsp.md
CHANGED
|
@@ -14,7 +14,7 @@ installation. Configure it in `<project>/.pi/lsp.json`.
|
|
|
14
14
|
2. Prefer an existing server in project dependencies or on `PATH`.
|
|
15
15
|
3. Ask before installing a missing server. Use a project-local install.
|
|
16
16
|
4. Add only the selected language to `.pi/lsp.json`.
|
|
17
|
-
5. Run `
|
|
17
|
+
5. Run `lsp_diagnostics` on one source file. Its manager reads `.pi/lsp.json` directly.
|
|
18
18
|
|
|
19
19
|
Do not add all languages. Do not install a server globally. Do not use a server
|
|
20
20
|
because it appears first in this table; project configuration and existing tools
|