@yandy-r/ycc-opencode 0.0.0-bootstrap.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +38 -0
- package/LICENSE +21 -0
- package/README.md +42 -0
- package/agents/ansible-automation-expert.md +115 -0
- package/agents/api-docs-expert.md +146 -0
- package/agents/api-documenter.md +105 -0
- package/agents/architect.md +264 -0
- package/agents/architecture-analyst.md +99 -0
- package/agents/backport-conflict-resolver.md +134 -0
- package/agents/cloudflare-architect.md +85 -0
- package/agents/cloudflare-developer.md +196 -0
- package/agents/code-architect.md +101 -0
- package/agents/code-documenter.md +114 -0
- package/agents/code-explorer.md +99 -0
- package/agents/code-finder.md +83 -0
- package/agents/code-researcher.md +102 -0
- package/agents/code-reviewer.md +268 -0
- package/agents/code-simplifier.md +77 -0
- package/agents/codebase-advisor.md +130 -0
- package/agents/db-modifier.md +235 -0
- package/agents/docs-git-committer.md +220 -0
- package/agents/documentation-writer.md +92 -0
- package/agents/feature-researcher.md +121 -0
- package/agents/feature-writer.md +89 -0
- package/agents/frontend-ui-developer.md +98 -0
- package/agents/git-cleanup.md +173 -0
- package/agents/go-api-architect.md +172 -0
- package/agents/go-expert-architect.md +147 -0
- package/agents/implementor.md +167 -0
- package/agents/library-docs-writer.md +128 -0
- package/agents/nextjs-ux-ui-expert.md +127 -0
- package/agents/nodejs-backend-architect.md +112 -0
- package/agents/nodejs-backend-developer.md +184 -0
- package/agents/planner.md +257 -0
- package/agents/pr-comment-fixer.md +284 -0
- package/agents/practices-researcher.md +80 -0
- package/agents/project-file-cleaner.md +140 -0
- package/agents/prp-researcher.md +231 -0
- package/agents/python-developer.md +171 -0
- package/agents/python-expert-architect.md +188 -0
- package/agents/readme-generator.md +100 -0
- package/agents/release-fix-applier.md +194 -0
- package/agents/releaser.md +147 -0
- package/agents/research-specialist.md +106 -0
- package/agents/reverse-proxy-architect.md +131 -0
- package/agents/review-fixer.md +264 -0
- package/agents/root-cause-analyzer.md +105 -0
- package/agents/rust-build-resolver.md +183 -0
- package/agents/rust-expert-architect.md +149 -0
- package/agents/rust-reviewer.md +126 -0
- package/agents/sql-database-developer.md +195 -0
- package/agents/systems-engineering-expert.md +203 -0
- package/agents/terraform-architect.md +109 -0
- package/agents/terraform-developer.md +229 -0
- package/agents/test-strategy-planner.md +126 -0
- package/agents/turso-database-architect.md +139 -0
- package/agents/typescript-developer.md +170 -0
- package/agents/typescript-expert-architect.md +167 -0
- package/index.js +260 -0
- package/package.json +33 -7
- package/registration.json +4384 -0
- package/shared/references/agent-native-setup.md +121 -0
- package/shared/references/branch-prep.md +31 -0
- package/shared/references/branching-model.md +162 -0
- package/shared/references/ci-monitoring.md +445 -0
- package/shared/references/forge-detection.md +162 -0
- package/shared/references/goal-pairing.md +53 -0
- package/shared/references/pr-base-and-backport.md +143 -0
- package/shared/references/review-artifact-format.md +141 -0
- package/shared/references/review-checklist.md +161 -0
- package/shared/references/review-dispatch.md +71 -0
- package/shared/references/session-state.md +159 -0
- package/shared/references/standalone-dispatch.md +298 -0
- package/shared/references/target-capability-matrix.md +325 -0
- package/shared/references/visual-mode.md +155 -0
- package/shared/references/worktree-strategy.md +310 -0
- package/shared/scripts/backport-audit.sh +283 -0
- package/shared/scripts/ci-monitor.sh +637 -0
- package/shared/scripts/lib/backport-lib.sh +47 -0
- package/shared/scripts/lib/ci-classify.sh +103 -0
- package/shared/scripts/lib/forge.sh +264 -0
- package/shared/scripts/lib/release-state-lib.sh +300 -0
- package/shared/scripts/list-worktrees.sh +178 -0
- package/shared/scripts/merge-children.sh +82 -0
- package/shared/scripts/move-plan-to-worktree.sh +231 -0
- package/shared/scripts/pr-guard.sh +283 -0
- package/shared/scripts/prepare-feature-branch.sh +326 -0
- package/shared/scripts/release-ci-monitor.sh +671 -0
- package/shared/scripts/release-state-update.sh +216 -0
- package/shared/scripts/release-state.sh +178 -0
- package/shared/scripts/report-bundle-drift.sh +343 -0
- package/shared/scripts/require-python.sh +17 -0
- package/shared/scripts/resolve-plans-dir.sh +262 -0
- package/shared/scripts/rules-pointer.sh +20 -0
- package/shared/scripts/rules_pointer.py +267 -0
- package/shared/scripts/setup-worktree.sh +288 -0
- package/shared/scripts/validate-file-paths.sh +249 -0
- package/shared/scripts/visual-egress-guard.sh +303 -0
- package/shared/scripts/visual-recap-collect.sh +247 -0
- package/shared/scripts/worktree-paths.sh +86 -0
- package/skills/backport/SKILL.md +291 -0
- package/skills/backport/scripts/cherry-pick-pr.sh +232 -0
- package/skills/backport/scripts/find-pending.sh +199 -0
- package/skills/blueprint/SKILL.md +410 -0
- package/skills/blueprint/references/bootstrap-mapping.md +87 -0
- package/skills/bundle-author/SKILL.md +119 -0
- package/skills/bundle-author/references/surface-map.md +128 -0
- package/skills/bundle-author/references/templates/agent-template.md +21 -0
- package/skills/bundle-author/references/templates/skill-template.md +36 -0
- package/skills/bundle-author/references/when-not-to-scaffold.md +85 -0
- package/skills/bundle-author/scripts/scaffold-skill.sh +156 -0
- package/skills/bundle-release/SKILL.md +188 -0
- package/skills/bundle-release/references/release-checklist.md +196 -0
- package/skills/bundle-release/references/release-notes-template.md +48 -0
- package/skills/bundle-release/references/version-policy.md +150 -0
- package/skills/bundle-release/scripts/bump-version.sh +97 -0
- package/skills/bundle-release/scripts/draft-notes.sh +222 -0
- package/skills/bundle-release/scripts/preflight.sh +164 -0
- package/skills/bundle-release/scripts/release_versions.py +361 -0
- package/skills/clean/SKILL.md +107 -0
- package/skills/clean/references/agent-prompts.md +199 -0
- package/skills/clean/references/safety-config.md +125 -0
- package/skills/clean/scripts/detect-project-type.sh +423 -0
- package/skills/clean/scripts/generate-report.sh +245 -0
- package/skills/clean/scripts/validate-safety.sh +401 -0
- package/skills/code-report/SKILL.md +375 -0
- package/skills/code-report/scripts/check-prerequisites.sh +65 -0
- package/skills/code-report/templates/report-structure.md +202 -0
- package/skills/code-review/SKILL.md +153 -0
- package/skills/code-review/references/pr-procedure.md +311 -0
- package/skills/compatibility-audit/SKILL.md +226 -0
- package/skills/compatibility-audit/references/reading-the-report.md +159 -0
- package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +372 -0
- package/skills/compatibility-audit/scripts/audit-target-features.sh +558 -0
- package/skills/deep-research/SKILL.md +251 -0
- package/skills/deep-research/references/analysis-prompts.md +702 -0
- package/skills/deep-research/references/completion-summary-template.md +66 -0
- package/skills/deep-research/references/persona-analogical.md +159 -0
- package/skills/deep-research/references/persona-archaeological.md +69 -0
- package/skills/deep-research/references/persona-contrarian.md +155 -0
- package/skills/deep-research/references/persona-futurist.md +70 -0
- package/skills/deep-research/references/persona-historical.md +142 -0
- package/skills/deep-research/references/persona-journalistic.md +69 -0
- package/skills/deep-research/references/persona-negative-space.md +70 -0
- package/skills/deep-research/references/persona-systems.md +69 -0
- package/skills/deep-research/references/synthesis-template.md +569 -0
- package/skills/deep-research/references/verification-log-template.md +32 -0
- package/skills/deep-research/scripts/check-prerequisites.sh +153 -0
- package/skills/deep-research/scripts/validate-research.sh +244 -0
- package/skills/feature-research/SKILL.md +292 -0
- package/skills/feature-research/scripts/validate-research.sh +159 -0
- package/skills/feature-research/scripts/validate-spec.sh +270 -0
- package/skills/feature-research/templates/research-agents.md +569 -0
- package/skills/feature-research/templates/spec-structure.md +437 -0
- package/skills/formatters/SKILL.md +207 -0
- package/skills/formatters/references/best-practices.md +78 -0
- package/skills/formatters/references/flag-reference.md +178 -0
- package/skills/formatters/references/stack-detection.md +119 -0
- package/skills/formatters/references/templates/husky-pre-commit.tmpl +13 -0
- package/skills/formatters/references/templates/justfile-snippet.just.tmpl +31 -0
- package/skills/formatters/references/templates/lefthook.yml.tmpl +22 -0
- package/skills/formatters/references/templates/lint-autofix.yml.tmpl +94 -0
- package/skills/formatters/references/templates/lint.yml.tmpl +85 -0
- package/skills/formatters/references/templates/makefile-snippet.mk.tmpl +34 -0
- package/skills/formatters/references/templates/package-json-scripts.json.tmpl +14 -0
- package/skills/formatters/references/templates/readme-section.md.tmpl +118 -0
- package/skills/formatters/scripts/apply-aliases.sh +245 -0
- package/skills/formatters/scripts/apply-ci.sh +136 -0
- package/skills/formatters/scripts/apply-docs.sh +187 -0
- package/skills/formatters/scripts/apply-hooks.sh +261 -0
- package/skills/formatters/scripts/bundle/format.sh +15 -0
- package/skills/formatters/scripts/bundle/go-tools.sh +119 -0
- package/skills/formatters/scripts/bundle/init-formatters.sh +517 -0
- package/skills/formatters/scripts/bundle/install-shellcheck.sh +85 -0
- package/skills/formatters/scripts/bundle/lib/excludes.sh +179 -0
- package/skills/formatters/scripts/bundle/lib/modified-files.sh +222 -0
- package/skills/formatters/scripts/bundle/lib/shellcheck-resolve.sh +81 -0
- package/skills/formatters/scripts/bundle/lib/shellcheck-version.sh +5 -0
- package/skills/formatters/scripts/bundle/lint.sh +15 -0
- package/skills/formatters/scripts/bundle/style.sh +1410 -0
- package/skills/formatters/scripts/bundle/templates/biome.json +81 -0
- package/skills/formatters/scripts/bundle/templates/clippy.toml +2 -0
- package/skills/formatters/scripts/bundle/templates/markdownlint.json +14 -0
- package/skills/formatters/scripts/bundle/templates/markdownlintignore +38 -0
- package/skills/formatters/scripts/bundle/templates/prettierignore +45 -0
- package/skills/formatters/scripts/bundle/templates/prettierrc.json +11 -0
- package/skills/formatters/scripts/bundle/templates/python-pyproject.toml +80 -0
- package/skills/formatters/scripts/bundle/templates/rustfmt.toml +41 -0
- package/skills/formatters/scripts/bundle/templates/tsconfig.json +21 -0
- package/skills/formatters/scripts/profile-style.sh +264 -0
- package/skills/frontend-design/SKILL.md +151 -0
- package/skills/frontend-patterns/SKILL.md +66 -0
- package/skills/frontend-patterns/references/animation.md +21 -0
- package/skills/frontend-patterns/references/components-and-state.md +40 -0
- package/skills/frontend-patterns/references/data-and-performance.md +34 -0
- package/skills/frontend-patterns/references/forms-errors-a11y.md +35 -0
- package/skills/git-cleanup/SKILL.md +286 -0
- package/skills/git-cleanup/references/active-code-rules.md +318 -0
- package/skills/git-cleanup/references/host-detection.md +217 -0
- package/skills/git-workflow/SKILL.md +130 -0
- package/skills/git-workflow/references/ci-monitoring-phase.md +130 -0
- package/skills/git-workflow/references/commit-phases.md +247 -0
- package/skills/git-workflow/references/examples-and-troubleshooting.md +47 -0
- package/skills/git-workflow/references/goal-pairing.md +23 -0
- package/skills/git-workflow/references/pr-creation.md +269 -0
- package/skills/git-workflow/scripts/analyze-changes.sh +266 -0
- package/skills/git-workflow/scripts/create-pr.sh +464 -0
- package/skills/git-workflow/scripts/validate-commit.sh +235 -0
- package/skills/git-workflow/templates/agent-prompts.md +518 -0
- package/skills/git-workflow/templates/commit-types.md +504 -0
- package/skills/git-workflow/templates/documentation-decision.md +509 -0
- package/skills/git-workflow/templates/pr-template.md +772 -0
- package/skills/go-patterns/SKILL.md +89 -0
- package/skills/go-patterns/references/design-and-tooling.md +336 -0
- package/skills/go-patterns/references/errors-and-concurrency.md +292 -0
- package/skills/go-testing/SKILL.md +133 -0
- package/skills/go-testing/references/advanced-testing.md +349 -0
- package/skills/go-testing/references/test-structure.md +277 -0
- package/skills/hooks-workflow/SKILL.md +232 -0
- package/skills/hooks-workflow/references/support-notes.md +134 -0
- package/skills/hooks-workflow/references/templates/claude-settings.json.tmpl +13 -0
- package/skills/hooks-workflow/references/templates/codex-config-fragment.toml.tmpl +9 -0
- package/skills/hooks-workflow/references/templates/cursor-rule-fragment.mdc.tmpl +16 -0
- package/skills/hooks-workflow/scripts/build-hook-config.sh +487 -0
- package/skills/hooks-workflow/scripts/verify-hooks.sh +257 -0
- package/skills/implement-plan/SKILL.md +221 -0
- package/skills/implement-plan/references/agent-task-prompt.md +214 -0
- package/skills/implement-plan/references/output-formats.md +150 -0
- package/skills/implement-plan/references/plan-inputs.md +126 -0
- package/skills/implement-plan/scripts/check-prerequisites.sh +78 -0
- package/skills/implement-plan/scripts/parse-dependencies.sh +206 -0
- package/skills/init/SKILL.md +272 -0
- package/skills/init/references/conventional-commits.md +114 -0
- package/skills/init/references/flag-reference.md +236 -0
- package/skills/init/references/label-taxonomy.md +115 -0
- package/skills/init/references/project-profile-heuristics.md +156 -0
- package/skills/init/references/template-library.md +129 -0
- package/skills/init/scripts/count-source-files.sh +60 -0
- package/skills/init/scripts/generate-agent-catalog.sh +193 -0
- package/skills/init/scripts/generate-mcp-catalog.sh +214 -0
- package/skills/init/scripts/migrate-rules.py +459 -0
- package/skills/init/scripts/migrate-rules.sh +26 -0
- package/skills/init/scripts/profile-project.sh +453 -0
- package/skills/init/scripts/render-template.py +226 -0
- package/skills/init/scripts/render-template.sh +25 -0
- package/skills/init/scripts/rules-report.sh +31 -0
- package/skills/init/scripts/rules_file_lib.py +41 -0
- package/skills/init/templates/AGENTS.md.tmpl +38 -0
- package/skills/init/templates/CLAUDE.md.tmpl +7 -0
- package/skills/init/templates/ai-rule.md.tmpl +3 -0
- package/skills/init/templates/cursor-rule.mdc.tmpl +7 -0
- package/skills/init/templates/git/commitlint.config.cjs.tmpl +40 -0
- package/skills/init/templates/git/gitignore.tmpl +120 -0
- package/skills/init/templates/git/gitmessage.tmpl +27 -0
- package/skills/init/templates/git/install-lefthook.sh.tmpl +131 -0
- package/skills/init/templates/git/lefthook-usage.md.tmpl +101 -0
- package/skills/init/templates/git/lefthook.yml.tmpl +64 -0
- package/skills/init/templates/github/bug_report.yml.tmpl +78 -0
- package/skills/init/templates/github/config.yml.tmpl +5 -0
- package/skills/init/templates/github/copilot-instructions.md.tmpl +24 -0
- package/skills/init/templates/github/docs_request.yml.tmpl +41 -0
- package/skills/init/templates/github/feature_request.yml.tmpl +59 -0
- package/skills/init/templates/github/labels.md.tmpl +75 -0
- package/skills/init/templates/github/pull_request_template.md.tmpl +66 -0
- package/skills/init/templates/github/workflows/pr-title-autofix.yml.tmpl +101 -0
- package/skills/init/templates/github/workflows/pr-title.yml.tmpl +55 -0
- package/skills/init/templates/workspace-report.md +83 -0
- package/skills/orchestrate/SKILL.md +165 -0
- package/skills/orchestrate/references/agent-catalog.md +601 -0
- package/skills/orchestrate/references/agent-prompts.md +495 -0
- package/skills/orchestrate/references/dispatch-playbook.md +333 -0
- package/skills/orchestrate/references/task-breakdown.md +410 -0
- package/skills/orchestrate/scripts/analyze-task.sh +139 -0
- package/skills/orchestrate/scripts/summarize-results.sh +160 -0
- package/skills/orchestrate/scripts/validate-agents.sh +92 -0
- package/skills/parallel-plan/SKILL.md +124 -0
- package/skills/plan/SKILL.md +134 -0
- package/skills/plan/references/enhanced-personas.md +131 -0
- package/skills/plan/references/personas-and-merge.md +77 -0
- package/skills/plan/references/plan-validation.md +65 -0
- package/skills/plan/references/planner-prompts.md +68 -0
- package/skills/plan/references/planning-tracks.md +73 -0
- package/skills/plan-workflow/SKILL.md +406 -0
- package/skills/plan-workflow/references/checkpoint-messages.md +370 -0
- package/skills/plan-workflow/references/plan-structure.md +238 -0
- package/skills/plan-workflow/references/planning-agents.md +511 -0
- package/skills/plan-workflow/references/research-agents-optimized.md +348 -0
- package/skills/plan-workflow/references/research-agents.md +436 -0
- package/skills/plan-workflow/references/shared-structure.md +152 -0
- package/skills/plan-workflow/references/validation-agents.md +363 -0
- package/skills/plan-workflow/scripts/check-prerequisites.sh +65 -0
- package/skills/plan-workflow/scripts/check-state.sh +190 -0
- package/skills/plan-workflow/scripts/persist-or-fail.sh +135 -0
- package/skills/plan-workflow/scripts/validate-analysis-artifacts.sh +216 -0
- package/skills/plan-workflow/scripts/validate-research-artifacts.sh +225 -0
- package/skills/plan-workflow/scripts/validate-shared.sh +229 -0
- package/skills/plan-workflow/scripts/validate-workflow-plan.sh +256 -0
- package/skills/pr-autofix/SKILL.md +307 -0
- package/skills/pr-autofix/references/ci-loop.md +64 -0
- package/skills/pr-autofix/references/comment-sources.md +197 -0
- package/skills/pr-autofix/references/data-shapes.md +87 -0
- package/skills/pr-autofix/references/goal-example.md +30 -0
- package/skills/pr-autofix/references/output-templates.md +162 -0
- package/skills/pr-autofix/references/prompt-injection-safety.md +165 -0
- package/skills/pr-autofix/references/related-skills.md +11 -0
- package/skills/pr-autofix/references/severity-mapping.md +146 -0
- package/skills/pr-autofix/scripts/fetch-pr-comments.sh +364 -0
- package/skills/pr-autofix/scripts/post-summary.sh +226 -0
- package/skills/pr-autofix/scripts/resolve-thread.sh +251 -0
- package/skills/prp-commit/SKILL.md +128 -0
- package/skills/prp-implement/SKILL.md +177 -0
- package/skills/prp-implement/references/agent-task-prompt.md +36 -0
- package/skills/prp-implement/references/detection.md +49 -0
- package/skills/prp-implement/references/dry-run.md +0 -0
- package/skills/prp-implement/references/report-output.md +204 -0
- package/skills/prp-implement/references/validation-and-failures.md +118 -0
- package/skills/prp-plan/SKILL.md +323 -0
- package/skills/prp-plan/references/enhanced-researchers.md +425 -0
- package/skills/prp-plan/references/parallel-additions.md +56 -0
- package/skills/prp-plan/references/plan-template.md +264 -0
- package/skills/prp-plan/references/synthesis-map.md +25 -0
- package/skills/prp-plan/scripts/preflight-enhanced-agents.sh +111 -0
- package/skills/prp-plan/scripts/validate-prp-plan.sh +368 -0
- package/skills/prp-pr/SKILL.md +402 -0
- package/skills/prp-prd/SKILL.md +442 -0
- package/skills/prp-spec/SKILL.md +274 -0
- package/skills/python-patterns/SKILL.md +103 -0
- package/skills/python-patterns/references/core-idioms.md +304 -0
- package/skills/python-patterns/references/design-and-tooling.md +407 -0
- package/skills/python-testing/SKILL.md +114 -0
- package/skills/python-testing/references/mocking-and-integration.md +395 -0
- package/skills/python-testing/references/pytest-core.md +366 -0
- package/skills/quick-fix/SKILL.md +246 -0
- package/skills/quick-review/SKILL.md +304 -0
- package/skills/release-model/SKILL.md +231 -0
- package/skills/release-model/references/pointer-and-labels.md +83 -0
- package/skills/release-model/references/signals-and-proposal.md +68 -0
- package/skills/release-model/references/template-placeholders.md +42 -0
- package/skills/release-model/references/upgrade-and-audit.md +131 -0
- package/skills/release-model/scripts/collect-signals.sh +459 -0
- package/skills/release-model/scripts/pointer-targets.sh +29 -0
- package/skills/release-model/templates/RELEASING.md.tmpl +151 -0
- package/skills/releaser/SKILL.md +251 -0
- package/skills/releaser/references/ci-optimization-checklist.md +149 -0
- package/skills/releaser/references/ci-templates/docker-release.yml +88 -0
- package/skills/releaser/references/ci-templates/generic-release.yml +69 -0
- package/skills/releaser/references/ci-templates/go-release.yml +50 -0
- package/skills/releaser/references/ci-templates/node-release.yml +126 -0
- package/skills/releaser/references/ci-templates/python-release.yml +95 -0
- package/skills/releaser/references/ci-templates/rust-release.yml +128 -0
- package/skills/releaser/references/ci-workflow-modes.md +42 -0
- package/skills/releaser/references/goal-pairing.md +37 -0
- package/skills/releaser/references/output-templates.md +143 -0
- package/skills/releaser/references/project-type-matrix.md +144 -0
- package/skills/releaser/references/release-branches.md +138 -0
- package/skills/releaser/references/release-ci-loop.md +249 -0
- package/skills/releaser/references/release-notes-template.md +42 -0
- package/skills/releaser/references/release-preparation.md +210 -0
- package/skills/releaser/scripts/check-release-branch.sh +235 -0
- package/skills/releaser/scripts/detect-project.sh +234 -0
- package/skills/releaser/scripts/draft-changelog.sh +387 -0
- package/skills/releaser/scripts/publish-release.sh +302 -0
- package/skills/research-to-issues/SKILL.md +285 -0
- package/skills/research-to-issues/references/label-taxonomy.md +48 -0
- package/skills/research-to-issues/references/parse-deep-research.md +86 -0
- package/skills/research-to-issues/references/parse-feature-spec.md +143 -0
- package/skills/research-to-issues/references/parse-parallel-plan.md +124 -0
- package/skills/research-to-issues/references/parse-prd.md +184 -0
- package/skills/research-to-issues/references/parse-prp-plan.md +237 -0
- package/skills/research-to-issues/references/plan-display-format.md +136 -0
- package/skills/research-to-issues/scripts/validate-prerequisites.sh +312 -0
- package/skills/research-to-issues/templates/feature-issue.md +131 -0
- package/skills/research-to-issues/templates/task-issue.md +104 -0
- package/skills/research-to-issues/templates/tracking-issue.md +126 -0
- package/skills/resume-session/SKILL.md +152 -0
- package/skills/review-fix/SKILL.md +229 -0
- package/skills/review-fix/references/fix-report.md +121 -0
- package/skills/review-fix/references/fixer-dispatch.md +79 -0
- package/skills/review-fix/references/plan.md +119 -0
- package/skills/rust-patterns/SKILL.md +85 -0
- package/skills/rust-patterns/references/concurrency-unsafe-modules.md +243 -0
- package/skills/rust-patterns/references/ownership-errors-types.md +262 -0
- package/skills/rust-testing/SKILL.md +99 -0
- package/skills/rust-testing/references/advanced-testing.md +247 -0
- package/skills/rust-testing/references/unit-and-integration.md +193 -0
- package/skills/save-session/SKILL.md +159 -0
- package/skills/shared-context/SKILL.md +101 -0
- package/skills/ts-patterns/SKILL.md +159 -0
- package/skills/ts-patterns/references/async-runtimes-tooling.md +375 -0
- package/skills/ts-patterns/references/types-errors-modules.md +336 -0
- package/skills/ts-testing/SKILL.md +151 -0
- package/skills/ts-testing/references/advanced-testing.md +350 -0
- package/skills/ts-testing/references/vitest-core.md +318 -0
- package/skills/visual-plan/SKILL.md +221 -0
- package/skills/visual-plan/references/canvas.md +132 -0
- package/skills/visual-plan/references/document-quality.md +178 -0
- package/skills/visual-plan/references/exemplar.md +120 -0
- package/skills/visual-plan/references/wireframe.md +212 -0
- package/skills/visual-plan/scripts/derive-visual-dir.sh +77 -0
- package/skills/visual-recap/SKILL.md +238 -0
- package/skills/visual-recap/references/wireframe.md +237 -0
- package/skills/write-docs/SKILL.md +354 -0
- package/skills/write-docs/scripts/audit-documentation.sh +190 -0
- package/skills/write-docs/scripts/generate-doc-index.sh +125 -0
- package/skills/write-docs/scripts/verify-links.sh +81 -0
- package/skills/write-docs/templates/docs-readme.md +34 -0
- package/skills/write-docs/templates/documentation-strategy.md +91 -0
|
@@ -0,0 +1,702 @@
|
|
|
1
|
+
# Analysis Agent Prompts
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Phase 2 crucible agents: ACH analyst, contradiction mapper
|
|
6
|
+
- Phase 3 strategic agents: tension mapper, pattern recognizer, negative space agent, innovation agent
|
|
7
|
+
- Usage instructions and expected outputs
|
|
8
|
+
|
|
9
|
+
These prompts deploy analysis agents for Phases 2-3 of the deep research process: crucible analysis and emergent insight generation.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Phase 2 Agents: The Crucible
|
|
14
|
+
|
|
15
|
+
### Agent 1: ACH (Analysis of Competing Hypotheses) Analyst
|
|
16
|
+
|
|
17
|
+
**Subagent Type**: `general-purpose`
|
|
18
|
+
|
|
19
|
+
**Task Description**: Conduct Analysis of Competing Hypotheses
|
|
20
|
+
|
|
21
|
+
**Prompt Template**:
|
|
22
|
+
|
|
23
|
+
````
|
|
24
|
+
Conduct an Analysis of Competing Hypotheses (ACH) on "{{RESEARCH_SUBJECT}}" using all persona findings.
|
|
25
|
+
|
|
26
|
+
## Research Context
|
|
27
|
+
|
|
28
|
+
You have access to findings from 8 research personas:
|
|
29
|
+
|
|
30
|
+
1. Read: {{OUTPUT_DIR}}/objective.md
|
|
31
|
+
2. Read: {{OUTPUT_DIR}}/persona-findings/historian.md
|
|
32
|
+
3. Read: {{OUTPUT_DIR}}/persona-findings/contrarian.md
|
|
33
|
+
4. Read: {{OUTPUT_DIR}}/persona-findings/analogist.md
|
|
34
|
+
5. Read: {{OUTPUT_DIR}}/persona-findings/systems-thinker.md
|
|
35
|
+
6. Read: {{OUTPUT_DIR}}/persona-findings/journalist.md
|
|
36
|
+
7. Read: {{OUTPUT_DIR}}/persona-findings/archaeologist.md
|
|
37
|
+
8. Read: {{OUTPUT_DIR}}/persona-findings/futurist.md
|
|
38
|
+
9. Read: {{OUTPUT_DIR}}/persona-findings/negative-space.md
|
|
39
|
+
|
|
40
|
+
## Your Task: Analysis of Competing Hypotheses
|
|
41
|
+
|
|
42
|
+
ACH is a systematic method to evaluate multiple explanations and identify the most likely ones based on evidence.
|
|
43
|
+
|
|
44
|
+
### Step 1: Generate Hypotheses
|
|
45
|
+
|
|
46
|
+
Create 5+ mutually exclusive hypotheses about the research subject based on the persona findings. Hypotheses should:
|
|
47
|
+
|
|
48
|
+
- Cover the range of interpretations possible
|
|
49
|
+
- Be mutually exclusive (if one is true, others are false)
|
|
50
|
+
- Be specific enough to test against evidence
|
|
51
|
+
- Include conventional and contrarian views
|
|
52
|
+
|
|
53
|
+
### Step 2: Identify Evidence
|
|
54
|
+
|
|
55
|
+
Extract key pieces of evidence from all persona findings that could support or refute each hypothesis.
|
|
56
|
+
|
|
57
|
+
### Step 3: Evaluate Evidence vs Hypotheses
|
|
58
|
+
|
|
59
|
+
For each piece of evidence, assess:
|
|
60
|
+
|
|
61
|
+
- Which hypotheses it supports (consistent with)
|
|
62
|
+
- Which hypotheses it refutes (inconsistent with)
|
|
63
|
+
- Which hypotheses it doesn't affect (neutral)
|
|
64
|
+
|
|
65
|
+
Focus on **disconfirming evidence** - evidence that contradicts a hypothesis is more valuable than evidence that confirms it.
|
|
66
|
+
|
|
67
|
+
### Step 4: Assess Hypothesis Viability
|
|
68
|
+
|
|
69
|
+
After evaluating all evidence:
|
|
70
|
+
|
|
71
|
+
- Which hypotheses survive (have least disconfirming evidence)?
|
|
72
|
+
- Which hypotheses are eliminated (too much contradiction)?
|
|
73
|
+
- What's the relative strength of surviving hypotheses?
|
|
74
|
+
|
|
75
|
+
### Step 5: Identify Gaps
|
|
76
|
+
|
|
77
|
+
What evidence would help distinguish between remaining hypotheses?
|
|
78
|
+
|
|
79
|
+
## Output Format
|
|
80
|
+
|
|
81
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/crucible-analysis.md
|
|
82
|
+
|
|
83
|
+
Structure your report as:
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
# Analysis of Competing Hypotheses: {{RESEARCH_SUBJECT}}
|
|
87
|
+
|
|
88
|
+
## Executive Summary
|
|
89
|
+
|
|
90
|
+
[2-3 sentences: Most viable hypotheses and key discriminating evidence]
|
|
91
|
+
|
|
92
|
+
## Hypotheses
|
|
93
|
+
|
|
94
|
+
### Hypothesis 1: [Statement]
|
|
95
|
+
**Description**: [Full explanation of this hypothesis]
|
|
96
|
+
**Proponents**: [Which personas or sources support this view]
|
|
97
|
+
**Implications**: [What follows if this is true]
|
|
98
|
+
|
|
99
|
+
### Hypothesis 2: [Statement]
|
|
100
|
+
[Same structure]
|
|
101
|
+
|
|
102
|
+
### Hypothesis 3: [Statement]
|
|
103
|
+
[Same structure]
|
|
104
|
+
|
|
105
|
+
### Hypothesis 4: [Statement]
|
|
106
|
+
[Same structure]
|
|
107
|
+
|
|
108
|
+
### Hypothesis 5: [Statement]
|
|
109
|
+
[Same structure]
|
|
110
|
+
|
|
111
|
+
[Add more if needed]
|
|
112
|
+
|
|
113
|
+
## Evidence Analysis
|
|
114
|
+
|
|
115
|
+
### Evidence vs Hypotheses Matrix
|
|
116
|
+
|
|
117
|
+
| Evidence | H1 | H2 | H3 | H4 | H5 | Source | Quality |
|
|
118
|
+
|----------|----|----|----|----|----|----|---------|
|
|
119
|
+
| [Evidence item] | C/I/N | C/I/N | C/I/N | C/I/N | C/I/N | [Persona] | H/M/L |
|
|
120
|
+
|
|
121
|
+
**Legend**: C = Consistent (supports), I = Inconsistent (refutes), N = Neutral (doesn't affect)
|
|
122
|
+
**Quality**: H = High confidence, M = Medium, L = Low/Speculative
|
|
123
|
+
|
|
124
|
+
### Critical Disconfirming Evidence
|
|
125
|
+
|
|
126
|
+
#### [Evidence that eliminates hypotheses]
|
|
127
|
+
- **Evidence**: [Description]
|
|
128
|
+
- **Refutes**: [Which hypotheses]
|
|
129
|
+
- **Why incompatible**: [Explanation]
|
|
130
|
+
- **Strength**: Strong/Moderate/Weak
|
|
131
|
+
- **Source**: [Which persona finding]
|
|
132
|
+
|
|
133
|
+
## Hypothesis Survival Analysis
|
|
134
|
+
|
|
135
|
+
### Eliminated Hypotheses
|
|
136
|
+
|
|
137
|
+
#### Hypothesis [X]: [Statement]
|
|
138
|
+
- **Disconfirming evidence count**: [Number]
|
|
139
|
+
- **Critical contradictions**: [Key evidence that eliminates it]
|
|
140
|
+
- **Why eliminated**: [Explanation]
|
|
141
|
+
|
|
142
|
+
### Surviving Hypotheses
|
|
143
|
+
|
|
144
|
+
#### Hypothesis [Y]: [Statement]
|
|
145
|
+
- **Disconfirming evidence count**: [Number - should be low]
|
|
146
|
+
- **Supporting evidence count**: [Number]
|
|
147
|
+
- **Viability**: High/Medium
|
|
148
|
+
- **Remaining questions**: [What's still uncertain]
|
|
149
|
+
|
|
150
|
+
#### Hypothesis [Z]: [Statement]
|
|
151
|
+
[Same structure]
|
|
152
|
+
|
|
153
|
+
## Relative Strength Assessment
|
|
154
|
+
|
|
155
|
+
### Most Viable: [Hypothesis]
|
|
156
|
+
- **Evidence score**: [Supporting vs Disconfirming]
|
|
157
|
+
- **Persona consensus**: [How many personas support]
|
|
158
|
+
- **Uncertainty level**: [What's still unknown]
|
|
159
|
+
- **Confidence**: High/Medium/Low
|
|
160
|
+
|
|
161
|
+
### Second Most Viable: [Hypothesis]
|
|
162
|
+
[Same structure]
|
|
163
|
+
|
|
164
|
+
## Discriminating Evidence Needed
|
|
165
|
+
|
|
166
|
+
To choose between surviving hypotheses, we need:
|
|
167
|
+
|
|
168
|
+
1. **[Type of evidence]**: [What it would show and which hypothesis it would support]
|
|
169
|
+
2. **[Type of evidence]**: [What it would show and which hypothesis it would support]
|
|
170
|
+
3. **[Type of evidence]**: [What it would show and which hypothesis it would support]
|
|
171
|
+
|
|
172
|
+
## Assumptions Challenged
|
|
173
|
+
|
|
174
|
+
### Common assumptions NOT supported by evidence:
|
|
175
|
+
- **Assumption**: [What people assume]
|
|
176
|
+
- **Evidence**: [What actually shows]
|
|
177
|
+
- **Implication**: [What this means]
|
|
178
|
+
|
|
179
|
+
## Key Insights
|
|
180
|
+
|
|
181
|
+
1. [Insight from hypothesis elimination process]
|
|
182
|
+
2. [Insight from surviving hypotheses]
|
|
183
|
+
3. [Insight from evidence contradictions]
|
|
184
|
+
|
|
185
|
+
## Methodology Notes
|
|
186
|
+
|
|
187
|
+
- **Total hypotheses generated**: [Count]
|
|
188
|
+
- **Hypotheses eliminated**: [Count]
|
|
189
|
+
- **Hypotheses surviving**: [Count]
|
|
190
|
+
- **Evidence items evaluated**: [Count]
|
|
191
|
+
- **Quality of evidence**: [Assessment]
|
|
192
|
+
|
|
193
|
+
## Confidence Assessment
|
|
194
|
+
|
|
195
|
+
- **Overall confidence in analysis**: High/Medium/Low
|
|
196
|
+
- **Main uncertainty sources**: [What reduces confidence]
|
|
197
|
+
- **Additional research needed**: [What would increase confidence]
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Critical**: Focus on disconfirming evidence - it's more valuable than confirming evidence. Eliminate hypotheses systematically.
|
|
201
|
+
````
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
### Agent 2: Contradiction Mapper
|
|
206
|
+
|
|
207
|
+
**Subagent Type**: `codebase-research-analyst`
|
|
208
|
+
|
|
209
|
+
**Task Description**: Map contradictions between persona findings
|
|
210
|
+
|
|
211
|
+
**Prompt Template**:
|
|
212
|
+
|
|
213
|
+
````
|
|
214
|
+
Map contradictions and disagreements between the 8 persona research findings for "{{RESEARCH_SUBJECT}}".
|
|
215
|
+
|
|
216
|
+
## Research Context
|
|
217
|
+
|
|
218
|
+
Read all persona findings:
|
|
219
|
+
|
|
220
|
+
1. {{OUTPUT_DIR}}/persona-findings/historian.md
|
|
221
|
+
2. {{OUTPUT_DIR}}/persona-findings/contrarian.md
|
|
222
|
+
3. {{OUTPUT_DIR}}/persona-findings/analogist.md
|
|
223
|
+
4. {{OUTPUT_DIR}}/persona-findings/systems-thinker.md
|
|
224
|
+
5. {{OUTPUT_DIR}}/persona-findings/journalist.md
|
|
225
|
+
6. {{OUTPUT_DIR}}/persona-findings/archaeologist.md
|
|
226
|
+
7. {{OUTPUT_DIR}}/persona-findings/futurist.md
|
|
227
|
+
8. {{OUTPUT_DIR}}/persona-findings/negative-space.md
|
|
228
|
+
|
|
229
|
+
## Your Task: Contradiction Mapping
|
|
230
|
+
|
|
231
|
+
Identify and analyze contradictions, disagreements, and tensions between persona findings.
|
|
232
|
+
|
|
233
|
+
### Types of Contradictions to Find:
|
|
234
|
+
|
|
235
|
+
1. **Factual contradictions**: Personas report conflicting facts
|
|
236
|
+
2. **Interpretive contradictions**: Same facts, different interpretations
|
|
237
|
+
3. **Temporal contradictions**: Past vs present vs future views conflict
|
|
238
|
+
4. **Perspective contradictions**: Different stakeholder views conflict
|
|
239
|
+
5. **Evidence contradictions**: Sources contradict each other
|
|
240
|
+
|
|
241
|
+
### Analysis Required:
|
|
242
|
+
|
|
243
|
+
- What exactly contradicts what?
|
|
244
|
+
- How significant is the contradiction?
|
|
245
|
+
- Can both be true in different contexts?
|
|
246
|
+
- Which has better evidence?
|
|
247
|
+
- What does the contradiction reveal?
|
|
248
|
+
|
|
249
|
+
## Output Format
|
|
250
|
+
|
|
251
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/contradiction-mapping.md
|
|
252
|
+
|
|
253
|
+
Structure your report as:
|
|
254
|
+
|
|
255
|
+
```markdown
|
|
256
|
+
# Contradiction Mapping: {{RESEARCH_SUBJECT}}
|
|
257
|
+
|
|
258
|
+
## Executive Summary
|
|
259
|
+
|
|
260
|
+
[2-3 sentences: Most significant contradictions and what they reveal]
|
|
261
|
+
|
|
262
|
+
## Major Contradictions
|
|
263
|
+
|
|
264
|
+
### Contradiction 1: [Topic]
|
|
265
|
+
|
|
266
|
+
**Personas involved**: [Which personas disagree]
|
|
267
|
+
|
|
268
|
+
**Position A** ([Persona]):
|
|
269
|
+
- **Claim**: [What they say]
|
|
270
|
+
- **Evidence**: [What supports it]
|
|
271
|
+
- **Source quality**: High/Medium/Low
|
|
272
|
+
- **Quote**: "[Key excerpt]"
|
|
273
|
+
|
|
274
|
+
**Position B** ([Persona]):
|
|
275
|
+
- **Claim**: [What they say]
|
|
276
|
+
- **Evidence**: [What supports it]
|
|
277
|
+
- **Source quality**: High/Medium/Low
|
|
278
|
+
- **Quote**: "[Key excerpt]"
|
|
279
|
+
|
|
280
|
+
**Analysis**:
|
|
281
|
+
- **Type**: Factual/Interpretive/Temporal/Perspective/Evidence
|
|
282
|
+
- **Reconcilable?**: Yes/No/Partially
|
|
283
|
+
- **Resolution approach**: [How to resolve or which is stronger]
|
|
284
|
+
- **Significance**: High/Medium/Low
|
|
285
|
+
- **What it reveals**: [Insight from the contradiction]
|
|
286
|
+
|
|
287
|
+
### Contradiction 2: [Topic]
|
|
288
|
+
[Same structure]
|
|
289
|
+
|
|
290
|
+
### Contradiction 3: [Topic]
|
|
291
|
+
[Same structure]
|
|
292
|
+
|
|
293
|
+
## Contradiction Patterns
|
|
294
|
+
|
|
295
|
+
### Temporal Tensions
|
|
296
|
+
- **Past (Historian/Archaeologist) vs Future (Futurist)**: [Key disagreements]
|
|
297
|
+
- **What this reveals**: [Insight]
|
|
298
|
+
|
|
299
|
+
### Critical vs Optimistic Views
|
|
300
|
+
- **Contrarian vs others**: [Where Contrarian challenges consensus]
|
|
301
|
+
- **Validity**: [Assessment of contrarian critiques]
|
|
302
|
+
|
|
303
|
+
### Theory vs Practice
|
|
304
|
+
- **Systems Thinker vs Journalist**: [Abstract theory vs current reality gaps]
|
|
305
|
+
- **Implications**: [What this means]
|
|
306
|
+
|
|
307
|
+
## Contradiction Severity Matrix
|
|
308
|
+
|
|
309
|
+
| Contradiction | Severity | Resolvability | Evidence Quality A | Evidence Quality B |
|
|
310
|
+
|---------------|----------|---------------|-------------------|-------------------|
|
|
311
|
+
| [Topic] | High/Med/Low | Easy/Hard/Impossible | H/M/L | H/M/L |
|
|
312
|
+
|
|
313
|
+
## Irreconcilable Contradictions
|
|
314
|
+
|
|
315
|
+
### [Contradiction that cannot be resolved]
|
|
316
|
+
- **Why irreconcilable**: [Explanation]
|
|
317
|
+
- **Implication**: [What this means for the research]
|
|
318
|
+
- **Further research needed**: [What would help]
|
|
319
|
+
|
|
320
|
+
## Productive Tensions
|
|
321
|
+
|
|
322
|
+
Contradictions that reveal important insights rather than errors:
|
|
323
|
+
|
|
324
|
+
### [Tension]
|
|
325
|
+
- **Personas**: [Which disagree]
|
|
326
|
+
- **Why productive**: [What the tension illuminates]
|
|
327
|
+
- **Both true?**: [How both perspectives might be valid]
|
|
328
|
+
- **Insight**: [What we learn from the tension]
|
|
329
|
+
|
|
330
|
+
## Evidence Quality Conflicts
|
|
331
|
+
|
|
332
|
+
When evidence quality differs between contradicting claims:
|
|
333
|
+
|
|
334
|
+
### [Topic with evidence quality mismatch]
|
|
335
|
+
- **High-quality evidence says**: [Position]
|
|
336
|
+
- **Low-quality evidence says**: [Position]
|
|
337
|
+
- **Resolution**: [Go with better evidence]
|
|
338
|
+
|
|
339
|
+
## Context-Dependent Truths
|
|
340
|
+
|
|
341
|
+
Apparent contradictions that are both true in different contexts:
|
|
342
|
+
|
|
343
|
+
### [Context-dependent claim]
|
|
344
|
+
- **True when**: [Context A]
|
|
345
|
+
- **False when**: [Context B]
|
|
346
|
+
- **Key variable**: [What determines which is true]
|
|
347
|
+
|
|
348
|
+
## Contradiction Insights
|
|
349
|
+
|
|
350
|
+
What the pattern of contradictions reveals:
|
|
351
|
+
|
|
352
|
+
1. **[Insight]**: [What disagreements tell us about the field]
|
|
353
|
+
2. **[Insight]**: [What contradictions reveal about knowledge gaps]
|
|
354
|
+
3. **[Insight]**: [What tensions indicate about future directions]
|
|
355
|
+
|
|
356
|
+
## Recommended Resolution Priorities
|
|
357
|
+
|
|
358
|
+
1. **[Contradiction to resolve first]**: [Why priority and how to resolve]
|
|
359
|
+
2. **[Second priority]**: [Why and how]
|
|
360
|
+
3. **[Third priority]**: [Why and how]
|
|
361
|
+
|
|
362
|
+
## Unresolved Questions
|
|
363
|
+
|
|
364
|
+
Contradictions that need additional research:
|
|
365
|
+
|
|
366
|
+
- **[Question]**: [What evidence would resolve this]
|
|
367
|
+
- **[Question]**: [What evidence would resolve this]
|
|
368
|
+
|
|
369
|
+
## Key Insights
|
|
370
|
+
|
|
371
|
+
1. [Insight from major contradictions]
|
|
372
|
+
2. [Insight from contradiction patterns]
|
|
373
|
+
3. [Insight from productive tensions]
|
|
374
|
+
|
|
375
|
+
## Summary Statistics
|
|
376
|
+
|
|
377
|
+
- **Total contradictions identified**: [Count]
|
|
378
|
+
- **Major (high severity)**: [Count]
|
|
379
|
+
- **Resolvable**: [Count]
|
|
380
|
+
- **Irreconcilable**: [Count]
|
|
381
|
+
- **Productive tensions**: [Count]
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
**Critical**: Don't smooth over contradictions. Explore what they reveal about the subject. Some contradictions are more illuminating than agreements.
|
|
385
|
+
````
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## Phase 3 Agents: Emergent Insight Generation
|
|
390
|
+
|
|
391
|
+
### Agent 1: Tension Mapper
|
|
392
|
+
|
|
393
|
+
**Subagent Type**: `codebase-research-analyst`
|
|
394
|
+
|
|
395
|
+
**Task Description**: Identify maximum disagreement points
|
|
396
|
+
|
|
397
|
+
**Prompt Template**:
|
|
398
|
+
|
|
399
|
+
````
|
|
400
|
+
Identify points of maximum tension and disagreement across all research findings for "{{RESEARCH_SUBJECT}}".
|
|
401
|
+
|
|
402
|
+
## Research Context
|
|
403
|
+
|
|
404
|
+
Read all synthesis files:
|
|
405
|
+
|
|
406
|
+
1. {{OUTPUT_DIR}}/persona-findings/*.md (all 8 files)
|
|
407
|
+
2. {{OUTPUT_DIR}}/synthesis/crucible-analysis.md
|
|
408
|
+
3. {{OUTPUT_DIR}}/synthesis/contradiction-mapping.md
|
|
409
|
+
|
|
410
|
+
## Your Task: Tension Mapping
|
|
411
|
+
|
|
412
|
+
Find where research reveals the deepest disagreements, unresolved debates, and conceptual tensions.
|
|
413
|
+
|
|
414
|
+
### Focus Areas:
|
|
415
|
+
|
|
416
|
+
1. **Stakeholder tensions**: Who wants opposite things?
|
|
417
|
+
2. **Value tensions**: What values conflict?
|
|
418
|
+
3. **Trade-off tensions**: What can't be optimized simultaneously?
|
|
419
|
+
4. **Temporal tensions**: What conflicts arise across timeframes?
|
|
420
|
+
5. **Conceptual tensions**: What fundamental concepts contradict?
|
|
421
|
+
|
|
422
|
+
## Output Format
|
|
423
|
+
|
|
424
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/tension-mapping.md
|
|
425
|
+
|
|
426
|
+
```markdown
|
|
427
|
+
# Tension Mapping: {{RESEARCH_SUBJECT}}
|
|
428
|
+
|
|
429
|
+
## Executive Summary
|
|
430
|
+
[2-3 sentences: Most significant tensions identified]
|
|
431
|
+
|
|
432
|
+
## Maximum Disagreement Points
|
|
433
|
+
|
|
434
|
+
### Tension 1: [Name]
|
|
435
|
+
- **Type**: Stakeholder/Value/Trade-off/Temporal/Conceptual
|
|
436
|
+
- **Description**: [What's in tension]
|
|
437
|
+
- **Side A**: [Position/viewpoint]
|
|
438
|
+
- **Side B**: [Opposite position/viewpoint]
|
|
439
|
+
- **Severity**: High/Medium/Low
|
|
440
|
+
- **Resolvable?**: Yes/No/Partially
|
|
441
|
+
- **Insight**: [What this tension reveals]
|
|
442
|
+
|
|
443
|
+
[Repeat for other tensions]
|
|
444
|
+
|
|
445
|
+
## Stakeholder Tensions
|
|
446
|
+
|
|
447
|
+
[Map who wants what and where interests conflict]
|
|
448
|
+
|
|
449
|
+
## Value Tensions
|
|
450
|
+
|
|
451
|
+
[Where different values create irreconcilable conflicts]
|
|
452
|
+
|
|
453
|
+
## Trade-off Tensions
|
|
454
|
+
|
|
455
|
+
[What cannot be optimized simultaneously]
|
|
456
|
+
|
|
457
|
+
## Key Insights
|
|
458
|
+
|
|
459
|
+
1. [Insight from tension analysis]
|
|
460
|
+
2. [Insight from disagreement patterns]
|
|
461
|
+
3. [Insight from unresolvable conflicts]
|
|
462
|
+
```
|
|
463
|
+
````
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
### Agent 2: Pattern Recognizer
|
|
468
|
+
|
|
469
|
+
**Subagent Type**: `general-purpose`
|
|
470
|
+
|
|
471
|
+
**Task Description**: Find unexpected patterns and connections
|
|
472
|
+
|
|
473
|
+
**Prompt Template**:
|
|
474
|
+
|
|
475
|
+
````
|
|
476
|
+
Identify unexpected patterns, historical echoes, and surprising connections across all research findings for "{{RESEARCH_SUBJECT}}".
|
|
477
|
+
|
|
478
|
+
## Research Context
|
|
479
|
+
|
|
480
|
+
Read all research artifacts:
|
|
481
|
+
|
|
482
|
+
1. All persona findings
|
|
483
|
+
2. All synthesis files
|
|
484
|
+
3. Evidence verification log (if exists)
|
|
485
|
+
|
|
486
|
+
## Your Task: Pattern Recognition
|
|
487
|
+
|
|
488
|
+
Find patterns that weren't obvious from individual persona research but emerge from the totality of findings.
|
|
489
|
+
|
|
490
|
+
### Pattern Types:
|
|
491
|
+
|
|
492
|
+
1. **Historical echoes**: Current situations resembling past
|
|
493
|
+
2. **Cross-domain patterns**: Similar patterns in different areas
|
|
494
|
+
3. **Cyclical patterns**: Recurring themes or cycles
|
|
495
|
+
4. **Convergence patterns**: Different paths leading to same conclusion
|
|
496
|
+
5. **Divergence patterns**: One cause, multiple effects
|
|
497
|
+
|
|
498
|
+
## Output Format
|
|
499
|
+
|
|
500
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/pattern-recognition.md
|
|
501
|
+
|
|
502
|
+
```markdown
|
|
503
|
+
# Pattern Recognition: {{RESEARCH_SUBJECT}}
|
|
504
|
+
|
|
505
|
+
## Executive Summary
|
|
506
|
+
[2-3 sentences: Most surprising patterns discovered]
|
|
507
|
+
|
|
508
|
+
## Unexpected Patterns
|
|
509
|
+
|
|
510
|
+
### Pattern 1: [Name]
|
|
511
|
+
- **Type**: Historical/Cross-domain/Cyclical/Convergence/Divergence
|
|
512
|
+
- **Description**: [What the pattern is]
|
|
513
|
+
- **Evidence**: [Where it appears]
|
|
514
|
+
- **Significance**: [Why it matters]
|
|
515
|
+
- **Surprise factor**: [Why unexpected]
|
|
516
|
+
|
|
517
|
+
[Repeat for other patterns]
|
|
518
|
+
|
|
519
|
+
## Historical Echoes
|
|
520
|
+
|
|
521
|
+
[Where history is repeating or rhyming]
|
|
522
|
+
|
|
523
|
+
## Cross-Domain Parallels
|
|
524
|
+
|
|
525
|
+
[Patterns appearing across different domains]
|
|
526
|
+
|
|
527
|
+
## Key Insights
|
|
528
|
+
|
|
529
|
+
1. [Insight from pattern analysis]
|
|
530
|
+
2. [Insight from unexpected connections]
|
|
531
|
+
3. [Insight from historical echoes]
|
|
532
|
+
```
|
|
533
|
+
````
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
### Agent 3: Negative Space Agent
|
|
538
|
+
|
|
539
|
+
**Subagent Type**: `codebase-research-analyst`
|
|
540
|
+
|
|
541
|
+
**Task Description**: Document unanswered questions and gaps
|
|
542
|
+
|
|
543
|
+
**Prompt Template**:
|
|
544
|
+
|
|
545
|
+
````
|
|
546
|
+
Synthesize unanswered questions, research gaps, and areas of uncertainty from all research findings for "{{RESEARCH_SUBJECT}}".
|
|
547
|
+
|
|
548
|
+
## Research Context
|
|
549
|
+
|
|
550
|
+
Read all research artifacts to identify what remains unknown.
|
|
551
|
+
|
|
552
|
+
## Your Task: Negative Space Synthesis
|
|
553
|
+
|
|
554
|
+
Compile all gaps, uncertainties, and unanswered questions. Prioritize by importance.
|
|
555
|
+
|
|
556
|
+
## Output Format
|
|
557
|
+
|
|
558
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/negative-space.md
|
|
559
|
+
|
|
560
|
+
```markdown
|
|
561
|
+
# Negative Space Analysis: {{RESEARCH_SUBJECT}}
|
|
562
|
+
|
|
563
|
+
## Executive Summary
|
|
564
|
+
[2-3 sentences: Most critical gaps and unanswered questions]
|
|
565
|
+
|
|
566
|
+
## Critical Unanswered Questions
|
|
567
|
+
|
|
568
|
+
### [Question]
|
|
569
|
+
- **Why critical**: [Impact of not knowing]
|
|
570
|
+
- **Current status**: [What we do know]
|
|
571
|
+
- **What's needed**: [What research would answer this]
|
|
572
|
+
- **Priority**: High/Medium/Low
|
|
573
|
+
|
|
574
|
+
[Repeat for other questions]
|
|
575
|
+
|
|
576
|
+
## Research Gaps by Category
|
|
577
|
+
|
|
578
|
+
### Empirical Gaps
|
|
579
|
+
[What data doesn't exist]
|
|
580
|
+
|
|
581
|
+
### Theoretical Gaps
|
|
582
|
+
[What frameworks are missing]
|
|
583
|
+
|
|
584
|
+
### Practical Gaps
|
|
585
|
+
[What implementation knowledge is absent]
|
|
586
|
+
|
|
587
|
+
## Key Insights
|
|
588
|
+
|
|
589
|
+
1. [Insight from gap analysis]
|
|
590
|
+
2. [Insight from unanswered questions]
|
|
591
|
+
3. [Insight from uncertainty patterns]
|
|
592
|
+
```
|
|
593
|
+
````
|
|
594
|
+
|
|
595
|
+
---
|
|
596
|
+
|
|
597
|
+
### Agent 4: Innovation Agent
|
|
598
|
+
|
|
599
|
+
**Subagent Type**: `general-purpose`
|
|
600
|
+
|
|
601
|
+
**Task Description**: Generate novel hypotheses from persona combinations
|
|
602
|
+
|
|
603
|
+
**Prompt Template**:
|
|
604
|
+
|
|
605
|
+
````
|
|
606
|
+
Generate novel hypotheses and innovative insights by combining findings from different research personas for "{{RESEARCH_SUBJECT}}".
|
|
607
|
+
|
|
608
|
+
## Research Context
|
|
609
|
+
|
|
610
|
+
Read all research artifacts to find novel combinations and insights.
|
|
611
|
+
|
|
612
|
+
## Your Task: Innovation Synthesis
|
|
613
|
+
|
|
614
|
+
Combine insights from different personas to generate novel hypotheses, ideas, or approaches that didn't appear in any single persona research.
|
|
615
|
+
|
|
616
|
+
### Innovation Strategies:
|
|
617
|
+
|
|
618
|
+
1. **Combine contradictions**: What if both opposing views are true?
|
|
619
|
+
2. **Cross-temporal**: Combine past solutions with future technology
|
|
620
|
+
3. **Cross-domain transfer**: Apply insights from one domain to another
|
|
621
|
+
4. **System + Critique**: Combine systems thinking with contrarian critiques
|
|
622
|
+
5. **Historical + Futurist**: What old approaches could work with future tech?
|
|
623
|
+
|
|
624
|
+
## Output Format
|
|
625
|
+
|
|
626
|
+
Write your analysis to: {{OUTPUT_DIR}}/synthesis/innovation.md
|
|
627
|
+
|
|
628
|
+
```markdown
|
|
629
|
+
# Innovation Synthesis: {{RESEARCH_SUBJECT}}
|
|
630
|
+
|
|
631
|
+
## Executive Summary
|
|
632
|
+
[2-3 sentences: Most promising novel insights]
|
|
633
|
+
|
|
634
|
+
## Novel Hypotheses
|
|
635
|
+
|
|
636
|
+
### Hypothesis 1: [Statement]
|
|
637
|
+
- **Combines**: [Which personas/insights]
|
|
638
|
+
- **Rationale**: [Why this combination is interesting]
|
|
639
|
+
- **Testable prediction**: [What would validate this]
|
|
640
|
+
- **Potential impact**: [If true, what changes]
|
|
641
|
+
- **Feasibility**: High/Medium/Low
|
|
642
|
+
|
|
643
|
+
[Repeat for other hypotheses]
|
|
644
|
+
|
|
645
|
+
## Innovative Approaches
|
|
646
|
+
|
|
647
|
+
[Novel solutions or methods derived from synthesis]
|
|
648
|
+
|
|
649
|
+
## Unexpected Insights
|
|
650
|
+
|
|
651
|
+
[Insights that emerged from combining different perspectives]
|
|
652
|
+
|
|
653
|
+
## Key Insights
|
|
654
|
+
|
|
655
|
+
1. [Most valuable novel insight]
|
|
656
|
+
2. [Second most valuable insight]
|
|
657
|
+
3. [Third most valuable insight]
|
|
658
|
+
```
|
|
659
|
+
````
|
|
660
|
+
|
|
661
|
+
---
|
|
662
|
+
|
|
663
|
+
## Usage Instructions
|
|
664
|
+
|
|
665
|
+
### Phase 2 Deployment (Crucible Analysis)
|
|
666
|
+
|
|
667
|
+
Deploy both agents in **SINGLE message** with **TWO parallel subagent invocations**:
|
|
668
|
+
|
|
669
|
+
1. **ACH Analyst** (`general-purpose`) -> crucible-analysis.md
|
|
670
|
+
2. **Contradiction Mapper** (`codebase-research-analyst`) -> contradiction-mapping.md
|
|
671
|
+
|
|
672
|
+
### Phase 3 Deployment (Emergent Insights)
|
|
673
|
+
|
|
674
|
+
Deploy all four agents in **SINGLE message** with **FOUR parallel subagent invocations**:
|
|
675
|
+
|
|
676
|
+
1. **Tension Mapper** (`codebase-research-analyst`) -> tension-mapping.md
|
|
677
|
+
2. **Pattern Recognizer** (`general-purpose`) -> pattern-recognition.md
|
|
678
|
+
3. **Negative Space Agent** (`codebase-research-analyst`) -> negative-space.md
|
|
679
|
+
4. **Innovation Agent** (`general-purpose`) -> innovation.md
|
|
680
|
+
|
|
681
|
+
## Variable Reference
|
|
682
|
+
|
|
683
|
+
| Variable | Description | Example |
|
|
684
|
+
| ---------------------- | --------------------- | -------------------------------- |
|
|
685
|
+
| `{{RESEARCH_SUBJECT}}` | The research topic | `AI model deployment strategies` |
|
|
686
|
+
| `{{OUTPUT_DIR}}` | Output directory path | `research/ai-deployment` |
|
|
687
|
+
|
|
688
|
+
## Expected Outputs
|
|
689
|
+
|
|
690
|
+
### Crucible Analysis Files Should
|
|
691
|
+
|
|
692
|
+
- Systematically evaluate competing explanations
|
|
693
|
+
- Focus on disconfirming evidence
|
|
694
|
+
- Map contradictions without smoothing them over
|
|
695
|
+
- Be evidence-based and rigorous
|
|
696
|
+
|
|
697
|
+
### Emergent Insight Files Should
|
|
698
|
+
|
|
699
|
+
- Identify patterns not visible in individual personas
|
|
700
|
+
- Generate novel hypotheses from combinations
|
|
701
|
+
- Document critical gaps and questions
|
|
702
|
+
- Be creative but grounded in research
|