@cratis/pi 7.158.0 → 7.158.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 (37) hide show
  1. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +7 -0
  2. package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +73 -0
  3. package/package/corpus/skills/cratis-documentation-writing/SKILL.md +43 -127
  4. package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +110 -0
  5. package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +21 -0
  6. package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +6 -0
  7. package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +54 -126
  8. package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +6 -0
  9. package/package/corpus/skills/cratis-screenplay-command-surface/references/concepts-and-types.md +38 -0
  10. package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +19 -0
  11. package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +61 -0
  12. package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +7 -0
  13. package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +1 -5
  14. package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +21 -8
  15. package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +3 -3
  16. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/principles.md +1 -1
  17. package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +51 -97
  18. package/package/corpus/skills/cratis-screenplay-projections/references/mapping-sources.md +33 -0
  19. package/package/corpus/skills/cratis-screenplay-projections/references/outbound-every.md +12 -0
  20. package/package/corpus/skills/cratis-screenplay-projections/references/reducers.md +40 -0
  21. package/package/corpus/skills/cratis-screenplay-projections/references/stage-admission.md +18 -0
  22. package/package/corpus/skills/cratis-screenplay-projections/verification.json +2 -3
  23. package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +61 -134
  24. package/package/corpus/skills/cratis-screenplay-read-surface/references/passive.md +78 -0
  25. package/package/corpus/skills/cratis-screenplay-read-surface/references/performer-bodies.md +29 -0
  26. package/package/corpus/skills/cratis-screenplay-read-surface/references/query-execution.md +21 -0
  27. package/package/corpus/skills/cratis-screenplay-read-surface/references/screen-levels.md +51 -0
  28. package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +5 -2
  29. package/package/corpus/skills/cratis-screenplay-reverse-engineering/references/synthesis-rules.md +7 -4
  30. package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +21 -0
  31. package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +15 -0
  32. package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +12 -2
  33. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +1 -0
  34. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +7 -122
  35. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +139 -0
  36. package/package/corpus/skills/cratis-writing-voice-and-cadence/verification.json +9 -9
  37. package/package.json +1 -1
@@ -162,103 +162,15 @@ technical changes to their owning specialist instead of smoothing them incidenta
162
162
  If a needed fact is missing, ask or keep the accurate plain wording; do not loop
163
163
  through cosmetic rewrites.
164
164
 
165
- ## Structural sameness is the more damaging half
165
+ ## Read the guidance for the question at hand
166
166
 
167
- A reader meeting the second piece in a series can recognize the format before reading a word
168
- of it, and a per-piece review can't see that. Put ten comparable pieces side by side, same
169
- channel and same content type, and compare openings, shapes, lengths and closes.
167
+ Read [references/voice-guidance.md](references/voice-guidance.md) when:
170
168
 
171
- Openings come first. Classify each first sentence as an event, a problem, a question, direct
172
- address, a number, an identifier, or an abstract assertion ("A registration test can…"). Six
173
- of ten opening the same way, or three that share their first two words, is an uncalibrated
174
- trigger to inspect the batch for a template.
175
-
176
- Then paragraph shapes: how many paragraphs, and how much each weighs. When most pieces run
177
- three or four paragraphs of about the same size, the format is doing the writing. Length
178
- across the batch tells the same story. Pieces on very different subjects shouldn't all land
179
- within a few words of each other.
180
-
181
- Last, closes. Label each last paragraph as a result, a next step, an open question, a limit,
182
- a summary or a maxim. A summary or maxim in most of the batch is a template. So is the same
183
- labeled caveat at the bottom of every piece.
184
-
185
- Within a piece, sentence length that barely moves reads as a monotone. Compare it with the
186
- rest of your own corpus; there is no correct spread, and short reference entries or numbered
187
- steps are allowed to be even.
188
-
189
- The fix for a template is not a better template. Swapping every abstract opening for a
190
- question gives you ten question openings. Flag concentration in the batch, never one outlier,
191
- and don't adopt a target shape. With fewer than five comparable pieces, say so and skip the
192
- batch conclusions.
193
-
194
- ## Fix with substance
195
-
196
- When a piece reads as generated, what is usually missing is a fact. Varying sentence length
197
- on purpose or shuffling paragraph counts treats the symptom and grows a new pattern. Language
198
- models struggled to match the range of human stylistic variation in the genres studied
199
- (HV-06). Let differences in subject and purpose determine the shape, and add whatever makes
200
- this piece different from the last one:
201
-
202
- - the specific artifact: the command, the event type, the file, the error text, the
203
- before-and-after;
204
- - the named thing in place of the category: "the retry loop in the importer" for "complex
205
- workflows";
206
- - a reason the author owns, in words they would say out loud, supplied by them;
207
- - the limit, placed in the sentence it limits: "On macOS and Linux, the installer…".
208
-
209
- Where a sentence has nothing to add, cut it. Concreteness has a ceiling too. In past
210
- headline experiments, extra concreteness helped headlines that were too vague and hurt ones
211
- that were already very concrete (HC-03). Packing identifiers into an opening won't rescue it.
212
-
213
- If the source material doesn't contain the substance, don't supply it yourself. Ask the
214
- author, or leave the passage plain and accurate.
215
-
216
- ## What a person leaves behind
217
-
218
- These are signs that someone who knows the work was involved. Look for them in review and
219
- note which ones are missing. Never fabricate one to make copy read better; a fabricated
220
- detail is worse than an absent one.
221
-
222
- - a named artifact the reader can open or run
223
- - the exact version or environment, where it changes the outcome
224
- - an engineering task a reader would recognize from their own week
225
- - an observation kept apart from the inference drawn from it
226
- - a credible counterexample, or the simpler alternative the author considered
227
- - a material limit sitting in the sentence it qualifies
228
- - a reason for a judgment, owned by the author
229
- - a next step the reader can reproduce
230
- - variation that follows from the subject
231
-
232
- PostHog's published voice guide argues for much the same list: concrete nouns, directness,
233
- candor about limitations (DP-05). That is one company's judgment, with no measured effect.
234
-
235
- ## Hedging that protects the writer
236
-
237
- The other common complaint is "wishy-washy": copy so qualified that it never commits to
238
- anything. It usually comes from review language leaking into the material. Evidence,
239
- verification and approval wording belongs in the review record, and so do qualifiers that
240
- protect the writer without informing the reader. The claim rule below protects every hedge
241
- that is true and would change what the reader does. It does not protect review residue: move
242
- the evidence to the review record and state the capability plainly.
243
-
244
- ## Who is speaking, and to whom
245
-
246
- None of these choices makes text sound human by itself. Each depends on the piece.
247
-
248
- Instructions usually read best addressed to the person following them: "run", "you'll see".
249
- Reference pages and explanations often don't need "you" at all, and forcing it in makes them
250
- chatty. Use it where someone is being told what to do.
251
-
252
- A company account is a team talking when it reports what the team did: "we shipped", not the
253
- company name in the third person. When the subject is how the product behaves, the product
254
- can be the subject.
255
-
256
- Writing under a person's name can carry opinion, judgment and preference, and those belong to
257
- the named author. Prose under a byline in the impersonal third person reads like
258
- documentation with a name on it. How personal it gets is the author's call.
259
-
260
- A question earns its place when the argument raised it and the author wants the answer. One
261
- bolted on to collect replies is bait.
169
+ - you review a batch (compare openings, shapes, lengths and closes);
170
+ - a piece reads as generated and needs substance, not a new template;
171
+ - you judge what a person leaves behind, or hedging that protects the writer;
172
+ - you decide who is speaking and to whom;
173
+ - the channel has an AI-writing policy (LinkedIn; Hacker News copy stays human).
262
174
 
263
175
  ## First person is not a license to invent
264
176
 
@@ -272,33 +184,6 @@ both it stays a draft. A meaningful edit to first-person copy goes back to them
272
184
  Spotting the gap is part of the review ("this paragraph needs the real reason you picked
273
185
  PostgreSQL"). Filling it in on the author's behalf is out of bounds.
274
186
 
275
- ## Channel policies on AI-assisted writing
276
-
277
- LinkedIn has stated its position (HV-18, HV-19):
278
-
279
- > It's ok to use AI to help you write, but your posts and comments need to represent your
280
- > voice and your perspectives.
281
-
282
- > When content appears to be generated by AI and lacks clear perspective, it is less likely
283
- > to be widely distributed beyond a person's immediate network.
284
-
285
- This is LinkedIn's own account of its system, and it hasn't been independently verified.
286
- Read the two sentences together. Help with language is allowed when the post is the member's
287
- own view, and what LinkedIn says it limits is content that looks generated *and* has no clear
288
- perspective. Neither sentence says AI help alone costs reach. Elsewhere the evidence on how
289
- readers react to AI assistance is mixed: a preprint, not peer reviewed, found some assistance
290
- raised engagement while lowering perceived authenticity (HV-11), and a review of 47
291
- journalism studies found no consistent trust penalty (HV-12). For a reviewer, "does this say
292
- something the author actually thinks?" matters more than any word list.
293
-
294
- Hacker News draws a harder line. The comment section of its guidelines says: "Don't post
295
- generated text or AI-edited text. HN is for conversation between humans." (HC-16)
296
-
297
- The rule is written for comments. Cratis applies it, as its own stricter policy, to
298
- everything it posts there: nothing Cratis posts to Hacker News is written or edited by AI,
299
- whether title, text or comment. Don't run a voice pass on HN copy. You can help the person
300
- check facts and links.
301
-
302
187
  ## Work in tranches that can be read
303
188
 
304
189
  Rewriting is not a batch operation. Any body of material large enough to have a detectable
@@ -0,0 +1,139 @@
1
+ # Voice and cadence guidance
2
+
3
+ ## Contents
4
+
5
+ - Structural sameness is the more damaging half
6
+ - Fix with substance
7
+ - What a person leaves behind
8
+ - Hedging that protects the writer
9
+ - Who is speaking, and to whom
10
+ - Channel policies on AI-assisted writing
11
+
12
+ Detail for the revision workflow in `SKILL.md`: batch structure, substance,
13
+ speaker and channel questions. The stop conditions, claim-preservation rules and
14
+ first-person rules stay in `SKILL.md`; read those first.
15
+
16
+ ## Structural sameness is the more damaging half
17
+
18
+ A reader meeting the second piece in a series can recognize the format before reading a word
19
+ of it, and a per-piece review can't see that. Put ten comparable pieces side by side, same
20
+ channel and same content type, and compare openings, shapes, lengths and closes.
21
+
22
+ Openings come first. Classify each first sentence as an event, a problem, a question, direct
23
+ address, a number, an identifier, or an abstract assertion ("A registration test can…"). Six
24
+ of ten opening the same way, or three that share their first two words, is an uncalibrated
25
+ trigger to inspect the batch for a template.
26
+
27
+ Then paragraph shapes: how many paragraphs, and how much each weighs. When most pieces run
28
+ three or four paragraphs of about the same size, the format is doing the writing. Length
29
+ across the batch tells the same story. Pieces on very different subjects shouldn't all land
30
+ within a few words of each other.
31
+
32
+ Last, closes. Label each last paragraph as a result, a next step, an open question, a limit,
33
+ a summary or a maxim. A summary or maxim in most of the batch is a template. So is the same
34
+ labeled caveat at the bottom of every piece.
35
+
36
+ Within a piece, sentence length that barely moves reads as a monotone. Compare it with the
37
+ rest of your own corpus; there is no correct spread, and short reference entries or numbered
38
+ steps are allowed to be even.
39
+
40
+ The fix for a template is not a better template. Swapping every abstract opening for a
41
+ question gives you ten question openings. Flag concentration in the batch, never one outlier,
42
+ and don't adopt a target shape. With fewer than five comparable pieces, say so and skip the
43
+ batch conclusions.
44
+
45
+ ## Fix with substance
46
+
47
+ When a piece reads as generated, what is usually missing is a fact. Varying sentence length
48
+ on purpose or shuffling paragraph counts treats the symptom and grows a new pattern. Language
49
+ models struggled to match the range of human stylistic variation in the genres studied
50
+ (HV-06). Let differences in subject and purpose determine the shape, and add whatever makes
51
+ this piece different from the last one:
52
+
53
+ - the specific artifact: the command, the event type, the file, the error text, the
54
+ before-and-after;
55
+ - the named thing in place of the category: "the retry loop in the importer" for "complex
56
+ workflows";
57
+ - a reason the author owns, in words they would say out loud, supplied by them;
58
+ - the limit, placed in the sentence it limits: "On macOS and Linux, the installer…".
59
+
60
+ Where a sentence has nothing to add, cut it. Concreteness has a ceiling too. In past
61
+ headline experiments, extra concreteness helped headlines that were too vague and hurt ones
62
+ that were already very concrete (HC-03). Packing identifiers into an opening won't rescue it.
63
+
64
+ If the source material doesn't contain the substance, don't supply it yourself. Ask the
65
+ author, or leave the passage plain and accurate.
66
+
67
+ ## What a person leaves behind
68
+
69
+ These are signs that someone who knows the work was involved. Look for them in review and
70
+ note which ones are missing. Never fabricate one to make copy read better; a fabricated
71
+ detail is worse than an absent one.
72
+
73
+ - a named artifact the reader can open or run
74
+ - the exact version or environment, where it changes the outcome
75
+ - an engineering task a reader would recognize from their own week
76
+ - an observation kept apart from the inference drawn from it
77
+ - a credible counterexample, or the simpler alternative the author considered
78
+ - a material limit sitting in the sentence it qualifies
79
+ - a reason for a judgment, owned by the author
80
+ - a next step the reader can reproduce
81
+ - variation that follows from the subject
82
+
83
+ PostHog's published voice guide argues for much the same list: concrete nouns, directness,
84
+ candor about limitations (DP-05). That is one company's judgment, with no measured effect.
85
+
86
+ ## Hedging that protects the writer
87
+
88
+ The other common complaint is "wishy-washy": copy so qualified that it never commits to
89
+ anything. It usually comes from review language leaking into the material. Evidence,
90
+ verification and approval wording belongs in the review record, and so do qualifiers that
91
+ protect the writer without informing the reader. The claim rule below protects every hedge
92
+ that is true and would change what the reader does. It does not protect review residue: move
93
+ the evidence to the review record and state the capability plainly.
94
+
95
+ ## Who is speaking, and to whom
96
+
97
+ None of these choices makes text sound human by itself. Each depends on the piece.
98
+
99
+ Instructions usually read best addressed to the person following them: "run", "you'll see".
100
+ Reference pages and explanations often don't need "you" at all, and forcing it in makes them
101
+ chatty. Use it where someone is being told what to do.
102
+
103
+ A company account is a team talking when it reports what the team did: "we shipped", not the
104
+ company name in the third person. When the subject is how the product behaves, the product
105
+ can be the subject.
106
+
107
+ Writing under a person's name can carry opinion, judgment and preference, and those belong to
108
+ the named author. Prose under a byline in the impersonal third person reads like
109
+ documentation with a name on it. How personal it gets is the author's call.
110
+
111
+ A question earns its place when the argument raised it and the author wants the answer. One
112
+ bolted on to collect replies is bait.
113
+
114
+ ## Channel policies on AI-assisted writing
115
+
116
+ LinkedIn has stated its position (HV-18, HV-19):
117
+
118
+ > It's ok to use AI to help you write, but your posts and comments need to represent your
119
+ > voice and your perspectives.
120
+
121
+ > When content appears to be generated by AI and lacks clear perspective, it is less likely
122
+ > to be widely distributed beyond a person's immediate network.
123
+
124
+ This is LinkedIn's own account of its system, and it hasn't been independently verified.
125
+ Read the two sentences together. Help with language is allowed when the post is the member's
126
+ own view, and what LinkedIn says it limits is content that looks generated *and* has no clear
127
+ perspective. Neither sentence says AI help alone costs reach. Elsewhere the evidence on how
128
+ readers react to AI assistance is mixed: a preprint, not peer reviewed, found some assistance
129
+ raised engagement while lowering perceived authenticity (HV-11), and a review of 47
130
+ journalism studies found no consistent trust penalty (HV-12). For a reviewer, "does this say
131
+ something the author actually thinks?" matters more than any word list.
132
+
133
+ Hacker News draws a harder line. The comment section of its guidelines says: "Don't post
134
+ generated text or AI-edited text. HN is for conversation between humans." (HC-16)
135
+
136
+ The rule is written for comments. Cratis applies it, as its own stricter policy, to
137
+ everything it posts there: nothing Cratis posts to Hacker News is written or edited by AI,
138
+ whether title, text or comment. Don't run a voice pass on HN copy. You can help the person
139
+ check facts and links.
@@ -4,26 +4,26 @@
4
4
  "fixtures": [],
5
5
  "assertions": [
6
6
  { "kind": "skill-contains", "value": "Never trade a claim for a smoother sentence" },
7
- { "kind": "skill-contains", "value": "The fix for a template is not a better template" },
7
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "The fix for a template is not a better template" },
8
8
  { "kind": "skill-contains", "value": "qualifiers such as not, never, only, may, unless and until survive in substance" },
9
9
  { "kind": "skill-contains", "value": "First person is not a license to invent" },
10
- { "kind": "skill-contains", "value": "Structural sameness is the more damaging half" },
10
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Structural sameness is the more damaging half" },
11
11
  { "kind": "skill-contains", "value": "Rewrite a tranche, read it, and only then continue" },
12
12
  { "kind": "skill-contains", "value": "Punchline fragment" },
13
13
  { "kind": "skill-contains", "value": "Labeled caveat" },
14
- { "kind": "skill-contains", "value": "Hedging that protects the writer" },
15
- { "kind": "skill-contains", "value": "A company account is a team talking" },
14
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Hedging that protects the writer" },
15
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "A company account is a team talking" },
16
16
  { "kind": "skill-contains", "value": "This is an editing aid, not a detector" },
17
17
  { "kind": "skill-contains", "value": "It never means \"AI wrote this\"." },
18
18
  { "kind": "skill-contains", "value": "Never use a flag, a count or a detector score to accuse a person" },
19
19
  { "kind": "skill-contains", "value": "Don't push them toward an arbitrary house style" },
20
20
  { "kind": "skill-contains", "value": "Contractions, \"I\", humor, short sentences and typos prove nothing about who wrote a text" },
21
- { "kind": "skill-contains", "value": "Flag concentration in the batch, never one outlier" },
22
- { "kind": "skill-contains", "value": "Fix with substance" },
23
- { "kind": "skill-contains", "value": "Never fabricate one to make copy read better" },
21
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Flag concentration in the batch, never one outlier" },
22
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Fix with substance" },
23
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Never fabricate one to make copy read better" },
24
24
  { "kind": "skill-contains", "value": "Copy in the first person needs the named author's own input" },
25
- { "kind": "skill-contains", "value": "lacks clear perspective" },
26
- { "kind": "skill-contains", "value": "Cratis applies it, as its own stricter policy" },
25
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "lacks clear perspective" },
26
+ { "kind": "skill-contains", "file": "references/voice-guidance.md", "value": "Cratis applies it, as its own stricter policy" },
27
27
  { "kind": "skill-contains", "value": "references/ai-tells.md" },
28
28
  { "kind": "skill-contains", "value": "samples (both profiles), **cratis-social-feed-post** for feed posts (`cratis/content`)" },
29
29
  { "kind": "skill-contains", "value": "**cratis-documentation-writing** for pages (`cratis/documentation`)" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.158.0",
3
+ "version": "7.158.2",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [