@xynogen/pix-skills 0.10.1 → 0.10.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.
Files changed (44) hide show
  1. package/README.md +28 -22
  2. package/package.json +3 -3
  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 -68
  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
@@ -1,64 +1,61 @@
1
- ---
2
- name: human
3
- description: Audit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," "make this sound less like AI," or "humanize this." Supports rewrite, detect-only, and edit-in-place modes, plus voice profiles (casual / professional / technical / warm / blunt). Based on conorbronsdon/avoid-ai-writing.
4
- disable-model-invocation: true
5
- ---
6
-
7
- # Avoid AI Writing — Audit & Rewrite
8
-
9
- You are editing content to remove AI writing patterns ("AI-isms") that make text sound machine-generated.
10
-
11
- ## What this skill is and isn't
12
-
13
- This is a **writing-quality tool**, not a verdict. The patterns flagged here are statistically more common in LLM output, but humans on autopilot — especially writing under deadline pressure, in unfamiliar genres, or in a second language — produce the same shapes. Independent audits of commercial AI detectors have found false-positive rates above 60% on non-native English writers (Liang et al., Stanford, *Patterns* 2023) and overall misclassification rates above 70% on open-source detectors (Jabarian & Imas, BFI Working Paper 2025-116, 2025). Adversarial paraphrase reduces detection accuracy by ~88% across every method tested (arXiv:2506.07001, 2025).
14
-
15
- The patterns are useful as a signal — both for cleaning up your own writing and for assessing whether a piece reads as AI-generated. Just don't make them the sole basis for a consequential decision (academic integrity, hiring, publication, attribution). Several rules here also fire on second-language writing, deadline-pressed humans, and technical genres that compress vocabulary by design. Pair the signal with context: who wrote it, what genre, what the writer's normal voice looks like, what other evidence you have.
16
-
17
- In short: signals, not proof. Worth acting on; not worth ruining someone's day over.
18
-
19
- ## Modes
20
-
21
- This skill operates in one of three modes:
22
-
23
- **`rewrite`** (default) — Flag AI-isms and rewrite the text to fix them.
24
-
25
- **`detect`** — Flag AI-isms only. No rewriting. Use this mode when:
26
-
27
- - The writer wants to see what's flagged and decide what to fix themselves
28
- - The flagged patterns might be intentional (AI patterns aren't always bad — they can be effective in small doses)
29
- - You're auditing text you don't want altered (published content, someone else's writing, reference material)
30
- - You want a quick scan without waiting for a full rewrite
31
-
32
- **`edit`** — Edit a file in place rather than returning rewritten text. Use this when the writer points you at a file ("clean up `draft.md`", "fix the AI-isms in this file directly") and wants the file changed, not a copy to paste back. Make **minimal, targeted edits** with the Edit tool — change the flagged spans, not the whole document. **Preserve passages that are already human**: if a paragraph has no tells, leave it untouched. **Don't edit quoted material, code blocks, or text attributed to someone else** — flag those instead of rewriting them. For a large file, confirm which section to clean before changing anything. After editing, re-read the file and confirm the flagged patterns are resolved.
33
-
34
- Trigger detect mode when the user says "detect," "flag only," "audit only," "just flag," "scan," "what AI patterns are in this," or similar. Trigger edit mode when the user names a file and asks you to fix or clean it in place. Default to rewrite mode if not specified.
35
-
36
- **Invocation.** Natural language is enough ("rewrite this in a blunt voice for LinkedIn," "edit `post.md` in place," "scan this, don't rewrite"). Power users can also pass explicit options, which map to the sections below: `[--mode rewrite|detect|edit]`, `[--voice casual|professional|technical|warm|blunt]`, `[--context linkedin|blog|technical-blog|investor-email|docs|casual]`, `[--file PATH]`, `[--iterate N]` (max 2).
37
-
38
- **Iterate to convergence (optional).** Rewrite mode already runs one corrective second pass (see Output format) — that built-in pass *is* pass 2, so `--iterate` does not stack on top of it. When the writer asks to "iterate," "keep going until it's clean," or passes `--iterate N`, repeat the audit→rewrite cycle until no patterns remain or **N passes** are reached. Cap **N at 2**: a rewrite plus one corrective pass clears the flagged patterns, and a third pass costs a full regeneration while rarely finding more. Report how many passes it took ("converged in 2 passes").
39
-
40
- ---
41
-
42
- In **rewrite** mode, your job is to:
43
-
44
- 1. **Audit it**: identify every AI-ism present, citing the specific text
45
- 2. **Rewrite it**: return a clean version with all AI-isms removed
46
- 3. **Show a diff summary**: briefly list what you changed and why
47
-
48
- In **detect** mode, your job is to:
49
-
50
- 1. **Audit it**: identify every AI-ism present, citing the specific text
51
- 2. **Assess it**: note which flags are clear problems vs. patterns that may be intentional or effective in context
52
-
53
- In **edit** mode, your job is to:
54
-
55
- 1. **Read** the file the writer named
56
- 2. **Edit in place**: apply minimal, targeted fixes to the flagged spans with the Edit tool, leaving already-human passages untouched
57
- 3. **Verify**: re-read the file and confirm the flagged patterns are resolved; report what you changed
58
-
59
- ---
60
-
61
- ## What to remove or fix
1
+ # AI writing patterns — full catalog
2
+
3
+ Loaded by the `human` skill. Every rule below is a fix target; severity is in SKILL.md.
4
+
5
+ ## Contents
6
+
7
+ - Formatting
8
+ - Sentence structure
9
+ - Words and phrases to replace
10
+ - Template phrases (avoid)
11
+ - Transition phrases to remove or rewrite
12
+ - Structural issues
13
+ - Significance inflation
14
+ - Generic future-narrative closers
15
+ - Hedge-stacked predictions
16
+ - "Real/actual" adjective inflation
17
+ - Hashtag stuffing
18
+ - Bullet lists of bare noun phrases
19
+ - Copula avoidance
20
+ - Synonym cycling
21
+ - Vague attributions
22
+ - Filler phrases
23
+ - Generic conclusions
24
+ - Chatbot artifacts
25
+ - "Let's" constructions
26
+ - Notability name-dropping
27
+ - Superficial -ing analyses
28
+ - Promotional language
29
+ - Formulaic challenges
30
+ - False ranges
31
+ - Inline-header lists
32
+ - List-label periods
33
+ - Title case headings
34
+ - Hyphenated-pair overuse
35
+ - Cutoff disclaimers
36
+ - Speculative gap-filling
37
+ - Unfilled placeholders
38
+ - Chatbot citation markup leaks
39
+ - AI-tool URL parameters
40
+ - Novelty inflation
41
+ - Infomercial engagement hooks
42
+ - Social endorsement closers
43
+ - Emotional flatline
44
+ - False concession structure
45
+ - Rhetorical question openers
46
+ - Parenthetical hedging
47
+ - Numbered list inflation
48
+ - Reasoning chain artifacts
49
+ - Sycophantic tone
50
+ - Acknowledgment loops
51
+ - Confidence calibration phrases
52
+ - Self-labeling significance
53
+ - Excessive structure
54
+ - Rhythm and uniformity
55
+ - Vocabulary diversity (stylometric)
56
+ - Paragraph-reshuffle immunity (structure test)
57
+ - Treadmill effect / low information density (content test)
58
+ - When to rewrite from scratch vs. patch
62
59
 
63
60
  ### Formatting
64
61
 
@@ -503,194 +500,3 @@ This is the first of four stylometric signals on the roadmap. The others (senten
503
500
  ### When to rewrite from scratch vs. patch
504
501
 
505
502
  If the text has 5+ flagged vocabulary hits across multiple categories, 3+ distinct pattern categories triggered, and uniform sentence/paragraph length, patching individual phrases won't fix it — the structure itself is AI-generated. Advise a full rewrite: state the core point in one sentence, then rebuild from there.
506
-
507
- ---
508
-
509
- ## Severity tiers
510
-
511
- Not all AI-isms are equal. When doing a quick pass or triaging a large document, prioritize by tier:
512
-
513
- ### P0 — Credibility killers (fix immediately)
514
-
515
- - Cutoff disclaimers ("As of my last update")
516
- - Chatbot artifacts ("I hope this helps!", "Great question!")
517
- - Vague attributions without sources ("Experts believe")
518
- - Significance inflation on routine events
519
- - Hashtag stuffing on `linkedin` and `investor-email` posts (severity varies by profile — same rule, lower priority on `blog`/`technical-blog` where a launch post may legitimately stack tags; see the context-profile table below)
520
-
521
- ### P1 — Obvious AI smell (fix before publishing)
522
-
523
- - Word-list violations (delve, leverage, harness, robust, etc.)
524
- - Template phrases and slot-fill constructions
525
- - "Let's" transition openers
526
- - Synonym cycling within a paragraph
527
- - Formulaic openings ("In the rapidly evolving world of...")
528
- - Bold overuse
529
- - Em dash frequency (above 1 per 1,000 words)
530
- - Generic future-narrative closers ("may become one of the most important narratives…")
531
- - Social endorsement closers ("This one is worth your time:", "thank me later")
532
- - Hedge-stacked predictions ("could potentially," "may eventually")
533
- - Real/actual adjective inflation ("real on-chain tokenomics")
534
- - Bullet lists of bare noun phrases (5+ short adj+noun items, no verbs)
535
- - Tier 3 phrase clustering (≥3 distinct boilerplate phrases in one piece)
536
-
537
- ### P2 — Stylistic polish (fix when time allows)
538
-
539
- - Generic conclusions ("The future looks bright")
540
- - Compulsive rule of three
541
- - Uniform paragraph length
542
- - Copula avoidance (serves as, features, boasts)
543
- - Transition phrases (Moreover, Furthermore, Additionally)
544
- - Hashtag stuffing (`blog`/`technical-blog` profiles)
545
- - Tier 3 phrase repetition (single phrase ≥2× — fine in isolation, suspect in stacks)
546
-
547
- Use P0+P1 for quick passes. Full audit covers all three tiers.
548
-
549
- ---
550
-
551
- ## Self-reference escape hatch
552
-
553
- When writing *about* AI writing patterns (blog posts, tutorials, skill documentation like this file), quoted examples are exempt from flagging. Text inside quotation marks, code blocks, or explicitly marked as illustrative ("for example, AI might write...") should not be rewritten. Only flag patterns that appear in the author's own prose, not in cited examples of bad writing.
554
-
555
- ---
556
-
557
- ## Context profiles
558
-
559
- Pass an optional context hint to adjust rule strictness. If no context is specified, auto-detect from content cues (short + hashtags = social, code blocks = technical, salutation = email, default = blog).
560
-
561
- ### Profile definitions
562
-
563
- **`linkedin`** — Short-form social. Punchy fragments, visual formatting matter.
564
- **`blog`** — Default. Standard long-form prose. All rules apply at full strength.
565
- **`technical-blog`** — Long-form with code, architecture, APIs. Technical terms get a pass.
566
- **`investor-email`** — High-trust audience. Tighten everything; promotional language is the biggest risk.
567
- **`docs`** — Documentation, READMEs, guides. Clarity over voice.
568
- **`casual`** — Slack messages, internal notes, quick replies. Only catch the worst offenders.
569
-
570
- ### Tolerance matrix
571
-
572
- Rules not listed in the table apply at full strength across all profiles.
573
-
574
- | Rule | linkedin | blog | technical-blog | investor-email | docs | casual |
575
- |------|----------|------|----------------|----------------|------|--------|
576
- | Em dashes | relaxed (2/post OK) | strict | strict | strict | relaxed | skip |
577
- | Bold overuse | relaxed (bold hooks OK) | strict | strict | strict | relaxed | skip |
578
- | Emoji in headers | relaxed (1-2 end-of-line OK) | strict | strict | strict | skip | skip |
579
- | Excessive bullets | skip (lists work on LinkedIn) | strict | relaxed (technical lists OK) | strict | skip (lists are docs) | skip |
580
- | Hedging | strict | strict | relaxed ("may" is accurate in technical) | strict | relaxed | skip |
581
- | Word table (full list) | strict | strict | **partial** (see below) | strict | relaxed | P0 only |
582
- | Promotional language | relaxed (some sell is expected) | strict | strict | **extra strict** | strict | skip |
583
- | Significance inflation | strict | strict | strict | **extra strict** | relaxed | skip |
584
- | Copula avoidance | skip | strict | relaxed | strict | skip | skip |
585
- | Uniform paragraph length | skip (short-form) | strict | strict | strict | relaxed | skip |
586
- | Numbered list inflation | relaxed | strict | relaxed | strict | skip | skip |
587
- | Rhetorical questions | relaxed (1 as hook OK) | strict | strict | strict | strict | skip |
588
- | Transition phrases | skip (short-form) | strict | strict | strict | relaxed | skip |
589
- | Generic conclusions | skip | strict | strict | **extra strict** | skip | skip |
590
- | Hashtag stuffing | strict | strict | strict | **extra strict** | skip (no hashtags in docs) | skip |
591
- | Bullet-NP lists | strict | strict | relaxed (technical option lists OK) | strict | relaxed (parameter lists OK) | skip |
592
- | Tier 3 phrase clustering | strict | strict | strict | **extra strict** | relaxed | skip |
593
- | Future-narrative closers | strict | strict | strict | **extra strict** | skip | skip |
594
- | Social endorsement closers | strict (the LinkedIn share-post tell) | strict | strict | strict | skip | relaxed (1 OK in a DM) |
595
- | Hedge-stacked predictions | strict | strict | relaxed ("could" is hedged accuracy) | **extra strict** | relaxed | skip |
596
- | Real/actual inflation | strict | strict | strict | **extra strict** | relaxed | skip |
597
-
598
- **Technical-blog word table exceptions:** These terms have legitimate technical meaning and should not be flagged in technical context: `robust`, `comprehensive`, `seamless`, `ecosystem`, `leverage` (when discussing actual platform leverage/APIs), `facilitate`, `underpin`, `streamline`. Still flag: `delve`, `tapestry`, `beacon`, `embark`, `testament to`, `game-changer`, `harness`.
599
-
600
- **"Extra strict"** means: flag even borderline instances. In investor emails, a single "thriving ecosystem" can undermine the whole message.
601
-
602
- **"Skip"** means: don't audit this category for this profile. The rule doesn't apply or isn't worth the edit.
603
-
604
- ### Auto-detection cues
605
-
606
- When no context is specified, infer from these signals:
607
-
608
- | Signal | Inferred context |
609
- |--------|-----------------|
610
- | Under 300 words + hashtags or mentions | `linkedin` |
611
- | Code blocks, API references, or technical architecture | `technical-blog` |
612
- | Salutation ("Hi [name]", "Dear") + investor/fundraising language | `investor-email` |
613
- | Step-by-step instructions, parameter docs, README structure | `docs` |
614
- | No strong signals | `blog` (safest default — all rules apply) |
615
-
616
- If auto-detection feels wrong, say which profile you're using and why. The user can override.
617
-
618
- ---
619
-
620
- ## Voice profiles
621
-
622
- Context profiles (above) set *how strict* to be for an audience. Voice profiles set *how the prose should sound* — the persona. They're independent axes: you can write blunt for a blog or warm for docs. Voice is **optional** — if the writer doesn't name one, infer it from the input's existing register and don't impose a persona on text that already has one.
623
-
624
- Each profile is a set of concrete targets, not a vibe:
625
-
626
- **`casual`** — Contractions throughout; their absence reads stiff. Short sentences (aim for ≤14 words on average); fragments allowed. At least one first-person or concrete-anecdote touch. Near-zero jargon. Keep warm hedges ("honestly," "I think") but cut corporate ones ("it's worth noting"). *Blog posts, social, community.*
627
-
628
- **`professional`** — Active voice for most sentences. Vary sentence length; avoid three in a row within a few words of each other. One concrete claim per paragraph (a number, a name, a date), never "experts say." Make the ask explicit. Low tolerance for hedging. *LinkedIn, investor email, sponsor pitches.*
629
-
630
- **`technical`** — Prefer plain copulatives ("X is Y") over inflated substitutes ("serves as," "stands as a testament to"). One idea per sentence; imperative mood for instructions. Jargon is fine, but define it on first use. Tables and lists only where the content is genuinely list-shaped, not for decoration. *Docs, technical blog.*
631
-
632
- **`warm`** — Address the reader directly ("you") and acknowledge them at least once. Cut intensifiers ("very," "truly," "incredibly") in favor of stronger verbs. No performative-empathy openers ("I completely understand how you feel"). Medium sentences (15–20 words) for an unhurried cadence. *Mentorship, onboarding, thank-yous.*
633
-
634
- **`blunt`** — Lead with the claim; cut "It's important to note that" windups. Em-dashes are rare here; use periods for emphasis. No padding to hit a rule of three. Near-zero hedging; flag "may / could / potentially" stacks. Short declaratives, with the occasional long sentence for contrast. *Decision memos, thought leadership, hard feedback.*
635
-
636
- **Calibrate to a sample (optional).** If the writer gives you a sample of their own writing ("match my voice — here's a post"), analyze its sentence-length pattern, contraction rate, paragraph openings, and recurring word choices, then match those instead of a named profile. Don't "upgrade" their vocabulary: if they write "stuff" and "things," keep that register.
637
-
638
- **How voice composes with context.** Voice sets the target; context sets how hard to enforce it. A voice *target* always applies, even where a context profile would skip that category — `technical` voice still prefers plain copulatives in a `casual` context that otherwise ignores copula avoidance. Where both axes govern the same rule and agree, they reinforce: `blunt` voice wants near-zero em-dashes and a `blog` context is already strict on them, so it stays a hard edit. Where they disagree, resolve toward the **stricter** of the two — a `warm` voice on `docs` still doesn't get decorative tables. Sensible default pairings: casual↔casual, professional↔linkedin/investor-email, technical↔docs/technical-blog.
639
-
640
- ---
641
-
642
- ## Output format
643
-
644
- ### Rewrite mode (default)
645
-
646
- Return your response in four sections:
647
-
648
- **1. Issues found**
649
- A bulleted list of every AI-ism identified, with the offending text quoted.
650
-
651
- **2. Rewritten version**
652
- The full rewritten content. Preserve the original structure, intent, and all specific technical details. Only change what the guidelines require.
653
-
654
- **3. What changed**
655
- A brief summary of the major edits made. Not every word, just the meaningful changes.
656
-
657
- **4. Second-pass audit**
658
- Re-read the rewritten version from section 2. Identify any remaining AI tells that survived the first pass — recycled transitions, lingering inflation, copula avoidance, filler phrases, or anything else from the categories above. Fix them, return the corrected text inline, and note what changed in this pass. If the rewrite is clean, say so.
659
-
660
- ### Detect mode
661
-
662
- Return your response in two sections:
663
-
664
- **1. Issues found**
665
- A bulleted list of every AI-ism identified, with the offending text quoted. Group by severity (P0, P1, P2).
666
-
667
- **2. Assessment**
668
- For each flag, note whether it's a clear problem or a judgment call. Some AI-associated patterns are effective writing techniques — uniform paragraph length is a problem, but a well-placed "however" isn't. Call out which flags the writer should definitely fix vs. which ones are worth a second look but might be fine in context. If the text is clean, say so.
669
-
670
- ### Edit mode
671
-
672
- After editing the file in place, return a short report — not the full file:
673
-
674
- **1. Edits made**
675
- A bulleted list of the changes, each with the file location and the before → after. Only the spans you touched.
676
-
677
- **2. Verification**
678
- Confirm you re-read the file and the flagged patterns are resolved. Note anything you deliberately left alone because it was already human or intentional.
679
-
680
- ---
681
-
682
- ## Tone calibration
683
-
684
- The goal is writing that sounds like a person wrote it. Direct. Specific. The writing should demonstrate confidence, not assert it.
685
-
686
- Five principles for human-sounding rewrites:
687
-
688
- 1. **Vary sentence length** — mix short with long. Fragments are fine.
689
- 2. **Be concrete** — replace vague claims with numbers, names, dates, or examples.
690
- 3. **Have a voice** — where appropriate, use first person, state preferences, show reactions.
691
- 4. **Cut the neutrality** — humans have opinions. If the piece is supposed to take a position, take it.
692
- 5. **Earn your emphasis** — don't tell the reader something is interesting. Make it interesting.
693
-
694
- If the original writing is already strong, say so and make only the necessary cuts. Don't over-edit for the sake of it.
695
-
696
- The replacement table provides defaults, not mandates. If a flagged word is clearly the right choice in context, preserve it.
@@ -0,0 +1,86 @@
1
+ # Context and voice profiles
2
+
3
+ Loaded by the `human` skill when the user names a context or voice, or when auto-detection is needed.
4
+
5
+ ## Context profiles
6
+
7
+ Pass an optional context hint to adjust rule strictness. If no context is specified, auto-detect from content cues (short + hashtags = social, code blocks = technical, salutation = email, default = blog).
8
+
9
+ ### Profile definitions
10
+
11
+ **`linkedin`** — Short-form social. Punchy fragments, visual formatting matter.
12
+ **`blog`** — Default. Standard long-form prose. All rules apply at full strength.
13
+ **`technical-blog`** — Long-form with code, architecture, APIs. Technical terms get a pass.
14
+ **`investor-email`** — High-trust audience. Tighten everything; promotional language is the biggest risk.
15
+ **`docs`** — Documentation, READMEs, guides. Clarity over voice.
16
+ **`casual`** — Slack messages, internal notes, quick replies. Only catch the worst offenders.
17
+
18
+ ### Tolerance matrix
19
+
20
+ Rules not listed in the table apply at full strength across all profiles.
21
+
22
+ | Rule | linkedin | blog | technical-blog | investor-email | docs | casual |
23
+ |------|----------|------|----------------|----------------|------|--------|
24
+ | Em dashes | relaxed (2/post OK) | strict | strict | strict | relaxed | skip |
25
+ | Bold overuse | relaxed (bold hooks OK) | strict | strict | strict | relaxed | skip |
26
+ | Emoji in headers | relaxed (1-2 end-of-line OK) | strict | strict | strict | skip | skip |
27
+ | Excessive bullets | skip (lists work on LinkedIn) | strict | relaxed (technical lists OK) | strict | skip (lists are docs) | skip |
28
+ | Hedging | strict | strict | relaxed ("may" is accurate in technical) | strict | relaxed | skip |
29
+ | Word table (full list) | strict | strict | **partial** (see below) | strict | relaxed | P0 only |
30
+ | Promotional language | relaxed (some sell is expected) | strict | strict | **extra strict** | strict | skip |
31
+ | Significance inflation | strict | strict | strict | **extra strict** | relaxed | skip |
32
+ | Copula avoidance | skip | strict | relaxed | strict | skip | skip |
33
+ | Uniform paragraph length | skip (short-form) | strict | strict | strict | relaxed | skip |
34
+ | Numbered list inflation | relaxed | strict | relaxed | strict | skip | skip |
35
+ | Rhetorical questions | relaxed (1 as hook OK) | strict | strict | strict | strict | skip |
36
+ | Transition phrases | skip (short-form) | strict | strict | strict | relaxed | skip |
37
+ | Generic conclusions | skip | strict | strict | **extra strict** | skip | skip |
38
+ | Hashtag stuffing | strict | strict | strict | **extra strict** | skip (no hashtags in docs) | skip |
39
+ | Bullet-NP lists | strict | strict | relaxed (technical option lists OK) | strict | relaxed (parameter lists OK) | skip |
40
+ | Tier 3 phrase clustering | strict | strict | strict | **extra strict** | relaxed | skip |
41
+ | Future-narrative closers | strict | strict | strict | **extra strict** | skip | skip |
42
+ | Social endorsement closers | strict (the LinkedIn share-post tell) | strict | strict | strict | skip | relaxed (1 OK in a DM) |
43
+ | Hedge-stacked predictions | strict | strict | relaxed ("could" is hedged accuracy) | **extra strict** | relaxed | skip |
44
+ | Real/actual inflation | strict | strict | strict | **extra strict** | relaxed | skip |
45
+
46
+ **Technical-blog word table exceptions:** These terms have legitimate technical meaning and should not be flagged in technical context: `robust`, `comprehensive`, `seamless`, `ecosystem`, `leverage` (when discussing actual platform leverage/APIs), `facilitate`, `underpin`, `streamline`. Still flag: `delve`, `tapestry`, `beacon`, `embark`, `testament to`, `game-changer`, `harness`.
47
+
48
+ **"Extra strict"** means: flag even borderline instances. In investor emails, a single "thriving ecosystem" can undermine the whole message.
49
+
50
+ **"Skip"** means: don't audit this category for this profile. The rule doesn't apply or isn't worth the edit.
51
+
52
+ ### Auto-detection cues
53
+
54
+ When no context is specified, infer from these signals:
55
+
56
+ | Signal | Inferred context |
57
+ |--------|-----------------|
58
+ | Under 300 words + hashtags or mentions | `linkedin` |
59
+ | Code blocks, API references, or technical architecture | `technical-blog` |
60
+ | Salutation ("Hi [name]", "Dear") + investor/fundraising language | `investor-email` |
61
+ | Step-by-step instructions, parameter docs, README structure | `docs` |
62
+ | No strong signals | `blog` (safest default — all rules apply) |
63
+
64
+ If auto-detection feels wrong, say which profile you're using and why. The user can override.
65
+
66
+ ---
67
+
68
+ ## Voice profiles
69
+
70
+ Context profiles (above) set *how strict* to be for an audience. Voice profiles set *how the prose should sound* — the persona. They're independent axes: you can write blunt for a blog or warm for docs. Voice is **optional** — if the writer doesn't name one, infer it from the input's existing register and don't impose a persona on text that already has one.
71
+
72
+ Each profile is a set of concrete targets, not a vibe:
73
+
74
+ **`casual`** — Contractions throughout; their absence reads stiff. Short sentences (aim for ≤14 words on average); fragments allowed. At least one first-person or concrete-anecdote touch. Near-zero jargon. Keep warm hedges ("honestly," "I think") but cut corporate ones ("it's worth noting"). *Blog posts, social, community.*
75
+
76
+ **`professional`** — Active voice for most sentences. Vary sentence length; avoid three in a row within a few words of each other. One concrete claim per paragraph (a number, a name, a date), never "experts say." Make the ask explicit. Low tolerance for hedging. *LinkedIn, investor email, sponsor pitches.*
77
+
78
+ **`technical`** — Prefer plain copulatives ("X is Y") over inflated substitutes ("serves as," "stands as a testament to"). One idea per sentence; imperative mood for instructions. Jargon is fine, but define it on first use. Tables and lists only where the content is genuinely list-shaped, not for decoration. *Docs, technical blog.*
79
+
80
+ **`warm`** — Address the reader directly ("you") and acknowledge them at least once. Cut intensifiers ("very," "truly," "incredibly") in favor of stronger verbs. No performative-empathy openers ("I completely understand how you feel"). Medium sentences (15–20 words) for an unhurried cadence. *Mentorship, onboarding, thank-yous.*
81
+
82
+ **`blunt`** — Lead with the claim; cut "It's important to note that" windups. Em-dashes are rare here; use periods for emphasis. No padding to hit a rule of three. Near-zero hedging; flag "may / could / potentially" stacks. Short declaratives, with the occasional long sentence for contrast. *Decision memos, thought leadership, hard feedback.*
83
+
84
+ **Calibrate to a sample (optional).** If the writer gives you a sample of their own writing ("match my voice — here's a post"), analyze its sentence-length pattern, contraction rate, paragraph openings, and recurring word choices, then match those instead of a named profile. Don't "upgrade" their vocabulary: if they write "stuff" and "things," keep that register.
85
+
86
+ **How voice composes with context.** Voice sets the target; context sets how hard to enforce it. A voice *target* always applies, even where a context profile would skip that category — `technical` voice still prefers plain copulatives in a `casual` context that otherwise ignores copula avoidance. Where both axes govern the same rule and agree, they reinforce: `blunt` voice wants near-zero em-dashes and a `blog` context is already strict on them, so it stays a hard edit. Where they disagree, resolve toward the **stricter** of the two — a `warm` voice on `docs` still doesn't get decorative tables. Sensible default pairings: casual↔casual, professional↔linkedin/investor-email, technical↔docs/technical-blog.
package/skills/lint.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: lint
3
- description: Select and run the project's linter through bash. Use when asked to lint, fix lint findings, or check code quality.
3
+ description: Selects and runs the project's linter (lsp_diagnostics, then the project script, config, or a language default) and fixes findings. Use when asked to lint, fix lint errors, or check code quality.
4
4
  disable-model-invocation: true
5
5
  ---
6
6
  # Project Lint
package/skills/lsp.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: lsp
3
- description: Select and configure a project language server for pix-diagnostics. Use when LSP is missing, unavailable, or needs setup for a language.
3
+ description: Selects, installs with consent, and configures a project language server in .pi/lsp.json for pix-diagnostics, then confirms it with lsp_diagnostics. Use when LSP diagnostics or navigation are missing, unavailable, or need setup for a language.
4
4
  disable-model-invocation: true
5
5
  ---
6
6
  # Project LSP Setup
@@ -12,13 +12,10 @@ installation. Configure it in `<project>/.pi/lsp.json`.
12
12
 
13
13
  1. Detect the language from project files and manifests.
14
14
  2. Prefer an existing server in project dependencies or on `PATH`.
15
- 3. Ask before installing a missing server. Use a project-local install.
16
- 4. Add only the selected language to `.pi/lsp.json`.
17
- 5. Run `lsp_diagnostics` on one source file. Its manager reads `.pi/lsp.json` directly.
18
-
19
- Do not add all languages. Do not install a server globally. Do not use a server
20
- because it appears first in this table; project configuration and existing tools
21
- win.
15
+ 3. Ask before installing a missing server. Prefer a project-local install (dev dependency, `uv` group). For servers with no local form (`gopls`, `rust-analyzer`, `clangd`, `terraform-ls`, `lua-language-server`), ask how the user wants it installed.
16
+ 4. Add only the selected language to `.pi/lsp.json`. Never add every language.
17
+ 5. Run `lsp_diagnostics` on one source file.
18
+ 6. Report: language, server, config path, and the result. If the server fails to start or returns an error, report it and stop. Do not try another server without asking.
22
19
 
23
20
  ## Common choices
24
21
 
@@ -41,7 +38,7 @@ win.
41
38
  | CSS | `vscode-css-language-server` | `--stdio` |
42
39
  | TOML | `taplo` | `lsp stdio` |
43
40
 
44
- Check official server documentation when a command is not in this table.
41
+ For other languages (Java, C#, Swift, Bash, ...), check the official server docs. Do not guess the command.
45
42
 
46
43
  ## Config shape
47
44
 
@@ -62,8 +59,7 @@ Check official server documentation when a command is not in this table.
62
59
  Each key is a server ID. Required fields are `command`, `extensions`, and
63
60
  `languageId`. Optional fields are `args`, `filenames`, and `rootMarkers`.
64
61
 
65
- Use one command. Wrapper commands such as `uv` or `bunx` can be the command,
66
- with the server command in `args`:
62
+ `command` is the executable. For a wrapper such as `uv` or `bunx`, put the wrapper in `command` and the server in `args`:
67
63
 
68
64
  ```json
69
65
  {
package/skills/readme.md CHANGED
@@ -1,22 +1,17 @@
1
1
  ---
2
2
  name: readme
3
- description: Create or update a project README in a fixed, deployment-focused style with required sections, env-var tables, and an enforced tone
3
+ description: Creates or updates a project README in a fixed, deployment-focused style with required sections, env-var tables, and an enforced tone. Use when asked to write, rewrite, or update a README or project docs for setup and deployment.
4
4
  disable-model-invocation: true
5
5
  ---
6
- # README Directive
6
+ # README
7
7
 
8
- ## Core Philosophy
8
+ Audience: a deployment engineer or new developer who must run the project in five minutes and know which settings are safe to change in production.
9
9
 
10
- Produce README aimed at deployment engineer or new developer who needs to run project locally and integrate it into a platform. Optimize for: can they get it running in five minutes, do they know which knobs safe to turn in production? No marketing language, no hobbyist framing.
10
+ ## 1. Gather inputs
11
11
 
12
- ## Below are what agent MUST do
13
-
14
- ### Phase 1: Gather Inputs (Before Writing)
15
-
16
- - **AUTO-RUN**: Run terminal commands and tool calls needed proactively without confirmation unless explicit input required.
17
- - **DETECT EXISTING**: `README.md` already exists → read it first as source of truth for name, purpose, documented endpoints. Treat update as rewrite into this style, preserving factual content.
18
- - **SCAN**: Read `.env.example`, route files, `docker-compose.yml`, task runner files (`justfile`, `Makefile`, `mise.toml`, `Taskfile.yml`, `package.json`), main entrypoint to gather source material.
19
- - **NO GUESSING**: Never invent env var names, endpoints, default values, ports, commands. Required input below unknown after scanning → ask user before writing.
12
+ - **Existing README** → read it first; it is the source of truth for name, purpose, and endpoints. Keep its facts. Show the diff and get confirmation before you overwrite a non-trivial one.
13
+ - **Scan** `.env.example`, route files, `docker-compose.yml`, task runner files (`justfile`, `Makefile`, `mise.toml`, `Taskfile.yml`, `package.json`), and the main entrypoint.
14
+ - **Never invent** env var names, endpoints, defaults, ports, or commands. If a required input is still unknown, ask before you write.
20
15
 
21
16
  Following inputs MUST be identified before drafting:
22
17
 
@@ -34,7 +29,7 @@ Following inputs MUST be identified before drafting:
34
29
  | 10 | Development task-runner recipes | `test`, `codegen`, `tidy`, `lint` |
35
30
  | 11 | License | Exact license name |
36
31
 
37
- ### Phase 2: Environment Variable Buckets
32
+ ## 2. Environment variable buckets
38
33
 
39
34
  Split every env var into exactly one of these three buckets. Bucket empty for project → OMIT its table, don't pad with empty rows.
40
35
 
@@ -44,14 +39,14 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
44
39
  | Infra-tunable runtime values | `Variable` (left-aligned `\|:---\|`), `Default` (right-aligned `\|---:\|`), `Description` | Sensible defaults, safe to override per environment |
45
40
  | Optional feature toggles / external integrations | `Variable` (left-aligned `\|:---\|`), `Default` (right-aligned `\|---:\|`), `Description` | Feature flags, third-party API keys |
46
41
 
47
- ### Phase 3: Required Structure (Sections in Order)
42
+ ## 3. Sections, in order
48
43
 
49
44
  1. `# <Full Name> (<Acronym>)` — acronym only if one exists.
50
45
  2. Opening paragraph (2-3 sentences): what service is, what it ingests, what it emits.
51
46
  3. Separate short paragraph: key operational characteristics.
52
47
  4. `## Table of Contents` — bulleted list of section headings below.
53
48
  5. `## Requirements` — bullet list of runtime prerequisites.
54
- 6. `## Quick Start` — copy `.env.example` → `.env`, set minimum required vars (show secret generation, e.g. `openssl rand -hex 32`), then run command(s). End with default listen address.
49
+ 6. `## Quick Start` — copy `.env.example` → `.env`, set minimum required vars, then run command(s). Show a secret-generation command that fits the secret type. End with the default listen address.
55
50
  7. `## Environment Configuration` — one orienting sentence, then three env tables in bucket order. Close with one-paragraph note about keeping `.env` out of git and injecting via platform secrets in deployments.
56
51
  8. `## Docker Compose` — ONLY if compose file exists. One sentence describing what it does, the `docker compose up --build` command, note that deployment platforms can supply same vars directly.
57
52
  9. `## Authentication` — login endpoint as `text` code block, then both auth methods (bearer header preferred, query param fallback) in separate code blocks.
@@ -60,26 +55,25 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
60
55
  12. `## Development` — `bash` code block listing most-used task-runner recipes (`test`, `codegen`, `tidy`), then one-line note about where annotations or generated artifacts live.
61
56
  13. `## License` — one line.
62
57
 
63
- ### Phase 4: Style Rules (Enforce Strictly)
58
+ ## 4. Style
64
59
 
65
60
  - **PROSE**: Plain factual. No marketing words ("blazing fast", "powerful", "easy", "simple"). No emojis. No badges. No screenshots.
66
- - **ORIENTING SENTENCE**: Every section starts with one orienting sentence before any code, list, or table.
61
+ - **ORIENTING SENTENCE**: Each section opens with one sentence before code, lists, or tables, unless section 3 says it opens with a code block.
67
62
  - **TABLES OVER BULLETS**: Use tables for structured data (env vars, endpoints). Never use bullet lists for things with columns.
68
63
  - **CODE FENCES**: Always carry explicit language tag, but stick to widely-supported ones (`bash`, `text`, `json`, `yaml`, `sql`). Avoid obscure tags like `http`, `dotenv`, `ini` — renderers (GitLab, some Markdown viewers) flag them unsupported, display block in red. Use `text` for raw HTTP request lines / headers or env files, `bash` for `curl` examples.
69
64
  - **CONCRETE DEFAULTS**: Show actual values inline (`8080`, `30`, `10485760`). Never write "configurable" without actual default.
70
65
  - **ENV FORMAT**: Value belongs in `.env` → show as real assignment, not prose.
71
66
  - **ENDPOINTS**: In tables use backticks. HTTP methods uppercase, inside backticks: `` `GET /api/streams` ``.
72
67
  - **OMIT**: No "Contributing", "Acknowledgments", "What is X?", or "About" sections unless explicitly requested.
73
- - **OPENING**: Open with what it does, not what it is for.
74
68
 
75
- ### Phase 5: Customization Rules
69
+ ## 5. Omit when
76
70
 
77
- - **MISSING BUCKET**: Project has no infra-tunable middle tier or no optional integrations → omit that table rather than padding.
78
- - **NO COMPOSE**: Omit `## Docker Compose` section entirely if no compose file exists.
79
- - **NO AUTH**: Service unauthenticated → omit `## Authentication`.
80
- - **NO INTERACTIVE DOCS**: No Swagger/OpenAPI/Storybook served → omit `## Documentation`.
81
- - **MULTI-LANGUAGE MONOREPO**: Ask user which component README targets before writing.
82
- - **EXISTING README**: Present diff of proposed changes, ask confirmation before overwriting non-trivial existing README.
71
+ - An env bucket is empty → omit its table.
72
+ - No compose file → omit `## Docker Compose`.
73
+ - No auth → omit `## Authentication`.
74
+ - No served interactive docs → omit `## Documentation`.
75
+ - Library with no HTTP API → omit `## Authentication` and `## API Overview`; add `## Usage` with a minimal code example.
76
+ - Multi-language monorepo → ask which component the README targets.
83
77
 
84
78
  ## Report
85
79