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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the specification-evaluation-diagnostician skill. Evaluate specifications across Completeness, Correctness, and Coherence dimensions mapped to ISO 29148 — cross-domain quality gate for software, hardware, business process, and research specifications"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `specification-evaluation-diagnostician` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:specification-evaluation-diagnostician` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the specification-review skill. Iterative review of technical specifications for autonomy, precision, and AI-readiness"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `specification-review` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:specification-review` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the systematic-housekeeping skill. Comprehensive repository maintenance across Code/CI, Documentation, Prompts/Skills, and Context/Artifacts using 5S principles"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `systematic-housekeeping` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:systematic-housekeeping` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the tdd skill. Test-driven development workflow"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `tdd` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:tdd` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the test-abstraction-miner skill. Detect Lazy Test clusters in test suites and propose parameterized tests and property-based test escalations — advisory only, no code changes"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `test-abstraction-miner` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:test-abstraction-miner` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the test-friction skill. Diagnose production code design flaws by reading test pain signals — advisory only, no code changes"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `test-friction` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:test-friction` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the testability-implementability-evaluator skill. Evaluate software specifications for whether they can be built and verified before implementation begins"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `testability-implementability-evaluator` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:testability-implementability-evaluator` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the ui-align skill. High-alignment UI specification workflow using interactive grilling and methodology verification"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `ui-align` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:ui-align` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the ux-dx-evaluation-diagnostician skill. Five-layer diagnostic evaluation of products, APIs, CLIs, libraries, and documentation against HEART, SPACE/DX Core 4, CLI/API heuristics, CHAOSS, and Diataxis frameworks"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `ux-dx-evaluation-diagnostician` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:ux-dx-evaluation-diagnostician` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the verification-diagnostician skill. Diagnose factual errors, unsupported claims, logical inconsistencies, misattributed sources, and integrity concerns in documents — four-layer verification protocol (source authority, factual accuracy, logical consistency, provenance)"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `verification-diagnostician` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:verification-diagnostician` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shortcut for the verify-prompt skill. Validate distilled prompts preserve essential instructions"
|
|
3
|
+
---
|
|
4
|
+
<!-- installed-from: incitaciones -->
|
|
5
|
+
|
|
6
|
+
Use the installed `verify-prompt` skill for this task.
|
|
7
|
+
|
|
8
|
+
If the skill is not automatically loaded, invoke `/skill:verify-prompt` and follow it.
|
|
9
|
+
|
|
10
|
+
User context: $@
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: abstraction-miner
|
|
3
|
+
description: "Scan codebase for semantic duplication and propose reusable abstractions — advisory only, no code changes"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
<!-- Full version: content/prompt-task-abstraction-miner.md -->
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
**INPUT**
|
|
11
|
+
- Target files/directory: [SPECIFY]
|
|
12
|
+
- Architecture reference (optional): [AGENTS.md rules or "none"]
|
|
13
|
+
|
|
14
|
+
**PROTOCOL**
|
|
15
|
+
|
|
16
|
+
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.
|
|
17
|
+
|
|
18
|
+
Phase 2 — Cluster Analysis: Group instances. For each cluster identify:
|
|
19
|
+
- Invariant: logic that never changes
|
|
20
|
+
- Variant: data/config that changes
|
|
21
|
+
- Count: occurrences (only report clusters ≥3; an occurrence = a distinct implementation site, not a call site)
|
|
22
|
+
|
|
23
|
+
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.
|
|
24
|
+
|
|
25
|
+
Phase 4 — Refactoring Blueprint: Show (1) the abstraction code, (2) a before/after diff for one usage site, (3) behavioral caveats.
|
|
26
|
+
|
|
27
|
+
**OUTPUT**
|
|
28
|
+
|
|
29
|
+
Summary table:
|
|
30
|
+
| Pattern Name | Occurrences | Est. Lines Saved | Risk | Priority |
|
|
31
|
+
|
|
32
|
+
Then per cluster: cluster description, invariant/variant, proposed abstraction (code block), usage diff, caveats.
|
|
33
|
+
|
|
34
|
+
Needs Human Review: list any clusters where semantic equivalence is uncertain — similar-looking code with potential behavioral differences that require expert judgment before applying.
|
|
35
|
+
|
|
36
|
+
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.
|
|
37
|
+
|
|
38
|
+
Stop when all files are scanned. Do not modify anything.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: adversarial-stakeholder-evaluation
|
|
3
|
+
description: "Three-tier adversarial evaluation of proposals: Simulated Stakeholder Council, Anti-Persona stress testing, and Pre-Mortem protocol with contradiction analysis"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
<!-- Full version: content/prompt-task-adversarial-stakeholder-evaluation.md -->
|
|
8
|
+
|
|
9
|
+
# Adversarial Stakeholder Evaluation
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
**Guard:** Do not assign vague expert personas. Each stakeholder below has a specific adversarial agenda, failure condition, and evaluation bound. Follow them exactly.
|
|
14
|
+
|
|
15
|
+
## INPUT
|
|
16
|
+
|
|
17
|
+
- `[PROPOSAL]` — product concept, business plan, architecture, or strategy to evaluate
|
|
18
|
+
- `[DOMAIN]` (optional) — industry or domain context
|
|
19
|
+
- `[CONSTRAINTS]` (optional) — known resource, timeline, or regulatory constraints
|
|
20
|
+
- `[AUDIENCE]` (optional) — who the product serves (for Anti-Persona inversion)
|
|
21
|
+
|
|
22
|
+
## PROTOCOL
|
|
23
|
+
|
|
24
|
+
Execute all three tiers sequentially. Each tier builds on findings from the previous.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### Tier 1: Simulated Stakeholder Council
|
|
29
|
+
|
|
30
|
+
For each persona: exactly **two brutal critiques**, then **one synthesis point**. No positives within critiques.
|
|
31
|
+
|
|
32
|
+
**1.1 The Skeptical CFO**
|
|
33
|
+
- Agenda: Economic risks, budgetary oversights, hidden costs, resource misallocation
|
|
34
|
+
- Failure condition: Destroys capital without proportional return
|
|
35
|
+
- Bounds: ROI, unit economics, cash burn, opportunity cost, failure cost
|
|
36
|
+
- Question: "What if this fails spectacularly and we've spent everything?"
|
|
37
|
+
|
|
38
|
+
**1.2 The Adversarial Product Lead**
|
|
39
|
+
- Agenda: UX friction, feature bloat, market misalignment, competitive vulnerability
|
|
40
|
+
- Failure condition: Ships something nobody wants or a competitor already does better
|
|
41
|
+
- Bounds: Market fit, user needs, differentiation, adoption barriers
|
|
42
|
+
- Question: "Why would anyone choose this over what they already have?"
|
|
43
|
+
|
|
44
|
+
**1.3 The Hostile Engineer**
|
|
45
|
+
- Agenda: System failure points, architectural fragility, technical debt, infrastructure limits
|
|
46
|
+
- Failure condition: Breaks in production in ways expensive or impossible to fix
|
|
47
|
+
- Bounds: Feasibility, scalability, reliability, operational complexity
|
|
48
|
+
- Question: "How does this actually break in production at 10x scale?"
|
|
49
|
+
|
|
50
|
+
Each produces:
|
|
51
|
+
- CRITIQUE 1: [Most dangerous risk in their domain]
|
|
52
|
+
- CRITIQUE 2: [Hidden assumption that will break]
|
|
53
|
+
- SYNTHESIS: [One condition under which this could work]
|
|
54
|
+
|
|
55
|
+
After all three: **Council Consensus** — the single biggest risk all stakeholders agree on.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Tier 2: Anti-Persona Stress Test
|
|
60
|
+
|
|
61
|
+
Identify **two most dangerous anti-personas** — users who misuse, misunderstand, or subvert the product.
|
|
62
|
+
|
|
63
|
+
For each:
|
|
64
|
+
|
|
65
|
+
**Profile:**
|
|
66
|
+
- Name, Motivation, Technical capability (Low/Med/High), Emotional state, Behavioral pattern
|
|
67
|
+
|
|
68
|
+
**Attack Scenario (Murphy's Law — worst-case sequence):**
|
|
69
|
+
- Entry point → Abuse vector → Cascade → Missing guardrail
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### Tier 3: Pre-Mortem Protocol
|
|
74
|
+
|
|
75
|
+
It is one year from now. This project has failed catastrophically. Failure is historical fact.
|
|
76
|
+
|
|
77
|
+
**3.1 Five Causes of Death** (ranked by likelihood):
|
|
78
|
+
|
|
79
|
+
For each: Title, Category, Description, Root signal visible today, Prevention available now.
|
|
80
|
+
|
|
81
|
+
Categories:
|
|
82
|
+
- **Tiger:** Immediate lethal threat — will destroy the project if unaddressed
|
|
83
|
+
- **Paper Tiger:** Highly visible but low actual risk — identifies over-worrying
|
|
84
|
+
- **Elephant:** Massive systemic issue everyone ignores due to organizational friction
|
|
85
|
+
|
|
86
|
+
**3.2 Two Contradictions** (at least one technical trade-off; second may be physical or another trade-off):
|
|
87
|
+
- Technical (trade-off): Improving A directly degrades B — name both and the mechanism
|
|
88
|
+
- Physical (if applicable) or second trade-off: System requires opposing states, or second A↔B degradation
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## OUTPUT FORMAT
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
# Adversarial Evaluation Report
|
|
96
|
+
## Proposal: [title]
|
|
97
|
+
|
|
98
|
+
## Tier 1: Stakeholder Council
|
|
99
|
+
### CFO: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
100
|
+
### Product Lead: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
101
|
+
### Engineer: CRITIQUE 1 / CRITIQUE 2 / SYNTHESIS
|
|
102
|
+
### Council Consensus: [single biggest agreed risk]
|
|
103
|
+
|
|
104
|
+
## Tier 2: Anti-Persona Stress Test
|
|
105
|
+
### Anti-Persona 1: [Name] — Profile, Attack Scenario, Missing Guardrail
|
|
106
|
+
### Anti-Persona 2: [Name] — Profile, Attack Scenario, Missing Guardrail
|
|
107
|
+
|
|
108
|
+
## Tier 3: Pre-Mortem
|
|
109
|
+
### Causes of Death
|
|
110
|
+
| # | Cause | Category | Root Signal |
|
|
111
|
+
### Contradictions
|
|
112
|
+
- Technical: [A] ↔ [B] — [mechanism]
|
|
113
|
+
- Physical: [State A] ↔ [State B] — [conflict]
|
|
114
|
+
|
|
115
|
+
## Verdict
|
|
116
|
+
Survivability: [FRAGILE | BRITTLE | RESILIENT | ANTIFRAGILE]
|
|
117
|
+
- FRAGILE: 3+ Tigers or fatal unmitigated Council risk
|
|
118
|
+
- BRITTLE: 1-2 Tigers, unresolved contradictions
|
|
119
|
+
- RESILIENT: No Tigers, all contradictions have mitigation paths
|
|
120
|
+
- ANTIFRAGILE: Already incorporates adversarial feedback loops
|
|
121
|
+
Top 3 Kill Risks: [reference specific findings]
|
|
122
|
+
Conditions for Viability: [one from each stakeholder synthesis]
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Stop after producing the report. Do not offer improvements or next steps.
|
|
126
|
+
|
|
127
|
+
[PROPOSAL]
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: anti-slop-prose
|
|
3
|
+
description: "Tag AI-generated prose for overused vocabulary, formulaic constructions, empty hedges, and vague generic claims — advisory-only, no rewrites unless requested"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
<!-- Full version: content/prompt-task-anti-slop-prose.md -->
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
**INPUT**
|
|
11
|
+
- Draft to audit: [PASTE TEXT OR SPECIFY FILE PATH]
|
|
12
|
+
- Rewrite mode (optional): [yes | no — default: no]
|
|
13
|
+
|
|
14
|
+
**PROTOCOL**
|
|
15
|
+
|
|
16
|
+
Phase 1 — Slop Scanning: Read the entire draft. Insert an inline tag immediately before each offending word or phrase:
|
|
17
|
+
|
|
18
|
+
| Tag | What it marks |
|
|
19
|
+
|-----|---------------|
|
|
20
|
+
| [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* |
|
|
21
|
+
| [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") |
|
|
22
|
+
| [PUNCT] | Em-dashes where a comma, colon, or period would suffice |
|
|
23
|
+
| [HEDGE] | Sycophantic openers ("Certainly!", "Great question!"), zero-information hedges ("It's worth noting that", "It's important to understand that") |
|
|
24
|
+
| [GENERIC] | Sentences with no concrete, falsifiable claim — no number, name, date, or specific example |
|
|
25
|
+
| [REPEAT] | An idea already stated earlier, restated in different words |
|
|
26
|
+
|
|
27
|
+
Phase 2 — Summary Table:
|
|
28
|
+
|
|
29
|
+
| Tag | Count | Most Egregious Instance |
|
|
30
|
+
|-----|-------|------------------------|
|
|
31
|
+
| [VOCAB] | | |
|
|
32
|
+
| [STRUCT] | | |
|
|
33
|
+
| [PUNCT] | | |
|
|
34
|
+
| [HEDGE] | | |
|
|
35
|
+
| [GENERIC] | | |
|
|
36
|
+
| [REPEAT] | | |
|
|
37
|
+
| **Total** | | |
|
|
38
|
+
|
|
39
|
+
Phase 3 — Verdict (one sentence). Divide total tags by word count × 100 for density:
|
|
40
|
+
- **Clean** (≤1 tag/100 words): Reads as human-authored.
|
|
41
|
+
- **Needs editing** (1–3 tags/100 words): Targeted revision recommended.
|
|
42
|
+
- **Heavy rewrite required** (>3 tags/100 words): Pervasive synthetic voice.
|
|
43
|
+
- For inputs under 50 words, any tag = needs revision.
|
|
44
|
+
|
|
45
|
+
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.
|
|
46
|
+
|
|
47
|
+
**RULES**
|
|
48
|
+
- Do NOT rewrite unless Rewrite mode = yes.
|
|
49
|
+
- Do NOT hallucinate slop — every tag must point to a real phrase in the text.
|
|
50
|
+
- If the draft is clean, say so. Do not fabricate findings.
|
|
51
|
+
- Tag every qualifying instance — each earns its own tag; a clean paragraph gets none.
|
|
52
|
+
- Do not tag domain-specific technical uses (*robust regression* is fine; *robust solution* is slop).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bias-audit
|
|
3
|
+
description: "Detect, prevent, and mitigate systemic, statistical, and cognitive biases using multidisciplinary frameworks"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
# Systematic Bias Audit & Mitigation (S-BAM)
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
## Phase 1: Taxonomy Classification (Diagnostic Scan)
|
|
12
|
+
Identify occurrences of:
|
|
13
|
+
1. **Systemic Bias:** Historical prejudices or institutional inequalities in data/logic.
|
|
14
|
+
2. **Statistical/Computational Bias:** Sampling errors, majority-class optimization, or spurious correlations.
|
|
15
|
+
3. **Human Cognitive Bias:** Confirmation bias, automation bias, or apophenia.
|
|
16
|
+
|
|
17
|
+
## Phase 2: Adversarial Pressure Test (Red Teaming)
|
|
18
|
+
Apply Emotional Bias Probes (EBP: testing response polarity to loaded/ambiguous prompts) and stress-test against:
|
|
19
|
+
- **Edge Cases:** Extreme out-of-distribution inputs.
|
|
20
|
+
- **Marginalized Demographics:** Impact on specific race, ethnicity, age, or socio-economic strata.
|
|
21
|
+
- **Counterfactuals:** Test if changing a sensitive attribute (Gender/Race) alters the outcome.
|
|
22
|
+
|
|
23
|
+
## Phase 3: Context Engineering & Mitigation
|
|
24
|
+
Propose structural recalibrations:
|
|
25
|
+
1. **Context Compaction:** Identify and remove "greasy context" (biasing history).
|
|
26
|
+
2. **Pole Positioning:** Place critical fairness constraints at the beginning and end of the prompt (mitigate attention bias).
|
|
27
|
+
3. **Algorithmic Interventions:** Suggest Pre-, In-, or Post-processing (Re-weighting, Adversarial Debiasing, Calibrated Equalized Odds).
|
|
28
|
+
|
|
29
|
+
## Phase 4: Rule of 5 Refinement
|
|
30
|
+
Perform five adversarial passes:
|
|
31
|
+
1. **Draft:** Ensure informational completeness.
|
|
32
|
+
2. **Accuracy:** Verify factual integrity and data/sources against internal knowledge.
|
|
33
|
+
3. **Clarity:** Remove ambiguity and jargon; ensure explainability.
|
|
34
|
+
4. **Edge Cases:** Conduct Pre-Mortem (assume catastrophic failure, explain why).
|
|
35
|
+
5. **Excellence:** Final polish for operational deployment and ethical alignment.
|
|
36
|
+
|
|
37
|
+
## Needs Human Review
|
|
38
|
+
- **Competing Fairness Metrics:** Flag if different mathematical fairness definitions (e.g., equalized odds vs. parity) conflict.
|
|
39
|
+
- **Epistemic Uncertainty:** Flag if societal norm drift requires periodic recalibration.
|
|
40
|
+
- **Context Capacity:** Flag if fairness constraints exceed the effective context window.
|
|
41
|
+
|
|
42
|
+
**Note:** Always include the "Needs Human Review" section in your output. If the [INPUT] is too large, suggest a sampling strategy.
|
|
43
|
+
|
|
44
|
+
[INPUT]:
|
|
45
|
+
{provide_input_here}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: "Multi-pass code review using Rule of 5 principle"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
<!-- skill: code-review, version: 1.2.0, status: verified -->
|
|
8
|
+
# Iterative Code Review (Rule of 5)
|
|
9
|
+
|
|
10
|
+
Perform a multi-pass, iterative code review using Steve Yegge's Rule of 5 to achieve high-quality refinement through breadth-first exploration.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
You are a Senior Staff Engineer. Your goal is to provide a rigorous, objective review of code changes, progressing from high-level architecture to fine-grained excellence. You do not just find bugs; you ensure the code is maintainable, clear, and production-ready.
|
|
14
|
+
|
|
15
|
+
## Procedure
|
|
16
|
+
|
|
17
|
+
1. **Context Identification:**
|
|
18
|
+
* Identify the code to review. Use `ls`, `git diff`, or specific file paths.
|
|
19
|
+
* Read the code and its related tests. **DO NOT** review code without looking at its tests.
|
|
20
|
+
|
|
21
|
+
2. **Iterative Analysis (Rule of 5):**
|
|
22
|
+
Choose between the **Original (Editorial)** or **Domain-Focused** variant based on the work's nature. Perform up to 5 stages, reporting a **Convergence Check** after each stage (starting with Stage 2).
|
|
23
|
+
|
|
24
|
+
* **Original Variant (Recommended for 80% of reviews):**
|
|
25
|
+
1. **Stage 1: DRAFT** — Architecture, design patterns, and overall shape.
|
|
26
|
+
2. **Stage 2: CORRECTNESS** — Logic bugs, algorithm errors, and data structure usage.
|
|
27
|
+
3. **Stage 3: CLARITY** — Naming, readability, and organization.
|
|
28
|
+
4. **Stage 4: EDGE CASES** — Null checks, empty states, and boundary conditions.
|
|
29
|
+
5. **Stage 5: EXCELLENCE** — Performance, documentation, and production polish.
|
|
30
|
+
|
|
31
|
+
* **Domain-Focused Variant (For specialized systems):**
|
|
32
|
+
1. **Pass 1: Security & Safety** (OWASP, SQLi, XSS).
|
|
33
|
+
2. **Pass 2: Performance & Scalability** (Complexity, DB queries).
|
|
34
|
+
3. **Pass 3: Maintainability & Readability** (Clean code, DRY).
|
|
35
|
+
4. **Pass 4: Correctness & Requirements** (Behavioral match).
|
|
36
|
+
5. **Pass 5: Operations & Reliability** (Logging, retries, failure modes).
|
|
37
|
+
|
|
38
|
+
3. **Convergence Check:**
|
|
39
|
+
* **CONVERGED** if: No new CRITICAL issues AND new issue rate is <10% vs previous stage. Stop early and report.
|
|
40
|
+
* Otherwise, **CONTINUE** to the next stage.
|
|
41
|
+
|
|
42
|
+
4. **Verification (CRITICAL):**
|
|
43
|
+
* **DO NOT** guess. Use `grep_search` to verify if a suggested library is already in `package.json` or `requirements.txt`.
|
|
44
|
+
* Check for existing patterns in the codebase using `grep_search` before suggesting a new pattern.
|
|
45
|
+
* Verify that any suggested fixes do not conflict with existing global configurations (e.g., ESLint rules, TSConfig).
|
|
46
|
+
|
|
47
|
+
5. **Final Synthesis:**
|
|
48
|
+
* Produce a Final Report with a prioritized list of findings and a clear Verdict on merge readiness.
|
|
49
|
+
|
|
50
|
+
## Rules
|
|
51
|
+
- **Specific Locations:** Always provide file:line references for every finding.
|
|
52
|
+
- **Actionable Fixes:** Provide clear code snippets for recommendations.
|
|
53
|
+
- **Stop Early:** Don't force 5 stages if the code is simple and converges sooner.
|
|
54
|
+
- **No Vague Findings:** If you can't prove it's an issue with a specific example or rule violation, do not report it.
|
|
55
|
+
|
|
56
|
+
## References
|
|
57
|
+
- **Templates:** Use `references/templates.md` for stage output and final reports.
|
|
58
|
+
- **Variants:** Refer to `references/variants.md` for detailed pass focus for UI, Backend, or Refactoring work.
|
|
59
|
+
- **Criteria:** See `references/criteria.md` for convergence thresholds and severity levels.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Code Review Criteria
|
|
2
|
+
|
|
3
|
+
Use these criteria to categorize findings and determine when the review process is complete.
|
|
4
|
+
|
|
5
|
+
## Issue Severity Definitions
|
|
6
|
+
|
|
7
|
+
| Severity | Criteria | Examples |
|
|
8
|
+
| :--- | :--- | :--- |
|
|
9
|
+
| **CRITICAL** | Blocks merge. Severe security vulnerability, data loss risk, or fundamental logic failure. | SQL Injection, plaintext passwords, unhandled exceptions in core path. |
|
|
10
|
+
| **HIGH** | Should fix before merge. Significant performance issue, major regression risk, or violation of key requirements. | Missing index on hot query, non-singular requirement, missing error states. |
|
|
11
|
+
| **MEDIUM** | Consider addressing. Minor technical debt, sub-optimal pattern, or readability issues. | Magic strings, DRY violations, lack of docstrings, magic numbers. |
|
|
12
|
+
| **LOW** | Nice to have. Stylistic improvements, minor metadata gaps, or typos in non-critical comments. | Minor formatting, redundant comments, small consistency improvements. |
|
|
13
|
+
|
|
14
|
+
## Convergence Criteria
|
|
15
|
+
|
|
16
|
+
**CONVERGED** if:
|
|
17
|
+
- No new **CRITICAL** issues were found in the current stage AND
|
|
18
|
+
- The number of new issues found is less than 10% compared to the previous stage.
|
|
19
|
+
|
|
20
|
+
**NEEDS_HUMAN** if:
|
|
21
|
+
- After 5 stages, new **CRITICAL** issues are still being discovered.
|
|
22
|
+
- The false positive rate exceeds 30%.
|
|
23
|
+
- A fundamental disagreement on architectural direction is identified.
|
|
24
|
+
|
|
25
|
+
## Stage Focus (Original Variant)
|
|
26
|
+
|
|
27
|
+
### Stage 1: DRAFT
|
|
28
|
+
- Is the overall approach sound?
|
|
29
|
+
- Architectural alignment?
|
|
30
|
+
- Major structural issues?
|
|
31
|
+
|
|
32
|
+
### Stage 2: CORRECTNESS
|
|
33
|
+
- Logic bugs?
|
|
34
|
+
- Algorithm errors?
|
|
35
|
+
- Off-by-one?
|
|
36
|
+
|
|
37
|
+
### Stage 3: CLARITY
|
|
38
|
+
- Readable naming?
|
|
39
|
+
- Remove jargon?
|
|
40
|
+
- Intent clear?
|
|
41
|
+
|
|
42
|
+
### Stage 4: EDGE CASES
|
|
43
|
+
- Null/empty checks?
|
|
44
|
+
- Boundary conditions?
|
|
45
|
+
- External failure modes?
|
|
46
|
+
|
|
47
|
+
### Stage 5: EXCELLENCE
|
|
48
|
+
- Performance optimization?
|
|
49
|
+
- Documentation polish?
|
|
50
|
+
- Style consistency?
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Code Review Templates
|
|
2
|
+
|
|
3
|
+
Use these templates to provide a structured, high-signal report for each stage and the final verdict.
|
|
4
|
+
|
|
5
|
+
## Stage Output Template (Original Variant)
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
### STAGE [N]: [Focus Area]
|
|
9
|
+
|
|
10
|
+
#### Findings:
|
|
11
|
+
[ID] [CRITICAL|HIGH|MEDIUM|LOW] - [File:Line]
|
|
12
|
+
**Description:** [What's wrong or sub-optimal]
|
|
13
|
+
**Recommendation:** [How to fix with specific code example]
|
|
14
|
+
|
|
15
|
+
[ID] ...
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Stage Output Template (Domain-Focused Variant)
|
|
19
|
+
|
|
20
|
+
```markdown
|
|
21
|
+
### PASS [N]: [Domain Focus]
|
|
22
|
+
|
|
23
|
+
#### Issues Found:
|
|
24
|
+
[ID] [CRITICAL|HIGH|MEDIUM|LOW] - [File:Line]
|
|
25
|
+
**Description:** [What's wrong or sub-optimal]
|
|
26
|
+
**Attack Vector/Impact:** [Why this matters in this domain]
|
|
27
|
+
**Recommendation:** [How to fix with specific code example]
|
|
28
|
+
|
|
29
|
+
[ID] ...
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Convergence Check Template
|
|
33
|
+
|
|
34
|
+
Use this format after each stage (starting with Stage 2).
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
**Convergence Check After Stage/Pass [N]:**
|
|
38
|
+
|
|
39
|
+
1. New CRITICAL issues: [count]
|
|
40
|
+
2. Total new issues vs previous stage: [count]
|
|
41
|
+
3. Estimated false positive rate: [percentage]
|
|
42
|
+
|
|
43
|
+
**Status:** [CONVERGED | CONTINUE | NEEDS_HUMAN]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Final Report Template
|
|
47
|
+
|
|
48
|
+
After convergence or completing all 5 stages/passes, provide this summary.
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# Code Review Final Report
|
|
52
|
+
|
|
53
|
+
**Work Reviewed:** [Short description/path] | **Convergence:** Stage [N]
|
|
54
|
+
|
|
55
|
+
## Issue Summary
|
|
56
|
+
- **CRITICAL:** [count] - Blocks merge / MUST FIX
|
|
57
|
+
- **HIGH:** [count] - Should fix before merge
|
|
58
|
+
- **MEDIUM:** [count] - Consider Addressing
|
|
59
|
+
- **LOW:** [count] - Nice to have
|
|
60
|
+
|
|
61
|
+
## Top 3 Findings
|
|
62
|
+
1. **[ID] [Description]** - [File:Line]
|
|
63
|
+
* **Impact:** [Why this blocks implementation or causes failure]
|
|
64
|
+
* **Fix:** [Specific actionable step]
|
|
65
|
+
|
|
66
|
+
2. **[ID] ...**
|
|
67
|
+
|
|
68
|
+
## Recommended Next Actions
|
|
69
|
+
1. [Action 1 - specific and actionable]
|
|
70
|
+
2. [Action 2 - specific and actionable]
|
|
71
|
+
3. [Action 3 - specific and actionable]
|
|
72
|
+
|
|
73
|
+
## Verdict: [READY_TO_MERGE | NEEDS_FIXES | BLOCKS_MERGE]
|
|
74
|
+
**Rationale:** [1-2 sentences explaining the verdict based on issue severity]
|
|
75
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Code Review Variants
|
|
2
|
+
|
|
3
|
+
Apply these specialized passes for specific types of work.
|
|
4
|
+
|
|
5
|
+
## UI/Frontend Variant
|
|
6
|
+
|
|
7
|
+
| Pass | Focus Area |
|
|
8
|
+
| :--- | :--- |
|
|
9
|
+
| **Pass 1: Security** | XSS, CSRF, Secure storage of sensitive data. |
|
|
10
|
+
| **Pass 2: Performance** | Re-renders, bundle size, heavy computations on main thread. |
|
|
11
|
+
| **Pass 3: Accessibility** | WCAG, ARIA labels, semantic HTML, keyboard nav. |
|
|
12
|
+
| **Pass 4: UX & Error States** | Loading states, validation feedback, empty states. |
|
|
13
|
+
| **Pass 5: Maintainability** | Hook dependencies, component composition, prop types. |
|
|
14
|
+
|
|
15
|
+
## Refactoring Variant
|
|
16
|
+
|
|
17
|
+
| Pass | Focus Area |
|
|
18
|
+
| :--- | :--- |
|
|
19
|
+
| **Pass 0: Behavioral Preservation** | Do tests still pass? Is functionality identical? |
|
|
20
|
+
| **Pass 1: Security & Regression** | Did refactoring introduce new vulnerabilities? |
|
|
21
|
+
| **Pass 2: Structure & Cleanliness** | Is the new structure actually better? |
|
|
22
|
+
| **Pass 3: Documentation** | Updated comments/types reflecting the change? |
|
|
23
|
+
| **Pass 4: Performance Impact** | New bottlenecks in abstracted layers? |
|
|
24
|
+
|
|
25
|
+
## High-Risk Production Code Variant
|
|
26
|
+
|
|
27
|
+
| Pass | Focus Area |
|
|
28
|
+
| :--- | :--- |
|
|
29
|
+
| **Pass 1-5** | Standard domain passes. |
|
|
30
|
+
| **Pass 6: FP Check** | Rigorously check for false positives in findings. |
|
|
31
|
+
| **Pass 7: Impact Cross-Check** | Do findings/fixes introduce cascading failures? |
|
|
32
|
+
| **Pass 8: Reliability & Ops** | Metrics, logging, rollback strategy. |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commit
|
|
3
|
+
description: "Create well-structured, atomic git commits with clear intent"
|
|
4
|
+
metadata:
|
|
5
|
+
installed-from: "incitaciones"
|
|
6
|
+
---
|
|
7
|
+
<!-- skill: commit, version: 1.1.0, status: verified -->
|
|
8
|
+
# Deliberate Commits
|
|
9
|
+
|
|
10
|
+
Create well-structured, atomic git commits with clear intent, ensuring that all changes are logically grouped and accurately described.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
You are a Senior Version Control Specialist. Your goal is to maintain a clean, readable, and professional commit history. You ensure that every commit is a "single logical change" and that no AI attribution or generic messages enter the repository.
|
|
14
|
+
|
|
15
|
+
## Procedure
|
|
16
|
+
|
|
17
|
+
1. **Review Changes:**
|
|
18
|
+
* Use `git status` to see all changed files.
|
|
19
|
+
* Use `git diff <file>` to review the exact changes in each file. **DO NOT** commit without seeing the diff.
|
|
20
|
+
|
|
21
|
+
2. **Describe Changes (User Gate):**
|
|
22
|
+
* Present a structured summary of the changes to the user.
|
|
23
|
+
* Suggest how to group these changes into logical, atomic commits.
|
|
24
|
+
* **Wait for user confirmation** before proceeding with any `git add` or `git commit`.
|
|
25
|
+
|
|
26
|
+
3. **Logical Grouping:**
|
|
27
|
+
* Group changes that belong to the same feature, fix, or refactor.
|
|
28
|
+
* Avoid "mega-commits" that mix unrelated changes (e.g., a feature add and a typo fix).
|
|
29
|
+
|
|
30
|
+
4. **Execute Commits:**
|
|
31
|
+
* **Rule:** Use explicit file paths with `git add`. **NEVER** use `git add .` or `git add -A`.
|
|
32
|
+
* Write a descriptive commit message following the project's convention (e.g., Conventional Commits).
|
|
33
|
+
* **Rule:** Explain "why" the change was made, not just "what" changed.
|
|
34
|
+
* **Rule:** Ensure no co-author or AI attribution is added.
|
|
35
|
+
|
|
36
|
+
5. **Verification:**
|
|
37
|
+
* Use `git log -n 1` to verify the last commit message and contents.
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
- **User Confirmation Required:** Never commit without explicit approval of the commit message and file list.
|
|
41
|
+
- **No Atomic Bloat:** If a session has many changes, split them into multiple commits.
|
|
42
|
+
- **Explicit Paths Only:** Always use `git add path/to/file`.
|
|
43
|
+
- **Why, not just What:** Commit messages must provide context for future maintainers.
|
|
44
|
+
|
|
45
|
+
## References
|
|
46
|
+
- **Templates:** Use `references/templates.md` for the user summary and commit message formats.
|
|
47
|
+
- **Criteria:** See `references/criteria.md` for what constitutes a "Good" vs. "Bad" commit.
|