@xynogen/pix-skills 0.5.2 → 0.5.4

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.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Pi coding agent extension — skill loader tool + skills bundle.
7
7
  | Resource | Type | Description |
8
8
  |---|---|---|
9
9
  | `read_skills` | tool | Browse and load bundled skills. No args → list all. `name` only → description. `name + full=true` → full instructions. |
10
- | `skills/` | skills | 29 bundled skills (off-context by default — discovered on demand via `read_skills`) |
10
+ | `skills/` | skills | 27 bundled skills (off-context by default — discovered on demand via `read_skills`) |
11
11
 
12
12
  ## How it works
13
13
 
@@ -54,13 +54,11 @@ as `/skill:<name>` slash commands.
54
54
  | `finish` | Structured branch completion — verify, decide, clean up |
55
55
  | `graphify` | Codebase questions via a persistent knowledge graph |
56
56
  | `handoff` | Toggle session handoff — write or read+delete `HANDOFF.md` |
57
- | `notion` | Efficient Notion workspace retrieval — pages, databases, lists |
58
57
  | `plan` | Write detailed, bite-sized implementation plans before coding |
59
58
  | `readme` | Create or update a deployment-focused README in a fixed style |
60
59
  | `review` | Architectural review and quality assurance |
61
60
  | `runner` | Generate or convert a task runner (just/make/mise/task/npm/sh) |
62
61
  | `search` | Deep logic discovery and project context mapping |
63
- | `standup` | Prepare a daily standup update from Notion context |
64
62
  | `suggest` | Multi-dimensional optimization and improvement recommendations |
65
63
  | `task` | Task orchestration and ambiguity resolution |
66
64
  | `test` | Test execution, analysis, and failure resolution via TDD |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -46,6 +46,6 @@
46
46
  "@earendil-works/pi-tui": "*"
47
47
  },
48
48
  "dependencies": {
49
- "@xynogen/pix-gate": "*"
49
+ "@xynogen/pix-gate": "^0.1.13"
50
50
  }
51
51
  }
@@ -0,0 +1,696 @@
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
62
+
63
+ ### Formatting
64
+
65
+ - **Em dashes (— and --)**: Replace with commas, periods, parentheses, or rewrite as two sentences. Target: zero. Hard max: one per 1,000 words. This applies to headings and section titles too, not just body prose. Catch both the Unicode em dash (—) and the double-hyphen substitute (--).
66
+ - **Bold overuse**: Strip bold from most phrases. One bolded phrase per major section at most, or none. If something's important enough to bold, restructure the sentence to lead with it instead.
67
+ - **Emoji in headers**: Remove entirely. No `## 🚀 What This Means`. Exception: social posts may use one or two emoji sparingly — at the end of a line, never mid-sentence.
68
+ - **Excessive bullet lists**: Convert bullet-heavy sections into prose paragraphs. Bullets only for genuinely list-like content (feature comparisons, step-by-step instructions, API parameters).
69
+ - **Curly quotation marks (“ ” ‘ ’) and apostrophes**: Curly quotes and apostrophes (U+201C/U+201D, U+2018/U+2019) are a *weak* paste-from-chat signal — meaningful mainly in plain-text contexts like code comments, commit messages, or plaintext drafts, where nothing auto-curls. Treat as corroborating, never conclusive: Word, Google Docs, macOS, and iOS curl quotes by default, so most human prose contains them too. Don't flag curly apostrophes (U+2019) on their own. Replace with straight quotes in plain-text/code; leave them in finished publications and locale-correct punctuation (French « », German „ “).
70
+
71
+ ### Sentence structure
72
+
73
+ - **"It's not X — it's Y" / "This isn't about X, it's about Y"**: Rewrite as a direct positive statement. Max one per piece, and only if it serves the argument.
74
+ - **Hollow intensifiers**: Cut `genuine` / `genuinely`, `real` (as in "a real improvement"), `truly`, `quite frankly`, `to be honest`, `let's be clear`, `it's worth noting that`. Just state the fact.
75
+ - **Vague endorsement ("worth [verb]ing")**: Cut or replace `worth reading`, `worth paying attention to`, `worth a look`, `worth exploring`, `worth checking out`, `worth your time`. These substitute a generic thumbs-up for a specific reason. Say *why* something matters instead.
76
+ - **Hedging**: Cut `perhaps`, `could potentially`, `it's important to note that`, `to be clear`. Make the point directly.
77
+ - **Missing bridge sentences**: Each paragraph should connect to the last. If paragraphs could be rearranged without the reader noticing, add connective tissue.
78
+ - **Compulsive rule of three**: Vary groupings. Use two items, four items, or a full sentence instead of triads. Max one "adjective, adjective, and adjective" pattern per piece.
79
+
80
+ ### Words and phrases to replace
81
+
82
+ Words are organized into three tiers based on how reliably they signal AI-generated text. This tiered approach — adapted from [brandonwise/humanizer](https://github.com/brandonwise/humanizer)'s vocabulary research — reduces false positives on words that are fine in isolation but suspicious in clusters.
83
+
84
+ - **Tier 1 — Always flag.** These words appear 5–20x more often in AI text than human text. Replace on sight.
85
+ - **Tier 2 — Flag in clusters.** Individually fine, but two or more in the same paragraph is a strong AI signal. Flag when they appear together.
86
+ - **Tier 3 — Flag by density.** Common words that AI simply overuses. Only flag when they make up a noticeable fraction of the text (roughly 3%+ of total words).
87
+
88
+ **Match inflected forms.** Each entry below covers the listed word *and its morphological variants* — adverb (`-ly`), gerund/participle (`-ing`), plural, comparative/superlative, and verb conjugations — unless a variant carries a distinct, legitimate meaning. So `genuine` also flags `genuinely`, `leverage` also flags `leveraging` / `leveraged`, `delve` covers `delving`, and `meticulous` covers `meticulously`. When a variant has a separate honest sense (e.g. `real` meaning factual, not the intensifier in "a real improvement"), judge by context rather than matching blindly.
89
+
90
+ #### Tier 1 — Always replace
91
+
92
+ | Replace | With |
93
+ |---|---|
94
+ | delve / delve into | explore, dig into, look at |
95
+ | landscape (metaphor) | field, space, industry, world |
96
+ | tapestry | (describe the actual complexity) |
97
+ | realm | area, field, domain |
98
+ | paradigm | model, approach, framework |
99
+ | embark | start, begin |
100
+ | beacon | (rewrite entirely) |
101
+ | testament to | shows, proves, demonstrates |
102
+ | robust | strong, reliable, solid |
103
+ | comprehensive | thorough, complete, full |
104
+ | cutting-edge | latest, newest, advanced |
105
+ | leverage (verb) | use |
106
+ | pivotal | important, key, critical |
107
+ | underscores | highlights, shows |
108
+ | meticulous / meticulously | careful, detailed, precise |
109
+ | seamless / seamlessly | smooth, easy, without friction |
110
+ | game-changer / game-changing | describe what specifically changed and why it matters |
111
+ | hit differently / hits different | (say what specifically changed, or cut) |
112
+ | utilize | use |
113
+ | watershed moment | turning point, shift (or describe what changed) |
114
+ | marking a pivotal moment | (state what happened) |
115
+ | the future looks bright | (cut — say something specific or nothing) |
116
+ | only time will tell | (cut — say something specific or nothing) |
117
+ | nestled | is located, sits, is in |
118
+ | vibrant | (describe what makes it active, or cut) |
119
+ | thriving | growing, active (or cite a number) |
120
+ | despite challenges… continues to thrive | (name the challenge and the response, or cut) |
121
+ | showcasing | showing, demonstrating (or cut the clause) |
122
+ | deep dive / dive into | look at, examine, explore |
123
+ | unpack / unpacking | explain, break down, walk through |
124
+ | bustling | busy, active (or cite what makes it busy) |
125
+ | intricate / intricacies | complex, detailed (or name the specific complexity) |
126
+ | complexities | (name the actual complexities, or use "problems" / "details") |
127
+ | ever-evolving | changing, growing (or describe how) |
128
+ | enduring | lasting, long-running (or cite how long) |
129
+ | daunting | hard, difficult, challenging |
130
+ | holistic / holistically | complete, full, whole (or describe what's included) |
131
+ | actionable | practical, useful, concrete |
132
+ | impactful | effective, significant (or describe the impact) |
133
+ | learnings | lessons, findings, takeaways |
134
+ | thought leader / thought leadership | expert, authority (or describe their actual contribution) |
135
+ | best practices | what works, proven methods, standard approach |
136
+ | at its core | (cut — just state the thing) |
137
+ | synergy / synergies | (describe the actual combined effect) |
138
+ | interplay | relationship, connection, interaction |
139
+ | in order to | to |
140
+ | due to the fact that | because |
141
+ | serves as | is |
142
+ | features (verb) | has, includes |
143
+ | boasts | has |
144
+ | presents (inflated) | is, shows, gives |
145
+ | commence | start, begin |
146
+ | ascertain | find out, determine, learn |
147
+ | endeavor | effort, attempt, try |
148
+ | keen (as intensifier) | interested, eager, enthusiastic (or cut — just state the interest) |
149
+ | genuinely / genuine (as intensifier) | (cut — just state the fact) |
150
+ | symphony (metaphor) | (describe the actual coordination or combination) |
151
+ | embrace (metaphor) | adopt, accept, use, switch to |
152
+
153
+ #### Tier 2 — Flag when 2+ appear in the same paragraph
154
+
155
+ These words are legitimate on their own. When two or more show up together, the paragraph likely needs a rewrite.
156
+
157
+ | Replace | With |
158
+ |---|---|
159
+ | harness | use, take advantage of |
160
+ | navigate / navigating | work through, handle, deal with |
161
+ | foster | encourage, support, build |
162
+ | elevate | improve, raise, strengthen |
163
+ | unleash | release, enable, unlock |
164
+ | streamline | simplify, speed up |
165
+ | empower | enable, let, allow |
166
+ | bolster | support, strengthen, back up |
167
+ | spearhead | lead, drive, run |
168
+ | resonate / resonates with | connect with, appeal to, matter to |
169
+ | revolutionize | change, transform, reshape (or describe what changed) |
170
+ | facilitate / facilitates | enable, help, allow, run |
171
+ | underpin | support, form the basis of |
172
+ | nuanced | specific, subtle, detailed (or name the actual nuance) |
173
+ | crucial | important, key, necessary |
174
+ | multifaceted | (describe the actual facets, or cut) |
175
+ | ecosystem (metaphor) | system, community, network, market |
176
+ | myriad | many, numerous (or give a number) |
177
+ | plethora | many, a lot of (or give a number) |
178
+ | encompass | include, cover, span |
179
+ | catalyze | start, trigger, accelerate |
180
+ | reimagine | rethink, redesign, rebuild |
181
+ | galvanize | motivate, rally, push |
182
+ | augment | add to, expand, supplement |
183
+ | cultivate | build, develop, grow |
184
+ | illuminate | clarify, explain, show |
185
+ | elucidate | explain, clarify, spell out |
186
+ | juxtapose | compare, contrast, set side by side |
187
+ | paradigm-shifting | (describe what actually shifted) |
188
+ | transformative / transformation | (describe what changed and how) |
189
+ | cornerstone | foundation, basis, key part |
190
+ | paramount | most important, top priority |
191
+ | poised (to) | ready, set, about to |
192
+ | burgeoning | growing, emerging (or cite a number) |
193
+ | nascent | new, early-stage, emerging |
194
+ | quintessential | typical, classic, defining |
195
+ | overarching | main, central, broad |
196
+ | underpinning / underpinnings | basis, foundation, what supports |
197
+
198
+ #### Tier 3 — Flag only at high density
199
+
200
+ These are normal words. Only flag them when the text is saturated with them — a sign that AI filled space with vague praise instead of specifics.
201
+
202
+ | Word | What to do |
203
+ |---|---|
204
+ | significant / significantly | Replace some with specifics: numbers, comparisons, examples |
205
+ | innovative / innovation | Describe what's actually new |
206
+ | effective / effectively | Say how or cite a metric |
207
+ | dynamic / dynamics | Name the actual forces or changes |
208
+ | scalable / scalability | Describe what scales and to what |
209
+ | compelling | Say why it compels |
210
+ | unprecedented | Name the precedent it breaks (or cut) |
211
+ | exceptional / exceptionally | Cite what makes it an exception |
212
+ | remarkable / remarkably | Say what's worth remarking on |
213
+ | sophisticated | Describe the sophistication |
214
+ | instrumental | Say what role it played |
215
+ | world-class / state-of-the-art / best-in-class | Cite a benchmark or comparison |
216
+
217
+ #### Tier 3 phrases — Flag at density or in clusters
218
+
219
+ Multi-word boilerplate that's individually unobjectionable but stacks heavily in AI-generated content (crypto, web3, DePIN, AI/infra reviews are the worst offenders). Flag at **2+ uses of the same phrase** (the per-phrase rule — lower threshold than single-word Tier 3 because a two-word match repeated twice is already stronger evidence than re-using "significant"), *plus* a **cluster rule**: three or more *distinct* phrases from this table in one piece is a strong signal even when each phrase only appears once — that's the shape LLMs take when they vary their own boilerplate to seem less repetitive.
220
+
221
+ | Phrase | What to do |
222
+ |---|---|
223
+ | emerging sector / emerging space / emerging category | Name the actual sector or what's emerging about it |
224
+ | the integration of (X with Y) | Describe what's being integrated and what changes for the user |
225
+ | the intersection of (X and Y) | Pick the specific overlap that matters or cut the framing |
226
+ | community-driven | Name what the community does. "Community-driven" alone is filler |
227
+ | long-term sustainability | Cite the time horizon and the constraint. "Long-term" is hand-waving |
228
+ | user engagement | Name the action. "Engagement" is a wrapper around clicks/comments/retention |
229
+ | decentralized compute | Specify the architecture or cut. The phrase has become a category label, not a claim |
230
+ | (sustainable) reward emissions | Cite the emission schedule and the sink |
231
+ | tokenized incentive structures | Describe the actual mechanism (vesting, gauge, bonded LP, etc.) |
232
+ | designed for long-term [X] | Cut "designed for" — either it is or it isn't. Then state the property |
233
+
234
+ ### Template phrases (avoid)
235
+
236
+ These slot-fill constructions signal that a sentence was generated, not written. If a phrase has a blank where a noun or adjective could go and still sound the same, it's too generic.
237
+
238
+ - "a [adjective] step towards [adjective] AI infrastructure" → describe the specific capability, benchmark, or outcome
239
+ - "a [adjective] step forward for [noun]" → same rule: say what actually changed
240
+ - "Whether you're [X] or [Y]" → false-breadth construction. Pick the audience you're actually addressing, or cut. "Whether you're a startup founder or an enterprise architect" means nothing — it's just "everyone."
241
+ - "I recently had the pleasure of [verb]-ing" → review/social AI pattern. Just say what happened: "I talked to," "I read," "I attended."
242
+
243
+ ### Transition phrases to remove or rewrite
244
+
245
+ - "Moreover" / "Furthermore" / "Additionally" → restructure so the connection is obvious, or use "and," "also," "on top of that"
246
+ - "In today's [X]" / "In an era where" → cut or state specific context
247
+ - "It's worth noting that" / "Notably" → just state the fact
248
+ - "Here's what's interesting" / "Here's what caught my eye" / "Here's what stood out" → reader-steering frames. Let the content signal its own importance. If you need a lead-in, make it specific: "The revenue number matters because..." not "Here's the interesting part."
249
+ - "In conclusion" / "In summary" / "To summarize" → your conclusion should be obvious
250
+ - "When it comes to" → just talk about the thing directly
251
+ - "At the end of the day" → cut
252
+ - "That said" / "That being said" → cut or use "but," "yet," or "however." Don't overuse any one of them.
253
+
254
+ ### Structural issues
255
+
256
+ - **Uniform paragraph length**: Vary deliberately. Include some 1-2 sentence paragraphs and some longer ones. If every paragraph is roughly the same size, fix it.
257
+ - **Formulaic openings**: If the piece opens with broad context before getting to the point ("In the rapidly evolving world of..."), rewrite to lead with the news or the insight. Context can come second.
258
+ - **Suspiciously clean grammar**: Don't sand away all personality. Deliberate fragments, sentences starting with "And" or "But," comma splices for effect: if the natural voice uses them, keep them.
259
+
260
+ ### Significance inflation
261
+
262
+ - Phrases like "marking a pivotal moment in the evolution of..." or "a watershed moment for the industry" inflate routine events into history-making ones. State what happened and let the reader judge significance.
263
+ - If the sentence still works after you delete the inflation clause, delete it.
264
+
265
+ ### Generic future-narrative closers
266
+
267
+ - "May become one of the most important narratives of the next market cycle," "could become the defining trend of the coming decade," "is poised to become the next major chapter in [X]." AI defaults to this shape when it needs to land a closing thought without committing to a falsifiable claim. The closer is grammatically a prediction but contains no testable content.
268
+ - Pattern: modal (may / could / will / is poised to) + "become" + (one of) the most [adjective] + (narrative / story / trend / theme / chapter / movement / force).
269
+ - Fix: pick the falsifiable version. "DePIN compute may exceed AWS spot pricing for embarrassingly parallel workloads by 2027" is a prediction. "The intersection of AI and DePIN may become one of the most important narratives of the next market cycle" is not.
270
+
271
+ ### Hedge-stacked predictions
272
+
273
+ - Stacking a modal with a hedge adverb: "could potentially create," "may eventually unlock," "might ultimately transform." Either word alone is acceptable; the stack is the tell. Each hedge cancels the next, leaving a sentence that asserts nothing while sounding cautious and thoughtful.
274
+ - Fix: pick one. If you mean "could create," say that. If you mean "potentially creates," say that. Both together is filler.
275
+
276
+ ### "Real/actual" adjective inflation
277
+
278
+ - "Real on-chain tokenomics," "actual reward sustainability," "genuine utility," "true product-market fit." Using `real` / `actual` / `genuine` / `true` as an empty intensifier on an abstract noun implies the rest of the field is fake or superficial — without naming what makes this instance the real one. Common in crypto/AI/web3 content where the writer wants to signal sophistication.
279
+ - Distinct from the existing "hollow intensifiers" rule (genuine / truly / quite frankly as sentence-level hedges). This is the noun-modifier form, where the intensifier latches onto an abstract noun to manufacture a contrast that goes unsaid.
280
+ - **Carve-out — named contrast:** if the sentence explicitly names what the fake/superficial version is, leave it. "Real on-chain settlement, not bridged IOUs" or "actual revenue from paying customers, not grants" is honest contrastive writing. The AI tell is the unsaid contrast.
281
+ - Fix when no contrast is named: drop the adjective and add the specific claim. "Reward sustainability" → "rewards funded from $X/mo in fees rather than emissions."
282
+
283
+ ### Hashtag stuffing
284
+
285
+ - Long trailing hashtag blocks (6+ hashtags on a single short post) are near-universal in LLM-generated social content and rare in thoughtful human posts. The block usually mixes a project-specific tag with broad category tags (#AI #Crypto #Web3 #Innovation #FutureTech #Technology) — the categorical ones do nothing for discoverability and read as bot output.
286
+ - **Why 6?** Empirical floor. LinkedIn and X organic engagement plateaus or declines past 3-5 tags; human posts that exceed 5 are usually launch posts trading reach for engagement, while LLM-generated posts default to 10-15. Six is the threshold where false positives on legitimate human use start dropping below false negatives on AI output. The detector treats 6+ as a hard flag; the spec treats 5+ as a soft tell worth a second look on `linkedin` and `investor-email` profiles.
287
+ - Fix: 2-3 specific tags max, or none. If a hashtag wouldn't help a reader find related work, it's filler.
288
+
289
+ ### Bullet lists of bare noun phrases
290
+
291
+ - A list of 5+ consecutive bullet items where each item is a short (≤6 word) adjective-plus-noun phrase with no verb. "Stable mining efficiency / Reliable pool connectivity / Optimized RandomX performance / Low failed share rates / Effective hardware utilization / Consistent thermal stability." Reads as a marketing one-pager because that's the shape LLMs default to when asked to summarize features.
292
+ - The tell is the *symmetry*: every item is the same grammatical shape, every item is parallel in length, none of them assert anything checkable. A genuine list of observations would have varying length, occasional verbs, and at least one item that doesn't fit the pattern.
293
+ - Fix: convert to prose paragraph, or rewrite items as full claims ("Failed shares stayed under 1% across a 12-hour run" beats "Low failed share rates"). If the list is genuinely the right form, vary the items so each carries a different shape of information.
294
+ - This rule does *not* apply to genuine list content (changelog entries, todo lists, parameter docs, ingredient lists) where bare noun phrases are the correct form. The detector keys on absence of finite verbs to separate the two — but in prose audits, ask whether the bullets are summarizing claims (rewrite) or enumerating items (leave).
295
+
296
+ ### Copula avoidance
297
+
298
+ - AI text avoids "is" and "has" by substituting fancier verbs: "serves as," "features," "boasts," "presents," "represents." These sound like a press release.
299
+ - Default to "is" or "has" unless a more specific verb genuinely adds meaning.
300
+
301
+ ### Synonym cycling
302
+
303
+ - AI rotates synonyms to avoid repeating a word: "developers… engineers… practitioners… builders" in the same paragraph. Human writers repeat the clearest word.
304
+ - If the same noun or verb appears three times in a paragraph and that's the right word, keep all three. Forced variation reads as thesaurus abuse.
305
+
306
+ ### Vague attributions
307
+
308
+ - "Experts believe," "Studies show," "Research suggests," "Industry leaders agree" — without naming the expert, study, or leader. Either cite a specific source or drop the attribution and state the claim directly.
309
+
310
+ ### Filler phrases
311
+
312
+ - Strip mechanical padding that adds words without meaning:
313
+ - "It is important to note that" → (just state it)
314
+ - "In terms of" → (rewrite)
315
+ - "The reality is that" → (cut or just state the claim)
316
+ - Note: "In order to," "Due to the fact that," and "At the end of the day" are covered in the word/phrase table and transition sections above — don't duplicate rules.
317
+
318
+ ### Generic conclusions
319
+
320
+ - "The future looks bright," "Only time will tell," "One thing is certain," "As we move forward" — these are filler disguised as conclusions. Cut them. If the piece needs a closing thought, make it specific to the argument.
321
+
322
+ ### Chatbot artifacts
323
+
324
+ - "I hope this helps!", "Certainly!", "Absolutely!", "Great question!", "Feel free to reach out," "Let me know if you need anything else" — these are conversational tics from chat interfaces, not writing. Remove entirely.
325
+ - Also watch for: "In this article, we will explore…" or "Let's dive in!" — these are AI-generated meta-narration. Cut or rewrite with a direct opening.
326
+
327
+ ### "Let's" constructions
328
+
329
+ - "Let's explore," "Let's take a look," "Let's break this down," "Let's examine" — AI uses "let's" as a false-collaborative opener to ease into a topic. It's filler that delays the actual point. Just start with the point. "Let's dive in" is covered above under chatbot artifacts, but the pattern is broader than that — flag any "let's + verb" that's functioning as a transition rather than a genuine invitation to act.
330
+
331
+ ### Notability name-dropping
332
+
333
+ - AI text piles on prestigious citations to manufacture credibility: "cited in The New York Times, BBC, Financial Times, and The Hindu." If a source matters, use it with context: "In a 2024 NYT interview, she argued..." One specific reference beats four name-drops.
334
+
335
+ ### Superficial -ing analyses
336
+
337
+ - Strings of present participles used as pseudo-analysis: "symbolizing the region's commitment to progress, reflecting decades of investment, and showcasing a new era of collaboration." These say nothing. Replace with specific facts or cut entirely.
338
+ - The same move shows up without the -ing: declarative "meaning-telling" that glosses a mundane subject as if it were profound — "this represents a broader shift," "the decision symbolizes a commitment to excellence," "it speaks to a larger trend in the industry." If the significance is real, show it with a specific consequence; otherwise cut. Adapted from `Aboudjem/humanizer-skill` P40.
339
+
340
+ ### Promotional language
341
+
342
+ - AI defaults to tourism-brochure prose: "nestled within the breathtaking foothills," "a vibrant hub of innovation," "a thriving ecosystem." Replace with plain description: "is a town in the Gonder region," "has 12 startups." If you wouldn't say it in conversation, cut it.
343
+
344
+ ### Formulaic challenges
345
+
346
+ - "Despite challenges, [subject] continues to thrive" or "While facing headwinds, the organization remains resilient." This is a non-statement. Name the actual challenge and the actual response, or cut the sentence.
347
+
348
+ ### False ranges
349
+
350
+ - AI creates false breadth by pairing unrelated extremes: "from the Big Bang to dark matter," "from ancient civilizations to modern startups." These sound sweeping but say nothing. List the actual topics or pick the one that matters.
351
+
352
+ ### Inline-header lists
353
+
354
+ - Bullet lists where each item starts with a bold header that repeats itself: "**Performance:** Performance improved by..." Strip the bold header and write the point directly. If the list items need headers, they should probably be paragraphs.
355
+
356
+ ### List-label periods
357
+
358
+ - In bulleted lists where each item leads with a short label, LLMs end the label with a period and then run the explanation as a separate sentence. A person writing the same list almost always uses a colon instead. Strongest form: bold labels (`**Intros.**`, `**Content distribution.**`, `**Developer GTM.**` where a human writes `**Intros:**`). Weaker but still a tell: the same shape without bold (`- Intros. Years of conferences and operator network.`) — a short noun-phrase label terminated with a period at the start of a bullet, followed by a gloss. The colon reads as "here's what this label means"; the period reads as a sentence that the following clause then contradicts by continuing. Example tell: `- **Intros.** Years of conferences and operator network.` becomes `- **Intros:** years of conferences and operator network.` Fix the period to a colon and lowercase the start of the gloss, or drop the label and write the point as a plain sentence. Carve-outs: when the label span is a full sentence on its own (not a label introducing a gloss), the period is correct; and for the unbolded form, only flag when the leading fragment is clearly a label (a 1-4 word noun phrase, no verb) — a short complete sentence opening a bullet is fine.
359
+
360
+ ### Title case headings
361
+
362
+ - AI over-capitalizes headings: "Strategic Negotiations And Key Partnerships" instead of "Strategic negotiations and key partnerships." Use sentence case for subheadings. Title case only for the piece's main title, if at all.
363
+
364
+ ### Hyphenated-pair overuse
365
+
366
+ - AI stacks compound modifiers: "a high-quality, well-architected, future-proof solution." Two distinct problems. First, density — strings of hyphenated adjectives piled on one noun; cut to the modifier that actually matters. Second, the attributive/predicate error: a compound is hyphenated *before* the noun ("a high-quality report") but not *after* a linking verb ("the report is high quality," no hyphen). AI frequently hyphenates the predicate form; fix it to two words. Adapted from `blader/humanizer` P26.
367
+
368
+ ### Cutoff disclaimers
369
+
370
+ - "While specific details are limited based on available information," "As of my last update," "I don't have access to real-time data." These are model limitations leaking into prose. Either find the information or remove the hedge. Never publish a sentence that admits the writer didn't look something up.
371
+
372
+ ### Speculative gap-filling
373
+
374
+ - When the model lacks a fact, it fills the gap with hedged speculation dressed up as background: "maintains a relatively low public profile," "is believed to have," "likely began his career in," "appears to have studied." These are guesses formatted as statements. Distinct from cutoff disclaimers, which *admit* the gap — this one hides it behind plausible-sounding filler, which is worse because the reader can't tell what's known from what's invented. Cut the speculation, or replace it with a sourced fact. Adapted from `blader/humanizer` P21.
375
+
376
+ ### Unfilled placeholders
377
+
378
+ - Bracketed slot-fillers that were meant to be replaced before publishing: `[Your Name]`, `[INSERT SOURCE URL]`, `[Describe the specific section]`, `2025-XX-XX`, `<!-- Add citation if available -->`. These are near-definitive evidence that AI-generated boilerplate was pasted without editing. Humans use placeholders in templates too, but rarely ship them. Treat any visible placeholder as a publishing bug: fill it in with real content or delete the sentence entirely.
379
+ - Catch the obvious shapes: `\[(?:Your|Insert|Add|Enter|Describe|Specify|Choose)[^\]]+\]`, `\b\d{4}-XX-XX\b`, HTML/Markdown comments with placeholder verbs (`add`, `fill in`, `todo`, `insert`).
380
+
381
+ ### Chatbot citation markup leaks
382
+
383
+ - Internal citation tokens that leak through when text is copy-pasted from chat UIs: `citeturn0search0`, `contentReference[oaicite:0]{index=0}`, `oai_citation`, `[attached_file:1]`, `grok_card`. These are not patterns — they are fingerprints. Their presence is essentially proof the text was generated by a specific chat tool and pasted without cleanup.
384
+ - The fix is mechanical: strip every markup token. If a citation was meaningful, replace it with a real reference. Don't try to humanize the markup — delete it.
385
+ - Adapted from `Aboudjem/humanizer-skill` P34. Worth catching even when nothing else in the text reads as AI — the token itself is enough.
386
+
387
+ ### AI-tool URL parameters
388
+
389
+ - Tracking parameters that AI tools auto-append to URLs they generate, surviving copy-paste into published content: `utm_source=chatgpt.com`, `utm_source=copilot.com`, `utm_source=openai`, `utm_source=claude.ai`, `utm_source=perplexity.ai`, `referrer=grok.com`. Same logic as citation markup leaks — the presence of the parameter is the signature, regardless of what the surrounding text reads like.
390
+ - The fix: strip the parameter from every URL. Keep the URL itself if the link is meaningful; lose the parameter entirely. Adapted from `Aboudjem/humanizer-skill` P35.
391
+
392
+ ### Novelty inflation
393
+
394
+ - AI text treats established concepts as if the speaker invented or discovered them: "He introduced a term," "She coined the phrase," "a concept nobody's naming," "a failure mode nobody talks about." In reality, most ideas in a conversation are applications of existing concepts, not inventions.
395
+ - Two problems. First, it's factually risky: if the concept already has a Wikipedia page or conference talks from last year, claiming novelty makes the writer look uninformed. Second, it flatters the subject in a way that reads as promotional rather than analytical.
396
+ - The fix: describe what the person *did with* the concept, not that they discovered it. "Michel walked through how context poisoning works in practice" instead of "Michel introduced a term I hadn't heard before: context poisoning." If you're unsure whether something is novel, assume it isn't and frame accordingly.
397
+ - Related patterns to flag: "the failure mode nobody's naming," "a problem nobody talks about," "the insight everyone's missing," "what nobody tells you about." These are engagement-bait framings that claim scarcity of knowledge where none exists.
398
+
399
+ ### Infomercial engagement hooks
400
+
401
+ - Punchy fragment-hooks that tee up a reveal: "The catch?", "The kicker?", "Here's the thing.", "But here's the kicker:", "The best part?", "Plot twist:", "The result?". AI uses these to fake momentum and manufacture suspense around ordinary information — the prose equivalent of a late-night infomercial.
402
+ - Distinct from rhetorical-question openers (which stall before a point) and chatbot artifacts (which perform helpfulness): these are mid-flow teasers that pad the rhythm. The fix is to delete the hook and state the thing. "The catch? It only works on weekends." becomes "It only works on weekends." Adapted from `Aboudjem/humanizer-skill` P41.
403
+
404
+ ### Social endorsement closers
405
+
406
+ - The curatorial sign-off LLMs append to LinkedIn and X posts that share or recommend something — usually a colon teeing up a link: "This one is worth your time:", "This one's a must-read:", "I highly recommend giving this a read.", "Do yourself a favor and read this.", "You won't want to miss this one.", "Save this for later.", "Bookmark this.", "Don't sleep on this one.", "Trust me, you'll want to read this.", "Thank me later."
407
+ - Why it's a tell: it performs a recommendation without giving the reader a reason to click. The endorsement is generic and demonstrative-anchored ("THIS one is worth your time") — it could sit under any link, which is exactly why an LLM reaches for it to close a share post.
408
+ - Distinct from the bare "worth [verb]ing" word-table entry (a single weak word inside a sentence) and from infomercial engagement hooks (mid-flow teasers like "The catch?"): this is the whole closing line of a social post.
409
+ - The fix: say *what* the thing is and *who* it's for, then drop the CTA. "This one is worth your time:" becomes "Sarah's breakdown of why context windows leak — the clearest explanation I've found for anyone debugging RAG pipelines." If you can't name a specific reason, the share doesn't need a sign-off at all; let the link stand on its own.
410
+
411
+ ### Emotional flatline
412
+
413
+ - AI claims emotions as a structural crutch without conveying them through the writing: "What surprised me most," "I was fascinated to discover," "What struck me was," "I was excited to learn," "The most interesting part," and the bare section-header variant: "Interesting part of the project:" / "Interesting thing here:" / "Interesting aspect:". The header form drops "the most" but does the same job — pre-announcing significance the writing hasn't earned.
414
+ - Two problems. First, it's tell-don't-show: if the thing is genuinely surprising, the reader should feel that from the content, not from the writer announcing it. Second, these phrases are massively overused as list introductions and transitions. They're filler wearing an emotion costume.
415
+ - This pattern isn't always AI. It's also a sign of lazy human writing on autopilot. Flag it either way.
416
+ - The fix isn't "never say surprised." It's: if you claim an emotion, the writing around it should earn it. Otherwise cut the claim and present the thing directly.
417
+ - Related pattern: "hit differently" / "hits different." AI uses trendy colloquialisms as a shortcut to sound relatable without earning the emotional beat. If something genuinely affected you, describe how. Otherwise cut.
418
+
419
+ ### False concession structure
420
+
421
+ - "While X is impressive, Y remains a challenge" or "Although X has made strides, Y is still an open question." AI uses this to sound balanced without actually weighing anything. Both halves are vague. Either make the concession specific (name what's impressive, name the actual challenge) or pick a side and argue it.
422
+
423
+ ### Rhetorical question openers
424
+
425
+ - "But what does this mean for developers?" / "So why should you care?" / "What's next?" — AI uses rhetorical questions to stall before the actual point. If you know the answer, just say it. Rhetorical questions are earned by strong setup, not dropped as section transitions.
426
+
427
+ ### Parenthetical hedging
428
+
429
+ - "(and, increasingly, Z)" / "(or, more precisely, Y)" / "(and perhaps more importantly, W)" — AI inserts parenthetical asides to sound nuanced without committing. If the aside matters, give it its own sentence. If it doesn't, cut it.
430
+
431
+ ### Numbered list inflation
432
+
433
+ - "Three key takeaways" / "Five things to know" / "Here are the top seven" — AI defaults to numbered lists because they're structurally safe. Only use numbered lists when the content genuinely has that many discrete, parallel items. If you're padding to hit a number, the list shouldn't exist.
434
+
435
+ ### Reasoning chain artifacts
436
+
437
+ - "Let me think step by step," "Breaking this down," "To approach this systematically," "Step 1:," "Here's my thought process," "First, let's consider," "Working through this logically" — these are artifacts of chain-of-thought reasoning leaking into published prose. The reader doesn't need to see the scaffolding. State the conclusion, then the evidence.
438
+ - Also watch for numbered reasoning steps that read like an internal monologue rather than an argument meant for an audience.
439
+
440
+ ### Sycophantic tone
441
+
442
+ - "Great question!", "Excellent point!", "You're absolutely right!", "That's a really insightful observation" — these are conversational rewards from chat interfaces, not writing. Remove entirely.
443
+ - Distinct from chatbot artifacts: sycophancy specifically validates the reader/questioner rather than just performing helpfulness.
444
+
445
+ ### Acknowledgment loops
446
+
447
+ - "You're asking about," "The question of whether," "To answer your question," "That's a great question. The..." — AI restates the prompt before answering. In writing, this is pure filler. The reader knows what they asked. Just answer.
448
+ - Related pattern: opening a section by summarizing what the previous section said. If the structure is clear, the reader doesn't need a recap.
449
+
450
+ ### Confidence calibration phrases
451
+
452
+ - "It's worth noting that," "Interestingly," "Surprisingly," "Importantly," "Significantly," "Notably," "Certainly," "Undoubtedly," "Without a doubt" — AI uses these to signal how the reader should feel about a fact instead of letting the fact speak for itself.
453
+ - "Here's what's interesting," "Here's the interesting part," "Here are the parts I found interesting" — reader-steering cue that pre-interprets importance. Works when followed by genuinely surprising data; fails when it introduces a restatement of something obvious (which is the AI default).
454
+ - One "notably" in a 2,000-word piece is fine. Three in 500 words is AI-style emphasis stacking. Flag by density.
455
+ - Related — **persuasive-authority tropes**: "the real question is," "at its core," "fundamentally," "make no mistake," "the truth is." Same move as the calibration phrases above, but they assert depth or stakes instead of feeling: they announce that what follows is important rather than showing it. Cut the trope and lead with the substance. Adapted from `blader/humanizer` P27.
456
+
457
+ ### Self-labeling significance
458
+
459
+ - After listing or describing several items, the writer points back at one and labels it as contrarian / clever / surprising / counterintuitive / key: "That last move is the contrarian one," "This is the interesting part," "That third bullet is the real story," "Here's where it gets clever," "The last bit is the counterintuitive one."
460
+ - The label does the work the content was supposed to do. If a move is genuinely contrarian, the reader recognizes it from the description; if it isn't recognizable without the label, the label is unearned. The pattern reads as the writer auditing their own list to flag which item should matter, instead of writing the list so the right item carries the weight on its own.
461
+ - Distinct from confidence calibration ("Notably," "Interestingly") which front-loads the cue, and from emotional flatline ("What surprised me most," "The most interesting part") which prefaces a single claim. This pattern back-points after the fact, usually as "[that / this / the Xth / the last] [noun] is the [adjective] one."
462
+ - Significance-adjectives that signal the pattern: contrarian, clever, surprising, counterintuitive, interesting, key, important, unusual, smart, brilliant, real, actual.
463
+ - Fix: cut the labeling sentence and let the explanation that follows do the work directly. Or restructure so the item you wanted to highlight is positioned first or expanded with specifics, making the label redundant.
464
+ - Example. Before: "→ Two separate indexes for tiered storage. That last move is the contrarian one. Co-locating related data usually helps cache locality." After: "→ Two separate indexes for tiered storage. Co-locating related data usually helps cache locality, but splitting the indexes is what makes the hot path cheap." The contrast carries itself; the label is gone.
465
+
466
+ ### Excessive structure
467
+
468
+ - Too many headers in short text: more than 3 headings in under 300 words is almost always AI trying to look organized. Merge sections or use prose transitions instead.
469
+ - Too many list items: 8+ bullet points in under 200 words means the content should be a paragraph, not a list.
470
+ - Formulaic section headers: "Overview," "Key Points," "Summary," "Conclusion," "Introduction" — these are default AI scaffolding. Use headers that tell the reader something specific about what follows.
471
+
472
+ ### Rhythm and uniformity
473
+
474
+ These aren't individual word or phrase problems — they're patterns in how the text flows as a whole. AI text is metronomic; human text has varied rhythm.
475
+
476
+ **Structure is the #1 detection signal.** AI detection tools (including Pangram, which trains a classifier on 28M human documents) weight structural regularity higher than vocabulary. Consistent sentence construction, uniform pacing, and symmetrical phrasing patterns are harder to mask than swapping out a few flagged words. If you fix every word on the Tier 1 list but leave the rhythm untouched, the text still reads as AI-generated.
477
+
478
+ - **Sentence length uniformity**: If most sentences are 15–25 words, the text sounds robotic. Mix short punchy sentences (3–8 words) with longer flowing ones (20+). Fragments work. Questions break the monotony.
479
+ - **Paragraph length uniformity**: If every paragraph is 3–5 sentences and roughly the same size, vary deliberately. Some paragraphs should be one sentence. Some should be longer.
480
+ - **Vocabulary repetition vs. synonym cycling**: AI either repeats the same word mechanically or cycles through synonyms conspicuously. Human writers repeat when the word is right and vary when it's natural — there's no formula.
481
+ - **Read-aloud test**: If the text sounds like it could be read by a text-to-speech engine without sounding weird, it's probably too uniform. Human writing has rhythm that resists robotic delivery.
482
+ - **Missing first-person perspective**: Where appropriate, the writer should have opinions, preferences, and reactions. AI is relentlessly neutral. If the piece is supposed to have a voice, the absence of "I think," "in my experience," or a stated preference is itself an AI tell.
483
+ - **Over-polishing**: Aggressively editing out every irregularity can push human writing *toward* AI statistical profiles. Natural disfluency, idiosyncratic word choices, and uneven pacing are what keep text out of the "AI-generated" classification. Don't sand away all personality in pursuit of clean prose. This skill should make writing sound more human, not less — if you apply every rule at maximum strictness, you risk creating the very uniformity you're trying to avoid.
484
+
485
+ ### Vocabulary diversity (stylometric)
486
+
487
+ In longer pieces (200+ words), look at how much vocabulary the text actually uses. The type-token ratio (TTR) — distinct word types divided by total tokens — is a classical stylometric signal that's easy to read by eye. Human prose at this length usually lands somewhere around 0.50–0.65 in English. AI text trends flatter, sometimes drifting under 0.40 when the model gets locked on a small vocabulary loop.
488
+
489
+ A very low TTR is not by itself proof of AI authorship — narrow topics, technical reference material, and second-language writing all legitimately compress vocabulary. But on general prose where you'd expect range (essays, articles, social content over ~200 words), a TTR below 0.40 is worth a second look. The fix is rarely to thesaurus the text; it's to broaden the *what* — name specific things, cite specific cases, replace a re-used abstract noun with the concrete instance behind it.
490
+
491
+ This is the first of four stylometric signals on the roadmap. The others (sentence-length burstiness as a continuous measure, function-word z-scores against a human-prose reference, POS-bigram log-odds) require either a POS tagger or a reference distribution and aren't implemented as detector categories yet.
492
+
493
+ ### Paragraph-reshuffle immunity (structure test)
494
+
495
+ - A writer-side diagnostic, not a regex: can you swap two body paragraphs without breaking the piece? If the order doesn't matter, you've written a list of points, not an argument that builds. AI prose often fails this — each paragraph is a self-contained module with no load-bearing connection to its neighbors.
496
+ - The fix is structural, not lexical: establish a through-line where each paragraph depends on the one before it. If the paragraphs are genuinely independent, decide whether the piece should be an explicit list, or whether it's missing a thesis. Adapted from `Aboudjem/humanizer-skill` P38.
497
+
498
+ ### Treadmill effect / low information density (content test)
499
+
500
+ - Another writer-side test: read each paragraph and ask "what's actually new here?" AI prose frequently restates the premise in fresh words instead of advancing it — lots of motion, no distance covered. The tell is that you could cut 40-60% and lose no information.
501
+ - The fix: for each paragraph, name the one fact, claim, or turn it contributes. If there isn't one, cut it. If there is, lead with it and drop the throat-clearing. Adapted from `Aboudjem/humanizer-skill` P43.
502
+
503
+ ### When to rewrite from scratch vs. patch
504
+
505
+ 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.
package/skills/notion.md DELETED
@@ -1,117 +0,0 @@
1
- ---
2
- name: notion
3
- description: Efficient Notion workspace retrieval. Use when user asks to fetch, search, or read data from Notion — pages, databases, or project lists.
4
- disable-model-invocation: true
5
- ---
6
- # Notion Retrieval Directive
7
-
8
- ## Core Rule
9
-
10
- **Data already in context → answer immediately. Zero extra tool calls.**
11
- If a previous fetch/search already returned the rows, filter/reason over them inline.
12
- Only call MCP tools when data is genuinely absent from context.
13
-
14
- ## Tool Map
15
-
16
- | Goal | Tool | Notes |
17
- |---|---|---|
18
- | Find a database/page by name | `notion_notion-search` | filter `{"value":"database"}` for DBs |
19
- | Get schema + views of a DB | `notion_notion-fetch` with DB UUID | returns schema, SQLite DDL, view configs |
20
- | Get all rows with properties | batch `notion_notion-fetch` per page UUID | fetch all pages concurrently in ONE message |
21
- | Search within a data source | `notion_notion-search` with `data_source_url` | semantic; `filters.created_date_range` = creation date only, NOT schedule |
22
-
23
- ## Retrieval Protocol
24
-
25
- ### Step 1 — Locate (1 call)
26
-
27
- Search for the database:
28
-
29
- ```
30
- notion_notion-search(query="<name>", filter={value:"database"})
31
- ```
32
-
33
- Note the DB `id` and `data-source` collection URL from results.
34
-
35
- ### Step 2 — Schema (1 call, optional)
36
-
37
- Only if you need field names / option values:
38
-
39
- ```
40
- notion_notion-fetch(id="<db-uuid>")
41
- ```
42
-
43
- The response contains full schema + SQLite DDL — read it, don't re-fetch.
44
-
45
- ### Step 3 — Rows (1 batch)
46
-
47
- Fetch all known page UUIDs **concurrently in a single message** (parallel tool calls).
48
- Each call returns full `<properties>` block — Status, Category, Schedule, Stack, etc.
49
-
50
- **Never re-fetch a page whose properties are already in context.**
51
-
52
- ## Date / Schedule Filtering
53
-
54
- - `filters.created_date_range` in `notion_notion-search` = **page creation date**, not schedule field.
55
- - To filter by schedule/deadline: fetch all rows (Step 3), then filter in-context by `date:📅 Schedule:end` or `date:📅 Schedule:start`.
56
- - Pattern: `end = "YYYY-MM-30"` or range overlap check — do this mentally/inline, no extra calls.
57
-
58
- ## Answer Pattern
59
-
60
- Once rows are in context:
61
-
62
- ```
63
- Filter rows where Schedule.end overlaps target month → present table directly.
64
- ```
65
-
66
- No re-search, no re-fetch, no confirmation calls.
67
-
68
- ## Efficiency Rules
69
-
70
- 1. **Batch parallel**: all page fetches go in one message, not sequential calls.
71
- 2. **Schema once**: read the DDL from the DB fetch — never fetch schema twice.
72
- 3. **Search is fuzzy**: `notion_notion-search` is semantic. Use a representative keyword, not empty string (min length 1).
73
- 4. **Collection URL**: data source URL format is `collection://UUID` — use for `data_source_url` param in search.
74
- 5. **No re-fetch loop**: if a batch already ran and data is present, stop. Answer from context.
75
-
76
- ## Common Pitfalls
77
-
78
- - `notion_notion-search` with `query=""` → error (min 1 char). Use `"project"` or topic keyword.
79
- - `notion_notion-fetch` requires `id` param (UUID or collection:// URL), not `url`.
80
- - `filters.created_date_range` ≠ schedule filter — don't use it to find deadline-based rows.
81
- - Relying on `notion_notion-search` filters for any field-level filtering — internal search is broken, always dump + script.
82
- - Fetching the database again after already having rows in context = wasted call.
83
- - Running searches sequentially when they can be parallel = wasted turns.
84
-
85
- ## Default: Always Dump to File
86
-
87
- **Notion's internal search is unreliable** — date filters, keyword filters, and empty queries all behave inconsistently. Do not rely on search for filtering. Always:
88
-
89
- 1. **Fetch all rows** — batch all page UUIDs in one parallel message
90
- 2. **Dump to `/tmp/notion-<db-name>.json`** — write full properties as JSON array
91
- 3. **Query with Python/jq** — filter, sort, aggregate locally
92
- 4. **Answer from script output** — never re-fetch, never re-search
93
-
94
- ```python
95
- import json
96
- rows = json.load(open("/tmp/notion-projects.json"))
97
-
98
- # filter by deadline month
99
- june = [r for r in rows if r.get("date:📅 Schedule:end", "").startswith("2026-06")]
100
- for r in june:
101
- print(r["Name"], r["Status"], r["date:📅 Schedule:end"])
102
- ```
103
-
104
- **Write once, query many** — follow-up questions on same DB: reuse `/tmp/` file, run new script. Zero re-fetches.
105
-
106
- If `/tmp/notion-<db>.json` already exists from this session → skip fetch entirely, go straight to script.
107
-
108
- ## Minimal Call Budget
109
-
110
- | Task | Calls |
111
- |---|---|
112
- | List all projects | 2 (search DB → batch fetch → dump `/tmp/`) |
113
- | Filter by any field | 2 (fetch all → dump) + 1 (python script) |
114
- | Follow-up on same DB | 0 fetches (reuse `/tmp/`) + 1 (new script) |
115
- | Get one page's properties | 1 |
116
- | Get one page's properties | 1 |
117
- | Check schema only | 1 |
package/skills/standup.md DELETED
@@ -1,259 +0,0 @@
1
- ---
2
- name: standup
3
- description: This skill should be used when the user asks to "standup me", "buat standup", "create standup script", "generate standup", "standup hari ini", or any request to prepare a daily standup update. Handles fetching previous context from Notion, prompting the user, generating a script, and saving to Notion.
4
- disable-model-invocation: true
5
- ---
6
-
7
- # Standup Script Skill
8
-
9
- ## Overview
10
-
11
- Automate daily standup script creation: pull most recent standup from Notion as context, prompt user interactively, generate natural-language script, save today's standup back to Notion.
12
-
13
- ## Decision Tree
14
-
15
- ```
16
- User asks for standup
17
- ↓
18
- Check Notion MCP available?
19
- ├── NO → Prompt user manually, generate script, output only (no save)
20
- └── YES → Fetch most recent standup → Prompt user → Generate → Save to Notion
21
- ```
22
-
23
- ## Step-by-Step Workflow
24
-
25
- ### Step 0: Check Notion MCP Availability
26
-
27
- Before doing anything, verify Notion MCP reachable by calling `notion_notion-get-users` or any lightweight Notion tool.
28
-
29
- - **MCP fails or unavailable**: Inform user, then continue from Step 2 without Notion context. Skip Step 4.
30
- - **MCP available**: Proceed to Step 1.
31
-
32
- ---
33
-
34
- ### Step 1: Fetch Most Recent Standup from Notion
35
-
36
- Search for most recent standup page — do NOT assume yesterday (may be Friday, pre-holiday, etc.).
37
-
38
- 1. Search Notion with query `"Standup -"` scoped under Mei user page
39
- 2. Parse all result titles matching pattern `Standup - YYYY-MM-DD`
40
- 3. Pick one with **latest date**
41
- 4. Fetch its full content for context
42
-
43
- **No previous standup found**: skip to Step 2 with no prior context.
44
-
45
- ---
46
-
47
- ### Step 2: Prompt User with Questions
48
-
49
- Use `question` tool to ask all 3 questions at once (parallel — single tool call):
50
-
51
- | # | Header | Question |
52
- |---|--------|----------|
53
- | 1 | Yesterday | Did you finish the task from the last standup (`[last task]`), or is it still in progress? |
54
- | 2 | Today | What will you work on today? |
55
- | 3 | Blocker | Any updates on blockers from last standup? (resolved, still blocked, new blocker?) |
56
-
57
- Populate question options from last standup content where possible (e.g., "Finished", "Still in progress", "Different task").
58
-
59
- ---
60
-
61
- ### Step 3: Generate Script
62
-
63
- > 📌 Source of truth: **Standup Script** template page (`35d3d66a-a117-81b4-a276-f38a31b60c82`). Fetch it to copy EXACT callout structure, icons, color tokens — do NOT guess color values. Current tokens: `yellow_bg` / `green_bg` / `red_bg`.
64
-
65
- Compose natural Indonesian standup script from user's answers. Visual layout uses **three colored Notion callouts** (one per section) preceded by salam line:
66
-
67
- ```
68
- Assalamualaikum, saya [Nama].
69
-
70
- [💭 yellow_bg callout]
71
- Kemarin — [task dari standup terakhir, status: selesai / dilanjutkan]
72
-
73
- [🚀 green_bg callout]
74
- Hari ini — [today's task]
75
-
76
- [⛔ red_bg callout]
77
- Blocker — [blocker update atau "Tidak ada blocker"]
78
- ```
79
-
80
- Rules:
81
-
82
- - One callout per section — keep body to single short line where possible
83
- - Use natural Bahasa Indonesia
84
- - Salam + nama on single line at top (plain paragraph, not callout)
85
- - Callout color mapping fixed: 💭 yellow / 🚀 green / ⛔ red
86
- - Blocker resolved → mention explicitly ("Blocker sebelumnya sudah teratasi")
87
- - New blocker → state clearly
88
- - No blocker → body is "Tidak ada blocker"
89
-
90
- ---
91
-
92
- ### Step 4: Save to Notion (only if MCP available)
93
-
94
- Standups organized into **month folders** (one page per month, Bahasa Indonesia) under **Standup** page. Save must target folder matching **today's month**, not folder the most recent standup lived in.
95
-
96
- **Step 4a — Resolve month folder:**
97
-
98
- 1. Determine today's month from today's actual date (run `date +%F`).
99
- 2. Look under **Standup** page (`35d3d66a-a117-81d2-b521-d60d311aa96e`) for child page titled with Indonesian month name (e.g. `Mei`, `Juni`, `Juli`).
100
- 3. **Folder exists** → use its page ID as save parent.
101
- 4. **Does NOT exist** (new month) → create it first with `notion-create-pages`:
102
- - Parent: Standup page `35d3d66a-a117-81d2-b521-d60d311aa96e` (month folders are **siblings** at this level — NOT nested inside previous month's folder)
103
- - Title: Indonesian month name (e.g. `Juni`)
104
- - Icon: `📅`
105
- - Content: `*Standup notes — [English Month] [Year].*`
106
- - Use returned page ID as save parent.
107
-
108
- > ⚠️ Common mistake: saving today's standup into **previous** month's folder because that's where most recent standup was fetched from. Always re-resolve folder from today's month. Standup already created in wrong folder → move with `notion-move-pages` (param is `page_or_database_ids`, NOT `page_ids`).
109
-
110
- **Step 4b — Create standup page** under resolved month folder.
111
-
112
- **Title:** `Standup - YYYY-MM-DD` (use today's actual date)
113
-
114
- **Content (three callout blocks + intro paragraph):**
115
-
116
- 1. Paragraph: `Assalamualaikum, saya Fikri.`
117
- 2. Callout — icon `💭`, color `yellow_bg`, body: `**Kemarin** — [task dari standup terakhir, status: selesai / dilanjutkan]`
118
- 3. Callout — icon `🚀`, color `green_bg`, body: `**Hari ini** — [today's task dari user]`
119
- 4. Callout — icon `⛔`, color `red_bg`, body: `**Blocker** — [blocker update atau "Tidak ada blocker"]`
120
-
121
- > ⚠️ Color values MUST be Notion-flavored Markdown background tokens (`yellow_bg`, `green_bg`, `red_bg`) — NOT `*_background`. Wrong tokens silently dropped → callouts render colorless. Callout markdown form: `<callout icon="💭" color="yellow_bg">`.
122
-
123
- Use `notion-create-pages` with explicit block content for callouts (not just markdown). After saving, return Notion page URL to user.
124
-
125
- ---
126
-
127
- ## Notion Page IDs
128
-
129
- | Location | ID |
130
- |----------|----|
131
- | Work | `3363d66a-a117-8177-b3fb-eda2bfb94ebb` |
132
- | Standup (month folders live here) | `35d3d66a-a117-81d2-b521-d60d311aa96e` |
133
- | Standup Script (template / source of truth) | `35d3d66a-a117-81b4-a276-f38a31b60c82` |
134
-
135
- > Month folders (Indonesian names: `Mei`, `Juni`, `Juli`, …) are **siblings** directly under Standup page, each with icon 📅. Created on demand — resolve folder for **today's month** at save time (search under Standup page), create if missing. Do NOT hardcode month folder IDs.
136
-
137
- ---
138
-
139
- ## Edge Cases
140
-
141
- | Situation | Behavior |
142
- |-----------|----------|
143
- | Notion MCP unavailable | Skip fetch + save, generate script only |
144
- | No previous standup found | Prompt without pre-filled options |
145
- | Weekend gap (e.g., Monday standup) | Still pick most recent — could be Friday's |
146
- | User says "different task" | Ask follow-up: "Apa yang dikerjakan kemarin?" |
147
- | No blocker | Output: "Tidak ada blocker saat ini." |
148
- | New month, no folder yet | Create month folder (Indonesian name) under Standup page, then save standup inside it |
149
- | Standup saved in wrong month folder | Move it with `notion-move-pages` using `page_or_database_ids` param |
150
-
151
- ---
152
-
153
- ## Compact Workflow
154
-
155
- **Trigger:** User says `compact [bulan]` (e.g., `compact june`, `compact mei`, `compact bulan juni`).
156
-
157
- Ambil semua standup notes dari bulan tersebut → buat Notion database table per bulan.
158
-
159
- ### Decision Tree
160
-
161
- ```
162
- User: "compact [bulan]"
163
- ↓
164
- Resolve bulan → cari month folder di Standup page
165
- ↓
166
- Fetch semua child pages (Standup - YYYY-MM-DD)
167
- ↓
168
- Fetch isi tiap page → extract Kemarin / Hari Ini / Blocker
169
- ↓
170
- Cek apakah database "Standup [Bulan] [Tahun]" sudah ada di month folder?
171
- ├── SUDAH ADA → skip create, langsung insert rows yang belum ada
172
- └── BELUM ADA → create database → insert semua rows
173
- ↓
174
- Enable wrap cells
175
- ↓
176
- Return URL database ke user
177
- ```
178
-
179
- ### Step-by-Step
180
-
181
- #### Step 1 — Resolve Month Folder
182
-
183
- 1. Parse bulan dari input user (support Bahasa Indonesia & English, e.g. `juni` / `june` / `Juni` / `June`).
184
- 2. Search Notion untuk month folder di bawah Standup page (`35d3d66a-a117-81d2-b521-d60d311aa96e`).
185
- 3. **Jika folder tidak ada** → inform user bahwa belum ada standup untuk bulan tersebut. Stop.
186
-
187
- #### Step 2 — Fetch Semua Standup Pages
188
-
189
- 1. Fetch month folder page → ambil semua child pages dengan title pattern `Standup - YYYY-MM-DD`.
190
- 2. Fetch isi **setiap** child page secara paralel (batch dalam satu panggilan jika memungkinkan).
191
- 3. Dari tiap page, extract:
192
- - **Tanggal**: parse dari title (`YYYY-MM-DD`)
193
- - **Kemarin**: isi callout `yellow_bg` (strip bold marker `**Kemarin** —`)
194
- - **Hari Ini**: isi callout `green_bg` (strip bold marker `**Hari ini** —`)
195
- - **Blocker**: isi callout `red_bg` (strip bold marker `**Blocker** —`)
196
-
197
- #### Step 3 — Create atau Reuse Database
198
-
199
- Database title format: `Standup [IndonesianMonth] [Year]` (e.g., `Standup Mei 2026`).
200
-
201
- **Jika belum ada** → buat dengan `notion-create-database`:
202
-
203
- - Parent: month folder page ID
204
- - Schema:
205
-
206
- ```sql
207
- CREATE TABLE (
208
- "Name" TITLE,
209
- "Tanggal" DATE,
210
- "Kemarin" RICH_TEXT,
211
- "Hari Ini" RICH_TEXT,
212
- "Blocker" RICH_TEXT
213
- )
214
- ```
215
-
216
- - Setelah create, ambil `data_source_id` dari response (`collection://...`).
217
-
218
- **Jika sudah ada** → fetch database → ambil `data_source_id` + cek rows yang sudah ada (hindari duplikat berdasarkan `Name`).
219
-
220
- #### Step 4 — Insert Rows
221
-
222
- Gunakan `notion-create-pages` dengan `parent: { data_source_id: "..." }`.
223
-
224
- Per row:
225
-
226
- ```json
227
- {
228
- "Name": "Standup - YYYY-MM-DD",
229
- "date:Tanggal:start": "YYYY-MM-DD",
230
- "date:Tanggal:is_datetime": 0,
231
- "Kemarin": "[extracted text]",
232
- "Hari Ini": "[extracted text]",
233
- "Blocker": "[extracted text]"
234
- }
235
- ```
236
-
237
- Batch semua rows dalam **satu** `notion-create-pages` call (max 5 per call jika banyak — split jika perlu).
238
-
239
- #### Step 5 — Enable Wrap Cells
240
-
241
- Setelah database dibuat, fetch database → ambil `view_id` dari `<views>` → update view:
242
-
243
- ```
244
- notion-update-view: WRAP CELLS true
245
- ```
246
-
247
- #### Step 6 — Return ke User
248
-
249
- Return URL database Notion ke user.
250
-
251
- ### Rules & Edge Cases
252
-
253
- | Situasi | Behavior |
254
- |---------|----------|
255
- | Bulan tidak ditemukan di Notion | Inform user, stop |
256
- | Database sudah ada | Reuse, skip rows yang sudah ada (cek by Name) |
257
- | Page standup formatnya beda (ga ada callout) | Skip page tersebut, warn user |
258
- | Bulan belum selesai (current month) | Tetap compact — insert semua yang ada sampai hari ini |
259
- | Blocker kosong / "Belum Ada" | Tetap insert as-is |