@rfxlamia/skillkit 1.0.0 → 1.2.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.
- package/agents/agents/creative-copywriter.md +212 -0
- package/agents/agents/dario-amodei.md +135 -0
- package/agents/agents/doc-simplifier.md +63 -0
- package/agents/agents/kotlin-pro.md +433 -0
- package/agents/agents/red-team.md +136 -0
- package/agents/agents/sam-altman.md +121 -0
- package/agents/agents/seo-manager.md +184 -0
- package/package.json +7 -2
- package/skills/quick-spec/tests/__pycache__/test_skill.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skillkit/.claude/settings.local.json +7 -0
- package/skills/skillkit/scripts/__pycache__/decision_helper.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/test_generator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-314.pyc +0 -0
- package/skills/skillkit-help/SKILL.md +81 -0
- package/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
- package/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skillkit-help/template/SKILL.md +52 -0
- package/skills/skills/adversarial-review/SKILL.md +219 -0
- package/skills/skills/baby-education/SKILL.md +260 -0
- package/skills/skills/baby-education/references/advanced-techniques.md +323 -0
- package/skills/skills/baby-education/references/transformations.md +345 -0
- package/skills/skills/been-there-done-that/SKILL.md +455 -0
- package/skills/skills/been-there-done-that/references/analysis-patterns.md +162 -0
- package/skills/skills/been-there-done-that/references/git-commands.md +132 -0
- package/skills/skills/been-there-done-that/references/tree-insertion-logic.md +145 -0
- package/skills/skills/coolhunter/SKILL.md +270 -0
- package/skills/skills/coolhunter/assets/elicitation-methods.csv +51 -0
- package/skills/skills/coolhunter/knowledge/elicitation-methods.md +312 -0
- package/skills/skills/coolhunter/references/workflow-execution.md +238 -0
- package/skills/skills/coolhunter/workflow-plan-coolhunter.md +232 -0
- package/skills/skills/creative-copywriting/SKILL.md +324 -0
- package/skills/skills/creative-copywriting/databases/README.md +60 -0
- package/skills/skills/creative-copywriting/databases/carousel-structures.csv +16 -0
- package/skills/skills/creative-copywriting/databases/emotional-arcs.csv +11 -0
- package/skills/skills/creative-copywriting/databases/hook-formulas.csv +51 -0
- package/skills/skills/creative-copywriting/databases/power-words.csv +201 -0
- package/skills/skills/creative-copywriting/databases/psychological-triggers.csv +21 -0
- package/skills/skills/creative-copywriting/databases/read-more-patterns.csv +26 -0
- package/skills/skills/creative-copywriting/databases/swipe-triggers.csv +31 -0
- package/skills/skills/creative-copywriting/references/carousel-psychology.md +223 -0
- package/skills/skills/creative-copywriting/references/hook-anatomy.md +169 -0
- package/skills/skills/creative-copywriting/references/power-word-science.md +134 -0
- package/skills/skills/creative-copywriting/references/storytelling-frameworks.md +157 -0
- package/skills/skills/diverse-content-gen/SKILL.md +201 -0
- package/skills/skills/diverse-content-gen/references/advanced-techniques.md +320 -0
- package/skills/skills/diverse-content-gen/references/research-findings.md +379 -0
- package/skills/skills/diverse-content-gen/references/task-workflows.md +241 -0
- package/skills/skills/diverse-content-gen/references/tool-integration.md +419 -0
- package/skills/skills/diverse-content-gen/references/troubleshooting.md +426 -0
- package/skills/skills/diverse-content-gen/references/vs-core-technique.md +240 -0
- package/skills/skills/framework-critical-thinking/SKILL.md +220 -0
- package/skills/skills/framework-critical-thinking/references/bias_detector.md +375 -0
- package/skills/skills/framework-critical-thinking/references/fallback_handler.md +239 -0
- package/skills/skills/framework-critical-thinking/references/memory_curator.md +161 -0
- package/skills/skills/framework-critical-thinking/references/metacognitive_monitor.md +297 -0
- package/skills/skills/framework-critical-thinking/references/producer_critic_orchestrator.md +333 -0
- package/skills/skills/framework-critical-thinking/references/reasoning_router.md +235 -0
- package/skills/skills/framework-critical-thinking/references/reasoning_validator.md +97 -0
- package/skills/skills/framework-critical-thinking/references/reflection_trigger.md +78 -0
- package/skills/skills/framework-critical-thinking/references/self_verification.md +388 -0
- package/skills/skills/framework-critical-thinking/references/uncertainty_quantifier.md +207 -0
- package/skills/skills/framework-initiative/SKILL.md +231 -0
- package/skills/skills/framework-initiative/references/examples.md +150 -0
- package/skills/skills/framework-initiative/references/impact-analysis.md +157 -0
- package/skills/skills/framework-initiative/references/intent-patterns.md +145 -0
- package/skills/skills/framework-initiative/references/star-framework.md +165 -0
- package/skills/skills/humanize-docs/SKILL.md +203 -0
- package/skills/skills/humanize-docs/references/advanced-techniques.md +13 -0
- package/skills/skills/humanize-docs/references/core-transformations.md +368 -0
- package/skills/skills/humanize-docs/references/detection-patterns.md +400 -0
- package/skills/skills/humanize-docs/references/examples-gallery.md +374 -0
- package/skills/skills/imagine/SKILL.md +190 -0
- package/skills/skills/imagine/references/artstyle-corporate-memphis.md +625 -0
- package/skills/skills/imagine/references/artstyle-crewdson-hyperrealism.md +295 -0
- package/skills/skills/imagine/references/artstyle-iphone-social-media.md +426 -0
- package/skills/skills/imagine/references/artstyle-sciencesaru.md +276 -0
- package/skills/skills/pre-deploy-checklist/README.md +26 -0
- package/skills/skills/pre-deploy-checklist/SKILL.md +153 -0
- package/skills/skills/pre-deploy-checklist/references/checklist-categories.md +174 -0
- package/skills/skills/pre-deploy-checklist/references/domain-prompts.md +216 -0
- package/skills/skills/prompt-engineering/SKILL.md +209 -0
- package/skills/skills/prompt-engineering/references/advanced-combinations.md +444 -0
- package/skills/skills/prompt-engineering/references/chain-of-thought.md +140 -0
- package/skills/skills/prompt-engineering/references/decision_matrix.md +220 -0
- package/skills/skills/prompt-engineering/references/few-shot.md +346 -0
- package/skills/skills/prompt-engineering/references/json-format.md +270 -0
- package/skills/skills/prompt-engineering/references/natural-language.md +420 -0
- package/skills/skills/prompt-engineering/references/pitfalls.md +365 -0
- package/skills/skills/prompt-engineering/references/prompt-chaining.md +498 -0
- package/skills/skills/prompt-engineering/references/react.md +108 -0
- package/skills/skills/prompt-engineering/references/self-consistency.md +322 -0
- package/skills/skills/prompt-engineering/references/tree-of-thoughts.md +386 -0
- package/skills/skills/prompt-engineering/references/xml-format.md +220 -0
- package/skills/skills/prompt-engineering/references/yaml-format.md +488 -0
- package/skills/skills/prompt-engineering/references/zero-shot.md +74 -0
- package/skills/skills/quick-spec/SKILL.md +280 -0
- package/skills/skills/quick-spec/assets/tech-spec-template.md +74 -0
- package/skills/skills/quick-spec/references/step-01-understand.md +189 -0
- package/skills/skills/quick-spec/references/step-02-investigate.md +144 -0
- package/skills/skills/quick-spec/references/step-03-generate.md +128 -0
- package/skills/skills/quick-spec/references/step-04-review.md +173 -0
- package/skills/skills/quick-spec/tests/__pycache__/test_skill.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skills/quick-spec/tests/test_scenarios.md +83 -0
- package/skills/skills/quick-spec/tests/test_skill.py +136 -0
- package/skills/skills/readme-expert/SKILL.md +538 -0
- package/skills/skills/readme-expert/knowledge/INDEX.md +192 -0
- package/skills/skills/readme-expert/knowledge/application/quality-standards.md +470 -0
- package/skills/skills/readme-expert/knowledge/application/script-executor.md +604 -0
- package/skills/skills/readme-expert/knowledge/application/template-library.md +822 -0
- package/skills/skills/readme-expert/knowledge/foundation/codebase-scanner.md +361 -0
- package/skills/skills/readme-expert/knowledge/foundation/validation-checklist.md +481 -0
- package/skills/skills/red-teaming/SKILL.md +321 -0
- package/skills/skills/red-teaming/references/ai-llm-redteam.md +517 -0
- package/skills/skills/red-teaming/references/attack-techniques.md +410 -0
- package/skills/skills/red-teaming/references/cybersecurity-redteam.md +383 -0
- package/skills/skills/red-teaming/references/tools-frameworks.md +446 -0
- package/skills/skills/releasing/.skillkit-mode +1 -0
- package/skills/skills/releasing/SKILL.md +225 -0
- package/skills/skills/releasing/references/version-detection.md +108 -0
- package/skills/skills/screenwriter/SKILL.md +273 -0
- package/skills/skills/screenwriter/references/advanced-techniques.md +216 -0
- package/skills/skills/screenwriter/references/pipeline-integration.md +266 -0
- package/skills/skills/skillkit/.claude/settings.local.json +7 -0
- package/skills/skills/skillkit/.claude-plugin/plugin.json +27 -0
- package/skills/skills/skillkit/CHANGELOG.md +484 -0
- package/skills/skills/skillkit/SKILL.md +511 -0
- package/skills/skills/skillkit/commands/skillkit.md +6 -0
- package/skills/skills/skillkit/commands/validate-plan.md +6 -0
- package/skills/skills/skillkit/commands/verify.md +6 -0
- package/skills/skills/skillkit/knowledge/INDEX.md +352 -0
- package/skills/skills/skillkit/knowledge/application/09-case-studies.md +257 -0
- package/skills/skills/skillkit/knowledge/application/10-technical-architecture.md +324 -0
- package/skills/skills/skillkit/knowledge/application/11-adoption-strategy.md +267 -0
- package/skills/skills/skillkit/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skills/skillkit/knowledge/application/13-competitive-landscape.md +198 -0
- package/skills/skills/skillkit/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skills/skillkit/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skills/skillkit/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skills/skillkit/knowledge/foundation/04-hybrid-patterns.md +308 -0
- package/skills/skills/skillkit/knowledge/foundation/05-token-economics.md +275 -0
- package/skills/skills/skillkit/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skills/skillkit/knowledge/foundation/07-security-concerns.md +322 -0
- package/skills/skills/skillkit/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skills/skillkit/knowledge/plugin-guide.md +614 -0
- package/skills/skills/skillkit/knowledge/tools/14-validation-tools-guide.md +150 -0
- package/skills/skills/skillkit/knowledge/tools/15-cost-tools-guide.md +157 -0
- package/skills/skills/skillkit/knowledge/tools/16-security-tools-guide.md +122 -0
- package/skills/skills/skillkit/knowledge/tools/17-pattern-tools-guide.md +161 -0
- package/skills/skills/skillkit/knowledge/tools/18-decision-helper-guide.md +243 -0
- package/skills/skills/skillkit/knowledge/tools/19-test-generator-guide.md +275 -0
- package/skills/skills/skillkit/knowledge/tools/20-split-skill-guide.md +149 -0
- package/skills/skills/skillkit/knowledge/tools/21-quality-scorer-guide.md +226 -0
- package/skills/skills/skillkit/knowledge/tools/22-migration-helper-guide.md +356 -0
- package/skills/skills/skillkit/knowledge/tools/23-subagent-creation-guide.md +448 -0
- package/skills/skills/skillkit/knowledge/tools/24-behavioral-testing-guide.md +122 -0
- package/skills/skills/skillkit/references/proposal-generation.md +982 -0
- package/skills/skills/skillkit/references/rationalization-catalog.md +75 -0
- package/skills/skills/skillkit/references/research-methodology.md +661 -0
- package/skills/skills/skillkit/references/section-2-full-creation-workflow.md +452 -0
- package/skills/skills/skillkit/references/section-3-validation-workflow-existing-skill.md +63 -0
- package/skills/skills/skillkit/references/section-4-decision-workflow-skills-vs-subagents.md +64 -0
- package/skills/skills/skillkit/references/section-5-migration-workflow-doc-to-skill.md +58 -0
- package/skills/skills/skillkit/references/section-6-subagent-creation-workflow.md +499 -0
- package/skills/skills/skillkit/references/section-7-knowledge-reference-map.md +72 -0
- package/skills/skills/skillkit/scripts/__pycache__/decision_helper.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/test_generator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skills/skillkit/scripts/decision_helper.py +799 -0
- package/skills/skills/skillkit/scripts/init_skill.py +400 -0
- package/skills/skills/skillkit/scripts/init_subagent.py +231 -0
- package/skills/skills/skillkit/scripts/migration_helper.py +669 -0
- package/skills/skills/skillkit/scripts/package_skill.py +211 -0
- package/skills/skills/skillkit/scripts/pattern_detector.py +381 -0
- package/skills/skills/skillkit/scripts/pattern_detector_new.py +382 -0
- package/skills/skills/skillkit/scripts/pressure_tester.py +157 -0
- package/skills/skills/skillkit/scripts/quality_scorer.py +999 -0
- package/skills/skills/skillkit/scripts/quick_validate.py +100 -0
- package/skills/skills/skillkit/scripts/security_scanner.py +474 -0
- package/skills/skills/skillkit/scripts/split_skill.py +540 -0
- package/skills/skills/skillkit/scripts/test_generator.py +695 -0
- package/skills/skills/skillkit/scripts/token_estimator.py +493 -0
- package/skills/skills/skillkit/scripts/utils/__init__.py +49 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/budget_tracker.py +388 -0
- package/skills/skills/skillkit/scripts/utils/output_formatter.py +263 -0
- package/skills/skills/skillkit/scripts/utils/reference_validator.py +401 -0
- package/skills/skills/skillkit/scripts/validate_skill.py +594 -0
- package/skills/skills/skillkit/tests/test_behavioral.py +39 -0
- package/skills/skills/skillkit/tests/test_scenarios.md +83 -0
- package/skills/skills/skillkit/tests/test_skill.py +136 -0
- package/skills/skills/skillkit-help/SKILL.md +81 -0
- package/skills/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
- package/skills/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skills/skillkit-help/template/SKILL.md +52 -0
- package/skills/skills/social-media-seo/SKILL.md +278 -0
- package/skills/skills/social-media-seo/databases/caption-styles.csv +31 -0
- package/skills/skills/social-media-seo/databases/engagement-tactics.csv +16 -0
- package/skills/skills/social-media-seo/databases/hashtag-strategies.csv +21 -0
- package/skills/skills/social-media-seo/databases/hook-formulas.csv +26 -0
- package/skills/skills/social-media-seo/databases/keyword-clusters.csv +11 -0
- package/skills/skills/social-media-seo/databases/thread-structures.csv +26 -0
- package/skills/skills/social-media-seo/databases/viral-patterns.csv +21 -0
- package/skills/skills/social-media-seo/references/analytics-guide.md +321 -0
- package/skills/skills/social-media-seo/references/instagram-seo.md +235 -0
- package/skills/skills/social-media-seo/references/threads-seo.md +305 -0
- package/skills/skills/social-media-seo/references/x-twitter-seo.md +337 -0
- package/skills/skills/social-media-seo/scripts/query_database.py +191 -0
- package/skills/skills/storyteller/SKILL.md +241 -0
- package/skills/skills/storyteller/references/transformation-methodology.md +293 -0
- package/skills/skills/storyteller/references/visual-vocabulary.md +177 -0
- package/skills/skills/thread-pro/SKILL.md +162 -0
- package/skills/skills/thread-pro/anti-ai-patterns.md +120 -0
- package/skills/skills/thread-pro/hook-formulas.md +138 -0
- package/skills/skills/thread-pro/references/anti-ai-patterns.md +120 -0
- package/skills/skills/thread-pro/references/hook-formulas.md +138 -0
- package/skills/skills/thread-pro/references/thread-structures.md +240 -0
- package/skills/skills/thread-pro/references/voice-injection.md +130 -0
- package/skills/skills/thread-pro/thread-structures.md +240 -0
- package/skills/skills/thread-pro/voice-injection.md +130 -0
- package/skills/skills/tinkering/SKILL.md +251 -0
- package/skills/skills/tinkering/references/graduation-checklist.md +100 -0
- package/skills/skills/validate-plan/.skillkit-mode +1 -0
- package/skills/skills/validate-plan/SKILL.md +406 -0
- package/skills/skills/validate-plan/references/dry-principles.md +251 -0
- package/skills/skills/validate-plan/references/gap-analysis-guide.md +320 -0
- package/skills/skills/validate-plan/references/tdd-patterns.md +413 -0
- package/skills/skills/validate-plan/references/yagni-checklist.md +330 -0
- package/skills/skills/verify-before-ship/.skillkit-mode +1 -0
- package/skills/skills/verify-before-ship/SKILL.md +116 -0
- package/skills/skills/verify-before-ship/references/anti-rationalization.md +212 -0
- package/skills/skills/verify-before-ship/references/verification-gates.md +305 -0
- package/skills-manifest.json +8 -2
- package/src/banner.js +1 -1
- package/src/cli.js +15 -4
- package/src/install.js +45 -29
- package/src/install.test.js +75 -7
- package/src/picker.js +15 -4
- package/src/picker.test.js +36 -1
- package/src/scope.js +8 -39
- package/src/scope.test.js +9 -13
- package/src/tools.js +76 -0
- package/src/tools.test.js +80 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# STAR Framework - Detailed Implementation
|
|
2
|
+
|
|
3
|
+
## Stop Phase: Detection Triggers
|
|
4
|
+
|
|
5
|
+
### Automatic Triggers
|
|
6
|
+
|
|
7
|
+
Activate STOP when detecting the following patterns in requests:
|
|
8
|
+
|
|
9
|
+
**Quantifier Ambiguity:**
|
|
10
|
+
```
|
|
11
|
+
"all", "every", "each" → Is it really ALL?
|
|
12
|
+
"unused", "old" → Whose criteria for unused/old?
|
|
13
|
+
"duplicate" → Exact duplicate or similar?
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**Verb Ambiguity:**
|
|
17
|
+
```
|
|
18
|
+
"fix" → patch? refactor? rewrite?
|
|
19
|
+
"improve" → performance? readability? both?
|
|
20
|
+
"update" → in-place? migration? version bump?
|
|
21
|
+
"clean" → delete? reorganize? format?
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Scope Ambiguity:**
|
|
25
|
+
```
|
|
26
|
+
"this file" → file only or related files?
|
|
27
|
+
"this function" → function only or callers?
|
|
28
|
+
"the code" → specific code or entire codebase?
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Stop Checklist
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Before ANY code modification:
|
|
35
|
+
□ Did user specify exact files?
|
|
36
|
+
□ Did user specify exact functions/lines?
|
|
37
|
+
□ Are there implicit constraints not mentioned?
|
|
38
|
+
□ Could this break something not mentioned?
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Think Phase: Intent Translation
|
|
44
|
+
|
|
45
|
+
### Intent Mapping Matrix
|
|
46
|
+
|
|
47
|
+
| Surface Request | Hidden Intent | Verification Question |
|
|
48
|
+
|-----------------|---------------|----------------------|
|
|
49
|
+
| "Delete this" | Remove safely | "Are there references to this?" |
|
|
50
|
+
| "Rename X" | Rename consistently | "Where else is X used?" |
|
|
51
|
+
| "Add feature Y" | Add without breaking | "What depends on this area?" |
|
|
52
|
+
| "Make faster" | Optimize meaningfully | "Where is the actual bottleneck?" |
|
|
53
|
+
| "Fix the bug" | Fix root cause | "What's the actual root cause?" |
|
|
54
|
+
|
|
55
|
+
### Contextual Inference
|
|
56
|
+
|
|
57
|
+
**Technical Context:**
|
|
58
|
+
- Is this production code or experimental?
|
|
59
|
+
- Is there test coverage?
|
|
60
|
+
- Is there CI/CD that will validate?
|
|
61
|
+
|
|
62
|
+
**Business Context:**
|
|
63
|
+
- Is this a critical path?
|
|
64
|
+
- Is there a deadline not mentioned?
|
|
65
|
+
- Are there other stakeholders affected?
|
|
66
|
+
|
|
67
|
+
**Historical Context:**
|
|
68
|
+
- Has user requested similar before?
|
|
69
|
+
- Is there a pattern from previous conversation?
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Analyze Phase: Dependency Mapping
|
|
74
|
+
|
|
75
|
+
### Quick Scan Commands
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Find all usages of a function
|
|
79
|
+
grep -r "functionName" --include="*.ts" .
|
|
80
|
+
|
|
81
|
+
# Find imports of a module
|
|
82
|
+
grep -r "import.*from.*moduleName" .
|
|
83
|
+
|
|
84
|
+
# Find type references
|
|
85
|
+
grep -r "type.*TypeName\|interface.*TypeName" .
|
|
86
|
+
|
|
87
|
+
# Find test files
|
|
88
|
+
find . -name "*.test.*" -o -name "*.spec.*"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Impact Assessment Template
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
┌─ IMPACT ASSESSMENT ────────────────────────┐
|
|
95
|
+
│ │
|
|
96
|
+
│ Target: [function/file/component] │
|
|
97
|
+
│ │
|
|
98
|
+
│ Direct Impact: │
|
|
99
|
+
│ □ Files modified: [count] │
|
|
100
|
+
│ □ Functions affected: [list] │
|
|
101
|
+
│ │
|
|
102
|
+
│ Indirect Impact: │
|
|
103
|
+
│ □ Callers: [count] │
|
|
104
|
+
│ □ Tests: [count] │
|
|
105
|
+
│ □ API contracts: [yes/no] │
|
|
106
|
+
│ │
|
|
107
|
+
│ Risk Level: [LOW/MEDIUM/HIGH] │
|
|
108
|
+
│ │
|
|
109
|
+
│ Recommendation: │
|
|
110
|
+
│ □ Proceed │
|
|
111
|
+
│ □ Proceed with confirmation │
|
|
112
|
+
│ □ Request more info │
|
|
113
|
+
│ │
|
|
114
|
+
└────────────────────────────────────────────┘
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Breaking Change Detection
|
|
118
|
+
|
|
119
|
+
**Type Changes:**
|
|
120
|
+
- Parameter added/removed → Callers break
|
|
121
|
+
- Return type changed → Consumers break
|
|
122
|
+
- Property renamed → Destructuring breaks
|
|
123
|
+
|
|
124
|
+
**Behavioral Changes:**
|
|
125
|
+
- Side effects added/removed
|
|
126
|
+
- Error handling changed
|
|
127
|
+
- Async/sync change
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Respond Phase: Execution Strategy
|
|
132
|
+
|
|
133
|
+
### Communication Template
|
|
134
|
+
|
|
135
|
+
```markdown
|
|
136
|
+
## Proposed Changes
|
|
137
|
+
|
|
138
|
+
**Scope:** [specific files/functions]
|
|
139
|
+
|
|
140
|
+
**Actions:**
|
|
141
|
+
1. [action 1]
|
|
142
|
+
2. [action 2]
|
|
143
|
+
|
|
144
|
+
**Impact:**
|
|
145
|
+
- Will affect: [list]
|
|
146
|
+
- Will NOT touch: [explicit exclusions]
|
|
147
|
+
|
|
148
|
+
**Risk:** [LOW/MEDIUM/HIGH]
|
|
149
|
+
|
|
150
|
+
Proceed?
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Execution Order
|
|
154
|
+
|
|
155
|
+
1. **Read-only first**: Analyze before modify
|
|
156
|
+
2. **Tests second**: Ensure test passes before change
|
|
157
|
+
3. **Leaf nodes first**: Change callees before callers
|
|
158
|
+
4. **Atomic commits**: One logical change per commit
|
|
159
|
+
|
|
160
|
+
### Rollback Plan
|
|
161
|
+
|
|
162
|
+
Always have a rollback strategy:
|
|
163
|
+
- Git: `git stash` before major changes
|
|
164
|
+
- Backup: Copy file before destructive edit
|
|
165
|
+
- Incremental: Commit after each valid step
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: humanize
|
|
3
|
+
description: >
|
|
4
|
+
Transform AI-to-AI documentation into human-readable prose with personality.
|
|
5
|
+
|
|
6
|
+
USE WHEN: Converting rigid AI-generated docs (checklists, templates, CAPS LOCK emphasis,
|
|
7
|
+
perfect structures) into flowing, conversational documentation that feels like a colleague
|
|
8
|
+
wrote it, not a robot.
|
|
9
|
+
|
|
10
|
+
PRIMARY TRIGGERS:
|
|
11
|
+
"humanize this doc" → Full transformation workflow
|
|
12
|
+
"make this readable" → Quick readability pass
|
|
13
|
+
"remove AI patterns" → Surgical pattern removal
|
|
14
|
+
"add human touch" → Inject personality without losing precision
|
|
15
|
+
|
|
16
|
+
INPUT: Markdown files with AI-agent patterns (checklist spam, rigid headers, template overload)
|
|
17
|
+
OUTPUT: Flowing prose with burstiness, analogies, and occasional absurd touches
|
|
18
|
+
|
|
19
|
+
CORE PRINCIPLE: Total war on AI rigidity. Destroy robotic tone while preserving technical accuracy.
|
|
20
|
+
category: documentation
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Humanize Docs
|
|
24
|
+
|
|
25
|
+
## Overview
|
|
26
|
+
|
|
27
|
+
This skill transforms robotic AI-generated documentation into prose that sounds like an actual human wrote it. Think: destroying checkbox spam, dismantling perfect paragraph structures, and injecting the kind of conversational flow you'd get from a colleague explaining something over coffee.
|
|
28
|
+
|
|
29
|
+
The approach is **aggressive deformalization** - not just tweaking tone, but fundamentally restructuring how information flows to break AI's predictable patterns.
|
|
30
|
+
|
|
31
|
+
## When You Need This
|
|
32
|
+
|
|
33
|
+
**Clear signals you're dealing with AI-generated docs:**
|
|
34
|
+
- Checkbox overload: `- [x] Task 1: Do the thing (AC: #1)`
|
|
35
|
+
- CAPS LOCK emphasis for CRITICAL IMPORTANT NOTES
|
|
36
|
+
- 8+ code templates embedded in a single document
|
|
37
|
+
- Every section has exactly 3 perfectly balanced paragraphs
|
|
38
|
+
- Headers like "LLM Developer Guardrails" (literally instructions for robots)
|
|
39
|
+
- Phrases: "Certainly, here is...", "It's important to note that...", "Furthermore..."
|
|
40
|
+
|
|
41
|
+
**Examples from the wild:**
|
|
42
|
+
- AI agent documentation (like your Flutter Story example)
|
|
43
|
+
- Auto-generated API specs
|
|
44
|
+
- Claude Code project scaffolds
|
|
45
|
+
- ChatGPT-written technical guides
|
|
46
|
+
|
|
47
|
+
## Transformation Workflow
|
|
48
|
+
|
|
49
|
+
### Step 1: Detect AI Patterns
|
|
50
|
+
|
|
51
|
+
Before transforming, confirm you're actually dealing with AI output. Load the detection checklist:
|
|
52
|
+
|
|
53
|
+
**[See references/detection-patterns.md for complete list]**
|
|
54
|
+
|
|
55
|
+
Quick test: Does the doc have 5+ of these?
|
|
56
|
+
- Perfect structural symmetry (every section same length)
|
|
57
|
+
- Zero sentence length variation (all 15-20 words)
|
|
58
|
+
- Checkbox addiction
|
|
59
|
+
- Template embedding mania
|
|
60
|
+
- Emotional flatness (no "wait, why?" or "honestly...")
|
|
61
|
+
|
|
62
|
+
If yes → proceed. If no → might already be human-written, be careful.
|
|
63
|
+
|
|
64
|
+
### Step 2: Apply Core Transformations
|
|
65
|
+
|
|
66
|
+
Execute transformations in order. Each pattern targets specific AI signatures:
|
|
67
|
+
|
|
68
|
+
**[See references/core-transformations.md for detailed rules]**
|
|
69
|
+
|
|
70
|
+
**Quick reference:**
|
|
71
|
+
|
|
72
|
+
1. **Burstiness Injection** → Mix 5-word punches with 30-word reflections
|
|
73
|
+
2. **Structure Dismantling** → Break perfect 3-paragraph blocks, add digressions
|
|
74
|
+
3. **Checkbox Annihilation** → Convert to flowing prose with "anyway, you'll need..."
|
|
75
|
+
4. **Template Contextualization** → Replace code dumps with "here's what worked for me..."
|
|
76
|
+
5. **Vocabulary Swap** → Kill "utilize/leverage/facilitate", use "use/use/help"
|
|
77
|
+
|
|
78
|
+
**Critical rule:** Don't apply all transformations everywhere. Humans are inconsistent - some sections stay formal, others get playful. That's the point.
|
|
79
|
+
|
|
80
|
+
### Step 3: Quality Check
|
|
81
|
+
|
|
82
|
+
Read the output aloud (or mouth the words). Does it sound like you'd actually say this to someone?
|
|
83
|
+
|
|
84
|
+
**Red flags the transformation failed:**
|
|
85
|
+
- Still too even (every paragraph same vibe)
|
|
86
|
+
- No variation in sentence rhythm
|
|
87
|
+
- Feels like a "professional robot" instead of "casual robot"
|
|
88
|
+
- You removed personality instead of adding it
|
|
89
|
+
|
|
90
|
+
**Good signals:**
|
|
91
|
+
- Some sentences feel almost too casual (then you toned it back)
|
|
92
|
+
- You had to resist adding MORE jokes
|
|
93
|
+
- It reads faster than before
|
|
94
|
+
- You can hear a specific person's voice
|
|
95
|
+
|
|
96
|
+
### Step 4: Domain Adjustments (Optional)
|
|
97
|
+
|
|
98
|
+
Different doc types need different intensity levels:
|
|
99
|
+
|
|
100
|
+
**High personality OK:**
|
|
101
|
+
- READMEs for open source projects
|
|
102
|
+
- Internal team documentation
|
|
103
|
+
- Tutorial blog posts
|
|
104
|
+
- Onboarding guides
|
|
105
|
+
|
|
106
|
+
**Moderate personality:**
|
|
107
|
+
- API documentation
|
|
108
|
+
- User-facing help docs
|
|
109
|
+
- Technical specifications
|
|
110
|
+
|
|
111
|
+
**Gentle touch only:**
|
|
112
|
+
- Legal/compliance docs (seriously, be careful)
|
|
113
|
+
- Medical/safety documentation
|
|
114
|
+
- Financial reports
|
|
115
|
+
|
|
116
|
+
**[See references/examples-gallery.md for before/after samples]**
|
|
117
|
+
|
|
118
|
+
## Quick Mode (30 seconds)
|
|
119
|
+
|
|
120
|
+
If you just need to make something readable without full transformation:
|
|
121
|
+
|
|
122
|
+
1. Kill the checkboxes → flowing list with "you'll need: X, Y, and Z"
|
|
123
|
+
2. Replace one CAPS LOCK section → italics with context
|
|
124
|
+
3. Add one burstiness break → throw in a 5-word sentence after a long paragraph
|
|
125
|
+
4. Swap 3-5 AI vocabulary words → utilize→use, leverage→use, facilitate→help
|
|
126
|
+
|
|
127
|
+
Done. Not perfect, but 70% better readability.
|
|
128
|
+
|
|
129
|
+
## Examples
|
|
130
|
+
|
|
131
|
+
### Input (AI-generated):
|
|
132
|
+
```markdown
|
|
133
|
+
## Task 2: Configure Dependencies
|
|
134
|
+
|
|
135
|
+
**CRITICAL**: The following steps MUST be completed in order.
|
|
136
|
+
|
|
137
|
+
- [x] Install package A (required for Task 3)
|
|
138
|
+
- [x] Verify installation with command X
|
|
139
|
+
- [x] Proceed to next task only after confirmation
|
|
140
|
+
|
|
141
|
+
It is important to note that failure to follow these steps will result in errors.
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Output (Humanized):
|
|
145
|
+
```markdown
|
|
146
|
+
## Setting Up Dependencies
|
|
147
|
+
|
|
148
|
+
Okay, you'll need to install package A first - and yeah, this actually matters because
|
|
149
|
+
Task 3 depends on it. Run command X to verify it worked.
|
|
150
|
+
|
|
151
|
+
Once you get the confirmation, you're good to move on. If it errors out, the next step
|
|
152
|
+
will definitely break, so... don't skip this.
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Notice:**
|
|
156
|
+
- Checkbox death ✅
|
|
157
|
+
- "Okay" intro (conversational)
|
|
158
|
+
- Sentence length variation (short → long → medium)
|
|
159
|
+
- "yeah, this actually matters" (human aside)
|
|
160
|
+
- "so... don't skip this" (trailing thought)
|
|
161
|
+
- Kept the warning but made it sound real
|
|
162
|
+
|
|
163
|
+
## Common Mistakes
|
|
164
|
+
|
|
165
|
+
**Don't:**
|
|
166
|
+
- Remove ALL structure (humans still use headers)
|
|
167
|
+
- Make everything casual (inconsistency is human)
|
|
168
|
+
- Add emojis (that's a different kind of AI spam)
|
|
169
|
+
- Force humor (spontaneous > trying hard)
|
|
170
|
+
- Ignore domain context (legal docs stay formal)
|
|
171
|
+
|
|
172
|
+
**Do:**
|
|
173
|
+
- Vary your transformation intensity
|
|
174
|
+
- Keep some sections more formal for contrast
|
|
175
|
+
- Read aloud to check naturalness
|
|
176
|
+
- Preserve technical accuracy above all
|
|
177
|
+
- Trust your instinct on "too much"
|
|
178
|
+
|
|
179
|
+
## References
|
|
180
|
+
|
|
181
|
+
This skill uses reference documentation loaded into context:
|
|
182
|
+
|
|
183
|
+
### [core-transformations.md](references/core-transformations.md)
|
|
184
|
+
The 5 core transformation patterns with detailed rules, examples, and edge cases.
|
|
185
|
+
Load this for complex transformations or when you need to understand WHY a pattern works.
|
|
186
|
+
|
|
187
|
+
### [detection-patterns.md](references/detection-patterns.md)
|
|
188
|
+
Complete AI signature checklist with detection heuristics. Load when you're unsure
|
|
189
|
+
if a doc needs transformation or want to explain what makes text feel "AI-generated".
|
|
190
|
+
|
|
191
|
+
### [examples-gallery.md](references/examples-gallery.md)
|
|
192
|
+
Before/after transformation showcase across different document types (technical guides,
|
|
193
|
+
READMEs, API docs). Load for inspiration or to calibrate transformation intensity.
|
|
194
|
+
|
|
195
|
+
### [advanced-techniques.md](references/advanced-techniques.md)
|
|
196
|
+
Future: Domain-specific adjustments for legal, academic, and specialized documentation.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
**Philosophy:** AI writes like it's afraid to break rules. Humans write like they're
|
|
201
|
+
explaining something to a friend while occasionally remembering they should probably
|
|
202
|
+
sound professional. Capture that tension.
|
|
203
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Advanced Techniques
|
|
2
|
+
|
|
3
|
+
## TBD - Domain-Specific Adjustments
|
|
4
|
+
|
|
5
|
+
This section will cover:
|
|
6
|
+
|
|
7
|
+
- Legal documentation humanization (extreme caution required)
|
|
8
|
+
- Academic paper transformation
|
|
9
|
+
- Technical specification balancing
|
|
10
|
+
- Multilingual documentation considerations
|
|
11
|
+
- Brand voice alignment
|
|
12
|
+
|
|
13
|
+
*To be developed based on real-world usage patterns*
|