@cratis/pi 7.190.1 → 7.190.3

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.
@@ -17,6 +17,8 @@ paths:
17
17
 
18
18
  Trigger (when to use / when not) · the how (steps, patterns, one minimal correct example each) · choosing (use X when…, not Y) · pitfalls (with the diagnostic code you'll see) · verification (command + what a pass looks like). Timeless: describe current behavior without saying it is current.
19
19
 
20
+ Write for the class of task, not the run the skill came from. Keep that run as evaluation evidence, but strip its repository, file names and one-off examples; a skill fitted to its origin fails on the next task.
21
+
20
22
  A code-breaking prerequisite belongs in one `Requires` line with the version-check command and the fallback. This is a compatibility gate, not a release history. Use American English in authored text.
21
23
 
22
24
  ## 2. Frontmatter and routing
@@ -54,7 +56,11 @@ Keep pins in `product-sync.json` and compatibility documentation under `Document
54
56
 
55
57
  ## 5. Instruction style
56
58
 
57
- Give one default and the condition for choosing an alternative, rather than an equal-options menu. Put the reason beside an absolute so the agent can recognize its boundary; volume and ALL-CAPS add no evidence. Prefer concrete, checkable directions over vague quality requests. Use the terms in [glossary.md](./glossary.instructions.md); define an unfamiliar term on first use to avoid competing meanings. Show one minimal correct example per pattern and an exact verification command with the observable pass condition.
59
+ Give one default and the condition for choosing an alternative, rather than an equal-options menu. Put the reason beside an absolute so the agent can recognize its boundary; volume and ALL-CAPS add no evidence. Prefer concrete, checkable directions over vague quality requests. Use the terms in [glossary.md](./glossary.instructions.md); define an unfamiliar term on first use to avoid competing meanings. Prefer a compact term the model already knows (*tracer bullet*, *red/green*, *vertical slice*) to explaining the concept; a new Cratis term is defined once in `glossary.md`.
60
+
61
+ Give every workflow step an observable done-condition (a file exists, a command passes, a named check returns a value). A step without one invites premature completion: the agent stops when the step looks plausible, not when it is done.
62
+
63
+ Prune by behavior, not length. For each sentence ask whether deleting it would change what the agent does; if not, it is a no-op and the whole sentence goes, rather than trimming its words. Explanations of what the model already knows are the usual no-ops. Never shorten by cutting steps, conditions or examples that change behavior, and settle disagreements by running the skill or its evaluations, not by argument. Show one minimal correct example per pattern and an exact verification command with the observable pass condition.
58
64
 
59
65
  ## 6. One source of truth
60
66
 
@@ -80,6 +86,7 @@ When changing a description, run trigger evaluations before and after when autho
80
86
  - Body has headroom; every reference, asset and script is directly named; long references have Contents.
81
87
  - Text is timeless; no research-only pages or verified-source headings remain.
82
88
  - Defaults, escape conditions, adjacent reasons, glossary terms and correct examples are clear.
89
+ - Every workflow step has an observable done-condition; no sentence fails the no-op test; examples fit the class of task, not the run the skill came from.
83
90
  - Rules are linked, not duplicated; MCP server and native naming are resolved.
84
91
  - Mechanical steps use scripts where warranted; verification names the command and pass condition.
85
92
  - Evaluation inputs cover positive and near-miss routing and baseline output behavior; report any runs not performed.
@@ -96,6 +103,7 @@ Use path-scoped rules for file-specific invariants and skills for particular ope
96
103
  ## Sources
97
104
 
98
105
  - https://agentskills.io/specification
106
+ - https://www.aihero.dev/skills-writing-for-agents
99
107
  - https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
100
108
  - https://github.com/anthropics/skills/blob/main/skills/skill-creator/SKILL.md
101
109
  - https://code.claude.com/docs/en/memory
@@ -16,6 +16,8 @@ paths:
16
16
 
17
17
  Trigger (when to use / when not) · the how (steps, patterns, one minimal correct example each) · choosing (use X when…, not Y) · pitfalls (with the diagnostic code you'll see) · verification (command + what a pass looks like). Timeless: describe current behavior without saying it is current.
18
18
 
19
+ Write for the class of task, not the run the skill came from. Keep that run as evaluation evidence, but strip its repository, file names and one-off examples; a skill fitted to its origin fails on the next task.
20
+
19
21
  A code-breaking prerequisite belongs in one `Requires` line with the version-check command and the fallback. This is a compatibility gate, not a release history. Use American English in authored text.
20
22
 
21
23
  ## 2. Frontmatter and routing
@@ -53,7 +55,11 @@ Keep pins in `product-sync.json` and compatibility documentation under `Document
53
55
 
54
56
  ## 5. Instruction style
55
57
 
56
- Give one default and the condition for choosing an alternative, rather than an equal-options menu. Put the reason beside an absolute so the agent can recognize its boundary; volume and ALL-CAPS add no evidence. Prefer concrete, checkable directions over vague quality requests. Use the terms in [glossary.md](./glossary.md); define an unfamiliar term on first use to avoid competing meanings. Show one minimal correct example per pattern and an exact verification command with the observable pass condition.
58
+ Give one default and the condition for choosing an alternative, rather than an equal-options menu. Put the reason beside an absolute so the agent can recognize its boundary; volume and ALL-CAPS add no evidence. Prefer concrete, checkable directions over vague quality requests. Use the terms in [glossary.md](./glossary.md); define an unfamiliar term on first use to avoid competing meanings. Prefer a compact term the model already knows (*tracer bullet*, *red/green*, *vertical slice*) to explaining the concept; a new Cratis term is defined once in `glossary.md`.
59
+
60
+ Give every workflow step an observable done-condition (a file exists, a command passes, a named check returns a value). A step without one invites premature completion: the agent stops when the step looks plausible, not when it is done.
61
+
62
+ Prune by behavior, not length. For each sentence ask whether deleting it would change what the agent does; if not, it is a no-op and the whole sentence goes, rather than trimming its words. Explanations of what the model already knows are the usual no-ops. Never shorten by cutting steps, conditions or examples that change behavior, and settle disagreements by running the skill or its evaluations, not by argument. Show one minimal correct example per pattern and an exact verification command with the observable pass condition.
57
63
 
58
64
  ## 6. One source of truth
59
65
 
@@ -79,6 +85,7 @@ When changing a description, run trigger evaluations before and after when autho
79
85
  - Body has headroom; every reference, asset and script is directly named; long references have Contents.
80
86
  - Text is timeless; no research-only pages or verified-source headings remain.
81
87
  - Defaults, escape conditions, adjacent reasons, glossary terms and correct examples are clear.
88
+ - Every workflow step has an observable done-condition; no sentence fails the no-op test; examples fit the class of task, not the run the skill came from.
82
89
  - Rules are linked, not duplicated; MCP server and native naming are resolved.
83
90
  - Mechanical steps use scripts where warranted; verification names the command and pass condition.
84
91
  - Evaluation inputs cover positive and near-miss routing and baseline output behavior; report any runs not performed.
@@ -95,6 +102,7 @@ Use path-scoped rules for file-specific invariants and skills for particular ope
95
102
  ## Sources
96
103
 
97
104
  - https://agentskills.io/specification
105
+ - https://www.aihero.dev/skills-writing-for-agents
98
106
  - https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
99
107
  - https://github.com/anthropics/skills/blob/main/skills/skill-creator/SKILL.md
100
108
  - https://code.claude.com/docs/en/memory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.190.1",
3
+ "version": "7.190.3",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [