@xynogen/pix-skills 0.10.0 → 0.10.2

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.
Files changed (44) hide show
  1. package/README.md +28 -22
  2. package/package.json +1 -1
  3. package/skills/ask-user.md +34 -43
  4. package/skills/audit.md +27 -30
  5. package/skills/bootstrap.md +19 -43
  6. package/skills/brainstorm.md +10 -51
  7. package/skills/cicd.md +17 -30
  8. package/skills/clone.md +19 -18
  9. package/skills/command-runner.md +7 -15
  10. package/skills/commit.md +22 -65
  11. package/skills/composio-mcp.md +24 -34
  12. package/skills/debug.md +18 -53
  13. package/skills/diff.md +8 -19
  14. package/skills/environment.md +21 -43
  15. package/skills/explain.md +27 -28
  16. package/skills/finish.md +24 -57
  17. package/skills/format.md +1 -1
  18. package/skills/handoff.md +24 -99
  19. package/skills/harden.md +18 -22
  20. package/skills/human/SKILL.md +177 -0
  21. package/skills/{human.md → human/references/patterns.md} +58 -252
  22. package/skills/human/references/profiles.md +86 -0
  23. package/skills/lint.md +1 -1
  24. package/skills/lsp.md +7 -11
  25. package/skills/readme.md +19 -25
  26. package/skills/review.md +30 -40
  27. package/skills/runner/SKILL.md +130 -0
  28. package/skills/runner/references/justfile.md +47 -0
  29. package/skills/runner/references/makefile.md +33 -0
  30. package/skills/runner/references/mise.md +88 -0
  31. package/skills/runner/references/npm-scripts.md +27 -0
  32. package/skills/runner/references/run-sh.md +46 -0
  33. package/skills/runner/references/taskfile.md +50 -0
  34. package/skills/search.md +22 -32
  35. package/skills/subagent.md +37 -353
  36. package/skills/suggest.md +10 -38
  37. package/skills/task.md +17 -37
  38. package/skills/tdd.md +1 -1
  39. package/skills/test.md +13 -46
  40. package/skills/tldr.md +12 -22
  41. package/skills/toon-json.md +11 -35
  42. package/skills/ui.md +8 -19
  43. package/skills/verify.md +14 -44
  44. package/skills/runner.md +0 -419
package/skills/tldr.md CHANGED
@@ -3,34 +3,24 @@ name: tldr
3
3
  description: Maximum-density technical summary of workflows and purposes. Use when user asks "tldr", "summarize this", "give me the short version", "what's the gist", or needs the essence fast with zero filler.
4
4
  disable-model-invocation: true
5
5
  ---
6
- # TLDR Directive
6
+ # TLDR
7
7
 
8
- ## Goal
8
+ Goal: the reader gets the full picture in the fewest tokens.
9
9
 
10
- Strip to essence. Reader gets full picture in fewest tokens, no re-reading required.
10
+ ## Rules
11
11
 
12
- ## Below are what agent MUST do
12
+ - Read the source first. Never summarize from a name or title.
13
+ - Technical content only. No greeting, preamble, or closing line.
14
+ - Lead with the key point. Name each key workflow and its purpose in one line.
15
+ - Include the config, data, and assumptions that matter.
16
+ - One fact per bullet. Never state a fact twice.
17
+ - Mark each uncertain claim with a confidence level.
13
18
 
14
- - **AUTO-RUN**: Read what's needed to summarize accurately. Don't summarize from the filename.
15
- - **SCOPE**: Tech only. No pleasantries, no preamble, no "in summary".
16
- - **WORKFLOWS**: Name key workflows and their purpose, one line each.
17
- - **DATA**: List key data points, configs, assumptions that matter.
18
- - **CONFIDENCE**: Mark any uncertain claim with confidence note.
19
- - **DENSITY**: Bullets over prose. One fact per bullet. No fact stated twice.
20
-
21
- ## Output Format
19
+ ## Format
22
20
 
23
21
  ```
24
22
  **[Subject]**
25
23
  - [Core fact]
26
- - [Core fact]
27
- - [Key config/data] — `value`
28
- - ⚠️ [Assumption or uncertain point] (confidence: X%)
24
+ - [Config/data] — `value`
25
+ - ⚠️ [Uncertain point] (confidence: X%)
29
26
  ```
30
-
31
- ## Red Flags — STOP
32
-
33
- - Conversational filler ("Sure!", "In summary", "Hope this helps").
34
- - Restating same fact in different words.
35
- - Summarizing from name or title without reading source.
36
- - Burying key point below background.
@@ -1,16 +1,12 @@
1
1
  ---
2
2
  name: toon-json
3
- description: Manipulate information-dense JSON efficiently with jq + TOON. Use when fetching or reading large, repetitive JSON such as LLM schemas, OpenAPI specs, API responses, datasets, and config dumps. Query and reshape with jq, compress to TOON for context, and decode back only when a strict JSON contract requires it.
3
+ description: Shrinks information-dense JSON for context with jq + TOON. Use when fetching or reading large, repetitive JSON such as LLM schemas, OpenAPI specs, API responses, datasets, and config dumps. Query and reshape with jq, compress to TOON for context, and decode back only when a strict JSON contract requires it.
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
7
- # TOON + jq: Dense JSON Workflow
7
+ # TOON + jq
8
8
 
9
- ## Goal
10
-
11
- Carry only the JSON slice you need, in the cheapest encoding. Query with `jq`,
12
- compress with `toon`, and round-trip back to JSON **only** when a contract
13
- requires strict JSON.
9
+ Carry only the JSON slice you need, in the cheapest encoding: query with `jq`, compress with `toon`, and decode back to JSON only when a contract needs strict JSON. If `toon` is missing, use `jq` alone and ask before you install `@toon-format/cli`.
14
10
 
15
11
  TOON (Token-Oriented Object Notation, <https://github.com/toon-format/spec>) is a
16
12
  line-oriented encoding of the JSON data model. Uniform arrays of objects declare
@@ -24,14 +20,14 @@ dense data.
24
20
  curl -s https://api.example.com/models | jq '.data' | toon
25
21
 
26
22
  # Local file, show token savings
27
- cat openapi.json | jq '.paths' | toon --stats
23
+ jq '.paths' openapi.json | toon --stats
28
24
 
29
25
  # Just compress, no query
30
- cat data.json | toon
26
+ toon data.json
31
27
 
32
28
  # Convert TOON back to JSON (strict contract / downstream parser)
33
29
  echo "$TOON_BLOB" | toon -d
34
- cat data.toon | toon --decode
30
+ toon --decode data.toon
35
31
  ```
36
32
 
37
33
  `toon` auto-detects direction from input. Force it with `-e` (encode JSON→TOON)
@@ -40,7 +36,7 @@ or `-d` (decode TOON→JSON).
40
36
  ### Useful flags
41
37
 
42
38
  - `--stats` — print token/byte statistics for the conversion
43
- - `--delimiter=,|\t|"|"` — array delimiter (comma default; tab/pipe can tokenize better)
39
+ - `--delimiter=<d>` — array delimiter: `,` (default), `\t`, or `|`. Tab or pipe can tokenize better.
44
40
  - `--keyFolding=safe` — collapse single-key nesting chains
45
41
  - `--no-strict` — lenient decode
46
42
 
@@ -57,17 +53,7 @@ TOON is not always smaller. Pick based on shape:
57
53
  | Array of arrays | **JSON** | TOON's one structurally-worse case (explicit list markers + inner headers) |
58
54
  | API contract / payload to send or store | **JSON** | Must stay valid JSON for the consumer |
59
55
 
60
- Rule of thumb: **TOON for reading dense data into context. JSON for contracts.**
61
-
62
- ## When NOT to use TOON
63
-
64
- - Anything sent to or stored by an API that expects JSON.
65
- - Data a downstream tool/parser must consume as strict JSON.
66
- - Deeply nested config trees or highly irregular structures.
67
- - Tiny payloads where the conversion overhead isn't worth it.
68
-
69
- In those cases, still use `jq` to slice down to what you need — just skip the
70
- `| toon` step.
56
+ Rule: **TOON for reading dense data into context. JSON for contracts.** Skip TOON for tiny payloads too. In every JSON case, still slice with `jq`; just drop `| toon`.
71
57
 
72
58
  ## Worked examples
73
59
 
@@ -87,21 +73,11 @@ curl -s https://api.example.com/v1/models | jq '.data | map({id, owned_by, conte
87
73
  OpenAPI paths summary (reshape first, then compress):
88
74
 
89
75
  ```bash
90
- cat openapi.json \
91
- | jq '[.paths | to_entries[] | {path: .key, methods: (.value | keys)}]' \
92
- | toon --stats
76
+ jq '[.paths | to_entries[] | {path: .key, methods: (.value | keys)}]' openapi.json | toon --stats
93
77
  ```
94
78
 
95
- Round-trip back to JSON for an API call:
79
+ Round-trip back to JSON for an API call (confirm with the user before any POST):
96
80
 
97
81
  ```bash
98
- RESHAPED=$(cat payload.toon | toon -d)
99
- curl -s -X POST https://api.example.com/ingest -d "$RESHAPED"
82
+ toon -d payload.toon | curl -s -X POST https://api.example.com/ingest -H 'Content-Type: application/json' --data-binary @-
100
83
  ```
101
-
102
- ## Checklist
103
-
104
- 1. **Query** — narrow with `jq` to the exact slice needed.
105
- 2. **Decide** — uniform/tabular/shallow → TOON; nested/array-of-arrays/contract → JSON.
106
- 3. **Compress** — `| toon` (add `--stats` to confirm savings).
107
- 4. **Round-trip** — `toon -d` only when strict JSON is required downstream.
package/skills/ui.md CHANGED
@@ -1,25 +1,14 @@
1
1
  ---
2
2
  name: ui
3
- description: Design, build, redesign, and review distinctive, usable, accessible interfaces across web, mobile, desktop, dashboards, and design systems
3
+ description: Designs, builds, redesigns, and reviews distinctive, usable, accessible interfaces across web, mobile, desktop, dashboards, and design systems. Use for any UI or UX work — new screens, components, layouts, styling, design reviews, or accessibility fixes.
4
4
  disable-model-invocation: true
5
5
  ---
6
- # UI/UX Design Directive
7
-
8
- ## Goal
6
+ # UI/UX design
9
7
 
10
8
  Create interfaces that are useful, coherent, distinctive, and production-ready. Treat visual design, interaction design, content, accessibility, responsiveness, and implementation quality as one system.
11
9
 
12
10
  Do not optimize for novelty at the expense of usability. Do not optimize for familiarity until the result feels generic. Make every important choice traceable to the product, audience, task, and existing brand.
13
11
 
14
- ## When This Applies
15
-
16
- Use this skill when designing, building, redesigning, or reviewing:
17
-
18
- - Pages, applications, components, flows, dashboards, and data visualizations
19
- - Web, mobile, desktop, touch, and responsive interfaces
20
- - Layout, navigation, forms, typography, color, motion, content, or accessibility
21
- - Design systems, tokens, component libraries, and visual consistency
22
-
23
12
  For a small change, apply only the relevant checks. For a new product or major redesign, follow the complete workflow.
24
13
 
25
14
  ## Core Principles
@@ -37,7 +26,7 @@ For a small change, apply only the relevant checks. For a new product or major r
37
26
 
38
27
  ## Workflow
39
28
 
40
- ### Phase 1: Understand and Inspect
29
+ ### 1. Understand and inspect
41
30
 
42
31
  Before changing code:
43
32
 
@@ -49,7 +38,7 @@ Before changing code:
49
38
  - Confirm relevant constraints: platform, browser/device support, performance, localization, input methods, brand, and accessibility target.
50
39
  - Ask only when a missing decision would materially change the result; otherwise make and state a reasonable assumption.
51
40
 
52
- ### Phase 2: Define the Direction
41
+ ### 2. Define the direction
53
42
 
54
43
  For substantial work, form a compact design plan before coding:
55
44
 
@@ -71,7 +60,7 @@ Critique the plan before implementation:
71
60
 
72
61
  Revise generic or unjustified choices before building.
73
62
 
74
- ### Phase 3: Build the Experience
63
+ ### 3. Build
75
64
 
76
65
  #### Information Architecture and Layout
77
66
 
@@ -136,7 +125,7 @@ Revise generic or unjustified choices before building.
136
125
  - Tables need meaningful alignment, sorting/filter feedback, responsive behavior, empty states, and keyboard usability.
137
126
  - Avoid meaningless hero metrics, misleading axes, excessive precision, and chart junk.
138
127
 
139
- ### Phase 4: Production Quality
128
+ ### 4. Production quality
140
129
 
141
130
  - Use semantic platform primitives first: landmarks, headings, buttons, links, labels, lists, tables, and dialogs.
142
131
  - Build modular components with clear responsibilities and all relevant variants and states.
@@ -166,8 +155,8 @@ Treat these as minimum checks, adjusted only when the target platform has strict
166
155
 
167
156
  Before delivery:
168
157
 
169
- 1. Run relevant diagnostics, type checks, tests, and builds proactively.
170
- 2. Render the interface rather than judging source code alone.
158
+ 1. Run relevant diagnostics, type checks, tests, and builds.
159
+ 2. Render the interface (browser automation or screenshot tool, if available) rather than judging source code alone. If you cannot render it, say so in the report.
171
160
  3. Check representative narrow, medium, and wide viewports; include real device sizes when specified.
172
161
  4. Exercise keyboard navigation, focus order, dialogs, forms, errors, loading, empty states, and destructive actions.
173
162
  5. Check contrast, accessible names, semantics, reduced motion, overflow, text wrapping, and zoom.
package/skills/verify.md CHANGED
@@ -1,53 +1,23 @@
1
1
  ---
2
2
  name: verify
3
- description: Verification before completion — ensure it's actually fixed before claiming done
3
+ description: Proves a change works before it is called done — full test suite, reproduction of the original issue, regression and diff check, and an evidence-based report. Use before claiming a fix or feature is complete, before a commit or PR, or when the user asks "is it done?" or "does it work?".
4
4
  disable-model-invocation: true
5
5
  ---
6
- # Verify Directive
6
+ # Verify
7
7
 
8
- ## The Iron Law
8
+ **Evidence, not belief.** "It should work" is not verification.
9
9
 
10
- ```
11
- NEVER claim a task complete without running verification.
12
- "It should work" is not verification. Evidence is verification.
13
- ```
10
+ ## Steps
14
11
 
15
- ## Below are what agent MUST do
12
+ 1. **Run the full suite** with the repo's own command, not only the new test. All pass, no new failures, no unexplained skips.
13
+ 2. **Reproduce the original case.** Bug fix → run the original failing scenario and confirm it is gone. Feature → walk the user flow end to end.
14
+ 3. **Check for regressions.** Run integration or smoke tests if they exist. Check the code next to the change. Read the diff for changes you did not intend.
15
+ 4. **Check the output.** No new warnings or errors. No debug logs or commented-out code. Docs updated if a public interface changed.
16
+ 5. **Report** what you verified, how (commands and results), and what is still uncertain. Never hide uncertainty.
16
17
 
17
- ### Step 1: Run the Tests
18
+ ## Not done if
18
19
 
19
- - Execute full test suite. Do NOT just run the specific test you wrote.
20
- - Confirm: all tests pass, no new failures, no skipped tests without explanation.
21
-
22
- ### Step 2: Reproduce the Original Issue
23
-
24
- - Fixing a bug → reproduce original failure scenario, confirm it no longer occurs.
25
- - Adding a feature → walk through exact user flow end-to-end.
26
-
27
- ### Step 3: Check for Regressions
28
-
29
- - Run any integration or smoke tests.
30
- - Check adjacent functionality still works.
31
- - Review the diff: does anything look unintentionally changed?
32
-
33
- ### Step 4: Verify the Claim
34
-
35
- Before saying "done", confirm:
36
-
37
- - [ ] Specific issue/feature resolved/implemented
38
- - [ ] All tests pass (including pre-existing tests)
39
- - [ ] No new warnings or errors in output
40
- - [ ] Code clean (no debug logs, no commented-out code)
41
- - [ ] Documentation updated if public interface changed
42
-
43
- ### Step 5: Report
44
-
45
- - State what was verified and how.
46
- - Anything still uncertain → say so explicitly. Do NOT hide uncertainty.
47
-
48
- ## Red Flags — Do NOT Mark as Done If
49
-
50
- - Tests pass but you haven't reproduced original scenario
51
- - "I believe it should work" without running it
52
- - New warnings appeared that weren't there before
53
- - You only ran the new test, not the full suite
20
+ - Tests pass, but you did not reproduce the original case.
21
+ - You only ran the new test.
22
+ - New warnings appeared.
23
+ - You did not run the code at all.