@demig0d2/skills 1.0.0

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 (29) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/bin/cli.js +313 -0
  4. package/package.json +44 -0
  5. package/skills/book-writer/SKILL.md +1396 -0
  6. package/skills/book-writer/references/kdp_specs.md +139 -0
  7. package/skills/book-writer/scripts/kdp_check.py +255 -0
  8. package/skills/book-writer/scripts/toc_extract.py +151 -0
  9. package/skills/book-writer/scripts/word_count.py +196 -0
  10. package/skills/chapter-auditor/SKILL.md +231 -0
  11. package/skills/chapter-auditor/scripts/score_report.py +237 -0
  12. package/skills/concept-expander/SKILL.md +170 -0
  13. package/skills/concept-expander/scripts/validate_concept.py +255 -0
  14. package/skills/continuity-tracker/SKILL.md +251 -0
  15. package/skills/continuity-tracker/references/log_schema.md +149 -0
  16. package/skills/continuity-tracker/scripts/conflict_check.py +179 -0
  17. package/skills/continuity-tracker/scripts/log_manager.py +258 -0
  18. package/skills/humanizer/SKILL.md +632 -0
  19. package/skills/humanizer/references/patterns_quick_ref.md +71 -0
  20. package/skills/humanizer/scripts/dna_scan.py +168 -0
  21. package/skills/humanizer/scripts/scan_ai_patterns.py +279 -0
  22. package/skills/overhaul/SKILL.md +697 -0
  23. package/skills/overhaul/references/upgrade_checklist.md +81 -0
  24. package/skills/overhaul/scripts/changelog_gen.py +183 -0
  25. package/skills/overhaul/scripts/skill_parser.py +265 -0
  26. package/skills/overhaul/scripts/version_bump.py +128 -0
  27. package/skills/research-aggregator/SKILL.md +194 -0
  28. package/skills/research-aggregator/references/thinkers_reference.md +104 -0
  29. package/skills/research-aggregator/scripts/bank_formatter.py +206 -0
@@ -0,0 +1,697 @@
1
+ ---
2
+ name: overhaul
3
+ version: 1.0.0
4
+ description: |
5
+ Upgrades any existing skill file from its current version to a dramatically better one.
6
+ Two modes: AUTOMATED (diagnoses and upgrades everything independently, no user input needed)
7
+ and PERSONALIZED (user-guided — user decides what to upgrade, how deep, what to keep,
8
+ what to add). Triggers when user says "upgrade this skill," "improve this skill,"
9
+ "make this skill better," "overhaul this skill," "v2 this skill," "what's wrong with
10
+ this skill," or uploads a SKILL.md and asks for improvements. Produces a versioned
11
+ upgrade with full changelog. Results should be astonishing — not incremental edits
12
+ but dimensional upgrades.
13
+ allowed-tools:
14
+ - Read
15
+ - Write
16
+ - Edit
17
+ - Bash
18
+ - Glob
19
+ - AskUserQuestion
20
+ ---
21
+
22
+ # Overhaul
23
+
24
+ ## Scripts
25
+
26
+ **Skill parser** — always run first before diagnosing:
27
+ ```bash
28
+ python scripts/skill_parser.py <SKILL.md>
29
+ python scripts/skill_parser.py <SKILL.md> --sections # section structure only
30
+ python scripts/skill_parser.py <SKILL.md> --json # machine-readable
31
+ ```
32
+ Extracts version, sections, word counts, and auto-detects structural issues.
33
+ Run this before the 6-module diagnostic — it surfaces obvious problems instantly.
34
+
35
+ **Version bumper** — run after writing the upgrade:
36
+ ```bash
37
+ python scripts/version_bump.py <SKILL.md> # auto bump patch
38
+ python scripts/version_bump.py <SKILL.md> --minor # bump minor
39
+ python scripts/version_bump.py <SKILL.md> --major # bump major
40
+ python scripts/version_bump.py <SKILL.md> --set 2.0.0 # set specific
41
+ python scripts/version_bump.py <SKILL.md> --dry-run # preview only
42
+ ```
43
+
44
+ **Changelog generator** — run after upgrade to document changes:
45
+ ```bash
46
+ python scripts/changelog_gen.py <old_SKILL.md> <new_SKILL.md>
47
+ python scripts/changelog_gen.py <old_SKILL.md> <new_SKILL.md> --markdown
48
+ python scripts/changelog_gen.py <old_SKILL.md> <new_SKILL.md> --json
49
+ ```
50
+
51
+ ## References
52
+
53
+ `references/upgrade_checklist.md` — Pre-delivery checklist and common missing dimensions.
54
+ Read when: preparing final delivery, unsure if upgrade is complete enough.
55
+ dimensions the original didn't know it needed. Then rebuilding with those gaps filled.
56
+
57
+ The benchmark for a successful upgrade: the output should feel like a different
58
+ generation of the skill, not a cleaner version of the same one.
59
+
60
+ ---
61
+
62
+ ## FIRST STEP — ALWAYS
63
+
64
+ Read the skill file completely before doing anything else.
65
+ Do not begin diagnosis until you have read every line.
66
+ Do not begin writing until diagnosis is complete.
67
+
68
+ ---
69
+
70
+ ## MODE SELECTION
71
+
72
+ After reading the skill, ask the user:
73
+
74
+ ```
75
+ I've read [skill name] v[X]. Before I begin, which upgrade mode do you want?
76
+
77
+ AUTOMATED — I diagnose everything, identify all upgrade vectors, and rebuild
78
+ the skill completely on my own. No input needed from you until the final
79
+ upgrade is delivered. Best for: skills that need a full generational upgrade.
80
+
81
+ PERSONALIZED — We go through the diagnosis together. You decide what to upgrade,
82
+ how deep to go, what to keep exactly as-is, and you can add your own inputs,
83
+ context, or requirements at each stage. Best for: skills where you have specific
84
+ opinions about what needs changing.
85
+
86
+ Which mode?
87
+ ```
88
+
89
+ Wait for answer. Then proceed to the correct mode below.
90
+
91
+ ---
92
+ ---
93
+
94
+ # AUTOMATED MODE
95
+
96
+ No user input after mode selection until final delivery.
97
+ Run all six diagnostic modules, synthesize findings, rebuild, deliver.
98
+
99
+ ---
100
+
101
+ ## AUTOMATED PHASE 1 — FULL DIAGNOSIS
102
+
103
+ Run all six modules in sequence. Do not skip any.
104
+
105
+ ---
106
+
107
+ ### DIAGNOSTIC MODULE 1 — INTENT RECONSTRUCTION
108
+
109
+ Identify:
110
+ - **Stated intent**: What does the skill say it does? (frontmatter description + first section)
111
+ - **Actual behavior**: What does the skill body actually instruct? (read the full instructions)
112
+ - **Gap**: Where does the actual behavior fall short of, diverge from, or contradict stated intent?
113
+
114
+ The gap between stated intent and actual behavior is always the first upgrade vector.
115
+
116
+ Document findings:
117
+ ```
118
+ INTENT RECONSTRUCTION
119
+ ─────────────────────────────────────────────────────
120
+ Stated intent: [what the skill claims to do]
121
+ Actual behavior:[what it actually instructs]
122
+ Gap identified: [specific divergence — this becomes Upgrade Vector 1]
123
+ ```
124
+
125
+ ---
126
+
127
+ ### DIAGNOSTIC MODULE 2 — CONFLICT DETECTION
128
+
129
+ Read the skill looking specifically for internal contradictions:
130
+ - Instructions in section A that cancel out instructions in section B
131
+ - Rules that would produce opposite behaviors depending on read order
132
+ - Trigger conditions that overlap or exclude each other incorrectly
133
+ - Output formats defined in multiple places with inconsistencies
134
+ - Permissions or constraints that fight each other
135
+
136
+ Real example from practice: A humanizer skill that strips "negative parallelisms"
137
+ would destroy an author's protected signature constructions. The rule and the
138
+ exception were never reconciled — conflict invisible until examined under pressure.
139
+
140
+ Document findings:
141
+ ```
142
+ CONFLICT DETECTION
143
+ ─────────────────────────────────────────────────────
144
+ Conflict 1: [Section X says Y. Section Z says the opposite.]
145
+ Impact: [what breaks when this fires]
146
+ Conflict 2: [...]
147
+ None found: [if clean]
148
+ ```
149
+
150
+ ---
151
+
152
+ ### DIAGNOSTIC MODULE 3 — COMPRESSION AUDIT
153
+
154
+ Find content that has been compressed too thin — important logic buried in one vague
155
+ line that deserves its own section, rule, or process.
156
+
157
+ Signs of over-compression:
158
+ - A single bullet that's doing the work of an entire module
159
+ - A vague directive like "apply judgment" with no criteria for what good judgment is
160
+ - An output format described in 2 lines that should be a full template
161
+ - An edge case mentioned in passing with no handling instructions
162
+ - A quality standard implied but never defined ("produce high-quality output")
163
+ - A multi-step process collapsed into a single instruction
164
+
165
+ For each compressed item, note:
166
+ - What it currently says (the compressed version)
167
+ - What it should be expanded into (the full version needed)
168
+
169
+ Document findings:
170
+ ```
171
+ COMPRESSION AUDIT
172
+ ─────────────────────────────────────────────────────
173
+ Compressed item 1: "[current compressed text]"
174
+ Should expand to: [description of full module/section needed]
175
+
176
+ Compressed item 2: [...]
177
+ ```
178
+
179
+ ---
180
+
181
+ ### DIAGNOSTIC MODULE 4 — MISSING DIMENSION SCAN
182
+
183
+ This is the hardest and most valuable module. Identify what the skill doesn't address
184
+ at all — not things it does poorly, but entire categories of problem it has no answer for.
185
+
186
+ Missing dimensions are invisible in the current skill because they were never thought of.
187
+ They only appear when you ask: "What will inevitably happen when this skill is used in
188
+ the real world that the current instructions don't cover?"
189
+
190
+ Check for missing dimensions across these categories:
191
+
192
+ **Edge case coverage:**
193
+ - What happens when the input is ambiguous?
194
+ - What happens when the input is too thin to work with?
195
+ - What happens when the input is in an unexpected format?
196
+ - What happens when the user skips a required step?
197
+ - What happens when the output of one module fails before the next module runs?
198
+
199
+ **Quality definition:**
200
+ - Is "good output" defined precisely enough to be reproducible?
201
+ - Are there quality gates — checkpoints that must pass before proceeding?
202
+ - Is there a self-audit step where the skill verifies its own output?
203
+ - Is there a failure mode with a recovery path?
204
+
205
+ **Protection logic:**
206
+ - Are there things the skill should explicitly NOT change or remove?
207
+ - Are there user-specific inputs that must be preserved?
208
+ - Are there constructions that look like problems but are actually intentional?
209
+
210
+ **Integration awareness:**
211
+ - Should this skill know about other skills it will work alongside?
212
+ - Are there external systems, formats, or standards it should reference?
213
+ - Does it produce output that another skill will consume — and if so, is the
214
+ output format optimized for that consumption?
215
+
216
+ **Output consistency:**
217
+ - Is the output format defined as a template, or just described loosely?
218
+ - Would two runs on the same input produce structurally identical outputs?
219
+ - Is versioning handled — does the upgrade produce a versioned output with changelog?
220
+
221
+ Document findings:
222
+ ```
223
+ MISSING DIMENSION SCAN
224
+ ─────────────────────────────────────────────────────
225
+ Missing dimension 1: [category — what entire handling is absent]
226
+ Real-world scenario: [when this would fire and what would go wrong]
227
+ Solution: [what module/section/rule needs to be added]
228
+
229
+ Missing dimension 2: [...]
230
+ ```
231
+
232
+ ---
233
+
234
+ ### DIAGNOSTIC MODULE 5 — INTEGRATION ANALYSIS
235
+
236
+ Examine whether the skill is aware of its ecosystem:
237
+
238
+ - **Companion skills**: Are there other installed skills this one should reference,
239
+ hand off to, or receive input from? Is the handoff protocol defined?
240
+ - **Embedded knowledge**: Is there external domain knowledge this skill should have
241
+ permanently embedded instead of relying on general training?
242
+ - **Output consumers**: Does another skill or process consume this skill's output?
243
+ Is the output format optimized for that consumer?
244
+ - **Input producers**: Does another skill produce this skill's input? Is the input
245
+ format expected by this skill compatible with what the producer generates?
246
+ - **Triggering accuracy**: Does the frontmatter description reliably fire when it
247
+ should? Does it fire when it shouldn't? Is it too broad or too narrow?
248
+
249
+ Document findings:
250
+ ```
251
+ INTEGRATION ANALYSIS
252
+ ─────────────────────────────────────────────────────
253
+ Companion skill gaps: [skills it should know about but doesn't]
254
+ Embedded knowledge gaps: [domain knowledge that should be baked in]
255
+ Triggering issues: [description too broad / too narrow / ambiguous]
256
+ Output compatibility: [issues with downstream consumers]
257
+ ```
258
+
259
+ ---
260
+
261
+ ### DIAGNOSTIC MODULE 6 — OUTPUT STANDARD CHECK
262
+
263
+ Evaluate the precision of the skill's output definition:
264
+
265
+ - Is the output format defined as a concrete template or just described loosely?
266
+ - Is quality defined with measurable or observable criteria?
267
+ - Is there a versioning convention — does upgraded output carry a version number?
268
+ - Is there a changelog or diff produced alongside the output?
269
+ - Is there a self-verification step before final delivery?
270
+ - Would someone reading only the output know exactly what skill produced it?
271
+
272
+ Document findings:
273
+ ```
274
+ OUTPUT STANDARD CHECK
275
+ ─────────────────────────────────────────────────────
276
+ Format definition: [template / described loosely / missing]
277
+ Quality criteria: [defined / implied / absent]
278
+ Versioning: [present / absent]
279
+ Self-verification: [present / absent]
280
+ Consistency: [would produce same structure every run? Y/N]
281
+ ```
282
+
283
+ ---
284
+
285
+ ## AUTOMATED PHASE 2 — UPGRADE SYNTHESIS
286
+
287
+ After all six modules, synthesize findings into an upgrade plan:
288
+
289
+ ```
290
+ UPGRADE SYNTHESIS — [Skill Name]
291
+ ═══════════════════════════════════════════════════════
292
+
293
+ Current version: [X]
294
+ Upgrade target: [X+1]
295
+
296
+ UPGRADE VECTORS (ordered by impact — highest first):
297
+ 1. [Vector from Intent Gap / Conflict / Compression / Missing Dimension / Integration / Output]
298
+ Type: [Intent Gap / Conflict / Compression / Missing Dimension / Integration / Output]
299
+ Current state: [what exists now]
300
+ Upgraded state: [what will exist after]
301
+ Impact: [why this matters — what breaks or fails without it]
302
+
303
+ 2. [...]
304
+
305
+ WHAT WILL NOT CHANGE:
306
+ [List sections, rules, or constructions that are working well and will be preserved exactly]
307
+
308
+ ESTIMATED SCOPE:
309
+ [Minor upgrade (1–3 vectors) / Major upgrade (4–6 vectors) / Generational upgrade (all six)]
310
+ ```
311
+
312
+ Then proceed directly to Phase 3. Do not wait for approval in Automated Mode.
313
+
314
+ ---
315
+
316
+ ## AUTOMATED PHASE 3 — FULL REBUILD
317
+
318
+ Write the complete upgraded skill from scratch.
319
+
320
+ Do not patch the old skill. Rebuild it entirely using the diagnosis as the foundation.
321
+ The old skill is a reference — not the base.
322
+
323
+ ### Rebuild Standards
324
+
325
+ **Version bump**: Increment version number in frontmatter. If no version exists, add `version: 2.0.0`.
326
+
327
+ **Description upgrade**: Rewrite the frontmatter description using findings from Module 5
328
+ (Integration Analysis). It must:
329
+ - Accurately describe what the upgraded skill does (not the old one)
330
+ - Include specific trigger phrases — both what the user says AND what context suggests
331
+ - Be "pushy" enough to fire reliably — err toward over-triggering rather than under
332
+ - Be under 60 words
333
+
334
+ **Body structure**: Organize around modules, not paragraphs. Every distinct behavior
335
+ gets its own named section. Every process gets numbered steps. Every output gets a template.
336
+
337
+ **Quality gates**: Every module that produces output must have a verification check
338
+ before it hands off to the next module.
339
+
340
+ **Edge case coverage**: Every missing dimension identified in Module 4 gets a dedicated
341
+ handling section.
342
+
343
+ **Protected constructions**: Every conflict identified in Module 2 gets an explicit
344
+ protection rule that comes BEFORE the general rules.
345
+
346
+ **Compression resolution**: Every compressed item from Module 3 gets fully expanded
347
+ into its own section.
348
+
349
+ **Output template**: The final output format is defined as a concrete, reusable template —
350
+ not described loosely.
351
+
352
+ ---
353
+
354
+ ## AUTOMATED PHASE 4 — DELIVERY
355
+
356
+ Deliver in this order:
357
+
358
+ **1. Diagnostic Report** (brief — the key findings only, not the full internal workings)
359
+ ```
360
+ DIAGNOSTIC REPORT — [Skill Name] v[old] → v[new]
361
+ ═══════════════════════════════════════════════════════
362
+ Vectors addressed: [N]
363
+ Type of upgrade: [Minor / Major / Generational]
364
+
365
+ KEY FINDINGS:
366
+ • [Most important finding]
367
+ • [Second most important]
368
+ • [Third]
369
+ [Max 5 bullets — most impactful only]
370
+ ```
371
+
372
+ **2. Changelog**
373
+ ```
374
+ CHANGELOG — v[old] → v[new]
375
+ ═══════════════════════════════════════════════════════
376
+ ADDED:
377
+ • [New section / module / rule — one line each]
378
+
379
+ EXPANDED:
380
+ • [Previously compressed item → what it became]
381
+
382
+ FIXED:
383
+ • [Conflict resolved]
384
+
385
+ RESTRUCTURED:
386
+ • [Major organizational change]
387
+
388
+ PRESERVED:
389
+ • [What was kept exactly as-is and why]
390
+ ```
391
+
392
+ **3. The upgraded SKILL.md** — complete, ready to install
393
+
394
+ ---
395
+ ---
396
+
397
+ # PERSONALIZED MODE
398
+
399
+ User-guided. Every phase has a decision point. User controls depth, scope, and direction.
400
+
401
+ ---
402
+
403
+ ## PERSONALIZED PHASE 1 — DIAGNOSTIC REPORT (SHARED)
404
+
405
+ Run all six diagnostic modules (same as Automated Mode).
406
+ But instead of proceeding directly to rebuild, present findings to the user.
407
+
408
+ ```
409
+ DIAGNOSTIC REPORT — [Skill Name] v[X]
410
+ ═══════════════════════════════════════════════════════
411
+
412
+ I've analyzed the skill across 6 dimensions. Here's what I found:
413
+
414
+ ─────────────────────────────────────────────────────
415
+ 1. INTENT GAP
416
+ [What the skill claims to do vs. what it actually instructs]
417
+ Severity: [Low / Medium / High / Critical]
418
+
419
+ ─────────────────────────────────────────────────────
420
+ 2. CONFLICTS DETECTED
421
+ [List each conflict with impact]
422
+ Severity: [Low / Medium / High / Critical]
423
+ — or — No conflicts found.
424
+
425
+ ─────────────────────────────────────────────────────
426
+ 3. OVER-COMPRESSED SECTIONS
427
+ [List each compressed item]
428
+ Severity: [Low / Medium / High / Critical]
429
+ — or — No compression issues found.
430
+
431
+ ─────────────────────────────────────────────────────
432
+ 4. MISSING DIMENSIONS
433
+ [List each missing category with the real-world scenario it breaks]
434
+ Severity: [Low / Medium / High / Critical]
435
+ — or — No missing dimensions found.
436
+
437
+ ─────────────────────────────────────────────────────
438
+ 5. INTEGRATION GAPS
439
+ [Companion skills it should know about, triggering issues, output compatibility]
440
+ Severity: [Low / Medium / High / Critical]
441
+ — or — Integration looks solid.
442
+
443
+ ─────────────────────────────────────────────────────
444
+ 6. OUTPUT STANDARD
445
+ [Format precision, quality definition, versioning, self-verification]
446
+ Severity: [Low / Medium / High / Critical]
447
+ — or — Output standard is well-defined.
448
+
449
+ ═══════════════════════════════════════════════════════
450
+ Total upgrade vectors identified: [N]
451
+ Estimated upgrade scope: [Minor / Major / Generational]
452
+ ```
453
+
454
+ ---
455
+
456
+ ## PERSONALIZED PHASE 2 — USER DECISION POINT 1: SCOPE
457
+
458
+ After the diagnostic report, ask:
459
+
460
+ ```
461
+ Before I start upgrading, a few decisions:
462
+
463
+ 1. WHICH FINDINGS do you want to address?
464
+ [List each finding with its severity]
465
+ You can say: "all of them," "only the Critical and High ones,"
466
+ "skip #3 and #5," or name specific ones.
467
+
468
+ 2. DEPTH — for each finding you want addressed, how deep?
469
+ LIGHT — fix the problem cleanly, minimum new content
470
+ FULL — expand completely, add all necessary structure
471
+ MAXIMUM — treat as a missing module, build it out entirely
472
+
473
+ 3. ANYTHING TO ADD that I didn't find?
474
+ Any requirements, context, or inputs you want built into the upgrade?
475
+ Anything from your own experience using this skill that should be fixed?
476
+
477
+ 4. ANYTHING TO PROTECT?
478
+ Any sections, rules, or constructions you want kept exactly as-is,
479
+ even if my diagnosis flagged them?
480
+
481
+ Take your time — this shapes everything.
482
+ ```
483
+
484
+ Wait for full answer. Confirm scope before proceeding:
485
+
486
+ ```
487
+ Confirmed upgrade scope:
488
+ • Addressing: [list of findings to fix]
489
+ • Depth: [per finding or uniform]
490
+ • Additions: [user-specified additions]
491
+ • Protected: [locked sections]
492
+
493
+ Proceeding to upgrade. I'll check in with you at key decision points.
494
+ ```
495
+
496
+ ---
497
+
498
+ ## PERSONALIZED PHASE 3 — ITERATIVE BUILD
499
+
500
+ Build the upgrade section by section, checking in at each major module.
501
+
502
+ For each major module being added or rebuilt:
503
+
504
+ ```
505
+ [MODULE NAME] — Draft
506
+
507
+ [Show the drafted module]
508
+
509
+ ─────────────────────────────────────────────────────
510
+ Does this capture what you wanted?
511
+ Options:
512
+ → Approve — move to next module
513
+ → Adjust — tell me what to change
514
+ → Expand — go deeper on [specific part]
515
+ → Simplify — strip back to essentials
516
+ → Replace — I'll rewrite it with your direction
517
+ ```
518
+
519
+ Wait for response. Apply changes immediately. Move to next module only on approval.
520
+
521
+ Key checkpoints (always stop and show):
522
+ - After the frontmatter / description rewrite
523
+ - After the first major structural module
524
+ - After any module that adds entirely new content not in the original
525
+ - Before the final assembly
526
+
527
+ ---
528
+
529
+ ## PERSONALIZED PHASE 4 — USER DECISION POINT 2: FINAL REVIEW
530
+
531
+ Before assembling the final file, present a summary:
532
+
533
+ ```
534
+ UPGRADE SUMMARY — Before Final Assembly
535
+ ═══════════════════════════════════════════════════════
536
+
537
+ MODULES COMPLETED:
538
+ [List each module with approval status]
539
+
540
+ CHANGES FROM ORIGINAL:
541
+ Added: [N new sections/modules]
542
+ Expanded: [N compressed items]
543
+ Fixed: [N conflicts]
544
+ Protected: [N sections unchanged]
545
+ User additions: [N custom inputs incorporated]
546
+
547
+ FINAL CHECKS:
548
+ □ Version number updated?
549
+ □ Frontmatter description reflects new capabilities?
550
+ □ All approved modules present?
551
+ □ Protected sections unchanged?
552
+
553
+ Ready to assemble. Any last changes before I generate the final file?
554
+ ```
555
+
556
+ Wait for confirmation or final adjustments.
557
+
558
+ ---
559
+
560
+ ## PERSONALIZED PHASE 5 — DELIVERY
561
+
562
+ Same delivery format as Automated Mode:
563
+
564
+ **1. Changelog** (user-facing — what changed, what was user-directed)
565
+ **2. The upgraded SKILL.md** — complete, ready to install
566
+
567
+ Add a user-input acknowledgment section to the changelog:
568
+
569
+ ```
570
+ USER-DIRECTED ADDITIONS:
571
+ • [Each user-specified addition or adjustment — credited explicitly]
572
+ ```
573
+
574
+ ---
575
+ ---
576
+
577
+ # SHARED REBUILD STANDARDS (both modes)
578
+
579
+ These apply regardless of mode. Non-negotiable in every upgrade.
580
+
581
+ ---
582
+
583
+ ## VERSIONING CONVENTION
584
+
585
+ Always increment version on upgrade:
586
+ - Patch (0.0.X): Typo fixes, minor clarifications, no behavior change
587
+ - Minor (0.X.0): New sections, expanded content, edge cases added
588
+ - Major (X.0.0): Generational rebuild, new modules, structural overhaul
589
+
590
+ If no version exists in the original: assign `version: 2.0.0` (assumes there was a v1).
591
+
592
+ ---
593
+
594
+ ## FRONTMATTER DESCRIPTION RULES
595
+
596
+ The description is the triggering mechanism — it determines whether the skill fires.
597
+ Every upgrade must include a rewritten description that:
598
+
599
+ 1. States what the skill does (not what it is)
600
+ 2. States specifically when to use it — include example trigger phrases
601
+ 3. States what it does NOT handle (prevents false triggers)
602
+ 4. Is "pushy" — errs toward firing when relevant rather than waiting
603
+ 5. Is under 60 words
604
+ 6. Reflects the upgraded capability — not the old one
605
+
606
+ ---
607
+
608
+ ## STRUCTURE STANDARDS
609
+
610
+ Every upgraded skill must have:
611
+
612
+ **Named modules** — every distinct behavior gets a named `## SECTION` heading
613
+ **Numbered steps** — every process is numbered, not bulleted
614
+ **Output templates** — every output is a concrete template, not a description
615
+ **Quality gates** — every multi-step module has a verification checkpoint
616
+ **Error handling** — every module has at least one "what to do if this fails" rule
617
+ **Protected constructions** — any conflict has an explicit protection rule before the general rule
618
+ **Edge case handlers** — every identified missing dimension has a dedicated section
619
+
620
+ ---
621
+
622
+ ## QUALITY GATES
623
+
624
+ Before delivering any upgraded skill in either mode:
625
+
626
+ - [ ] Version number bumped
627
+ - [ ] Frontmatter description rewritten and accurate
628
+ - [ ] All diagnostic findings addressed (or explicitly skipped in Personalized)
629
+ - [ ] No internal conflicts remain
630
+ - [ ] Every compressed item expanded
631
+ - [ ] Every missing dimension has a handler
632
+ - [ ] Output format is a concrete template
633
+ - [ ] Changelog is complete and accurate
634
+ - [ ] The upgraded skill would produce astonishing results compared to the original
635
+
636
+ That last check is the standard. If the upgrade is incremental — if it just cleans up
637
+ what was already there without adding new dimensions — it hasn't passed. Go back and
638
+ find the missing dimension that was overlooked.
639
+
640
+ ---
641
+ ---
642
+
643
+ # WHAT MAKES AN UPGRADE ASTONISHING
644
+
645
+ The difference between a good upgrade and an astonishing one:
646
+
647
+ **Good upgrade**: Fixes what's wrong. Cleans up what's messy. Makes existing behavior reliable.
648
+
649
+ **Astonishing upgrade**: Adds what was never there. Finds the dimension the original
650
+ author didn't know to think about. Produces output that makes the user feel the original
651
+ skill was a prototype.
652
+
653
+ The diagnostic module that produces this is **Module 4 — Missing Dimension Scan**.
654
+ The most valuable thing you can do in any upgrade is find the category of problem the
655
+ skill has no answer for — and build the answer.
656
+
657
+ In practice this looks like:
658
+ - The humanizer that didn't know it needed a DNA protection layer
659
+ - The chapter writer that didn't define what "pass" means before humanizing
660
+ - The research aggregator that didn't distinguish between direct citations and scaffolding
661
+ - The TOC builder that didn't define what "approved" means before writing starts
662
+
663
+ None of these were visible as problems in the original skills. They only appeared when
664
+ you asked: "What will inevitably go wrong when this fires in the real world?"
665
+
666
+ That question is the engine of astonishing upgrades. Ask it for every module.
667
+ Ask it for the skill as a whole. Ask it one more time before delivery.
668
+
669
+ ---
670
+ ---
671
+
672
+ # QUICK REFERENCE
673
+
674
+ ```
675
+ MODE SELECTION
676
+ → AUTOMATED: Read → Diagnose (6 modules) → Synthesize → Rebuild → Deliver
677
+ → PERSONALIZED: Read → Diagnose → Show report → User scopes → Build iteratively
678
+ → User approves each module → Final review → Deliver
679
+
680
+ 6 DIAGNOSTIC MODULES
681
+ 1. Intent Reconstruction — stated vs. actual behavior gap
682
+ 2. Conflict Detection — internal contradictions
683
+ 3. Compression Audit — logic buried too thin
684
+ 4. Missing Dimension Scan — entire categories not addressed (highest value)
685
+ 5. Integration Analysis — ecosystem awareness, triggering accuracy
686
+ 6. Output Standard Check — format precision, quality definition
687
+
688
+ UPGRADE SEVERITY
689
+ Minor: 1–2 vectors, patch or minor version bump
690
+ Major: 3–4 vectors, minor version bump
691
+ Generational: 5–6 vectors, major version bump
692
+
693
+ THE TEST
694
+ Would someone who used the original skill feel this is a
695
+ different generation — not just a cleaner version?
696
+ If no → find the missing dimension and add it.
697
+ ```