@xynogen/pix-skills 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/AGENT.md +7 -0
  2. package/package.json +1 -1
package/AGENT.md CHANGED
@@ -102,5 +102,12 @@ Lay out capabilities so behavior inspectable, testable, safely self-correcting.
102
102
  - **Self-correcting**: never silent-mutate — propose diff → test → snapshot → approval for risky (§5). Critique post-exec (`verify`); builder ≠ reviewer (`review`).
103
103
  - **Self-remembering**: log why + failure modes → no repeat; version behaviors; runtime failure = next task.
104
104
 
105
+ ## 12. Karpathy Coding Principles
106
+ Four failure modes LLMs default into ([Karpathy](https://x.com/karpathy/status/2015883857489522876), via `forrestchang/andrej-karpathy-skills`). Each reinforces a section above — apply them, don't relitigate them.
107
+ - **Think before coding** (§4) — state assumptions explicitly; surface tradeoffs and inconsistencies; ask on ambiguity instead of picking silently; push back when a simpler approach exists; stop and name the confusion when confused.
108
+ - **Simplicity first** (§10 YAGNI) — minimum code that solves the problem. No speculative abstraction, config, or error handling for impossible cases. The test: would a senior engineer call this overcomplicated? If yes, simplify.
109
+ - **Surgical changes** (§1 SCOPE) — touch only what the task requires. No improving adjacent code, no refactoring what isn't broken, match existing style. Remove only the orphans *your* change created; flag pre-existing dead code, don't delete it. Every changed line traces to the request.
110
+ - **Goal-driven execution** (§8) — turn imperative asks into verifiable targets before writing a line. "Add validation" → "write tests for invalid inputs, then make them pass." Strong success criteria let the loop run independently.
111
+
105
112
  ---
106
113
  *Directives define intent. Orchestration reasons. Execution runs. Gather first. Solve once. Keep it simple.*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",