incitaciones 0.1.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/LICENSE +395 -0
- package/README.md +410 -0
- package/content/distilled/abstraction-miner.md +32 -0
- package/content/distilled/adversarial-stakeholder-evaluation.md +121 -0
- package/content/distilled/anti-slop-prose.md +46 -0
- package/content/distilled/bias-audit.md +39 -0
- package/content/distilled/code-review/SKILL.md +53 -0
- package/content/distilled/code-review/references/criteria.md +50 -0
- package/content/distilled/code-review/references/templates.md +75 -0
- package/content/distilled/code-review/references/variants.md +32 -0
- package/content/distilled/commit/SKILL.md +41 -0
- package/content/distilled/commit/references/criteria.md +21 -0
- package/content/distilled/commit/references/templates.md +46 -0
- package/content/distilled/composability-diagnostician.md +67 -0
- package/content/distilled/context-guardian.md +20 -0
- package/content/distilled/create-handoff/SKILL.md +16 -0
- package/content/distilled/create-handoff/references/handoff-template.md +65 -0
- package/content/distilled/create-handoff/references/naming.md +7 -0
- package/content/distilled/create-issues/SKILL.md +72 -0
- package/content/distilled/create-issues/references/criteria.md +44 -0
- package/content/distilled/create-issues/references/templates.md +75 -0
- package/content/distilled/create-plan/SKILL.md +19 -0
- package/content/distilled/create-plan/references/plan-template.md +87 -0
- package/content/distilled/create-plan/references/scenarios.md +19 -0
- package/content/distilled/debug/SKILL.md +42 -0
- package/content/distilled/debug/references/criteria.md +27 -0
- package/content/distilled/debug/references/templates.md +39 -0
- package/content/distilled/describe-pr/SKILL.md +17 -0
- package/content/distilled/describe-pr/references/pr-template.md +62 -0
- package/content/distilled/design-practice.md +213 -0
- package/content/distilled/design-review/SKILL.md +29 -0
- package/content/distilled/design-review/references/combined-review.md +27 -0
- package/content/distilled/design-review/references/decision-matrix.md +122 -0
- package/content/distilled/design-review/references/problem-statement.md +141 -0
- package/content/distilled/design-review/references/report-template.md +36 -0
- package/content/distilled/design-review/references/scope-document.md +51 -0
- package/content/distilled/distill-prompt/SKILL.md +41 -0
- package/content/distilled/distill-prompt/references/criteria.md +26 -0
- package/content/distilled/distill-prompt/references/templates.md +30 -0
- package/content/distilled/doc-link-verifier/SKILL.md +212 -0
- package/content/distilled/doc-link-verifier/scripts/check_links.py +453 -0
- package/content/distilled/doc-link-verifier/scripts/extract_links.py +521 -0
- package/content/distilled/edge-case-discovery.md +123 -0
- package/content/distilled/error-handling-diagnostician.md +90 -0
- package/content/distilled/extract-prompt.md +220 -0
- package/content/distilled/formal-verification-evaluator.md +158 -0
- package/content/distilled/grill-me.md +24 -0
- package/content/distilled/guided-review.md +68 -0
- package/content/distilled/implement-documentation.md +68 -0
- package/content/distilled/implement-plan/SKILL.md +23 -0
- package/content/distilled/implement-plan/references/common-situations.md +36 -0
- package/content/distilled/implement-plan/references/verification-template.md +18 -0
- package/content/distilled/invalid-states-diagnostician.md +63 -0
- package/content/distilled/issue-review/SKILL.md +37 -0
- package/content/distilled/issue-review/references/convergence.md +19 -0
- package/content/distilled/issue-review/references/final-report.md +60 -0
- package/content/distilled/issue-review/references/pass-1-clarity.md +28 -0
- package/content/distilled/issue-review/references/pass-2-scope.md +22 -0
- package/content/distilled/issue-review/references/pass-3-dependencies.md +23 -0
- package/content/distilled/issue-review/references/pass-4-alignment.md +17 -0
- package/content/distilled/issue-review/references/pass-5-executability.md +17 -0
- package/content/distilled/issue-review/references/setup.md +25 -0
- package/content/distilled/iterate-plan/SKILL.md +24 -0
- package/content/distilled/iterate-plan/references/change-template.md +15 -0
- package/content/distilled/iterate-plan/references/common-scenarios.md +14 -0
- package/content/distilled/julia-performance-diagnostician.md +71 -0
- package/content/distilled/modularity-diagnostician.md +68 -0
- package/content/distilled/multi-agent-review.md +196 -0
- package/content/distilled/mutability-diagnostician.md +63 -0
- package/content/distilled/narrative-article.md +60 -0
- package/content/distilled/optionality-review.md +190 -0
- package/content/distilled/parallel-review/SKILL.md +49 -0
- package/content/distilled/parallel-review/references/criteria.md +34 -0
- package/content/distilled/parallel-review/references/templates.md +59 -0
- package/content/distilled/plan-review/SKILL.md +42 -0
- package/content/distilled/plan-review/references/criteria.md +51 -0
- package/content/distilled/plan-review/references/templates.md +67 -0
- package/content/distilled/pre-mortem.md +10 -0
- package/content/distilled/project-status-report.md +124 -0
- package/content/distilled/pwa-accessibility-review.md +81 -0
- package/content/distilled/rca-diagnostician/SKILL.md +30 -0
- package/content/distilled/rca-diagnostician/references/action-hierarchy.md +77 -0
- package/content/distilled/rca-diagnostician/references/bias-countermeasures.md +64 -0
- package/content/distilled/rca-diagnostician/references/evidence-timeline.md +49 -0
- package/content/distilled/rca-diagnostician/references/hypothesis-methods.md +53 -0
- package/content/distilled/rca-diagnostician/references/problem-definition.md +34 -0
- package/content/distilled/rca-diagnostician/references/report-template.md +75 -0
- package/content/distilled/rca-diagnostician/references/rigor-checklist.md +66 -0
- package/content/distilled/red-team-review.md +133 -0
- package/content/distilled/research-codebase/SKILL.md +22 -0
- package/content/distilled/research-codebase/references/report-template.md +75 -0
- package/content/distilled/research-codebase/references/search-patterns.md +27 -0
- package/content/distilled/research-documentation.md +79 -0
- package/content/distilled/research-review/SKILL.md +42 -0
- package/content/distilled/research-review/references/criteria.md +51 -0
- package/content/distilled/research-review/references/templates.md +73 -0
- package/content/distilled/resonant-refactor.md +45 -0
- package/content/distilled/resume-handoff/SKILL.md +19 -0
- package/content/distilled/resume-handoff/references/analysis-template.md +40 -0
- package/content/distilled/resume-handoff/references/locating.md +12 -0
- package/content/distilled/review-documentation.md +44 -0
- package/content/distilled/rigidity-diagnostician.md +70 -0
- package/content/distilled/rule-of-5-universal/SKILL.md +26 -0
- package/content/distilled/rule-of-5-universal/references/criteria.md +34 -0
- package/content/distilled/rule-of-5-universal/references/examples.md +69 -0
- package/content/distilled/rule-of-5-universal/references/templates.md +136 -0
- package/content/distilled/specification-evaluation-diagnostician.md +106 -0
- package/content/distilled/specification-review/SKILL.md +43 -0
- package/content/distilled/specification-review/references/criteria.md +51 -0
- package/content/distilled/specification-review/references/templates.md +67 -0
- package/content/distilled/systematic-housekeeping.md +27 -0
- package/content/distilled/tdd/SKILL.md +38 -0
- package/content/distilled/tdd/references/criteria.md +26 -0
- package/content/distilled/tdd/references/templates.md +53 -0
- package/content/distilled/test-abstraction-miner.md +43 -0
- package/content/distilled/test-friction.md +51 -0
- package/content/distilled/testability-implementability-evaluator.md +144 -0
- package/content/distilled/ui-align.md +32 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/SKILL.md +21 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-1-product.md +20 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-2-engineering.md +20 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-3-interface.md +23 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-4-ecosystem.md +20 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-5-documentation.md +19 -0
- package/content/distilled/ux-dx-evaluation-diagnostician/references/report-template.md +36 -0
- package/content/distilled/verification-diagnostician.md +90 -0
- package/content/distilled/verify-prompt/SKILL.md +32 -0
- package/content/distilled/verify-prompt/references/criteria.md +21 -0
- package/content/manifest.json +3220 -0
- package/package.json +50 -0
- package/pi-package/README.md +9 -0
- package/pi-package/prompts/abstraction-miner.md +10 -0
- package/pi-package/prompts/adversarial-stakeholder-evaluation.md +10 -0
- package/pi-package/prompts/anti-slop-prose.md +10 -0
- package/pi-package/prompts/bias-audit.md +10 -0
- package/pi-package/prompts/code-review.md +10 -0
- package/pi-package/prompts/commit.md +10 -0
- package/pi-package/prompts/composability-diagnostician.md +10 -0
- package/pi-package/prompts/context-guardian.md +10 -0
- package/pi-package/prompts/create-handoff.md +10 -0
- package/pi-package/prompts/create-issues.md +10 -0
- package/pi-package/prompts/create-plan.md +10 -0
- package/pi-package/prompts/debug.md +10 -0
- package/pi-package/prompts/describe-pr.md +10 -0
- package/pi-package/prompts/design-practice.md +10 -0
- package/pi-package/prompts/design-review.md +10 -0
- package/pi-package/prompts/distill-prompt.md +10 -0
- package/pi-package/prompts/doc-link-verifier.md +10 -0
- package/pi-package/prompts/edge-case-discovery.md +10 -0
- package/pi-package/prompts/error-handling-diagnostician.md +10 -0
- package/pi-package/prompts/extract-prompt.md +10 -0
- package/pi-package/prompts/formal-verification-evaluator.md +10 -0
- package/pi-package/prompts/grill-me.md +10 -0
- package/pi-package/prompts/guided-review.md +10 -0
- package/pi-package/prompts/implement-documentation.md +10 -0
- package/pi-package/prompts/implement-plan.md +10 -0
- package/pi-package/prompts/invalid-states-diagnostician.md +10 -0
- package/pi-package/prompts/issue-review.md +10 -0
- package/pi-package/prompts/iterate-plan.md +10 -0
- package/pi-package/prompts/julia-performance-diagnostician.md +10 -0
- package/pi-package/prompts/modularity-diagnostician.md +10 -0
- package/pi-package/prompts/multi-agent-review.md +10 -0
- package/pi-package/prompts/mutability-diagnostician.md +10 -0
- package/pi-package/prompts/narrative-article.md +10 -0
- package/pi-package/prompts/optionality-review.md +10 -0
- package/pi-package/prompts/parallel-review.md +10 -0
- package/pi-package/prompts/plan-review.md +10 -0
- package/pi-package/prompts/pre-mortem.md +10 -0
- package/pi-package/prompts/project-status-report.md +10 -0
- package/pi-package/prompts/pwa-accessibility-review.md +10 -0
- package/pi-package/prompts/rca-diagnostician.md +10 -0
- package/pi-package/prompts/red-team-review.md +10 -0
- package/pi-package/prompts/research-codebase.md +10 -0
- package/pi-package/prompts/research-documentation.md +10 -0
- package/pi-package/prompts/research-review.md +10 -0
- package/pi-package/prompts/resonant-refactor.md +10 -0
- package/pi-package/prompts/resume-handoff.md +10 -0
- package/pi-package/prompts/review-documentation.md +10 -0
- package/pi-package/prompts/rigidity-diagnostician.md +10 -0
- package/pi-package/prompts/rule-of-5-universal.md +10 -0
- package/pi-package/prompts/specification-evaluation-diagnostician.md +10 -0
- package/pi-package/prompts/specification-review.md +10 -0
- package/pi-package/prompts/systematic-housekeeping.md +10 -0
- package/pi-package/prompts/tdd.md +10 -0
- package/pi-package/prompts/test-abstraction-miner.md +10 -0
- package/pi-package/prompts/test-friction.md +10 -0
- package/pi-package/prompts/testability-implementability-evaluator.md +10 -0
- package/pi-package/prompts/ui-align.md +10 -0
- package/pi-package/prompts/ux-dx-evaluation-diagnostician.md +10 -0
- package/pi-package/prompts/verification-diagnostician.md +10 -0
- package/pi-package/prompts/verify-prompt.md +10 -0
- package/pi-package/skills/abstraction-miner/SKILL.md +38 -0
- package/pi-package/skills/adversarial-stakeholder-evaluation/SKILL.md +127 -0
- package/pi-package/skills/anti-slop-prose/SKILL.md +52 -0
- package/pi-package/skills/bias-audit/SKILL.md +45 -0
- package/pi-package/skills/code-review/SKILL.md +59 -0
- package/pi-package/skills/code-review/references/criteria.md +50 -0
- package/pi-package/skills/code-review/references/templates.md +75 -0
- package/pi-package/skills/code-review/references/variants.md +32 -0
- package/pi-package/skills/commit/SKILL.md +47 -0
- package/pi-package/skills/commit/references/criteria.md +21 -0
- package/pi-package/skills/commit/references/templates.md +46 -0
- package/pi-package/skills/composability-diagnostician/SKILL.md +73 -0
- package/pi-package/skills/context-guardian/SKILL.md +26 -0
- package/pi-package/skills/create-handoff/SKILL.md +22 -0
- package/pi-package/skills/create-handoff/references/handoff-template.md +65 -0
- package/pi-package/skills/create-handoff/references/naming.md +7 -0
- package/pi-package/skills/create-issues/SKILL.md +78 -0
- package/pi-package/skills/create-issues/references/criteria.md +44 -0
- package/pi-package/skills/create-issues/references/templates.md +75 -0
- package/pi-package/skills/create-plan/SKILL.md +25 -0
- package/pi-package/skills/create-plan/references/plan-template.md +87 -0
- package/pi-package/skills/create-plan/references/scenarios.md +19 -0
- package/pi-package/skills/debug/SKILL.md +48 -0
- package/pi-package/skills/debug/references/criteria.md +27 -0
- package/pi-package/skills/debug/references/templates.md +39 -0
- package/pi-package/skills/describe-pr/SKILL.md +23 -0
- package/pi-package/skills/describe-pr/references/pr-template.md +62 -0
- package/pi-package/skills/design-practice/SKILL.md +219 -0
- package/pi-package/skills/design-review/SKILL.md +35 -0
- package/pi-package/skills/design-review/references/combined-review.md +27 -0
- package/pi-package/skills/design-review/references/decision-matrix.md +122 -0
- package/pi-package/skills/design-review/references/problem-statement.md +141 -0
- package/pi-package/skills/design-review/references/report-template.md +36 -0
- package/pi-package/skills/design-review/references/scope-document.md +51 -0
- package/pi-package/skills/distill-prompt/SKILL.md +47 -0
- package/pi-package/skills/distill-prompt/references/criteria.md +26 -0
- package/pi-package/skills/distill-prompt/references/templates.md +30 -0
- package/pi-package/skills/doc-link-verifier/SKILL.md +218 -0
- package/pi-package/skills/doc-link-verifier/scripts/check_links.py +453 -0
- package/pi-package/skills/doc-link-verifier/scripts/extract_links.py +521 -0
- package/pi-package/skills/edge-case-discovery/SKILL.md +129 -0
- package/pi-package/skills/error-handling-diagnostician/SKILL.md +96 -0
- package/pi-package/skills/extract-prompt/SKILL.md +226 -0
- package/pi-package/skills/formal-verification-evaluator/SKILL.md +164 -0
- package/pi-package/skills/grill-me/SKILL.md +30 -0
- package/pi-package/skills/guided-review/SKILL.md +74 -0
- package/pi-package/skills/implement-documentation/SKILL.md +74 -0
- package/pi-package/skills/implement-plan/SKILL.md +29 -0
- package/pi-package/skills/implement-plan/references/common-situations.md +36 -0
- package/pi-package/skills/implement-plan/references/verification-template.md +18 -0
- package/pi-package/skills/invalid-states-diagnostician/SKILL.md +69 -0
- package/pi-package/skills/issue-review/SKILL.md +43 -0
- package/pi-package/skills/issue-review/references/convergence.md +19 -0
- package/pi-package/skills/issue-review/references/final-report.md +60 -0
- package/pi-package/skills/issue-review/references/pass-1-clarity.md +28 -0
- package/pi-package/skills/issue-review/references/pass-2-scope.md +22 -0
- package/pi-package/skills/issue-review/references/pass-3-dependencies.md +23 -0
- package/pi-package/skills/issue-review/references/pass-4-alignment.md +17 -0
- package/pi-package/skills/issue-review/references/pass-5-executability.md +17 -0
- package/pi-package/skills/issue-review/references/setup.md +25 -0
- package/pi-package/skills/iterate-plan/SKILL.md +30 -0
- package/pi-package/skills/iterate-plan/references/change-template.md +15 -0
- package/pi-package/skills/iterate-plan/references/common-scenarios.md +14 -0
- package/pi-package/skills/julia-performance-diagnostician/SKILL.md +77 -0
- package/pi-package/skills/modularity-diagnostician/SKILL.md +74 -0
- package/pi-package/skills/multi-agent-review/SKILL.md +202 -0
- package/pi-package/skills/mutability-diagnostician/SKILL.md +69 -0
- package/pi-package/skills/narrative-article/SKILL.md +66 -0
- package/pi-package/skills/optionality-review/SKILL.md +196 -0
- package/pi-package/skills/parallel-review/SKILL.md +55 -0
- package/pi-package/skills/parallel-review/references/criteria.md +34 -0
- package/pi-package/skills/parallel-review/references/templates.md +59 -0
- package/pi-package/skills/plan-review/SKILL.md +48 -0
- package/pi-package/skills/plan-review/references/criteria.md +51 -0
- package/pi-package/skills/plan-review/references/templates.md +67 -0
- package/pi-package/skills/pre-mortem/SKILL.md +16 -0
- package/pi-package/skills/project-status-report/SKILL.md +130 -0
- package/pi-package/skills/pwa-accessibility-review/SKILL.md +87 -0
- package/pi-package/skills/rca-diagnostician/SKILL.md +36 -0
- package/pi-package/skills/rca-diagnostician/references/action-hierarchy.md +77 -0
- package/pi-package/skills/rca-diagnostician/references/bias-countermeasures.md +64 -0
- package/pi-package/skills/rca-diagnostician/references/evidence-timeline.md +49 -0
- package/pi-package/skills/rca-diagnostician/references/hypothesis-methods.md +53 -0
- package/pi-package/skills/rca-diagnostician/references/problem-definition.md +34 -0
- package/pi-package/skills/rca-diagnostician/references/report-template.md +75 -0
- package/pi-package/skills/rca-diagnostician/references/rigor-checklist.md +66 -0
- package/pi-package/skills/red-team-review/SKILL.md +139 -0
- package/pi-package/skills/research-codebase/SKILL.md +28 -0
- package/pi-package/skills/research-codebase/references/report-template.md +75 -0
- package/pi-package/skills/research-codebase/references/search-patterns.md +27 -0
- package/pi-package/skills/research-documentation/SKILL.md +85 -0
- package/pi-package/skills/research-review/SKILL.md +48 -0
- package/pi-package/skills/research-review/references/criteria.md +51 -0
- package/pi-package/skills/research-review/references/templates.md +73 -0
- package/pi-package/skills/resonant-refactor/SKILL.md +51 -0
- package/pi-package/skills/resume-handoff/SKILL.md +25 -0
- package/pi-package/skills/resume-handoff/references/analysis-template.md +40 -0
- package/pi-package/skills/resume-handoff/references/locating.md +12 -0
- package/pi-package/skills/review-documentation/SKILL.md +50 -0
- package/pi-package/skills/rigidity-diagnostician/SKILL.md +76 -0
- package/pi-package/skills/rule-of-5-universal/SKILL.md +32 -0
- package/pi-package/skills/rule-of-5-universal/references/criteria.md +34 -0
- package/pi-package/skills/rule-of-5-universal/references/examples.md +69 -0
- package/pi-package/skills/rule-of-5-universal/references/templates.md +136 -0
- package/pi-package/skills/specification-evaluation-diagnostician/SKILL.md +112 -0
- package/pi-package/skills/specification-review/SKILL.md +49 -0
- package/pi-package/skills/specification-review/references/criteria.md +51 -0
- package/pi-package/skills/specification-review/references/templates.md +67 -0
- package/pi-package/skills/systematic-housekeeping/SKILL.md +33 -0
- package/pi-package/skills/tdd/SKILL.md +44 -0
- package/pi-package/skills/tdd/references/criteria.md +26 -0
- package/pi-package/skills/tdd/references/templates.md +53 -0
- package/pi-package/skills/test-abstraction-miner/SKILL.md +49 -0
- package/pi-package/skills/test-friction/SKILL.md +57 -0
- package/pi-package/skills/testability-implementability-evaluator/SKILL.md +150 -0
- package/pi-package/skills/ui-align/SKILL.md +38 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/SKILL.md +27 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-1-product.md +20 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-2-engineering.md +20 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-3-interface.md +23 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-4-ecosystem.md +20 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-5-documentation.md +19 -0
- package/pi-package/skills/ux-dx-evaluation-diagnostician/references/report-template.md +36 -0
- package/pi-package/skills/verification-diagnostician/SKILL.md +96 -0
- package/pi-package/skills/verify-prompt/SKILL.md +38 -0
- package/pi-package/skills/verify-prompt/references/criteria.md +21 -0
- package/scripts/cli.mjs +453 -0
package/README.md
ADDED
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
# Incitaciones 🤖
|
|
2
|
+
|
|
3
|
+
A collection of reusable prompts and best practices for CLI LLM tools.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Clone and install prompts as skills for pi CLI, Claude Code, Amp, Gemini CLI, and other tools:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
git clone https://github.com/charly-vibes/incitaciones.git
|
|
11
|
+
cd incitaciones
|
|
12
|
+
./install.sh
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Install options:**
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
./install.sh --bundle essentials # Core prompts only
|
|
19
|
+
./install.sh --bundle planning # Planning workflows
|
|
20
|
+
./install.sh --bundle reviews # Review prompts
|
|
21
|
+
./install.sh --bundle documentation # Documentation tools
|
|
22
|
+
./install.sh --format commands # Legacy flat-file format for other tools
|
|
23
|
+
./install.sh --disable-model-invocation # Require explicit /skill:name usage
|
|
24
|
+
./install.sh --list # Show available prompts
|
|
25
|
+
./install.sh --help # Show all options
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**After installation:**
|
|
29
|
+
```
|
|
30
|
+
# pi CLI native skill invocation
|
|
31
|
+
/skill:commit
|
|
32
|
+
/skill:debug
|
|
33
|
+
/skill:create-plan
|
|
34
|
+
|
|
35
|
+
# pi CLI prompt-template shortcuts
|
|
36
|
+
/commit
|
|
37
|
+
/debug
|
|
38
|
+
/create-plan
|
|
39
|
+
|
|
40
|
+
# Other compatible tools
|
|
41
|
+
/debug
|
|
42
|
+
/create-plan
|
|
43
|
+
/code-review
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For non-pi tools, exact command syntax depends on the harness, but slash-command usage like the examples above is the common case.
|
|
47
|
+
|
|
48
|
+
Skills are installed to `~/.agents/skills/` (or project `.agents/skills/`) and copied to tool-specific directories when detected. For pi, skills are discovered from `.agents/skills/` / `~/.agents/skills/`, and the installer also writes prompt templates to `~/.pi/agent/prompts/` or project `.pi/prompts/` so pi users can invoke either `/skill:<name>` or the shorter `/<name>` template command.
|
|
49
|
+
|
|
50
|
+
### Native pi package install
|
|
51
|
+
|
|
52
|
+
This repository now includes a `package.json` with a `pi` manifest, so pi can install it directly as a package:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pi install https://github.com/charly-vibes/incitaciones
|
|
56
|
+
# or from a local clone
|
|
57
|
+
pi install .
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The repository includes checked-in pi package resources under `pi-package/`, and the generation step can refresh them when content changes:
|
|
61
|
+
|
|
62
|
+
- `pi-package/skills/` — Agent Skills with pi-compatible frontmatter
|
|
63
|
+
- `pi-package/prompts/` — prompt templates for slash-command shortcuts
|
|
64
|
+
|
|
65
|
+
After changing distilled content or manifest entries, run `just generate-pi-resources` and commit the updated `pi-package/` files.
|
|
66
|
+
|
|
67
|
+
## Quick Start
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Browse content
|
|
71
|
+
ls content/
|
|
72
|
+
|
|
73
|
+
# Find prompts about a topic
|
|
74
|
+
just find refactoring
|
|
75
|
+
|
|
76
|
+
# Create new prompt scaffold
|
|
77
|
+
just new prompt "Your Task Name"
|
|
78
|
+
|
|
79
|
+
# Interactive search with fzf
|
|
80
|
+
just search
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Structure
|
|
84
|
+
|
|
85
|
+
Everything lives in `content/` with descriptive filenames:
|
|
86
|
+
|
|
87
|
+
- `prompt-*.md` - Reusable prompts (source)
|
|
88
|
+
- `distilled/` - Optimized prompts for agent consumption (single file or multi-file)
|
|
89
|
+
- `research-*.md` - Experiments and findings
|
|
90
|
+
- `example-*.md` - Real-world examples
|
|
91
|
+
- `template-*.md` - Templates for new content
|
|
92
|
+
|
|
93
|
+
See [AGENTS.md](AGENTS.md) for detailed structure and [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
94
|
+
|
|
95
|
+
## Commands
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
just --list # Show all commands
|
|
99
|
+
just new [type] [name] # Create new content
|
|
100
|
+
just find [term] # Search content
|
|
101
|
+
just search # Interactive fzf search
|
|
102
|
+
just validate # Check metadata
|
|
103
|
+
just stats # Show statistics
|
|
104
|
+
|
|
105
|
+
# Skills installation
|
|
106
|
+
just install # Run ./install.sh with any flags you pass through
|
|
107
|
+
just generate-pi-resources # Build pi package skills + prompt templates
|
|
108
|
+
just validate-pi-package # Verify pi package resources match the manifest
|
|
109
|
+
just list-distilled # List all distilled prompts
|
|
110
|
+
just validate-distilled # Validate distilled prompts
|
|
111
|
+
just list-bundles # Show available bundles
|
|
112
|
+
just sync-manifest # Validate manifest references and update content/manifest.json version
|
|
113
|
+
just generate-skill NAME # Preview SKILL.md output for a prompt
|
|
114
|
+
just analyze-traces PATH # Analyze trace exports from agent tools
|
|
115
|
+
just analyze-traces-auto # Auto-detect local CLI history locations
|
|
116
|
+
just trace-insights # Process traces and write insight artifacts
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Trace Analysis
|
|
120
|
+
|
|
121
|
+
You can analyze exported traces from Claude, Gemini, Codex, AmpCode, and OpenCode with:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
just analyze-traces examples/trace-analysis
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
If your histories live in the default local CLI directories, use auto-detection:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
just analyze-traces-auto
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Or directly:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
node scripts/analyze-traces.js --auto-detect --format markdown
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
For the simplest workflow, use the wrapper command:
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
just trace-insights
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
That will:
|
|
146
|
+
|
|
147
|
+
- auto-detect local trace sources
|
|
148
|
+
- print a readable markdown summary
|
|
149
|
+
- write `.cache/trace-insights/latest-report.json`
|
|
150
|
+
- write `.cache/trace-insights/session-records.jsonl`
|
|
151
|
+
- write `.cache/trace-insights/label-queue.jsonl`
|
|
152
|
+
|
|
153
|
+
The analyzer now uses an incremental cache at `.cache/trace-analysis-cache.json`.
|
|
154
|
+
Unchanged files are reused automatically on later runs. Use `--no-cache` if you want a full recomputation.
|
|
155
|
+
|
|
156
|
+
It can also emit normalized session records and join manual labels:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
node scripts/analyze-traces.js \
|
|
160
|
+
--auto-detect \
|
|
161
|
+
--session-records-out /tmp/session-records.jsonl \
|
|
162
|
+
--label-queue-out /tmp/label-queue.jsonl
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
To join labels back into the analysis:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
node scripts/analyze-traces.js \
|
|
169
|
+
--auto-detect \
|
|
170
|
+
--labels examples/trace-analysis/labels-sample.jsonl \
|
|
171
|
+
--format markdown
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Or with the wrapper:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
just trace-insights --labels examples/trace-analysis/labels-sample.jsonl
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
This scans JSON, JSONL, NDJSON, log, text, and markdown exports, then reports:
|
|
181
|
+
|
|
182
|
+
- provider mix
|
|
183
|
+
- prompt references matched against `content/manifest.json`
|
|
184
|
+
- skill format counts (`single-file` vs `progressive-disclosure`)
|
|
185
|
+
- progressive-disclosure reference mentions and stage hints
|
|
186
|
+
- slash commands
|
|
187
|
+
- tool and model usage
|
|
188
|
+
- prompt-to-tool pairs
|
|
189
|
+
- workflow transitions
|
|
190
|
+
- heuristic session outcomes
|
|
191
|
+
- rough conclusions across the analyzed traces
|
|
192
|
+
|
|
193
|
+
For raw JSON output:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
node scripts/analyze-traces.js examples/trace-analysis --format json
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
The new session-level signals are heuristic, not authoritative:
|
|
200
|
+
|
|
201
|
+
- `prompt -> tool` pairs estimate when a prompt mention actually led to tool execution
|
|
202
|
+
- `workflow transitions` show common session shapes like `prompt -> tool` or `user -> assistant`
|
|
203
|
+
- `outcomes` classify sessions as `succeeded`, `failed`, `needs_input`, or `unknown` from assistant language
|
|
204
|
+
|
|
205
|
+
This is strongest for comparative usage analysis, not for hard evaluation of prompt quality.
|
|
206
|
+
|
|
207
|
+
Normalized session records include fields such as:
|
|
208
|
+
|
|
209
|
+
- `session_id`
|
|
210
|
+
- `provider`
|
|
211
|
+
- `model`
|
|
212
|
+
- `task_type`
|
|
213
|
+
- `prompts_used`
|
|
214
|
+
- `skill_formats`
|
|
215
|
+
- `progressive_skills_used`
|
|
216
|
+
- `references_used`
|
|
217
|
+
- `stage_hints`
|
|
218
|
+
- `tools_used`
|
|
219
|
+
- `tests_run_or_mentioned`
|
|
220
|
+
- `verification_present`
|
|
221
|
+
- `commit_created`
|
|
222
|
+
- `tokens_total`
|
|
223
|
+
- `turn_count`
|
|
224
|
+
- `outcome_guess`
|
|
225
|
+
- `first_user_excerpt`
|
|
226
|
+
- `last_assistant_excerpt`
|
|
227
|
+
|
|
228
|
+
The label queue is intended for manual annotation. Each queued record includes suggested questions so you can build a labeled evaluation set over time.
|
|
229
|
+
|
|
230
|
+
For progressive-disclosure skills, the analyzer now reads optional manifest metadata such as `skill_format`, `eval.stages`, and `eval.references`. That makes it possible to compare not just prompt usage, but also which stages and reference files were actually involved in successful sessions.
|
|
231
|
+
|
|
232
|
+
The aggregate report now separates adoption from evidence:
|
|
233
|
+
|
|
234
|
+
- `Top Skills By Session` and `Skill Formats By Session` count each skill at most once per session.
|
|
235
|
+
- `Top References By Session` and `Top Stages By Session` count whether a reference or stage appeared in a session.
|
|
236
|
+
- `Skill Evidence Hits`, `Top Reference Evidence Hits`, and `Top Stage Evidence Hits` count repeated detections across messages and tool inputs.
|
|
237
|
+
|
|
238
|
+
Use the session-level sections for effectiveness comparisons. Use the evidence-hit sections to understand how often the analyzer observed supporting signals.
|
|
239
|
+
|
|
240
|
+
Current auto-detected sources include common local paths such as:
|
|
241
|
+
|
|
242
|
+
- `~/.claude/projects`
|
|
243
|
+
- `~/.gemini/tmp/**/chats/session-*.json`
|
|
244
|
+
- `~/.codex/history.jsonl`
|
|
245
|
+
- `~/.codex/log/codex-tui.log`
|
|
246
|
+
|
|
247
|
+
AmpCode and OpenCode are only included when conversation-like files are found.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Meta Prompt for LLMs
|
|
252
|
+
|
|
253
|
+
> **Use this prompt when asking other LLMs to help you organize prompts in your projects**
|
|
254
|
+
|
|
255
|
+
```
|
|
256
|
+
I want to organize prompts and AI instructions for my project. Please help me set up a system based on these principles:
|
|
257
|
+
|
|
258
|
+
STRUCTURE:
|
|
259
|
+
- Single flat directory (e.g., "prompts/" or ".ai/")
|
|
260
|
+
- Slugified filenames with type prefixes:
|
|
261
|
+
- prompt-task-{name}.md for specific tasks
|
|
262
|
+
- prompt-system-{name}.md for agent configurations
|
|
263
|
+
- prompt-workflow-{name}.md for multi-step processes
|
|
264
|
+
- instructions-{context}.md for project-specific instructions
|
|
265
|
+
|
|
266
|
+
METADATA:
|
|
267
|
+
Every file should have YAML frontmatter:
|
|
268
|
+
---
|
|
269
|
+
title: Human Readable Title
|
|
270
|
+
type: prompt|instruction|workflow
|
|
271
|
+
tags: [relevant, searchable, tags]
|
|
272
|
+
tools: [claude-code, cursor, aider]
|
|
273
|
+
status: draft|tested|verified
|
|
274
|
+
created: YYYY-MM-DD
|
|
275
|
+
updated: YYYY-MM-DD
|
|
276
|
+
version: 1.0.0
|
|
277
|
+
related: [other-file.md]
|
|
278
|
+
source: where-this-came-from
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
CONTENT STRUCTURE:
|
|
282
|
+
1. ## When to Use - Context for applying this prompt
|
|
283
|
+
2. ## The Prompt - The actual prompt text in a code block
|
|
284
|
+
3. ## Example - At least one concrete usage example
|
|
285
|
+
4. ## Expected Results - What success looks like
|
|
286
|
+
5. ## Variations - Alternative approaches
|
|
287
|
+
6. ## References - Links to sources or research
|
|
288
|
+
7. ## Notes - Caveats or additional context
|
|
289
|
+
|
|
290
|
+
WORKFLOW:
|
|
291
|
+
1. Create content from templates
|
|
292
|
+
2. Test with real AI tools
|
|
293
|
+
3. Update status: draft → tested → verified
|
|
294
|
+
4. Link related files in frontmatter
|
|
295
|
+
5. Track changes in CHANGELOG.md
|
|
296
|
+
|
|
297
|
+
AUTOMATION:
|
|
298
|
+
Create a justfile or Makefile with commands:
|
|
299
|
+
- new: Create from template
|
|
300
|
+
- find: Search by tag or keyword
|
|
301
|
+
- search: Interactive fzf browser
|
|
302
|
+
- validate: Check metadata completeness
|
|
303
|
+
- stats: Show repository statistics
|
|
304
|
+
|
|
305
|
+
Please analyze my project at [path] and:
|
|
306
|
+
1. Propose which existing prompts/instructions to capture
|
|
307
|
+
2. Suggest an appropriate directory name
|
|
308
|
+
3. Create initial template files
|
|
309
|
+
4. Set up basic automation commands
|
|
310
|
+
5. Draft 2-3 initial prompt files based on current usage
|
|
311
|
+
|
|
312
|
+
Focus on simplicity and discoverability over complex organization.
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
## Examples
|
|
316
|
+
|
|
317
|
+
**Creating a new task prompt:**
|
|
318
|
+
```bash
|
|
319
|
+
just new prompt "Incremental Refactoring"
|
|
320
|
+
# Edit content/prompt-task-incremental-refactoring.md
|
|
321
|
+
# Edit content/distilled/incremental-refactoring.md (or create a directory for multi-file)
|
|
322
|
+
# Add prompt text, examples, and distilled runtime form
|
|
323
|
+
# Register the prompt in content/manifest.json
|
|
324
|
+
# Run just validate-distilled && just sync-manifest
|
|
325
|
+
# Test it with Claude Code
|
|
326
|
+
# Mark as tested and commit
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
**Finding related content:**
|
|
330
|
+
```bash
|
|
331
|
+
just find refactoring
|
|
332
|
+
# Shows all files tagged with 'refactoring'
|
|
333
|
+
|
|
334
|
+
just search
|
|
335
|
+
# Opens fzf to interactively browse and preview content
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
**Validating content:**
|
|
339
|
+
```bash
|
|
340
|
+
just validate
|
|
341
|
+
# Checks required metadata, status values, and related links
|
|
342
|
+
# Reports any issues
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
## What Goes Here?
|
|
346
|
+
|
|
347
|
+
✅ **Good candidates:**
|
|
348
|
+
- Prompts you use repeatedly
|
|
349
|
+
- Task patterns that work well
|
|
350
|
+
- Tool-specific configurations
|
|
351
|
+
- Research on what works
|
|
352
|
+
- Real examples of successful interactions
|
|
353
|
+
|
|
354
|
+
❌ **Don't include:**
|
|
355
|
+
- Project-specific code
|
|
356
|
+
- Sensitive information
|
|
357
|
+
- One-off experiments without documentation
|
|
358
|
+
- Incomplete drafts without context
|
|
359
|
+
|
|
360
|
+
## Philosophy
|
|
361
|
+
|
|
362
|
+
**Flat structure** - One directory, easy to find everything
|
|
363
|
+
**Rich metadata** - Searchable, relatable, trackable
|
|
364
|
+
**Tested content** - Everything should have real usage examples
|
|
365
|
+
**Source attribution** - Credit where ideas come from
|
|
366
|
+
**Version control** - Track evolution of prompts over time
|
|
367
|
+
|
|
368
|
+
## Contributing
|
|
369
|
+
|
|
370
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for:
|
|
371
|
+
- File naming conventions
|
|
372
|
+
- Metadata requirements
|
|
373
|
+
- Quality standards
|
|
374
|
+
- Submission process
|
|
375
|
+
|
|
376
|
+
## Tools
|
|
377
|
+
|
|
378
|
+
This repository is designed to work with:
|
|
379
|
+
- **Claude Code** - Anthropic's CLI
|
|
380
|
+
- **Aider** - AI pair programming
|
|
381
|
+
- **Cursor** - AI-first editor
|
|
382
|
+
- **Gemini CLI** - Google's CLI
|
|
383
|
+
- Any other LLM CLI tool
|
|
384
|
+
|
|
385
|
+
The prompts are tool-agnostic where possible, with tool-specific variations noted.
|
|
386
|
+
|
|
387
|
+
## License
|
|
388
|
+
|
|
389
|
+
[To be determined]
|
|
390
|
+
|
|
391
|
+
## Related Projects
|
|
392
|
+
|
|
393
|
+
- [Awesome Prompts](https://github.com/f/awesome-chatgpt-prompts)
|
|
394
|
+
- [Anthropic Prompt Library](https://docs.anthropic.com/claude/prompt-library)
|
|
395
|
+
- [OpenAI Prompt Engineering Guide](https://platform.openai.com/docs/guides/prompt-engineering)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
---
|
|
399
|
+
|
|
400
|
+
## A note on authorship
|
|
401
|
+
|
|
402
|
+
All the code in this repository was generated by a large language model. This is not a confession, nor an apology. It's a fact, like the one that says water boils at a hundred degrees at sea level: neutral, technical, and with consequences one discovers later.
|
|
403
|
+
|
|
404
|
+
What the human did is what tends to happen before and after things come into existence: thinking. Reviewing requirements, arguing about edge cases, understanding what needs to be built and why, deciding how the system should behave when reality —which is capricious and does not read documentation— confronts it with situations nobody anticipated. The hours of planning, of design, of reading specifications until exhaustion dissolves the boundary between understanding and hallucination.
|
|
405
|
+
|
|
406
|
+
The LLM writes. The human knows what it should say.
|
|
407
|
+
|
|
408
|
+
There is a distinction, even if looking at the commit history makes it hard to find. The distinction is that a machine can produce correct code without understanding anything, the same way a calculator can solve an integral without knowing what time is. Understanding what that integral is *for*, whether it actually solves the problem, whether the problem was the right problem to begin with — that remains human territory. For now.
|
|
409
|
+
|
|
410
|
+
[Leer en español](https://charly-vibes.github.io/charly-vibes/)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- Full version: content/prompt-task-abstraction-miner.md -->
|
|
2
|
+
You are a Pattern Recognition Engine. Your goal: detect semantic duplication (code with identical *intent* but different syntax) and propose reusable abstractions. Do NOT modify any files — this is advisory only.
|
|
3
|
+
|
|
4
|
+
**INPUT**
|
|
5
|
+
- Target files/directory: [SPECIFY]
|
|
6
|
+
- Architecture reference (optional): [AGENTS.md rules or "none"]
|
|
7
|
+
|
|
8
|
+
**PROTOCOL**
|
|
9
|
+
|
|
10
|
+
Phase 1 — Semantic Scanning: Read all files. Ignore variable names and whitespace. Find Identical Intent (same logical operation, different form). Flag: error handling → same user outcome, UI components sharing 80%+ structure, repeated setup→op→teardown sequences.
|
|
11
|
+
|
|
12
|
+
Phase 2 — Cluster Analysis: Group instances. For each cluster identify:
|
|
13
|
+
- Invariant: logic that never changes
|
|
14
|
+
- Variant: data/config that changes
|
|
15
|
+
- Count: occurrences (only report clusters ≥3; an occurrence = a distinct implementation site, not a call site)
|
|
16
|
+
|
|
17
|
+
Phase 3 — Abstraction Proposal: For each cluster, propose a function/component/hook that encapsulates the Invariant and accepts Variant as parameters. Skip if savings < ~10 lines total (unless it reduces error surface). Follow Open/Closed Principle.
|
|
18
|
+
|
|
19
|
+
Phase 4 — Refactoring Blueprint: Show (1) the abstraction code, (2) a before/after diff for one usage site, (3) behavioral caveats.
|
|
20
|
+
|
|
21
|
+
**OUTPUT**
|
|
22
|
+
|
|
23
|
+
Summary table:
|
|
24
|
+
| Pattern Name | Occurrences | Est. Lines Saved | Risk | Priority |
|
|
25
|
+
|
|
26
|
+
Then per cluster: cluster description, invariant/variant, proposed abstraction (code block), usage diff, caveats.
|
|
27
|
+
|
|
28
|
+
Needs Human Review: list any clusters where semantic equivalence is uncertain — similar-looking code with potential behavioral differences that require expert judgment before applying.
|
|
29
|
+
|
|
30
|
+
If no clusters meet the threshold, output: "No semantic duplication clusters found meeting the threshold (≥3 occurrences, ~10 lines saved). Codebase appears resonant in the scanned area." Do not fabricate findings.
|
|
31
|
+
|
|
32
|
+
Stop when all files are scanned. Do not modify anything.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<!-- Full version: content/prompt-task-adversarial-stakeholder-evaluation.md -->
|
|
2
|
+
|
|
3
|
+
# Adversarial Stakeholder Evaluation
|
|
4
|
+
|
|
5
|
+
You are an adversarial evaluation engine. Systematically dismantle the proposal to expose functional gaps, logical flaws, and hidden risks. No encouragement, silver linings, or gentle framing. Structured diagnostic output only.
|
|
6
|
+
|
|
7
|
+
**Guard:** Do not assign vague expert personas. Each stakeholder below has a specific adversarial agenda, failure condition, and evaluation bound. Follow them exactly.
|
|
8
|
+
|
|
9
|
+
## INPUT
|
|
10
|
+
|
|
11
|
+
- `[PROPOSAL]` — product concept, business plan, architecture, or strategy to evaluate
|
|
12
|
+
- `[DOMAIN]` (optional) — industry or domain context
|
|
13
|
+
- `[CONSTRAINTS]` (optional) — known resource, timeline, or regulatory constraints
|
|
14
|
+
- `[AUDIENCE]` (optional) — who the product serves (for Anti-Persona inversion)
|
|
15
|
+
|
|
16
|
+
## PROTOCOL
|
|
17
|
+
|
|
18
|
+
Execute all three tiers sequentially. Each tier builds on findings from the previous.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
### Tier 1: Simulated Stakeholder Council
|
|
23
|
+
|
|
24
|
+
For each persona: exactly **two brutal critiques**, then **one synthesis point**. No positives within critiques.
|
|
25
|
+
|
|
26
|
+
**1.1 The Skeptical CFO**
|
|
27
|
+
- Agenda: Economic risks, budgetary oversights, hidden costs, resource misallocation
|
|
28
|
+
- Failure condition: Destroys capital without proportional return
|
|
29
|
+
- Bounds: ROI, unit economics, cash burn, opportunity cost, failure cost
|
|
30
|
+
- Question: "What if this fails spectacularly and we've spent everything?"
|
|
31
|
+
|
|
32
|
+
**1.2 The Adversarial Product Lead**
|
|
33
|
+
- Agenda: UX friction, feature bloat, market misalignment, competitive vulnerability
|
|
34
|
+
- Failure condition: Ships something nobody wants or a competitor already does better
|
|
35
|
+
- Bounds: Market fit, user needs, differentiation, adoption barriers
|
|
36
|
+
- Question: "Why would anyone choose this over what they already have?"
|
|
37
|
+
|
|
38
|
+
**1.3 The Hostile Engineer**
|
|
39
|
+
- Agenda: System failure points, architectural fragility, technical debt, infrastructure limits
|
|
40
|
+
- Failure condition: Breaks in production in ways expensive or impossible to fix
|
|
41
|
+
- Bounds: Feasibility, scalability, reliability, operational complexity
|
|
42
|
+
- Question: "How does this actually break in production at 10x scale?"
|
|
43
|
+
|
|
44
|
+
Each produces:
|
|
45
|
+
- CRITIQUE 1: [Most dangerous risk in their domain]
|
|
46
|
+
- CRITIQUE 2: [Hidden assumption that will break]
|
|
47
|
+
- SYNTHESIS: [One condition under which this could work]
|
|
48
|
+
|
|
49
|
+
After all three: **Council Consensus** — the single biggest risk all stakeholders agree on.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### Tier 2: Anti-Persona Stress Test
|
|
54
|
+
|
|
55
|
+
Identify **two most dangerous anti-personas** — users who misuse, misunderstand, or subvert the product.
|
|
56
|
+
|
|
57
|
+
For each:
|
|
58
|
+
|
|
59
|
+
**Profile:**
|
|
60
|
+
- Name, Motivation, Technical capability (Low/Med/High), Emotional state, Behavioral pattern
|
|
61
|
+
|
|
62
|
+
**Attack Scenario (Murphy's Law — worst-case sequence):**
|
|
63
|
+
- Entry point → Abuse vector → Cascade → Missing guardrail
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### Tier 3: Pre-Mortem Protocol
|
|
68
|
+
|
|
69
|
+
It is one year from now. This project has failed catastrophically. Failure is historical fact.
|
|
70
|
+
|
|
71
|
+
**3.1 Five Causes of Death** (ranked by likelihood):
|
|
72
|
+
|
|
73
|
+
For each: Title, Category, Description, Root signal visible today, Prevention available now.
|
|
74
|
+
|
|
75
|
+
Categories:
|
|
76
|
+
- **Tiger:** Immediate lethal threat — will destroy the project if unaddressed
|
|
77
|
+
- **Paper Tiger:** Highly visible but low actual risk — identifies over-worrying
|
|
78
|
+
- **Elephant:** Massive systemic issue everyone ignores due to organizational friction
|
|
79
|
+
|
|
80
|
+
**3.2 Two Contradictions** (at least one technical trade-off; second may be physical or another trade-off):
|
|
81
|
+
- Technical (trade-off): Improving A directly degrades B — name both and the mechanism
|
|
82
|
+
- Physical (if applicable) or second trade-off: System requires opposing states, or second A↔B degradation
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## OUTPUT FORMAT
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
# Adversarial Evaluation Report
|
|
90
|
+
## Proposal: [title]
|
|
91
|
+
|
|
92
|
+
## Tier 1: Stakeholder Council
|
|
93
|
+
### CFO: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
94
|
+
### Product Lead: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
95
|
+
### Engineer: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
96
|
+
### Council Consensus: [single biggest agreed risk]
|
|
97
|
+
|
|
98
|
+
## Tier 2: Anti-Persona Stress Test
|
|
99
|
+
### Anti-Persona 1: [Name] — Profile, Attack Scenario, Missing Guardrail
|
|
100
|
+
### Anti-Persona 2: [Name] — Profile, Attack Scenario, Missing Guardrail
|
|
101
|
+
|
|
102
|
+
## Tier 3: Pre-Mortem
|
|
103
|
+
### Causes of Death
|
|
104
|
+
| # | Cause | Category | Root Signal |
|
|
105
|
+
### Contradictions
|
|
106
|
+
- Technical: [A] ↔ [B] — [mechanism]
|
|
107
|
+
- Physical: [State A] ↔ [State B] — [conflict]
|
|
108
|
+
|
|
109
|
+
## Verdict
|
|
110
|
+
Survivability: [FRAGILE | BRITTLE | RESILIENT | ANTIFRAGILE]
|
|
111
|
+
- FRAGILE: 3+ Tigers or fatal unmitigated Council risk
|
|
112
|
+
- BRITTLE: 1-2 Tigers, unresolved contradictions
|
|
113
|
+
- RESILIENT: No Tigers, all contradictions have mitigation paths
|
|
114
|
+
- ANTIFRAGILE: Already incorporates adversarial feedback loops
|
|
115
|
+
Top 3 Kill Risks: [reference specific findings]
|
|
116
|
+
Conditions for Viability: [one from each stakeholder synthesis]
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Stop after producing the report. Do not offer improvements or next steps.
|
|
120
|
+
|
|
121
|
+
[PROPOSAL]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!-- Full version: content/prompt-task-anti-slop-prose.md -->
|
|
2
|
+
You are a Copy Editor running an Anti-Slop Prose Audit. Your goal: identify every instance of machine-made writing in a draft without rewriting it. Do NOT modify the text — this is advisory only.
|
|
3
|
+
|
|
4
|
+
**INPUT**
|
|
5
|
+
- Draft to audit: [PASTE TEXT OR SPECIFY FILE PATH]
|
|
6
|
+
- Rewrite mode (optional): [yes | no — default: no]
|
|
7
|
+
|
|
8
|
+
**PROTOCOL**
|
|
9
|
+
|
|
10
|
+
Phase 1 — Slop Scanning: Read the entire draft. Insert an inline tag immediately before each offending word or phrase:
|
|
11
|
+
|
|
12
|
+
| Tag | What it marks |
|
|
13
|
+
|-----|---------------|
|
|
14
|
+
| [VOCAB] | Overused AI vocabulary: *delve, tapestry, navigate (fig.), realm, underscore, showcase, foster, leverage, utilize, robust, seamless, vibrant, ever-evolving, cutting-edge, pivotal, crucial, cornerstone, testament, in today's [adj] world, moreover, furthermore, in conclusion* |
|
|
15
|
+
| [STRUCT] | Formulaic constructions: "Not just X, but Y", "It's not X, it's Y", tricolons in heavy parallel, throat-clearing openers ("Here's the thing", "The truth is") |
|
|
16
|
+
| [PUNCT] | Em-dashes where a comma, colon, or period would suffice |
|
|
17
|
+
| [HEDGE] | Sycophantic openers ("Certainly!", "Great question!"), zero-information hedges ("It's worth noting that", "It's important to understand that") |
|
|
18
|
+
| [GENERIC] | Sentences with no concrete, falsifiable claim — no number, name, date, or specific example |
|
|
19
|
+
| [REPEAT] | An idea already stated earlier, restated in different words |
|
|
20
|
+
|
|
21
|
+
Phase 2 — Summary Table:
|
|
22
|
+
|
|
23
|
+
| Tag | Count | Most Egregious Instance |
|
|
24
|
+
|-----|-------|------------------------|
|
|
25
|
+
| [VOCAB] | | |
|
|
26
|
+
| [STRUCT] | | |
|
|
27
|
+
| [PUNCT] | | |
|
|
28
|
+
| [HEDGE] | | |
|
|
29
|
+
| [GENERIC] | | |
|
|
30
|
+
| [REPEAT] | | |
|
|
31
|
+
| **Total** | | |
|
|
32
|
+
|
|
33
|
+
Phase 3 — Verdict (one sentence). Divide total tags by word count × 100 for density:
|
|
34
|
+
- **Clean** (≤1 tag/100 words): Reads as human-authored.
|
|
35
|
+
- **Needs editing** (1–3 tags/100 words): Targeted revision recommended.
|
|
36
|
+
- **Heavy rewrite required** (>3 tags/100 words): Pervasive synthetic voice.
|
|
37
|
+
- For inputs under 50 words, any tag = needs revision.
|
|
38
|
+
|
|
39
|
+
Phase 4 — Rewrite (only if Rewrite mode = yes): If zero tags, output "Draft is clean. No revision needed." Otherwise resolve every tag toward a positive target — [VOCAB]: state the actual claim behind the vague word; [STRUCT]: lead with the point directly; [PUNCT]: make the relationship between clauses explicit; [HEDGE]: delete the hedge, let the claim stand; [GENERIC]: add a concrete fact or say you don't have one; [REPEAT]: keep the sharpest formulation, cut the rest.
|
|
40
|
+
|
|
41
|
+
**RULES**
|
|
42
|
+
- Do NOT rewrite unless Rewrite mode = yes.
|
|
43
|
+
- Do NOT hallucinate slop — every tag must point to a real phrase in the text.
|
|
44
|
+
- If the draft is clean, say so. Do not fabricate findings.
|
|
45
|
+
- Tag every qualifying instance — each earns its own tag; a clean paragraph gets none.
|
|
46
|
+
- Do not tag domain-specific technical uses (*robust regression* is fine; *robust solution* is slop).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Systematic Bias Audit & Mitigation (S-BAM)
|
|
2
|
+
|
|
3
|
+
Act as a Senior Ethical Auditor and AI Safety Engineer. Perform a 4-phase audit on the provided [INPUT] to detect, prevent, and mitigate systemic, statistical, and cognitive biases.
|
|
4
|
+
|
|
5
|
+
## Phase 1: Taxonomy Classification (Diagnostic Scan)
|
|
6
|
+
Identify occurrences of:
|
|
7
|
+
1. **Systemic Bias:** Historical prejudices or institutional inequalities in data/logic.
|
|
8
|
+
2. **Statistical/Computational Bias:** Sampling errors, majority-class optimization, or spurious correlations.
|
|
9
|
+
3. **Human Cognitive Bias:** Confirmation bias, automation bias, or apophenia.
|
|
10
|
+
|
|
11
|
+
## Phase 2: Adversarial Pressure Test (Red Teaming)
|
|
12
|
+
Apply Emotional Bias Probes (EBP: testing response polarity to loaded/ambiguous prompts) and stress-test against:
|
|
13
|
+
- **Edge Cases:** Extreme out-of-distribution inputs.
|
|
14
|
+
- **Marginalized Demographics:** Impact on specific race, ethnicity, age, or socio-economic strata.
|
|
15
|
+
- **Counterfactuals:** Test if changing a sensitive attribute (Gender/Race) alters the outcome.
|
|
16
|
+
|
|
17
|
+
## Phase 3: Context Engineering & Mitigation
|
|
18
|
+
Propose structural recalibrations:
|
|
19
|
+
1. **Context Compaction:** Identify and remove "greasy context" (biasing history).
|
|
20
|
+
2. **Pole Positioning:** Place critical fairness constraints at the beginning and end of the prompt (mitigate attention bias).
|
|
21
|
+
3. **Algorithmic Interventions:** Suggest Pre-, In-, or Post-processing (Re-weighting, Adversarial Debiasing, Calibrated Equalized Odds).
|
|
22
|
+
|
|
23
|
+
## Phase 4: Rule of 5 Refinement
|
|
24
|
+
Perform five adversarial passes:
|
|
25
|
+
1. **Draft:** Ensure informational completeness.
|
|
26
|
+
2. **Accuracy:** Verify factual integrity and data/sources against internal knowledge.
|
|
27
|
+
3. **Clarity:** Remove ambiguity and jargon; ensure explainability.
|
|
28
|
+
4. **Edge Cases:** Conduct Pre-Mortem (assume catastrophic failure, explain why).
|
|
29
|
+
5. **Excellence:** Final polish for operational deployment and ethical alignment.
|
|
30
|
+
|
|
31
|
+
## Needs Human Review
|
|
32
|
+
- **Competing Fairness Metrics:** Flag if different mathematical fairness definitions (e.g., equalized odds vs. parity) conflict.
|
|
33
|
+
- **Epistemic Uncertainty:** Flag if societal norm drift requires periodic recalibration.
|
|
34
|
+
- **Context Capacity:** Flag if fairness constraints exceed the effective context window.
|
|
35
|
+
|
|
36
|
+
**Note:** Always include the "Needs Human Review" section in your output. If the [INPUT] is too large, suggest a sampling strategy.
|
|
37
|
+
|
|
38
|
+
[INPUT]:
|
|
39
|
+
{provide_input_here}
|