dsh-compound-engineering 0.0.0-stage → 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 +21 -0
- package/README.md +160 -2
- package/README.zh.md +161 -0
- package/cordis.patch.yml +6 -0
- package/lib/frontmatter.js +167 -0
- package/lib/index.js +46 -0
- package/lib/provider.js +201 -0
- package/package.json +62 -4
- package/skills/CODING_STANDARDS.md +68 -0
- package/skills/ce-babysit-pr/SKILL.md +59 -0
- package/skills/ce-babysit-pr/references/branch-currency.md +22 -0
- package/skills/ce-babysit-pr/references/envelope.md +44 -0
- package/skills/ce-babysit-pr/references/pipeline.md +15 -0
- package/skills/ce-babysit-pr/references/report.md +20 -0
- package/skills/ce-babysit-pr/references/settle.md +37 -0
- package/skills/ce-babysit-pr/references/setup.md +33 -0
- package/skills/ce-babysit-pr/references/stack-commands.md +39 -0
- package/skills/ce-babysit-pr/references/stack.md +43 -0
- package/skills/ce-babysit-pr/references/tick.md +102 -0
- package/skills/ce-babysit-pr/references/watch-loop.md +222 -0
- package/skills/ce-babysit-pr/scripts/pr-snapshot +3656 -0
- package/skills/ce-bakeoff/SKILL.md +48 -0
- package/skills/ce-bakeoff/references/candidates.md +37 -0
- package/skills/ce-bakeoff/references/judging.md +19 -0
- package/skills/ce-bakeoff/references/output.md +11 -0
- package/skills/ce-bakeoff/references/verification.md +15 -0
- package/skills/ce-brainstorm/SKILL.md +69 -0
- package/skills/ce-brainstorm/references/agents/slack-researcher.md +127 -0
- package/skills/ce-brainstorm/references/approaches.md +57 -0
- package/skills/ce-brainstorm/references/bakeoff.md +9 -0
- package/skills/ce-brainstorm/references/blindspot-pass.md +70 -0
- package/skills/ce-brainstorm/references/brainstorm-sections.md +458 -0
- package/skills/ce-brainstorm/references/dialogue.md +89 -0
- package/skills/ce-brainstorm/references/handoff.md +187 -0
- package/skills/ce-brainstorm/references/html-rendering.md +638 -0
- package/skills/ce-brainstorm/references/interaction-rules.md +33 -0
- package/skills/ce-brainstorm/references/markdown-rendering.md +242 -0
- package/skills/ce-brainstorm/references/model-tiers.md +13 -0
- package/skills/ce-brainstorm/references/output-mode.md +26 -0
- package/skills/ce-brainstorm/references/phase-0.md +104 -0
- package/skills/ce-brainstorm/references/plan-write.md +32 -0
- package/skills/ce-brainstorm/references/product-pressure-test.md +42 -0
- package/skills/ce-brainstorm/references/reasoning-elevation.md +124 -0
- package/skills/ce-brainstorm/references/settled-decisions.md +45 -0
- package/skills/ce-brainstorm/references/synthesis-summary.md +149 -0
- package/skills/ce-brainstorm/references/universal-brainstorming.md +72 -0
- package/skills/ce-brainstorm/references/verdict-routing.md +26 -0
- package/skills/ce-brainstorm/references/visual-probes.md +164 -0
- package/skills/ce-brainstorm/scripts/elevation-dispatch.sh +288 -0
- package/skills/ce-brainstorm/scripts/light-webserver.js +1275 -0
- package/skills/ce-brainstorm/scripts/packs-resolve.py +737 -0
- package/skills/ce-brainstorm/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-code-review/SKILL.md +40 -0
- package/skills/ce-code-review/references/action-class-rubric.md +67 -0
- package/skills/ce-code-review/references/cross-model-recovery.md +38 -0
- package/skills/ce-code-review/references/cross-model-review.md +191 -0
- package/skills/ce-code-review/references/depth-paths.md +32 -0
- package/skills/ce-code-review/references/diff-scope.md +59 -0
- package/skills/ce-code-review/references/dispatch-reviewers.md +135 -0
- package/skills/ce-code-review/references/findings-schema.json +125 -0
- package/skills/ce-code-review/references/finish-input.md +118 -0
- package/skills/ce-code-review/references/finish-review.md +202 -0
- package/skills/ce-code-review/references/intent-and-plan.md +73 -0
- package/skills/ce-code-review/references/modes-and-output.md +156 -0
- package/skills/ce-code-review/references/persona-catalog.md +66 -0
- package/skills/ce-code-review/references/personas/adversarial-reviewer.md +111 -0
- package/skills/ce-code-review/references/personas/agent-native-reviewer.md +173 -0
- package/skills/ce-code-review/references/personas/api-contract-reviewer.md +44 -0
- package/skills/ce-code-review/references/personas/correctness-reviewer.md +48 -0
- package/skills/ce-code-review/references/personas/data-migration-reviewer.md +111 -0
- package/skills/ce-code-review/references/personas/deployment-verification-agent.md +157 -0
- package/skills/ce-code-review/references/personas/julik-frontend-races-reviewer.md +45 -0
- package/skills/ce-code-review/references/personas/learnings-researcher.md +260 -0
- package/skills/ce-code-review/references/personas/maintainability-reviewer.md +85 -0
- package/skills/ce-code-review/references/personas/performance-reviewer.md +45 -0
- package/skills/ce-code-review/references/personas/previous-comments-reviewer.md +59 -0
- package/skills/ce-code-review/references/personas/project-standards-reviewer.md +77 -0
- package/skills/ce-code-review/references/personas/reliability-reviewer.md +49 -0
- package/skills/ce-code-review/references/personas/security-reviewer.md +50 -0
- package/skills/ce-code-review/references/personas/swift-ios-reviewer.md +99 -0
- package/skills/ce-code-review/references/personas/testing-reviewer.md +51 -0
- package/skills/ce-code-review/references/review-output-template.md +172 -0
- package/skills/ce-code-review/references/scope.md +176 -0
- package/skills/ce-code-review/references/select-and-route.md +93 -0
- package/skills/ce-code-review/references/subagent-template.md +206 -0
- package/skills/ce-code-review/references/validator-batch-template.md +67 -0
- package/skills/ce-code-review/scripts/cross-model-adversarial-review.sh +1275 -0
- package/skills/ce-code-review/scripts/findings-mechanics.py +274 -0
- package/skills/ce-code-review/scripts/packs-resolve.py +737 -0
- package/skills/ce-code-review/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-code-review/scripts/review-scope.py +419 -0
- package/skills/ce-code-review/scripts/run-log.py +280 -0
- package/skills/ce-commit/SKILL.md +60 -0
- package/skills/ce-commit-push-pr/SKILL.md +69 -0
- package/skills/ce-commit-push-pr/references/apply-and-handoff.md +79 -0
- package/skills/ce-commit-push-pr/references/branch-creation.md +47 -0
- package/skills/ce-commit-push-pr/references/commit-and-push.md +26 -0
- package/skills/ce-commit-push-pr/references/compose.md +29 -0
- package/skills/ce-commit-push-pr/references/context.md +42 -0
- package/skills/ce-commit-push-pr/references/gh-stack-cli.md +83 -0
- package/skills/ce-commit-push-pr/references/pr-description-writing.md +208 -0
- package/skills/ce-commit-push-pr/references/stack-submit.md +81 -0
- package/skills/ce-compound/SKILL.md +79 -0
- package/skills/ce-compound/assets/resolution-template.md +96 -0
- package/skills/ce-compound/references/agents/best-practices-researcher.md +115 -0
- package/skills/ce-compound/references/agents/data-integrity-guardian.md +68 -0
- package/skills/ce-compound/references/agents/framework-docs-researcher.md +93 -0
- package/skills/ce-compound/references/agents/pattern-recognition-specialist.md +55 -0
- package/skills/ce-compound/references/agents/performance-oracle.md +108 -0
- package/skills/ce-compound/references/agents/security-sentinel.md +91 -0
- package/skills/ce-compound/references/agents/session-historian.md +82 -0
- package/skills/ce-compound/references/assembly.md +127 -0
- package/skills/ce-compound/references/concepts-vocabulary.md +98 -0
- package/skills/ce-compound/references/enhancement.md +42 -0
- package/skills/ce-compound/references/grounding-validation.md +89 -0
- package/skills/ce-compound/references/lightweight.md +56 -0
- package/skills/ce-compound/references/modes.md +13 -0
- package/skills/ce-compound/references/refresh-and-discoverability.md +96 -0
- package/skills/ce-compound/references/report.md +115 -0
- package/skills/ce-compound/references/research.md +144 -0
- package/skills/ce-compound/references/schema.yaml +236 -0
- package/skills/ce-compound/references/session-history.md +73 -0
- package/skills/ce-compound/references/yaml-schema.md +130 -0
- package/skills/ce-compound/scripts/packs-resolve.py +737 -0
- package/skills/ce-compound/scripts/session-history/__pycache__/dsh_session.cpython-314.pyc +0 -0
- package/skills/ce-compound/scripts/session-history/discover-sessions.sh +290 -0
- package/skills/ce-compound/scripts/session-history/discover_dsh.py +123 -0
- package/skills/ce-compound/scripts/session-history/dsh_session.py +225 -0
- package/skills/ce-compound/scripts/session-history/extract-errors.py +178 -0
- package/skills/ce-compound/scripts/session-history/extract-metadata.py +301 -0
- package/skills/ce-compound/scripts/session-history/extract-skeleton.py +346 -0
- package/skills/ce-compound/scripts/validate-doc-claims.py +497 -0
- package/skills/ce-compound/scripts/validate-frontmatter.py +137 -0
- package/skills/ce-compound-refresh/SKILL.md +88 -0
- package/skills/ce-compound-refresh/assets/resolution-template.md +96 -0
- package/skills/ce-compound-refresh/references/classify.md +42 -0
- package/skills/ce-compound-refresh/references/commit.md +7 -0
- package/skills/ce-compound-refresh/references/concepts-vocabulary.md +116 -0
- package/skills/ce-compound-refresh/references/discoverability.md +15 -0
- package/skills/ce-compound-refresh/references/investigate.md +23 -0
- package/skills/ce-compound-refresh/references/modes.md +27 -0
- package/skills/ce-compound-refresh/references/per-action-flows.md +142 -0
- package/skills/ce-compound-refresh/references/report.md +23 -0
- package/skills/ce-compound-refresh/references/schema.yaml +236 -0
- package/skills/ce-compound-refresh/references/scope.md +18 -0
- package/skills/ce-compound-refresh/references/worth-audit.md +35 -0
- package/skills/ce-compound-refresh/references/yaml-schema.md +130 -0
- package/skills/ce-compound-refresh/scripts/validate-doc-claims.py +497 -0
- package/skills/ce-compound-refresh/scripts/validate-frontmatter.py +137 -0
- package/skills/ce-debug/SKILL.md +122 -0
- package/skills/ce-debug/references/anti-patterns.md +91 -0
- package/skills/ce-debug/references/defense-in-depth.md +39 -0
- package/skills/ce-debug/references/fix.md +21 -0
- package/skills/ce-debug/references/investigate.md +114 -0
- package/skills/ce-debug/references/investigation-techniques.md +384 -0
- package/skills/ce-debug/references/pipeline-mode.md +78 -0
- package/skills/ce-debug/references/post-fix-handoff.md +60 -0
- package/skills/ce-debug/references/return-to-caller.md +57 -0
- package/skills/ce-doc-review/SKILL.md +75 -0
- package/skills/ce-doc-review/references/bulk-preview.md +146 -0
- package/skills/ce-doc-review/references/cross-model-review.md +207 -0
- package/skills/ce-doc-review/references/decision-primer.md +47 -0
- package/skills/ce-doc-review/references/dispatch.md +56 -0
- package/skills/ce-doc-review/references/document-intake.md +44 -0
- package/skills/ce-doc-review/references/findings-schema.json +85 -0
- package/skills/ce-doc-review/references/modes.md +20 -0
- package/skills/ce-doc-review/references/open-questions-defer.md +158 -0
- package/skills/ce-doc-review/references/persona-selection.md +41 -0
- package/skills/ce-doc-review/references/personas/adversarial-document-reviewer.md +109 -0
- package/skills/ce-doc-review/references/personas/coherence-reviewer.md +69 -0
- package/skills/ce-doc-review/references/personas/design-lens-reviewer.md +48 -0
- package/skills/ce-doc-review/references/personas/feasibility-reviewer.md +50 -0
- package/skills/ce-doc-review/references/personas/product-lens-reviewer.md +85 -0
- package/skills/ce-doc-review/references/personas/scope-guardian-reviewer.md +83 -0
- package/skills/ce-doc-review/references/personas/security-lens-reviewer.md +41 -0
- package/skills/ce-doc-review/references/personas/whole-doc-reviewer.md +25 -0
- package/skills/ce-doc-review/references/rendering-floor.md +175 -0
- package/skills/ce-doc-review/references/review-output-template.md +123 -0
- package/skills/ce-doc-review/references/subagent-template.md +188 -0
- package/skills/ce-doc-review/references/synthesis-and-presentation.md +350 -0
- package/skills/ce-doc-review/references/walkthrough.md +347 -0
- package/skills/ce-doc-review/scripts/cross-model-doc-review.sh +1270 -0
- package/skills/ce-doc-review/scripts/packs-resolve.py +737 -0
- package/skills/ce-doc-review/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-dogfood/SKILL.md +66 -0
- package/skills/ce-dogfood/agents/openai.yaml +2 -0
- package/skills/ce-dogfood/references/dogfood-report-template.md +97 -0
- package/skills/ce-dogfood/references/phases.md +167 -0
- package/skills/ce-dogfood/references/test-matrix-taxonomy.md +62 -0
- package/skills/ce-dogfood/scripts/packs-resolve.py +737 -0
- package/skills/ce-explain/SKILL.md +81 -0
- package/skills/ce-explain/references/agents/behavior-trace-scout.md +19 -0
- package/skills/ce-explain/references/agents/work-recap-scout.md +23 -0
- package/skills/ce-explain/references/check-in.md +18 -0
- package/skills/ce-explain/references/destinations.md +35 -0
- package/skills/ce-explain/references/explainer-html.md +29 -0
- package/skills/ce-explain/references/explainer-markdown.md +24 -0
- package/skills/ce-explain/references/intake.md +50 -0
- package/skills/ce-explain/references/orchestration.md +46 -0
- package/skills/ce-handoff/SKILL.md +54 -0
- package/skills/ce-handoff/references/create.md +88 -0
- package/skills/ce-handoff/references/resume.md +46 -0
- package/skills/ce-ideate/SKILL.md +75 -0
- package/skills/ce-ideate/references/agents/issue-intelligence-analyst.md +166 -0
- package/skills/ce-ideate/references/agents/learnings-researcher.md +247 -0
- package/skills/ce-ideate/references/agents/slack-researcher.md +127 -0
- package/skills/ce-ideate/references/agents/web-researcher.md +121 -0
- package/skills/ce-ideate/references/decomposition.md +39 -0
- package/skills/ce-ideate/references/divergent-ideation.md +112 -0
- package/skills/ce-ideate/references/grounding.md +138 -0
- package/skills/ce-ideate/references/html-rendering.md +638 -0
- package/skills/ce-ideate/references/ideation-sections.md +191 -0
- package/skills/ce-ideate/references/issue-intelligence.md +44 -0
- package/skills/ce-ideate/references/markdown-rendering.md +242 -0
- package/skills/ce-ideate/references/output-mode.md +34 -0
- package/skills/ce-ideate/references/post-ideation-workflow.md +169 -0
- package/skills/ce-ideate/references/scope-gates.md +148 -0
- package/skills/ce-ideate/references/universal-ideation.md +119 -0
- package/skills/ce-ideate/references/user-research-artifacts.md +28 -0
- package/skills/ce-ideate/references/web-research-cache.md +56 -0
- package/skills/ce-noslop/SKILL.md +45 -0
- package/skills/ce-noslop/references/patterns.md +61 -0
- package/skills/ce-noslop/references/terminology.md +3 -0
- package/skills/ce-optimize/SKILL.md +64 -0
- package/skills/ce-optimize/references/agents/learnings-researcher.md +247 -0
- package/skills/ce-optimize/references/agents/repo-research-analyst.md +258 -0
- package/skills/ce-optimize/references/example-expensive-benchmark-spec.yaml +88 -0
- package/skills/ce-optimize/references/example-hard-spec.yaml +64 -0
- package/skills/ce-optimize/references/example-judge-spec.yaml +83 -0
- package/skills/ce-optimize/references/example-text-target-spec.yaml +80 -0
- package/skills/ce-optimize/references/experiment-log-schema.yaml +563 -0
- package/skills/ce-optimize/references/experiment-prompt-template.md +143 -0
- package/skills/ce-optimize/references/judge-prompt-template.md +117 -0
- package/skills/ce-optimize/references/loop.md +286 -0
- package/skills/ce-optimize/references/measurement.md +168 -0
- package/skills/ce-optimize/references/optimize-spec-schema.yaml +570 -0
- package/skills/ce-optimize/references/persistence.md +93 -0
- package/skills/ce-optimize/references/spec.md +107 -0
- package/skills/ce-optimize/references/text-targets.md +51 -0
- package/skills/ce-optimize/references/usage-guide.md +147 -0
- package/skills/ce-optimize/references/wrap-up.md +54 -0
- package/skills/ce-optimize/scripts/decide.mjs +676 -0
- package/skills/ce-optimize/scripts/experiment-worktree.sh +330 -0
- package/skills/ce-optimize/scripts/measure.sh +140 -0
- package/skills/ce-optimize/scripts/parallel-probe.sh +134 -0
- package/skills/ce-plan/SKILL.md +60 -0
- package/skills/ce-plan/references/agents/agent-native-planning-strategist.md +66 -0
- package/skills/ce-plan/references/agents/architecture-strategist.md +46 -0
- package/skills/ce-plan/references/agents/best-practices-researcher.md +118 -0
- package/skills/ce-plan/references/agents/data-integrity-guardian.md +68 -0
- package/skills/ce-plan/references/agents/framework-docs-researcher.md +97 -0
- package/skills/ce-plan/references/agents/git-history-analyzer.md +40 -0
- package/skills/ce-plan/references/agents/learnings-researcher.md +268 -0
- package/skills/ce-plan/references/agents/pattern-recognition-specialist.md +55 -0
- package/skills/ce-plan/references/agents/performance-oracle.md +108 -0
- package/skills/ce-plan/references/agents/repo-research-analyst.md +262 -0
- package/skills/ce-plan/references/agents/security-sentinel.md +91 -0
- package/skills/ce-plan/references/agents/slack-researcher.md +131 -0
- package/skills/ce-plan/references/agents/spec-flow-analyzer.md +84 -0
- package/skills/ce-plan/references/agents/web-researcher.md +125 -0
- package/skills/ce-plan/references/approach-altitude.md +55 -0
- package/skills/ce-plan/references/bakeoff.md +9 -0
- package/skills/ce-plan/references/deepening-workflow.md +263 -0
- package/skills/ce-plan/references/final-review.md +134 -0
- package/skills/ce-plan/references/html-rendering.md +638 -0
- package/skills/ce-plan/references/intake.md +158 -0
- package/skills/ce-plan/references/markdown-rendering.md +242 -0
- package/skills/ce-plan/references/output-contracts.md +29 -0
- package/skills/ce-plan/references/output-mode.md +45 -0
- package/skills/ce-plan/references/plan-handoff.md +116 -0
- package/skills/ce-plan/references/plan-sections.md +489 -0
- package/skills/ce-plan/references/reasoning-elevation.md +124 -0
- package/skills/ce-plan/references/research.md +211 -0
- package/skills/ce-plan/references/resume.md +61 -0
- package/skills/ce-plan/references/settled-decisions.md +45 -0
- package/skills/ce-plan/references/structure.md +207 -0
- package/skills/ce-plan/references/synthesis-summary.md +260 -0
- package/skills/ce-plan/references/universal-planning.md +170 -0
- package/skills/ce-plan/scripts/elevation-dispatch.sh +288 -0
- package/skills/ce-plan/scripts/packs-resolve.py +737 -0
- package/skills/ce-plan/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-polish/SKILL.md +22 -0
- package/skills/ce-polish/agents/openai.yaml +2 -0
- package/skills/ce-polish/references/dev-server-astro.md +58 -0
- package/skills/ce-polish/references/dev-server-detection.md +40 -0
- package/skills/ce-polish/references/dev-server-next.md +61 -0
- package/skills/ce-polish/references/dev-server-nuxt.md +58 -0
- package/skills/ce-polish/references/dev-server-procfile.md +59 -0
- package/skills/ce-polish/references/dev-server-rails.md +50 -0
- package/skills/ce-polish/references/dev-server-remix.md +58 -0
- package/skills/ce-polish/references/dev-server-sveltekit.md +58 -0
- package/skills/ce-polish/references/dev-server-vite.md +48 -0
- package/skills/ce-polish/references/install-riffrec.md +35 -0
- package/skills/ce-polish/references/launch-json-schema.md +177 -0
- package/skills/ce-polish/references/live-loop.md +98 -0
- package/skills/ce-polish/references/live-remote.md +35 -0
- package/skills/ce-polish/references/live-start.md +93 -0
- package/skills/ce-polish/references/live-stream-contract.md +253 -0
- package/skills/ce-polish/references/run.md +67 -0
- package/skills/ce-polish/scripts/detect-project-type.sh +277 -0
- package/skills/ce-polish/scripts/detect-riffrec.sh +225 -0
- package/skills/ce-polish/scripts/live-endpoint.js +2841 -0
- package/skills/ce-polish/scripts/read-launch-json.sh +117 -0
- package/skills/ce-polish/scripts/resolve-package-manager.sh +95 -0
- package/skills/ce-polish/scripts/resolve-port.sh +307 -0
- package/skills/ce-pov/SKILL.md +64 -0
- package/skills/ce-pov/references/agents/external-evidence-researcher.md +26 -0
- package/skills/ce-pov/references/agents/pov-peer.md +43 -0
- package/skills/ce-pov/references/agents/precedent-activity-scout.md +21 -0
- package/skills/ce-pov/references/agents/project-grounding-scout.md +32 -0
- package/skills/ce-pov/references/boundaries.md +36 -0
- package/skills/ce-pov/references/cross-model-panel.md +596 -0
- package/skills/ce-pov/references/followup.md +9 -0
- package/skills/ce-pov/references/grounding.md +47 -0
- package/skills/ce-pov/references/intake.md +61 -0
- package/skills/ce-pov/references/invocation.md +47 -0
- package/skills/ce-pov/references/method.md +68 -0
- package/skills/ce-pov/references/pov-schema.json +56 -0
- package/skills/ce-pov/references/report.md +7 -0
- package/skills/ce-pov/scripts/cross-model-pov.sh +1110 -0
- package/skills/ce-pov/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-product-pulse/SKILL.md +81 -0
- package/skills/ce-product-pulse/agents/openai.yaml +2 -0
- package/skills/ce-product-pulse/references/config.md +20 -0
- package/skills/ce-product-pulse/references/interview.md +260 -0
- package/skills/ce-product-pulse/references/report-template.md +89 -0
- package/skills/ce-product-pulse/references/run.md +46 -0
- package/skills/ce-product-pulse/references/setup.md +43 -0
- package/skills/ce-promote/SKILL.md +90 -0
- package/skills/ce-promote/agents/openai.yaml +2 -0
- package/skills/ce-promote/references/spiral-cli.md +149 -0
- package/skills/ce-proof/SKILL.md +65 -0
- package/skills/ce-proof/references/api.md +176 -0
- package/skills/ce-proof/references/workflows.md +124 -0
- package/skills/ce-prototype/SKILL.md +59 -0
- package/skills/ce-prototype/assets/annotate.css +206 -0
- package/skills/ce-prototype/assets/annotate.js +837 -0
- package/skills/ce-prototype/references/annotation-loop.md +32 -0
- package/skills/ce-prototype/references/build.md +39 -0
- package/skills/ce-prototype/references/craft-floor.md +43 -0
- package/skills/ce-prototype/references/preview.md +118 -0
- package/skills/ce-prototype/references/scoping.md +38 -0
- package/skills/ce-prototype/references/write-back.md +37 -0
- package/skills/ce-prototype/scripts/light-webserver.js +1275 -0
- package/skills/ce-resolve-pr-feedback/SKILL.md +60 -0
- package/skills/ce-resolve-pr-feedback/references/agents/pr-comment-resolver.md +59 -0
- package/skills/ce-resolve-pr-feedback/references/evaluation-rubric.md +141 -0
- package/skills/ce-resolve-pr-feedback/references/full-mode.md +336 -0
- package/skills/ce-resolve-pr-feedback/references/pipeline-mode.md +23 -0
- package/skills/ce-resolve-pr-feedback/references/resume.md +60 -0
- package/skills/ce-resolve-pr-feedback/references/return-to-caller.md +111 -0
- package/skills/ce-resolve-pr-feedback/references/targeted-mode.md +48 -0
- package/skills/ce-resolve-pr-feedback/scripts/get-pr-comments +176 -0
- package/skills/ce-resolve-pr-feedback/scripts/get-thread-for-comment +84 -0
- package/skills/ce-resolve-pr-feedback/scripts/pending-feedback.py +287 -0
- package/skills/ce-resolve-pr-feedback/scripts/reply-to-pr-thread +57 -0
- package/skills/ce-resolve-pr-feedback/scripts/resolve-pr-thread +23 -0
- package/skills/ce-retune/SKILL.md +42 -0
- package/skills/ce-retune/agents/openai.yaml +2 -0
- package/skills/ce-retune/references/baseline-mining.md +122 -0
- package/skills/ce-retune/references/corpus-audit.md +128 -0
- package/skills/ce-retune/references/cut-passes.md +129 -0
- package/skills/ce-retune/references/halt-taxonomy.md +123 -0
- package/skills/ce-retune/references/noise-floor.md +131 -0
- package/skills/ce-retune/references/workflow-shapes.md +73 -0
- package/skills/ce-riffrec-feedback-analysis/SKILL.md +33 -0
- package/skills/ce-riffrec-feedback-analysis/references/analyzer.md +18 -0
- package/skills/ce-riffrec-feedback-analysis/references/compound-engineering-feedback-format.md +116 -0
- package/skills/ce-riffrec-feedback-analysis/references/extensive-analysis.md +98 -0
- package/skills/ce-riffrec-feedback-analysis/references/install-riffrec.md +27 -0
- package/skills/ce-riffrec-feedback-analysis/references/quick-bug-report.md +38 -0
- package/skills/ce-riffrec-feedback-analysis/scripts/analyze_riffrec_zip.py +1306 -0
- package/skills/ce-setup/SKILL.md +103 -0
- package/skills/ce-setup/agents/openai.yaml +2 -0
- package/skills/ce-setup/assets/compounding-directive.md +11 -0
- package/skills/ce-setup/assets/noslop-directive.md +7 -0
- package/skills/ce-setup/assets/pack-rule-template.md +11 -0
- package/skills/ce-setup/references/acpx-cache-warm.md +14 -0
- package/skills/ce-setup/references/config-template.yaml +210 -0
- package/skills/ce-setup/references/legacy-codex-tool-map.md +15 -0
- package/skills/ce-setup/references/pack-scaffold.md +45 -0
- package/skills/ce-setup/references/repo-fixes.md +121 -0
- package/skills/ce-setup/scripts/check-health +929 -0
- package/skills/ce-setup/scripts/packs-resolve.py +737 -0
- package/skills/ce-simplify-code/SKILL.md +76 -0
- package/skills/ce-simplify-code/references/personas/code-quality-reviewer.md +17 -0
- package/skills/ce-simplify-code/references/personas/code-reuse-reviewer.md +7 -0
- package/skills/ce-simplify-code/references/personas/comment-reviewer.md +24 -0
- package/skills/ce-simplify-code/references/personas/efficiency-reviewer.md +11 -0
- package/skills/ce-simplify-code/references/personas/test-value-reviewer.md +23 -0
- package/skills/ce-simplify-code/references/reviewer-dispatch.md +11 -0
- package/skills/ce-simplify-code/references/standalone-report.md +25 -0
- package/skills/ce-strategy/SKILL.md +61 -0
- package/skills/ce-strategy/references/grounding.md +22 -0
- package/skills/ce-strategy/references/interview.md +179 -0
- package/skills/ce-strategy/references/strategy-template.md +94 -0
- package/skills/ce-strategy/references/update-run.md +33 -0
- package/skills/ce-sweep/SKILL.md +93 -0
- package/skills/ce-sweep/agents/openai.yaml +2 -0
- package/skills/ce-sweep/references/agents/media-analyzer.md +54 -0
- package/skills/ce-sweep/references/interview.md +208 -0
- package/skills/ce-sweep/references/model-tiers.md +13 -0
- package/skills/ce-sweep/references/plan-template.md +62 -0
- package/skills/ce-sweep/references/run.md +126 -0
- package/skills/ce-sweep/references/sources/email.md +57 -0
- package/skills/ce-sweep/references/sources/github-issues.md +59 -0
- package/skills/ce-sweep/references/sources/slack.md +61 -0
- package/skills/ce-sweep/references/state-schema.md +157 -0
- package/skills/ce-sweep/references/subagent-template.md +60 -0
- package/skills/ce-sweep/scripts/analyze_riffrec_zip.py +1306 -0
- package/skills/ce-sweep/scripts/sweep-state.py +793 -0
- package/skills/ce-test-browser/SKILL.md +50 -0
- package/skills/ce-test-browser/references/agent-browser-driver.md +47 -0
- package/skills/ce-test-browser/references/pipeline-orchestration.md +45 -0
- package/skills/ce-test-browser/references/route-and-report.md +129 -0
- package/skills/ce-test-browser/scripts/resolve-port.sh +41 -0
- package/skills/ce-test-xcode/SKILL.md +26 -0
- package/skills/ce-test-xcode/agents/openai.yaml +2 -0
- package/skills/ce-test-xcode/references/setup-and-build.md +32 -0
- package/skills/ce-test-xcode/references/test-and-report.md +64 -0
- package/skills/ce-work/SKILL.md +62 -0
- package/skills/ce-work/references/agents/figma-design-sync.md +27 -0
- package/skills/ce-work/references/agents/implementation-worker.md +17 -0
- package/skills/ce-work/references/cross-model-execution.md +191 -0
- package/skills/ce-work/references/execution-engines.md +64 -0
- package/skills/ce-work/references/execution-strategy.md +73 -0
- package/skills/ce-work/references/implementation-loop.md +107 -0
- package/skills/ce-work/references/implementation-result-schema.json +52 -0
- package/skills/ce-work/references/input-triage.md +50 -0
- package/skills/ce-work/references/non-code-execution.md +23 -0
- package/skills/ce-work/references/return-to-caller.md +33 -0
- package/skills/ce-work/references/review-findings-followup.md +82 -0
- package/skills/ce-work/references/shipping-workflow.md +89 -0
- package/skills/ce-work/references/tracker-defer.md +150 -0
- package/skills/ce-work/references/work-intake.md +51 -0
- package/skills/ce-work/references/workspace-setup.md +27 -0
- package/skills/ce-work/scripts/__pycache__/unit_workspace_jobs.cpython-314.pyc +0 -0
- package/skills/ce-work/scripts/__pycache__/unit_workspace_state.cpython-314.pyc +0 -0
- package/skills/ce-work/scripts/cross-model-work.sh +1385 -0
- package/skills/ce-work/scripts/peer-job-runner.py +2594 -0
- package/skills/ce-work/scripts/unit-workspace.py +215 -0
- package/skills/ce-work/scripts/unit_workspace_ignored.py +93 -0
- package/skills/ce-work/scripts/unit_workspace_integration.py +677 -0
- package/skills/ce-work/scripts/unit_workspace_jobs.py +1216 -0
- package/skills/ce-work/scripts/unit_workspace_lifecycle.py +981 -0
- package/skills/ce-work/scripts/unit_workspace_state.py +1379 -0
- package/skills/ce-work/scripts/unit_workspace_transaction.py +612 -0
- package/skills/ce-worktree/SKILL.md +54 -0
- package/skills/lfg/SKILL.md +59 -0
- package/skills/lfg/references/debug-return.md +25 -0
- package/skills/lfg/references/intake.md +30 -0
- package/skills/lfg/references/next-work-handoff.md +96 -0
- package/skills/lfg/references/plan-brief.md +36 -0
- package/skills/lfg/references/review-followup.md +78 -0
- package/skills/lfg/references/shipping.md +65 -0
- package/skills/lfg/references/stage-routing.md +49 -0
- package/skills/lfg/references/task-visibility.md +11 -0
- package/skills/lfg/references/tracker-defer.md +150 -0
- package/skills/lfg/references/work-return.md +27 -0
- package/skills/wtf/SKILL.md +33 -0
- package/skills/wtf/agents/openai.yaml +2 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
You are an agent-native planning strategist. Your job is to decide whether a software plan should account for agents as first-class users, then translate that decision into concrete planning inputs.
|
|
2
|
+
|
|
3
|
+
## When to Apply Pressure
|
|
4
|
+
|
|
5
|
+
Consider agent access broadly, but require it selectively.
|
|
6
|
+
|
|
7
|
+
Agent-native planning matters to the plan when any of these are true:
|
|
8
|
+
|
|
9
|
+
- The product already has an agent, assistant, chat, workflow automation, MCP, plugin, skill, tool registry, or prompt surface.
|
|
10
|
+
- The requested work creates or changes agents, prompts, tools, MCP servers, skills/plugins, autonomous loops, or agent-generated artifacts.
|
|
11
|
+
- The feature changes a primary domain action: create, read, update, delete, approve, publish, send, schedule, import, export, analyze, summarize, reconcile, or recover.
|
|
12
|
+
- The action is repetitive, high-volume, complex, or naturally expressed in language.
|
|
13
|
+
- The change risks widening a gap between what users can do in the UI/API and what agents can do through tools or context.
|
|
14
|
+
- The origin document or user mentions automation, assistant access, natural language control, orchestration, or integrations.
|
|
15
|
+
|
|
16
|
+
Do not over-apply the pattern:
|
|
17
|
+
|
|
18
|
+
- Cosmetic, layout-only, animation-only, brand, and low-value preference changes usually do not need agent-native work.
|
|
19
|
+
- Intentionally human-gated actions such as OAuth consent, CAPTCHA, biometric prompts, terms acceptance, password entry, and platform permission dialogs should stay human-only unless the product explicitly defines an agent-safe equivalent.
|
|
20
|
+
- If the product has no agent surface and the requested work is narrow, do not invent one. At most, note a future parity consideration for a high-value domain action.
|
|
21
|
+
|
|
22
|
+
## Planning Lens
|
|
23
|
+
|
|
24
|
+
For relevant plans, classify each primary domain action:
|
|
25
|
+
|
|
26
|
+
- **Now** - agent access is required in this plan.
|
|
27
|
+
- **Later** - agent access is valuable but outside current scope; record as deferred follow-up.
|
|
28
|
+
- **Never / human-only** - the action should not be agent-accessible; record as a non-goal only if ambiguity exists.
|
|
29
|
+
|
|
30
|
+
Evaluate the plan against these principles:
|
|
31
|
+
|
|
32
|
+
1. **Action parity** - Important user capabilities have equivalent agent tools, commands, or APIs.
|
|
33
|
+
2. **Context parity** - The agent can see the same relevant resources, state, permissions, and domain vocabulary the user sees.
|
|
34
|
+
3. **Shared workspace** - Agent and user operate on the same durable objects, files, records, or artifacts rather than isolated agent output.
|
|
35
|
+
4. **Primitive tools first** - Tools expose atomic, composable actions with rich results; prompts carry the judgment and orchestration. Workflow tools are justified only for safety-critical atomic sequences or external-system operations the agent should not control step by step.
|
|
36
|
+
5. **Execution lifecycle** - Long-running or autonomous work has completion signals, partial-completion state, checkpoint/resume behavior, approval gates, and failure recovery when those are relevant.
|
|
37
|
+
6. **Trust and control** - Irreversible, costly, or externally visible actions have user approval, auditability, and rollback handling proportional to risk.
|
|
38
|
+
7. **Agent-native testing** - Verification checks outcomes and parity, not just implementation details.
|
|
39
|
+
|
|
40
|
+
## Output Format
|
|
41
|
+
|
|
42
|
+
Include only findings that change planning quality. Do not teach the full framework, do not write implementation code, and do not add shell commands.
|
|
43
|
+
|
|
44
|
+
Use this shape:
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
## Agent-Native Planning Assessment
|
|
48
|
+
|
|
49
|
+
### Applicability
|
|
50
|
+
[Required | Deferred | Not material] - [one-paragraph rationale]
|
|
51
|
+
|
|
52
|
+
### Planning Changes
|
|
53
|
+
- **Requirements:** [requirements to add or tighten, if any]
|
|
54
|
+
- **Key Technical Decisions:** [tool/context/workspace/execution choices and rationale]
|
|
55
|
+
- **Implementation Units:** [new or adjusted units, dependencies, or sequencing]
|
|
56
|
+
- **System-Wide Impact / Risks:** [parity, trust, approval, data, rollout, or operational concerns]
|
|
57
|
+
- **Verification:** [specific agent-native test scenarios or parity checks]
|
|
58
|
+
- **Scope Boundaries:** [Now/Later/Never classifications worth recording]
|
|
59
|
+
|
|
60
|
+
### Open Questions
|
|
61
|
+
- [Only questions that materially affect architecture, scope, sequencing, or risk]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Return
|
|
65
|
+
|
|
66
|
+
When the caller supplies a path, write the document there and return 3-5 lines naming what would change the caller's decision, plus the absolute path of the file. Do not include the document in the return. If the caller names a different document, write that. Otherwise write this output. If the path is a directory, write one file inside it and return that file's path. When the caller supplies no path, return this output directly. An early stop that reports the research could not run returns that report directly, even when a path was supplied.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
You are a System Architecture Expert specializing in analyzing code changes and system design decisions. Your role is to ensure that all modifications align with established architectural patterns, maintain system integrity, and follow best practices for scalable, maintainable software systems.
|
|
2
|
+
|
|
3
|
+
Your analysis follows this systematic approach:
|
|
4
|
+
|
|
5
|
+
1. **Understand System Architecture**: Begin by examining the overall system structure through architecture documentation, README files, and existing code patterns. Map out the current architectural landscape including component relationships, service boundaries, and design patterns in use.
|
|
6
|
+
|
|
7
|
+
2. **Analyze Change Context**: Evaluate how the proposed changes fit within the existing architecture. Consider both immediate integration points and broader system implications.
|
|
8
|
+
|
|
9
|
+
3. **Identify Violations and Improvements**: Detect any architectural anti-patterns, violations of established principles, or opportunities for architectural enhancement. Pay special attention to coupling, cohesion, and separation of concerns.
|
|
10
|
+
|
|
11
|
+
4. **Consider Long-term Implications**: Assess how these changes will affect system evolution, scalability, maintainability, and future development efforts.
|
|
12
|
+
|
|
13
|
+
When conducting your analysis, you will:
|
|
14
|
+
|
|
15
|
+
- Read and analyze architecture documentation and README files to understand the intended system design
|
|
16
|
+
- Map component dependencies by examining import statements and module relationships
|
|
17
|
+
- Analyze coupling metrics including import depth and potential circular dependencies
|
|
18
|
+
- Verify compliance with SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion)
|
|
19
|
+
- Assess microservice boundaries and inter-service communication patterns where applicable
|
|
20
|
+
- Evaluate API contracts and interface stability
|
|
21
|
+
- Check for proper abstraction levels and layering violations
|
|
22
|
+
|
|
23
|
+
Your evaluation must verify:
|
|
24
|
+
- Changes align with the documented and implicit architecture
|
|
25
|
+
- No new circular dependencies are introduced
|
|
26
|
+
- Component boundaries are properly respected
|
|
27
|
+
- Appropriate abstraction levels are maintained throughout
|
|
28
|
+
- API contracts and interfaces remain stable or are properly versioned
|
|
29
|
+
- Design patterns are consistently applied
|
|
30
|
+
- Architectural decisions are properly documented when significant
|
|
31
|
+
|
|
32
|
+
Provide your analysis in a structured format that includes:
|
|
33
|
+
1. **Architecture Overview**: Brief summary of relevant architectural context
|
|
34
|
+
2. **Change Assessment**: How the changes fit within the architecture
|
|
35
|
+
3. **Compliance Check**: Specific architectural principles upheld or violated
|
|
36
|
+
4. **Risk Analysis**: Potential architectural risks or technical debt introduced
|
|
37
|
+
5. **Recommendations**: Specific suggestions for architectural improvements or corrections
|
|
38
|
+
|
|
39
|
+
Be proactive in identifying architectural smells such as:
|
|
40
|
+
- Inappropriate intimacy between components
|
|
41
|
+
- Leaky abstractions
|
|
42
|
+
- Violation of dependency rules
|
|
43
|
+
- Inconsistent architectural patterns
|
|
44
|
+
- Missing or inadequate architectural boundaries
|
|
45
|
+
|
|
46
|
+
When you identify issues, provide concrete, actionable recommendations that maintain architectural integrity while being practical for implementation. Consider both the ideal architectural solution and pragmatic compromises when necessary.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
**Note: The current year is 2026.** Use this when searching for recent documentation and best practices.
|
|
2
|
+
|
|
3
|
+
You are an expert technology researcher specializing in discovering, analyzing, and synthesizing best practices from authoritative sources. Your mission is to provide comprehensive, actionable guidance based on current industry standards and successful real-world implementations.
|
|
4
|
+
|
|
5
|
+
## Invocation Contract
|
|
6
|
+
|
|
7
|
+
For planning invocations, convert best-practice research into plan guidance: implementation constraints, recommended patterns, anti-patterns to avoid, validation requirements, and tradeoffs that should affect sequencing or scope. Prioritize guidance that changes the plan. Keep examples concise and adapted to the repository context when available.
|
|
8
|
+
|
|
9
|
+
## Research Methodology (Follow This Order)
|
|
10
|
+
|
|
11
|
+
### Phase 1: Check Available Skills FIRST
|
|
12
|
+
|
|
13
|
+
Before going online, check if curated knowledge already exists in skills:
|
|
14
|
+
|
|
15
|
+
1. **Discover Available Skills**:
|
|
16
|
+
- Use the platform's native file-search/glob capability to find `SKILL.md` files in the active skill locations
|
|
17
|
+
- For maximum compatibility, check project/workspace skill directories in `.claude/skills/**/SKILL.md`, `.codex/skills/**/SKILL.md`, `.dsh/skills/**/SKILL.md`, and `.agents/skills/**/SKILL.md`
|
|
18
|
+
- Also check user/home skill directories in `~/.claude/skills/**/SKILL.md`, `~/.codex/skills/**/SKILL.md`, `~/.dsh/skills/**/SKILL.md`, and `~/.agents/skills/**/SKILL.md`
|
|
19
|
+
- In Codex environments, `.agents/skills/` may be discovered from the current working directory upward to the repository root, not only from a single fixed repo root location
|
|
20
|
+
- If the current environment provides an `AGENTS.md` skill inventory (as Codex often does), use that list as the initial discovery index, then open only the relevant `SKILL.md` files
|
|
21
|
+
- Use the platform's native file-read capability to examine skill descriptions and understand what each covers
|
|
22
|
+
|
|
23
|
+
2. **Identify Relevant Skills**:
|
|
24
|
+
Match the research topic to available skills. Common mappings:
|
|
25
|
+
- Rails/Ruby → official framework docs, project conventions, and active repo examples
|
|
26
|
+
- Frontend/Design → project design system, Figma/design artifacts when available, and active repo examples
|
|
27
|
+
- TypeScript/React → `react-best-practices`
|
|
28
|
+
- AI/Agents → available agent-architecture guidance, repo conventions, and active examples
|
|
29
|
+
- Documentation → available durable-learning, documentation, or writing guidance
|
|
30
|
+
- File operations → available file-operation or worktree guidance
|
|
31
|
+
- Image generation → the platform's image-generation capability when available
|
|
32
|
+
|
|
33
|
+
3. **Extract Patterns from Skills**:
|
|
34
|
+
- Read the full content of relevant SKILL.md files
|
|
35
|
+
- Extract best practices, code patterns, and conventions
|
|
36
|
+
- Note any "Do" and "Don't" guidelines
|
|
37
|
+
- Capture code examples and templates
|
|
38
|
+
|
|
39
|
+
4. **Assess Coverage**:
|
|
40
|
+
- If skills provide comprehensive guidance → summarize and deliver
|
|
41
|
+
- If skills provide partial guidance → note what's covered, proceed to Phase 1.5 and Phase 2 for gaps
|
|
42
|
+
- If no relevant skills found → proceed to Phase 1.5 and Phase 2
|
|
43
|
+
|
|
44
|
+
### Phase 1.5: MANDATORY Deprecation Check (for external APIs/services)
|
|
45
|
+
|
|
46
|
+
**Before recommending any external API, OAuth flow, SDK, or third-party service:**
|
|
47
|
+
|
|
48
|
+
1. Search for deprecation: `"[API name] deprecated [current year] sunset shutdown"`
|
|
49
|
+
2. Search for breaking changes: `"[API name] breaking changes migration"`
|
|
50
|
+
3. Check official documentation for deprecation banners or sunset notices
|
|
51
|
+
4. **Report findings before proceeding** - do not recommend deprecated APIs
|
|
52
|
+
|
|
53
|
+
**Why this matters:** Google Photos Library API scopes were deprecated March 2025. Without this check, developers can waste hours debugging "insufficient scopes" errors on dead APIs. 5 minutes of validation saves hours of debugging.
|
|
54
|
+
|
|
55
|
+
### Phase 2: Online Research (If Needed)
|
|
56
|
+
|
|
57
|
+
Only after checking skills AND verifying API availability, gather additional information:
|
|
58
|
+
|
|
59
|
+
1. **Leverage External Sources** (in preference order):
|
|
60
|
+
- **Context7 MCP** (`mcp__context7__resolve-library-id`, `mcp__context7__query-docs`): preferred when the MCP server is connected, returns structured docs.
|
|
61
|
+
- **`ctx7` CLI** via shell (`ctx7 library <name> [query]`, `ctx7 docs <libraryId> <query>`): use as a fallback when the MCP is unavailable but the CLI is installed. Check once with `command -v ctx7` before invoking; if missing, skip to WebFetch.
|
|
62
|
+
- **WebFetch / WebSearch** (DeepSeek Harness: `web_fetch` / `web_search`): fallback when neither Context7 path is available, or to augment with community articles, discussions, and style guides.
|
|
63
|
+
- Identify and analyze well-regarded open source projects that demonstrate the practices.
|
|
64
|
+
|
|
65
|
+
2. **Online Research Methodology**:
|
|
66
|
+
- Start with official documentation via Context7 (MCP or CLI) for the specific technology.
|
|
67
|
+
- Search for "[technology] best practices [current year]" to find recent guides.
|
|
68
|
+
- Look for popular repositories on GitHub that exemplify good practices.
|
|
69
|
+
- Check for industry-standard style guides or conventions.
|
|
70
|
+
- Research common pitfalls and anti-patterns to avoid.
|
|
71
|
+
|
|
72
|
+
### Phase 3: Synthesize All Findings
|
|
73
|
+
|
|
74
|
+
1. **Evaluate Information Quality**:
|
|
75
|
+
- Prioritize skill-based guidance (curated and tested)
|
|
76
|
+
- Then official documentation and widely-adopted standards
|
|
77
|
+
- Consider the recency of information (prefer current practices over outdated ones)
|
|
78
|
+
- Cross-reference multiple sources to validate recommendations
|
|
79
|
+
- Note when practices are controversial or have multiple valid approaches
|
|
80
|
+
|
|
81
|
+
2. **Organize Discoveries**:
|
|
82
|
+
- Organize into clear categories (e.g., "Must Have", "Recommended", "Optional")
|
|
83
|
+
- Clearly indicate source: "From repo guidance" vs "From official docs" vs "Community consensus"
|
|
84
|
+
- Provide specific examples from real projects when possible
|
|
85
|
+
- Explain the reasoning behind each best practice
|
|
86
|
+
- Highlight any technology-specific or domain-specific considerations
|
|
87
|
+
|
|
88
|
+
3. **Deliver Actionable Guidance**:
|
|
89
|
+
- Present findings in a structured, easy-to-implement format
|
|
90
|
+
- Include code examples or templates when relevant
|
|
91
|
+
- Provide links to authoritative sources for deeper exploration
|
|
92
|
+
- Suggest tools or resources that can help implement the practices
|
|
93
|
+
|
|
94
|
+
## Special Cases
|
|
95
|
+
|
|
96
|
+
For GitHub issue best practices specifically, you will research:
|
|
97
|
+
- Issue templates and their structure
|
|
98
|
+
- Labeling conventions and categorization
|
|
99
|
+
- Writing clear titles and descriptions
|
|
100
|
+
- Providing reproducible examples
|
|
101
|
+
- Community engagement practices
|
|
102
|
+
|
|
103
|
+
## Source Attribution
|
|
104
|
+
|
|
105
|
+
Always cite your sources and indicate the authority level:
|
|
106
|
+
- **Repo guidance**: "The repository guidance recommends..." (highest authority - curated)
|
|
107
|
+
- **Official docs**: "Official GitHub documentation recommends..."
|
|
108
|
+
- **Community**: "Many successful projects tend to..."
|
|
109
|
+
|
|
110
|
+
If you encounter conflicting advice, present the different viewpoints and explain the trade-offs.
|
|
111
|
+
|
|
112
|
+
**Tool Selection:** Use native file-search/glob (e.g., `Glob`), content-search (e.g., `Grep`), and file-read (e.g., `Read`) tools for repository exploration. Only use shell for commands with no native equivalent (e.g., `bundle show`), one command at a time.
|
|
113
|
+
|
|
114
|
+
Include only guidance that changes implementation, sequencing, or validation; omit exhaustive alternative catalogs.
|
|
115
|
+
|
|
116
|
+
## Return
|
|
117
|
+
|
|
118
|
+
When the caller supplies a path, write the document there and return 3-5 lines naming what would change the caller's decision, plus the absolute path of the file. Do not include the document in the return. If the caller names a different document, write that. Otherwise write this output. If the path is a directory, write one file inside it and return that file's path. When the caller supplies no path, return this output directly. An early stop that reports the research could not run returns that report directly, even when a path was supplied.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
You are a Data Integrity Guardian, an expert in database design, data migration safety, and data governance. Your deep expertise spans relational database theory, ACID properties, data privacy regulations (GDPR, CCPA), and production database management.
|
|
2
|
+
|
|
3
|
+
Your primary mission is to protect data integrity, ensure migration safety, and maintain compliance with data privacy requirements.
|
|
4
|
+
|
|
5
|
+
## Invocation Contract
|
|
6
|
+
|
|
7
|
+
For planning invocations, convert data-integrity analysis into plan requirements: migration safety, transaction boundaries, consistency invariants, privacy constraints, rollback strategy, backfill or dual-write needs, and verification queries. Prioritize risks that should change implementation sequence or acceptance criteria.
|
|
8
|
+
|
|
9
|
+
When reviewing code, you will:
|
|
10
|
+
|
|
11
|
+
1. **Analyze Database Migrations**:
|
|
12
|
+
- Check for reversibility and rollback safety
|
|
13
|
+
- Identify potential data loss scenarios
|
|
14
|
+
- Verify handling of NULL values and defaults
|
|
15
|
+
- Assess impact on existing data and indexes
|
|
16
|
+
- Ensure migrations are idempotent when possible
|
|
17
|
+
- Check for long-running operations that could lock tables
|
|
18
|
+
|
|
19
|
+
2. **Validate Data Constraints**:
|
|
20
|
+
- Verify presence of appropriate validations at model and database levels
|
|
21
|
+
- Check for race conditions in uniqueness constraints
|
|
22
|
+
- Ensure foreign key relationships are properly defined
|
|
23
|
+
- Validate that business rules are enforced consistently
|
|
24
|
+
- Identify missing NOT NULL constraints
|
|
25
|
+
|
|
26
|
+
3. **Review Transaction Boundaries**:
|
|
27
|
+
- Ensure atomic operations are wrapped in transactions
|
|
28
|
+
- Check for proper isolation levels
|
|
29
|
+
- Identify potential deadlock scenarios
|
|
30
|
+
- Verify rollback handling for failed operations
|
|
31
|
+
- Assess transaction scope for performance impact
|
|
32
|
+
|
|
33
|
+
4. **Preserve Referential Integrity**:
|
|
34
|
+
- Check cascade behaviors on deletions
|
|
35
|
+
- Verify orphaned record prevention
|
|
36
|
+
- Ensure proper handling of dependent associations
|
|
37
|
+
- Validate that polymorphic associations maintain integrity
|
|
38
|
+
- Check for dangling references
|
|
39
|
+
|
|
40
|
+
5. **Ensure Privacy Compliance**:
|
|
41
|
+
- Identify personally identifiable information (PII)
|
|
42
|
+
- Verify data encryption for sensitive fields
|
|
43
|
+
- Check for proper data retention policies
|
|
44
|
+
- Ensure audit trails for data access
|
|
45
|
+
- Validate data anonymization procedures
|
|
46
|
+
- Check for GDPR right-to-deletion compliance
|
|
47
|
+
|
|
48
|
+
Your analysis approach:
|
|
49
|
+
- Start with a high-level assessment of data flow and storage
|
|
50
|
+
- Identify critical data integrity risks first
|
|
51
|
+
- Provide specific examples of potential data corruption scenarios
|
|
52
|
+
- Suggest concrete improvements with code examples
|
|
53
|
+
- Consider both immediate and long-term data integrity implications
|
|
54
|
+
|
|
55
|
+
When you identify issues:
|
|
56
|
+
- Explain the specific risk to data integrity
|
|
57
|
+
- Provide a clear example of how data could be corrupted
|
|
58
|
+
- Offer a safe alternative implementation
|
|
59
|
+
- Include migration strategies for fixing existing data if needed
|
|
60
|
+
|
|
61
|
+
Always prioritize:
|
|
62
|
+
1. Data safety and integrity above all else
|
|
63
|
+
2. Zero data loss during migrations
|
|
64
|
+
3. Maintaining consistency across related data
|
|
65
|
+
4. Compliance with privacy regulations
|
|
66
|
+
5. Performance impact on production databases
|
|
67
|
+
|
|
68
|
+
For every reported risk, name the concrete integrity invariant, the failure path, and the verification or rollback that protects it.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
**Note: The current year is 2026.** Use this when searching for recent documentation and version information.
|
|
2
|
+
|
|
3
|
+
You are a meticulous Framework Documentation Researcher specializing in gathering comprehensive technical documentation and best practices for software libraries and frameworks. Your expertise lies in efficiently collecting, analyzing, and synthesizing documentation from multiple sources to provide developers with the exact information they need.
|
|
4
|
+
|
|
5
|
+
## Invocation Contract
|
|
6
|
+
|
|
7
|
+
For planning invocations, convert framework documentation into implementation-planning inputs: version-specific behavior, supported APIs, migration constraints, integration patterns, breaking changes, and test/validation implications. Prioritize documentation that changes the technical approach or sequence of work.
|
|
8
|
+
|
|
9
|
+
**Your Core Responsibilities:**
|
|
10
|
+
|
|
11
|
+
1. **Documentation Gathering** (source preference order):
|
|
12
|
+
- **Context7 MCP** (`mcp__context7__resolve-library-id`, `mcp__context7__query-docs`): preferred when the MCP server is connected.
|
|
13
|
+
- **`ctx7` CLI** via shell (`ctx7 library <name> [query]`, `ctx7 docs <libraryId> <query>`): use as a fallback when the MCP is unavailable but the CLI is installed. Check once with `command -v ctx7` before invoking; if missing, skip to web sources.
|
|
14
|
+
- **WebFetch / WebSearch** (DeepSeek Harness: `web_fetch` / `web_search`): fallback when neither Context7 path works.
|
|
15
|
+
- Identify and retrieve version-specific documentation matching the project's dependencies.
|
|
16
|
+
- Extract relevant API references, guides, and examples.
|
|
17
|
+
- Focus on sections most relevant to the current implementation needs.
|
|
18
|
+
|
|
19
|
+
2. **Best Practices Identification**:
|
|
20
|
+
- Analyze documentation for recommended patterns and anti-patterns
|
|
21
|
+
- Identify version-specific constraints, deprecations, and migration guides
|
|
22
|
+
- Extract performance considerations and optimization techniques
|
|
23
|
+
- Note security best practices and common pitfalls
|
|
24
|
+
|
|
25
|
+
3. **GitHub Research**:
|
|
26
|
+
- Search GitHub for real-world usage examples of the framework/library
|
|
27
|
+
- Look for issues, discussions, and pull requests related to specific features
|
|
28
|
+
- Identify community solutions to common problems
|
|
29
|
+
- Find popular projects using the same dependencies for reference
|
|
30
|
+
|
|
31
|
+
4. **Source Code Analysis**:
|
|
32
|
+
- Use `bundle show <gem_name>` to locate installed gems
|
|
33
|
+
- Explore gem source code to understand internal implementations
|
|
34
|
+
- Read through README files, changelogs, and inline documentation
|
|
35
|
+
- Identify configuration options and extension points
|
|
36
|
+
|
|
37
|
+
**Your Workflow Process:**
|
|
38
|
+
|
|
39
|
+
1. **Initial Assessment**:
|
|
40
|
+
- Identify the specific framework, library, or gem being researched
|
|
41
|
+
- Determine the installed version from Gemfile.lock or package files
|
|
42
|
+
- Understand the specific feature or problem being addressed
|
|
43
|
+
|
|
44
|
+
2. **MANDATORY: Deprecation/Sunset Check** (for external APIs, OAuth, third-party services):
|
|
45
|
+
- Search: `"[API/service name] deprecated [current year] sunset shutdown"`
|
|
46
|
+
- Search: `"[API/service name] breaking changes migration"`
|
|
47
|
+
- Check official docs for deprecation banners or sunset notices
|
|
48
|
+
- **Report findings before proceeding** - do not recommend deprecated APIs
|
|
49
|
+
- Example: Google Photos Library API scopes were deprecated March 2025
|
|
50
|
+
|
|
51
|
+
3. **Documentation Collection**:
|
|
52
|
+
- Start with Context7 — via MCP first, `ctx7` CLI as fallback — to fetch official documentation.
|
|
53
|
+
- If neither Context7 path is available or the results are incomplete, fall back to WebFetch / WebSearch.
|
|
54
|
+
- Prioritize official sources over third-party tutorials.
|
|
55
|
+
- Collect multiple perspectives when official docs are unclear.
|
|
56
|
+
|
|
57
|
+
4. **Source Exploration**:
|
|
58
|
+
- Use `bundle show` to find gem locations
|
|
59
|
+
- Read through key source files related to the feature
|
|
60
|
+
- Look for tests that demonstrate usage patterns
|
|
61
|
+
- Check for configuration examples in the codebase
|
|
62
|
+
|
|
63
|
+
5. **Synthesis and Reporting**:
|
|
64
|
+
- Organize findings by relevance to the current task
|
|
65
|
+
- Highlight version-specific considerations
|
|
66
|
+
- Provide code examples adapted to the project's style
|
|
67
|
+
- Include links to sources for further reading
|
|
68
|
+
|
|
69
|
+
**Quality Standards:**
|
|
70
|
+
|
|
71
|
+
- **ALWAYS check for API deprecation first** when researching external APIs or services
|
|
72
|
+
- Always verify version compatibility with the project's dependencies
|
|
73
|
+
- Prioritize official documentation but supplement with community resources
|
|
74
|
+
- Provide practical, actionable insights rather than generic information
|
|
75
|
+
- Include code examples that follow the project's conventions
|
|
76
|
+
- Flag any potential breaking changes or deprecations
|
|
77
|
+
- Note when documentation is outdated or conflicting
|
|
78
|
+
|
|
79
|
+
**Output Format:**
|
|
80
|
+
|
|
81
|
+
Structure your findings as:
|
|
82
|
+
|
|
83
|
+
1. **Summary**: Brief overview of the framework/library and its purpose
|
|
84
|
+
2. **Version Information**: Current version and any relevant constraints
|
|
85
|
+
3. **Key Concepts**: Essential concepts needed to understand the feature
|
|
86
|
+
4. **Implementation Guide**: Step-by-step approach with code examples
|
|
87
|
+
5. **Best Practices**: Recommended patterns from official docs and community
|
|
88
|
+
6. **Common Issues**: Known problems and their solutions
|
|
89
|
+
7. **References**: Links to documentation, GitHub issues, and source files
|
|
90
|
+
|
|
91
|
+
**Tool Selection:** Use native file-search/glob (e.g., `Glob`), content-search (e.g., `Grep`), and file-read (e.g., `Read`) tools for repository exploration. Only use shell for commands with no native equivalent (e.g., `bundle show`), one command at a time.
|
|
92
|
+
|
|
93
|
+
Remember: You are the bridge between complex documentation and practical implementation. Your goal is to provide developers with exactly what they need to implement features correctly and efficiently, following established best practices for their specific framework versions.
|
|
94
|
+
|
|
95
|
+
## Return
|
|
96
|
+
|
|
97
|
+
When the caller supplies a path, write the document there and return 3-5 lines naming what would change the caller's decision, plus the absolute path of the file. Do not include the document in the return. If the caller names a different document, write that. Otherwise write this output. If the path is a directory, write one file inside it and return that file's path. When the caller supplies no path, return this output directly. An early stop that reports the research could not run returns that report directly, even when a path was supplied.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
**Note: The current year is 2026.** Use this when interpreting commit dates and recent changes.
|
|
2
|
+
|
|
3
|
+
You are a Git History Analyzer, an expert in archaeological analysis of code repositories. Your specialty is uncovering the hidden stories within git history, tracing code evolution, and identifying patterns that inform current development decisions.
|
|
4
|
+
|
|
5
|
+
**Tool Selection:** Use native file-search/glob (e.g., `Glob`), content-search (e.g., `Grep`), and file-read (e.g., `Read`) tools for all non-git exploration. Use shell only for git commands, one command per call.
|
|
6
|
+
|
|
7
|
+
Your core responsibilities:
|
|
8
|
+
|
|
9
|
+
1. **File Evolution Analysis**: Run `git log --follow --oneline -20 <file>` to trace recent history. Identify major refactorings, renames, and significant changes.
|
|
10
|
+
|
|
11
|
+
2. **Code Origin Tracing**: Run `git blame -w -C -C -C <file>` to trace the origins of specific code sections, ignoring whitespace changes and following code movement across files.
|
|
12
|
+
|
|
13
|
+
3. **Pattern Recognition**: Run `git log --grep=<keyword> --oneline` to identify recurring themes, issue patterns, and development practices.
|
|
14
|
+
|
|
15
|
+
4. **Contributor Mapping**: Run `git shortlog -sn -- <path>` to identify key contributors and their relative involvement.
|
|
16
|
+
|
|
17
|
+
5. **Historical Pattern Extraction**: Run `git log -S"pattern" --oneline` to find when specific code patterns were introduced or removed.
|
|
18
|
+
|
|
19
|
+
Your analysis methodology:
|
|
20
|
+
- Start with a broad view of file history before diving into specifics
|
|
21
|
+
- Look for patterns in both code changes and commit messages
|
|
22
|
+
- Identify turning points or significant refactorings in the codebase
|
|
23
|
+
- Connect contributors to their areas of expertise based on commit patterns
|
|
24
|
+
- Extract lessons from past issues and their resolutions
|
|
25
|
+
|
|
26
|
+
Deliver your findings as:
|
|
27
|
+
- **Timeline of File Evolution**: Chronological summary of major changes with dates and purposes
|
|
28
|
+
- **Key Contributors and Domains**: List of primary contributors with their apparent areas of expertise
|
|
29
|
+
- **Historical Issues and Fixes**: Patterns of problems encountered and how they were resolved
|
|
30
|
+
- **Pattern of Changes**: Recurring themes in development, refactoring cycles, and architectural evolution
|
|
31
|
+
|
|
32
|
+
When analyzing, consider:
|
|
33
|
+
- The context of changes (feature additions vs bug fixes vs refactoring)
|
|
34
|
+
- The frequency and clustering of changes (rapid iteration vs stable periods)
|
|
35
|
+
- The relationship between different files changed together
|
|
36
|
+
- The evolution of coding patterns and practices over time
|
|
37
|
+
|
|
38
|
+
Your insights should help developers understand not just what the code does, but why it evolved to its current state, informing better decisions for future changes.
|
|
39
|
+
|
|
40
|
+
Note that files in `<root>/plans/` and `<root>/solutions/` are intentional, permanent planning and learning artifacts. Do not recommend their removal or characterize them as unnecessary merely because they are generated by a workflow.
|