agileflow 4.0.0-alpha.2 → 4.0.0-alpha.21
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/CHANGELOG.md +51 -0
- package/content/plugins/accessibility/plugin.yaml +14 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/SKILL.md +392 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/references/aria-patterns.md +528 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/references/testing-checklist.md +457 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/references/wcag-guide.md +683 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/workflows/audit-page.md +310 -0
- package/content/plugins/accessibility/skills/agileflow-accessibility/workflows/implement-accessible-component.md +479 -0
- package/content/plugins/ads/agents/ads-audit-budget.md +185 -0
- package/content/plugins/ads/agents/ads-audit-compliance.md +171 -0
- package/content/plugins/ads/agents/ads-audit-creative.md +168 -0
- package/content/plugins/ads/agents/ads-audit-google.md +227 -0
- package/content/plugins/ads/agents/ads-audit-meta.md +184 -0
- package/content/plugins/ads/agents/ads-audit-tracking.md +205 -0
- package/content/plugins/ads/agents/ads-consensus.md +410 -0
- package/content/plugins/ads/agents/ads-generate.md +152 -0
- package/content/plugins/ads/agents/ads-performance-tracker.md +212 -0
- package/content/plugins/ads/plugin.yaml +23 -4
- package/content/plugins/ads/skills/agileflow-ads/SKILL.md +218 -0
- package/content/plugins/ads/skills/agileflow-ads/references/ad-copy-formula-guide.md +131 -0
- package/content/plugins/ads/skills/agileflow-ads/references/audience-targeting-guide.md +137 -0
- package/content/plugins/ads/skills/agileflow-ads/references/bid-strategy-guide.md +115 -0
- package/content/plugins/ads/skills/agileflow-ads/references/platform-benchmarks.md +100 -0
- package/content/plugins/ads/skills/agileflow-ads/workflows/audit.md +118 -0
- package/content/plugins/ads/skills/agileflow-ads/workflows/generate.md +84 -0
- package/content/plugins/audit/agents/a11y-analyzer-aria.md +173 -0
- package/content/plugins/audit/agents/a11y-analyzer-forms.md +173 -0
- package/content/plugins/audit/agents/a11y-analyzer-keyboard.md +183 -0
- package/content/plugins/audit/agents/a11y-analyzer-semantic.md +169 -0
- package/content/plugins/audit/agents/a11y-analyzer-visual.md +172 -0
- package/content/plugins/audit/agents/a11y-consensus.md +249 -0
- package/content/plugins/audit/agents/accessibility.md +558 -0
- package/content/plugins/audit/agents/api-quality-analyzer-conventions.md +156 -0
- package/content/plugins/audit/agents/api-quality-analyzer-docs.md +184 -0
- package/content/plugins/audit/agents/api-quality-analyzer-errors.md +191 -0
- package/content/plugins/audit/agents/api-quality-analyzer-pagination.md +179 -0
- package/content/plugins/audit/agents/api-quality-analyzer-versioning.md +150 -0
- package/content/plugins/audit/agents/api-quality-consensus.md +217 -0
- package/content/plugins/audit/agents/api-validator.md +191 -0
- package/content/plugins/audit/agents/arch-analyzer-circular.md +156 -0
- package/content/plugins/audit/agents/arch-analyzer-complexity.md +193 -0
- package/content/plugins/audit/agents/arch-analyzer-coupling.md +152 -0
- package/content/plugins/audit/agents/arch-analyzer-layering.md +160 -0
- package/content/plugins/audit/agents/arch-analyzer-patterns.md +210 -0
- package/content/plugins/audit/agents/arch-consensus.md +228 -0
- package/content/plugins/audit/agents/browser-qa.md +342 -0
- package/content/plugins/audit/agents/code-reviewer.md +298 -0
- package/content/plugins/audit/agents/completeness-analyzer-api.md +199 -0
- package/content/plugins/audit/agents/completeness-analyzer-conditional.md +211 -0
- package/content/plugins/audit/agents/completeness-analyzer-handlers.md +166 -0
- package/content/plugins/audit/agents/completeness-analyzer-imports.md +165 -0
- package/content/plugins/audit/agents/completeness-analyzer-routes.md +190 -0
- package/content/plugins/audit/agents/completeness-analyzer-state.md +196 -0
- package/content/plugins/audit/agents/completeness-analyzer-stubs.md +206 -0
- package/content/plugins/audit/agents/completeness-consensus.md +295 -0
- package/content/plugins/audit/agents/error-analyzer.md +213 -0
- package/content/plugins/audit/agents/flow-analyzer-authorization.md +182 -0
- package/content/plugins/audit/agents/flow-analyzer-discovery.md +174 -0
- package/content/plugins/audit/agents/flow-analyzer-errors.md +186 -0
- package/content/plugins/audit/agents/flow-analyzer-feedback.md +185 -0
- package/content/plugins/audit/agents/flow-analyzer-navigation.md +177 -0
- package/content/plugins/audit/agents/flow-analyzer-persistence.md +193 -0
- package/content/plugins/audit/agents/flow-analyzer-wiring.md +169 -0
- package/content/plugins/audit/agents/flow-consensus.md +237 -0
- package/content/plugins/audit/agents/legal-analyzer-a11y.md +114 -0
- package/content/plugins/audit/agents/legal-analyzer-ai.md +121 -0
- package/content/plugins/audit/agents/legal-analyzer-consumer.md +114 -0
- package/content/plugins/audit/agents/legal-analyzer-content.md +117 -0
- package/content/plugins/audit/agents/legal-analyzer-international.md +119 -0
- package/content/plugins/audit/agents/legal-analyzer-licensing.md +119 -0
- package/content/plugins/audit/agents/legal-analyzer-privacy.md +112 -0
- package/content/plugins/audit/agents/legal-analyzer-security.md +116 -0
- package/content/plugins/audit/agents/legal-analyzer-terms.md +115 -0
- package/content/plugins/audit/agents/legal-consensus.md +250 -0
- package/content/plugins/audit/agents/logic-analyzer-edge.md +179 -0
- package/content/plugins/audit/agents/logic-analyzer-flow.md +264 -0
- package/content/plugins/audit/agents/logic-analyzer-invariant.md +215 -0
- package/content/plugins/audit/agents/logic-analyzer-race.md +280 -0
- package/content/plugins/audit/agents/logic-analyzer-type.md +227 -0
- package/content/plugins/audit/agents/logic-consensus.md +259 -0
- package/content/plugins/audit/agents/perf-analyzer-assets.md +182 -0
- package/content/plugins/audit/agents/perf-analyzer-bundle.md +173 -0
- package/content/plugins/audit/agents/perf-analyzer-caching.md +170 -0
- package/content/plugins/audit/agents/perf-analyzer-compute.md +173 -0
- package/content/plugins/audit/agents/perf-analyzer-memory.md +193 -0
- package/content/plugins/audit/agents/perf-analyzer-network.md +165 -0
- package/content/plugins/audit/agents/perf-analyzer-queries.md +162 -0
- package/content/plugins/audit/agents/perf-analyzer-rendering.md +168 -0
- package/content/plugins/audit/agents/perf-consensus.md +287 -0
- package/content/plugins/audit/agents/qa.md +820 -0
- package/content/plugins/audit/agents/quality-analyzer-comments.md +159 -0
- package/content/plugins/audit/agents/quality-analyzer-duplication.md +184 -0
- package/content/plugins/audit/agents/quality-analyzer-naming.md +160 -0
- package/content/plugins/audit/agents/quality-consensus.md +241 -0
- package/content/plugins/audit/agents/schema-validator.md +473 -0
- package/content/plugins/audit/agents/security-analyzer-api.md +210 -0
- package/content/plugins/audit/agents/security-analyzer-auth.md +169 -0
- package/content/plugins/audit/agents/security-analyzer-authz.md +180 -0
- package/content/plugins/audit/agents/security-analyzer-deps.md +153 -0
- package/content/plugins/audit/agents/security-analyzer-infra.md +184 -0
- package/content/plugins/audit/agents/security-analyzer-injection.md +155 -0
- package/content/plugins/audit/agents/security-analyzer-input.md +201 -0
- package/content/plugins/audit/agents/security-analyzer-secrets.md +183 -0
- package/content/plugins/audit/agents/security-consensus.md +283 -0
- package/content/plugins/audit/agents/test-analyzer-assertions.md +188 -0
- package/content/plugins/audit/agents/test-analyzer-coverage.md +189 -0
- package/content/plugins/audit/agents/test-analyzer-fragility.md +193 -0
- package/content/plugins/audit/agents/test-analyzer-integration.md +161 -0
- package/content/plugins/audit/agents/test-analyzer-maintenance.md +180 -0
- package/content/plugins/audit/agents/test-analyzer-mocking.md +188 -0
- package/content/plugins/audit/agents/test-analyzer-patterns.md +196 -0
- package/content/plugins/audit/agents/test-analyzer-structure.md +184 -0
- package/content/plugins/audit/agents/test-consensus.md +301 -0
- package/content/plugins/audit/agents/testing.md +561 -0
- package/content/plugins/audit/agents/ui-validator.md +344 -0
- package/content/plugins/audit/plugin.yaml +186 -5
- package/content/plugins/audit/skills/agileflow-audit/SKILL.md +113 -0
- package/content/plugins/audit/skills/agileflow-audit/references/audit-depth-guide.md +151 -0
- package/content/plugins/audit/skills/agileflow-audit/references/dependency-risk-guide.md +139 -0
- package/content/plugins/audit/skills/agileflow-audit/references/owasp-top10.md +120 -0
- package/content/plugins/audit/skills/agileflow-audit/references/performance-budget-guide.md +143 -0
- package/content/plugins/audit/skills/agileflow-audit/references/wcag-criteria.md +117 -0
- package/content/plugins/audit/skills/agileflow-audit/workflows/run-audit.md +52 -0
- package/content/plugins/audit/skills/agileflow-audit/workflows/tdd.md +66 -0
- package/content/plugins/core/agents/adr-writer.md +521 -0
- package/content/plugins/core/agents/epic-planner.md +520 -0
- package/content/plugins/core/agents/mentor.md +709 -0
- package/content/plugins/core/agents/orchestrator.md +776 -0
- package/content/plugins/core/agents/team-coordinator.md +334 -0
- package/content/plugins/core/agents/team-lead.md +181 -0
- package/content/plugins/core/agents/workspace-orchestrator.md +146 -0
- package/content/plugins/core/hooks/context-loader.js +31 -4
- package/content/plugins/core/hooks/damage-control-bash.js +10 -2
- package/content/plugins/core/hooks/damage-control-edit.js +4 -1
- package/content/plugins/core/hooks/damage-control-patterns.yaml +1 -1
- package/content/plugins/core/hooks/damage-control-write.js +4 -1
- package/content/plugins/core/hooks/{pre-compact-state.js → post-compact-state.js} +25 -8
- package/content/plugins/core/hooks/preferences-injector.js +352 -0
- package/content/plugins/core/plugin.yaml +24 -28
- package/content/plugins/core/skills/agileflow-adr/SKILL.md +34 -8
- package/content/plugins/core/skills/agileflow-adr/references/madr-format-guide.md +86 -0
- package/content/plugins/core/skills/agileflow-adr/workflows/write-adr.md +57 -0
- package/content/plugins/core/skills/agileflow-babysit-mentor/SKILL.md +94 -27
- package/content/plugins/core/skills/agileflow-babysit-mentor/references/mentor-decision-guide.md +81 -0
- package/content/plugins/core/skills/agileflow-babysit-mentor/workflows/mentor-session.md +79 -0
- package/content/plugins/core/skills/agileflow-epic-planner/SKILL.md +37 -7
- package/content/plugins/core/skills/agileflow-epic-planner/references/epic-sizing-guide.md +81 -0
- package/content/plugins/core/skills/agileflow-epic-planner/workflows/plan-epic.md +55 -0
- package/content/plugins/core/skills/agileflow-status-updater/SKILL.md +36 -20
- package/content/plugins/core/skills/agileflow-status-updater/references/status-transitions.md +89 -0
- package/content/plugins/core/skills/agileflow-status-updater/workflows/update-status.md +56 -0
- package/content/plugins/core/skills/agileflow-story-writer/SKILL.md +39 -114
- package/content/plugins/core/skills/agileflow-story-writer/references/estimation-reference.md +36 -0
- package/content/plugins/core/skills/agileflow-story-writer/references/story-template.md +92 -0
- package/content/plugins/core/skills/agileflow-story-writer/workflows/write-story.md +138 -0
- package/content/plugins/council/agents/council-advocate.md +223 -0
- package/content/plugins/council/agents/council-analyst.md +278 -0
- package/content/plugins/council/agents/council-compounder.md +204 -0
- package/content/plugins/council/agents/council-contrarian.md +217 -0
- package/content/plugins/council/agents/council-moonshot.md +217 -0
- package/content/plugins/council/agents/council-optimist.md +185 -0
- package/content/plugins/council/agents/council-revenue.md +200 -0
- package/content/plugins/council/agents/council-technical.md +218 -0
- package/content/plugins/council/agents/multi-expert.md +334 -0
- package/content/plugins/council/plugin.yaml +23 -4
- package/content/plugins/council/skills/agileflow-council/SKILL.md +102 -0
- package/content/plugins/council/skills/agileflow-council/references/decision-log-template.md +109 -0
- package/content/plugins/council/skills/agileflow-council/references/perspective-guide.md +104 -0
- package/content/plugins/council/skills/agileflow-council/references/when-to-convene-guide.md +112 -0
- package/content/plugins/council/skills/agileflow-council/workflows/convene.md +73 -0
- package/content/plugins/council/skills/agileflow-council/workflows/multi-expert.md +75 -0
- package/content/plugins/database/plugin.yaml +14 -0
- package/content/plugins/database/skills/agileflow-database/SKILL.md +284 -0
- package/content/plugins/database/skills/agileflow-database/references/indexing-guide.md +313 -0
- package/content/plugins/database/skills/agileflow-database/references/migration-guide.md +328 -0
- package/content/plugins/database/skills/agileflow-database/references/schema-design-guide.md +467 -0
- package/content/plugins/database/skills/agileflow-database/workflows/design-schema.md +213 -0
- package/content/plugins/database/skills/agileflow-database/workflows/optimize-query.md +253 -0
- package/content/plugins/debugging/plugin.yaml +14 -0
- package/content/plugins/debugging/skills/agileflow-debug/SKILL.md +236 -0
- package/content/plugins/debugging/skills/agileflow-debug/references/common-patterns.md +350 -0
- package/content/plugins/debugging/skills/agileflow-debug/references/debugging-strategies.md +328 -0
- package/content/plugins/debugging/skills/agileflow-debug/workflows/debug-issue.md +187 -0
- package/content/plugins/debugging/skills/agileflow-debug/workflows/reproduce-bug.md +194 -0
- package/content/plugins/delivery/agents/ci.md +547 -0
- package/content/plugins/delivery/agents/devops.md +789 -0
- package/content/plugins/delivery/plugin.yaml +19 -0
- package/content/plugins/delivery/skills/agileflow-delivery/SKILL.md +111 -0
- package/content/plugins/delivery/skills/agileflow-delivery/references/changelog-format-guide.md +133 -0
- package/content/plugins/delivery/skills/agileflow-delivery/references/ci-pipeline-guide.md +158 -0
- package/content/plugins/delivery/skills/agileflow-delivery/references/pr-checklist-guide.md +133 -0
- package/content/plugins/delivery/skills/agileflow-delivery/references/release-checklist.md +142 -0
- package/content/plugins/delivery/skills/agileflow-delivery/workflows/changelog.md +72 -0
- package/content/plugins/delivery/skills/agileflow-delivery/workflows/deploy.md +74 -0
- package/content/plugins/delivery/skills/agileflow-delivery/workflows/pr.md +75 -0
- package/content/plugins/docs/agents/documentation.md +544 -0
- package/content/plugins/docs/agents/readme-updater.md +640 -0
- package/content/plugins/docs/plugin.yaml +19 -0
- package/content/plugins/docs/skills/agileflow-docs/SKILL.md +106 -0
- package/content/plugins/docs/skills/agileflow-docs/references/api-doc-template.md +167 -0
- package/content/plugins/docs/skills/agileflow-docs/references/doc-types-guide.md +141 -0
- package/content/plugins/docs/skills/agileflow-docs/references/readme-template.md +156 -0
- package/content/plugins/docs/skills/agileflow-docs/workflows/readme-sync.md +57 -0
- package/content/plugins/docs/skills/agileflow-docs/workflows/sync.md +64 -0
- package/content/plugins/engineering/agents/api.md +718 -0
- package/content/plugins/engineering/agents/codebase-query.md +285 -0
- package/content/plugins/engineering/agents/compliance.md +559 -0
- package/content/plugins/engineering/agents/database.md +644 -0
- package/content/plugins/engineering/agents/integrations.md +644 -0
- package/content/plugins/engineering/agents/mobile.md +552 -0
- package/content/plugins/engineering/agents/monitoring.md +585 -0
- package/content/plugins/engineering/agents/performance.md +529 -0
- package/content/plugins/engineering/agents/refactor.md +592 -0
- package/content/plugins/engineering/agents/security.md +524 -0
- package/content/plugins/engineering/agents/ui.md +1336 -0
- package/content/plugins/engineering/plugin.yaml +37 -0
- package/content/plugins/engineering/skills/agileflow-engineering/SKILL.md +127 -0
- package/content/plugins/engineering/skills/agileflow-engineering/references/code-review-guide.md +126 -0
- package/content/plugins/engineering/skills/agileflow-engineering/references/domain-routing-guide.md +89 -0
- package/content/plugins/engineering/skills/agileflow-engineering/references/refactoring-guide.md +136 -0
- package/content/plugins/engineering/skills/agileflow-engineering/workflows/diagnose.md +63 -0
- package/content/plugins/engineering/skills/agileflow-engineering/workflows/impact.md +60 -0
- package/content/plugins/ideation/agents/brainstorm-analyzer-features.md +179 -0
- package/content/plugins/ideation/agents/brainstorm-analyzer-growth.md +169 -0
- package/content/plugins/ideation/agents/brainstorm-analyzer-integration.md +181 -0
- package/content/plugins/ideation/agents/brainstorm-analyzer-market.md +150 -0
- package/content/plugins/ideation/agents/brainstorm-analyzer-ux.md +180 -0
- package/content/plugins/ideation/agents/brainstorm-consensus.md +245 -0
- package/content/plugins/ideation/agents/design.md +568 -0
- package/content/plugins/ideation/agents/product.md +582 -0
- package/content/plugins/ideation/plugin.yaml +31 -0
- package/content/plugins/ideation/skills/agileflow-ideation/SKILL.md +109 -0
- package/content/plugins/ideation/skills/agileflow-ideation/references/brainstorm-techniques.md +138 -0
- package/content/plugins/ideation/skills/agileflow-ideation/references/competitive-analysis-template.md +148 -0
- package/content/plugins/ideation/skills/agileflow-ideation/references/feature-prioritization-guide.md +147 -0
- package/content/plugins/ideation/skills/agileflow-ideation/references/user-story-patterns.md +152 -0
- package/content/plugins/ideation/skills/agileflow-ideation/workflows/features.md +65 -0
- package/content/plugins/ideation/skills/agileflow-ideation/workflows/ideate.md +54 -0
- package/content/plugins/migration/agents/datamigration.md +757 -0
- package/content/plugins/migration/plugin.yaml +17 -0
- package/content/plugins/migration/skills/agileflow-migration/SKILL.md +106 -0
- package/content/plugins/migration/skills/agileflow-migration/references/data-validation-checklist.md +154 -0
- package/content/plugins/migration/skills/agileflow-migration/references/migration-patterns.md +209 -0
- package/content/plugins/migration/skills/agileflow-migration/references/rollback-playbook.md +171 -0
- package/content/plugins/migration/skills/agileflow-migration/references/version-compatibility-matrix.md +155 -0
- package/content/plugins/migration/skills/agileflow-migration/workflows/plan.md +73 -0
- package/content/plugins/migration/skills/agileflow-migration/workflows/validate.md +71 -0
- package/content/plugins/performance/plugin.yaml +14 -0
- package/content/plugins/performance/skills/agileflow-performance/SKILL.md +224 -0
- package/content/plugins/performance/skills/agileflow-performance/references/optimization-patterns.md +554 -0
- package/content/plugins/performance/skills/agileflow-performance/references/profiling-guide.md +383 -0
- package/content/plugins/performance/skills/agileflow-performance/references/web-vitals-guide.md +360 -0
- package/content/plugins/performance/skills/agileflow-performance/workflows/improve-web-vitals.md +344 -0
- package/content/plugins/performance/skills/agileflow-performance/workflows/profile-and-fix.md +254 -0
- package/content/plugins/planning/agents/analytics.md +670 -0
- package/content/plugins/planning/agents/rlm-subcore.md +215 -0
- package/content/plugins/planning/plugin.yaml +19 -0
- package/content/plugins/planning/skills/agileflow-planning/SKILL.md +111 -0
- package/content/plugins/planning/skills/agileflow-planning/references/estimation-guide.md +114 -0
- package/content/plugins/planning/skills/agileflow-planning/references/rpi-workflow.md +119 -0
- package/content/plugins/planning/skills/agileflow-planning/references/sprint-planning-guide.md +145 -0
- package/content/plugins/planning/skills/agileflow-planning/workflows/impact.md +63 -0
- package/content/plugins/planning/skills/agileflow-planning/workflows/rpi.md +104 -0
- package/content/plugins/psychology/plugin.yaml +14 -0
- package/content/plugins/psychology/skills/agileflow-retention/SKILL.md +252 -0
- package/content/plugins/psychology/skills/agileflow-retention/references/competitor-analysis.md +240 -0
- package/content/plugins/psychology/skills/agileflow-retention/references/psychology-models.md +349 -0
- package/content/plugins/psychology/skills/agileflow-retention/references/retention-patterns.md +279 -0
- package/content/plugins/psychology/skills/agileflow-retention/workflows/design-retention-feature.md +287 -0
- package/content/plugins/psychology/skills/agileflow-retention/workflows/retention-audit.md +259 -0
- package/content/plugins/refactoring/plugin.yaml +14 -0
- package/content/plugins/refactoring/skills/agileflow-refactor/SKILL.md +235 -0
- package/content/plugins/refactoring/skills/agileflow-refactor/references/refactoring-patterns.md +405 -0
- package/content/plugins/refactoring/skills/agileflow-refactor/references/safety-checks.md +177 -0
- package/content/plugins/refactoring/skills/agileflow-refactor/workflows/extract-module.md +226 -0
- package/content/plugins/refactoring/skills/agileflow-refactor/workflows/safe-refactor.md +169 -0
- package/content/plugins/research/agents/research.md +503 -0
- package/content/plugins/research/plugin.yaml +17 -0
- package/content/plugins/research/skills/agileflow-research/SKILL.md +110 -0
- package/content/plugins/research/skills/agileflow-research/references/knowledge-decay-guide.md +121 -0
- package/content/plugins/research/skills/agileflow-research/references/research-prompt-guide.md +141 -0
- package/content/plugins/research/skills/agileflow-research/references/synthesis-template.md +154 -0
- package/content/plugins/research/skills/agileflow-research/workflows/analyze.md +60 -0
- package/content/plugins/research/skills/agileflow-research/workflows/ask.md +64 -0
- package/content/plugins/research/skills/agileflow-research/workflows/import.md +66 -0
- package/content/plugins/research/skills/agileflow-research/workflows/synthesize.md +66 -0
- package/content/plugins/reviews/plugin.yaml +14 -0
- package/content/plugins/reviews/skills/agileflow-pr-reviewer/SKILL.md +241 -0
- package/content/plugins/reviews/skills/agileflow-pr-reviewer/references/review-checklist.md +200 -0
- package/content/plugins/reviews/skills/agileflow-pr-reviewer/references/security-patterns.md +328 -0
- package/content/plugins/reviews/skills/agileflow-pr-reviewer/workflows/review-pr.md +153 -0
- package/content/plugins/reviews/skills/agileflow-pr-reviewer/workflows/security-review.md +177 -0
- package/content/plugins/seo/agents/seo-analyzer-content.md +169 -0
- package/content/plugins/seo/agents/seo-analyzer-images.md +198 -0
- package/content/plugins/seo/agents/seo-analyzer-performance.md +217 -0
- package/content/plugins/seo/agents/seo-analyzer-schema.md +184 -0
- package/content/plugins/seo/agents/seo-analyzer-sitemap.md +177 -0
- package/content/plugins/seo/agents/seo-analyzer-technical.md +151 -0
- package/content/plugins/seo/agents/seo-consensus.md +304 -0
- package/content/plugins/seo/plugin.yaml +19 -4
- package/content/plugins/seo/skills/agileflow-seo/SKILL.md +188 -0
- package/content/plugins/seo/skills/agileflow-seo/references/cwv-thresholds.md +110 -0
- package/content/plugins/seo/skills/agileflow-seo/references/eeat-framework.md +144 -0
- package/content/plugins/seo/skills/agileflow-seo/references/keyword-research-guide.md +125 -0
- package/content/plugins/seo/skills/agileflow-seo/references/schema-types.md +139 -0
- package/content/plugins/seo/skills/agileflow-seo/references/technical-seo-checklist.md +139 -0
- package/content/plugins/seo/skills/agileflow-seo/workflows/audit.md +98 -0
- package/content/plugins/seo/skills/agileflow-seo/workflows/page.md +118 -0
- package/content/plugins/testing/plugin.yaml +16 -0
- package/content/plugins/testing/skills/agileflow-test-writer/SKILL.md +260 -0
- package/content/plugins/testing/skills/agileflow-test-writer/references/coverage-targets.md +239 -0
- package/content/plugins/testing/skills/agileflow-test-writer/references/test-patterns.md +420 -0
- package/content/plugins/testing/skills/agileflow-test-writer/workflows/add-coverage.md +154 -0
- package/content/plugins/testing/skills/agileflow-test-writer/workflows/write-tests-from-ac.md +225 -0
- package/package.json +2 -2
- package/src/cli/commands/doctor.js +818 -30
- package/src/cli/commands/hook.js +17 -14
- package/src/cli/commands/launch.js +1454 -0
- package/src/cli/commands/learn.js +149 -0
- package/src/cli/commands/plugins.js +113 -0
- package/src/cli/commands/setup.js +455 -110
- package/src/cli/commands/skills.js +324 -0
- package/src/cli/commands/status.js +8 -10
- package/src/cli/commands/update.js +76 -15
- package/src/cli/index.js +90 -26
- package/src/cli/wizard/babysit-mode-picker.js +192 -0
- package/src/cli/wizard/behaviors-picker.js +208 -54
- package/src/cli/wizard/ide-picker.js +40 -28
- package/src/cli/wizard/install-scope-picker.js +57 -0
- package/src/cli/wizard/launch-alias-picker.js +50 -0
- package/src/cli/wizard/launch-cli-picker.js +129 -0
- package/src/cli/wizard/launch-tmux-picker.js +133 -0
- package/src/cli/wizard/learnings-picker.js +40 -0
- package/src/cli/wizard/plugin-picker.js +47 -16
- package/src/lib/brand.js +116 -0
- package/src/lib/errors.js +120 -0
- package/src/lib/path-check.js +39 -0
- package/src/runtime/config/defaults.js +22 -17
- package/src/runtime/config/loader.js +77 -8
- package/src/runtime/config/schema.json +43 -16
- package/src/runtime/config/writer.js +3 -1
- package/src/runtime/ide/babysit-skill.js +202 -0
- package/src/runtime/ide/capabilities.js +84 -29
- package/src/runtime/ide/claude-code-content.js +177 -0
- package/src/runtime/ide/claude-code-settings.js +67 -29
- package/src/runtime/ide/claude-code-skills.js +47 -32
- package/src/runtime/ide/codex-config.js +295 -0
- package/src/runtime/installer/install.js +252 -24
- package/src/runtime/launch/alias-installer.js +191 -0
- package/src/runtime/launch/cli-resume.js +244 -0
- package/src/runtime/launch/closed-windows.js +338 -0
- package/src/runtime/launch/defaults.js +66 -0
- package/src/runtime/launch/detect-clis.js +69 -0
- package/src/runtime/launch/doctor.js +464 -0
- package/src/runtime/launch/exec-wrapper.js +114 -0
- package/src/runtime/launch/parallel-session.js +247 -0
- package/src/runtime/launch/prefs.js +211 -0
- package/src/runtime/launch/project-prefs.js +234 -0
- package/src/runtime/launch/resolve-cli.js +56 -0
- package/src/runtime/launch/restore.js +152 -0
- package/src/runtime/launch/schema.json +75 -0
- package/src/runtime/launch/session-lifecycle.js +313 -0
- package/src/runtime/launch/session-registry.js +401 -0
- package/src/runtime/launch/spawn.js +103 -0
- package/src/runtime/launch/tabs.js +350 -0
- package/src/runtime/launch/tmux.js +764 -0
- package/src/runtime/launch/worktree.js +260 -0
- package/src/runtime/plugins/registry.js +16 -11
- package/src/runtime/plugins/validator.js +57 -43
- package/src/runtime/skills/learnings.js +308 -0
- package/content/plugins/core/hooks/babysit-mentor-injector.js +0 -55
- package/src/cli/wizard/personalization.js +0 -64
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agileflow-research
|
|
3
|
+
description: Research specialist. Use for gathering technical information, creating research prompts for ChatGPT, saving research notes, and maintaining the research index.
|
|
4
|
+
tools: Read, Write, Edit, Glob, Grep, WebFetch, WebSearch
|
|
5
|
+
model: haiku
|
|
6
|
+
team_role: teammate
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- AGILEFLOW_META
|
|
10
|
+
hooks:
|
|
11
|
+
PostToolUse:
|
|
12
|
+
- matcher: "Write"
|
|
13
|
+
hooks:
|
|
14
|
+
- type: command
|
|
15
|
+
command: "node .agileflow/hooks/validators/markdown-validator.js"
|
|
16
|
+
compact_context:
|
|
17
|
+
priority: "high"
|
|
18
|
+
preserve_rules:
|
|
19
|
+
- "TWO workflows: Web research OR ChatGPT prompt building"
|
|
20
|
+
- "ALWAYS save research with consistent structure"
|
|
21
|
+
- "ALWAYS update research index (README.md)"
|
|
22
|
+
- "Flag stale research (>90 days old)"
|
|
23
|
+
- "Notify requesting agents via bus message"
|
|
24
|
+
state_fields:
|
|
25
|
+
- "research_type: web_research | chatgpt_prompt"
|
|
26
|
+
- "research_count: Total research notes (from README.md)"
|
|
27
|
+
- "stale_research: List of notes >90 days old"
|
|
28
|
+
- "pending_requests: Research requests in bus from other agents"
|
|
29
|
+
AGILEFLOW_META -->
|
|
30
|
+
|
|
31
|
+
## STEP 0: Gather Context
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
node .agileflow/scripts/obtain-context.js research
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
40
|
+
|
|
41
|
+
## COMPACT SUMMARY - RESEARCH SPECIALIST
|
|
42
|
+
|
|
43
|
+
CRITICAL: You conduct technical research via web OR build ChatGPT prompts for deep analysis. Save findings to docs/10-research/.
|
|
44
|
+
|
|
45
|
+
RULE #1: TWO RESEARCH WORKFLOWS (Choose one per request)
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
WORKFLOW A: WEB RESEARCH (Direct)
|
|
49
|
+
1. Search official docs (WebSearch, WebFetch)
|
|
50
|
+
2. Gather key findings
|
|
51
|
+
3. Synthesize into structure
|
|
52
|
+
4. Save to docs/10-research/<YYYYMMDD>-<slug>.md
|
|
53
|
+
5. Update docs/10-research/README.md (add index entry)
|
|
54
|
+
|
|
55
|
+
WORKFLOW B: CHATGPT PROMPT (For deeper analysis)
|
|
56
|
+
1. Load knowledge (CLAUDE.md, ADRs, existing research)
|
|
57
|
+
2. Build comprehensive prompt with sections:
|
|
58
|
+
- TL;DR + implementation plan
|
|
59
|
+
- Code snippets, config, error handling
|
|
60
|
+
- Tests + security + privacy + ADR draft
|
|
61
|
+
- Story breakdown (Given/When/Then)
|
|
62
|
+
- Rollback plan + risks + PR template
|
|
63
|
+
3. Output as code block (copy-paste ready)
|
|
64
|
+
4. User pastes ChatGPT results
|
|
65
|
+
5. Save results to docs/10-research/<YYYYMMDD>-<slug>.md
|
|
66
|
+
6. Update README.md index
|
|
67
|
+
7. Notify requesting agent via bus message
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
RULE #2: RESEARCH NOTE STRUCTURE (ALWAYS use)
|
|
71
|
+
|
|
72
|
+
```markdown
|
|
73
|
+
# Research: [Title]
|
|
74
|
+
|
|
75
|
+
**Date**: YYYY-MM-DD
|
|
76
|
+
**Researcher**: [Name or Agent ID]
|
|
77
|
+
**Status**: Active | Superseded | Archived
|
|
78
|
+
|
|
79
|
+
## Summary
|
|
80
|
+
|
|
81
|
+
[2-3 sentence TL;DR]
|
|
82
|
+
|
|
83
|
+
## Key Findings
|
|
84
|
+
|
|
85
|
+
1. [Finding with explanation]
|
|
86
|
+
2. [Finding with explanation]
|
|
87
|
+
3. ...
|
|
88
|
+
|
|
89
|
+
## Recommended Approach
|
|
90
|
+
|
|
91
|
+
[Which approach, why]
|
|
92
|
+
|
|
93
|
+
## Implementation Steps
|
|
94
|
+
|
|
95
|
+
1. [Step]
|
|
96
|
+
2. [Step]
|
|
97
|
+
|
|
98
|
+
## Risks & Considerations
|
|
99
|
+
|
|
100
|
+
- [Risk]
|
|
101
|
+
|
|
102
|
+
## Trade-offs
|
|
103
|
+
|
|
104
|
+
| Option | Pros | Cons |
|
|
105
|
+
| ------ | ---- | ---- |
|
|
106
|
+
|
|
107
|
+
## Sources
|
|
108
|
+
|
|
109
|
+
- [Title](URL) - Retrieved YYYY-MM-DD
|
|
110
|
+
|
|
111
|
+
## Related
|
|
112
|
+
|
|
113
|
+
- ADRs: [List]
|
|
114
|
+
- Stories: [List]
|
|
115
|
+
|
|
116
|
+
## Notes
|
|
117
|
+
|
|
118
|
+
[Additional context]
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
RULE #3: RESEARCH INDEX (README.md)
|
|
122
|
+
|
|
123
|
+
```markdown
|
|
124
|
+
# Research Index
|
|
125
|
+
|
|
126
|
+
| Date | Topic | Path | Summary |
|
|
127
|
+
| ---------- | ----------------- | ----------------------- | ----------------------------- |
|
|
128
|
+
| 2025-01-07 | JWT auth patterns | 20250107-jwt-auth.md | Compared JWT, session, OAuth2 |
|
|
129
|
+
| 2025-01-05 | React state mgmt | 20250105-react-state.md | Redux vs Zustand vs Context |
|
|
130
|
+
|
|
131
|
+
(Newest first)
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
RULE #4: STALE RESEARCH DETECTION (>90 days)
|
|
135
|
+
| Status | Action |
|
|
136
|
+
|--------|--------|
|
|
137
|
+
| <30 days old | Current, use as-is |
|
|
138
|
+
| 30-90 days old | Mention age, flag if tech changed |
|
|
139
|
+
| >90 days old | Flag as stale, suggest refresh |
|
|
140
|
+
|
|
141
|
+
Example:
|
|
142
|
+
✅ "Research from 2025-01-05 (2 days old): Valid and current"
|
|
143
|
+
⚠️ "Research from 2024-10-15 (84 days old): Check if frameworks updated"
|
|
144
|
+
❌ "Research from 2024-08-01 (159 days old): STALE - Recommend refresh"
|
|
145
|
+
|
|
146
|
+
RULE #5: AGENT COORDINATION (Bus messages)
|
|
147
|
+
|
|
148
|
+
```jsonl
|
|
149
|
+
When other agents request research:
|
|
150
|
+
→ FROM: RESEARCH | TYPE: research-complete
|
|
151
|
+
→ TEXT: "Research saved to docs/10-research/20250107-jwt-auth.md"
|
|
152
|
+
|
|
153
|
+
Example workflow:
|
|
154
|
+
AG-API requests: "Research JWT vs OAuth2"
|
|
155
|
+
RESEARCH responds: Research saved, notify via bus
|
|
156
|
+
AG-API sees: Bus message, gets research file path
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Anti-Patterns (DON'T)
|
|
160
|
+
|
|
161
|
+
❌ Save research without date (YYYYMMDD-slug.md) → Lose chronology
|
|
162
|
+
❌ Skip research index update → Index becomes incomplete
|
|
163
|
+
❌ Mix researched info with invented details → Mislead teams
|
|
164
|
+
❌ Save stale research without flagging age → Outdated guidance
|
|
165
|
+
❌ Build ChatGPT prompt with vague questions → Poor results
|
|
166
|
+
❌ Forget to notify requesting agent → Coordination broken
|
|
167
|
+
|
|
168
|
+
### Correct Patterns (DO)
|
|
169
|
+
|
|
170
|
+
✅ File format: docs/10-research/20250107-topic-slug.md (date first)
|
|
171
|
+
✅ Every note has structure (Summary, Key Findings, Risks, Sources)
|
|
172
|
+
✅ Update README.md index after saving
|
|
173
|
+
✅ Flag stale research with date check
|
|
174
|
+
✅ Build ChatGPT prompts with specific questions + sections
|
|
175
|
+
✅ Notify requesting agent: "Research saved to docs/10-research/<file>"
|
|
176
|
+
|
|
177
|
+
### Key Files
|
|
178
|
+
|
|
179
|
+
- Research notes: docs/10-research/<YYYYMMDD>-<slug>.md
|
|
180
|
+
- Index: docs/10-research/README.md
|
|
181
|
+
- Bus requests: docs/09-agents/bus/log.jsonl
|
|
182
|
+
- Knowledge: CLAUDE.md, docs/03-decisions/
|
|
183
|
+
|
|
184
|
+
### Research Request Examples
|
|
185
|
+
|
|
186
|
+
| Request | Workflow | Output |
|
|
187
|
+
| ----------------------------------- | --------------------- | -------------------------------------------------- |
|
|
188
|
+
| "JWT vs OAuth2" | Web + ChatGPT | docs/10-research/20250107-jwt-oauth2.md |
|
|
189
|
+
| "React state management" | Web + ChatGPT | docs/10-research/20250107-react-state.md |
|
|
190
|
+
| "Stripe integration best practices" | ChatGPT (full prompt) | docs/10-research/20250107-stripe-best-practices.md |
|
|
191
|
+
|
|
192
|
+
### REMEMBER AFTER COMPACTION
|
|
193
|
+
|
|
194
|
+
1. Choose workflow: Web research OR ChatGPT prompt
|
|
195
|
+
2. Use consistent structure (Date, Summary, Key Findings, Sources)
|
|
196
|
+
3. Save with filename: docs/10-research/YYYYMMDD-slug.md
|
|
197
|
+
4. Update README.md index (newest first)
|
|
198
|
+
5. Flag stale research (>90 days)
|
|
199
|
+
6. Notify requesting agents via bus
|
|
200
|
+
|
|
201
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
202
|
+
|
|
203
|
+
You are the AgileFlow Research Agent, a specialist in technical research and knowledge management.
|
|
204
|
+
|
|
205
|
+
ROLE & IDENTITY
|
|
206
|
+
|
|
207
|
+
- Agent ID: RESEARCH
|
|
208
|
+
- Specialization: Technical research, ChatGPT prompt building, research note curation
|
|
209
|
+
- Part of the AgileFlow docs-as-code system
|
|
210
|
+
|
|
211
|
+
SCOPE
|
|
212
|
+
|
|
213
|
+
- Conducting technical research (web search, documentation review)
|
|
214
|
+
- Building comprehensive research prompts for ChatGPT
|
|
215
|
+
- Saving research notes to docs/10-research/
|
|
216
|
+
- Maintaining research index at docs/10-research/README.md
|
|
217
|
+
- Identifying research gaps in epics and stories
|
|
218
|
+
|
|
219
|
+
RESPONSIBILITIES
|
|
220
|
+
|
|
221
|
+
1. Research technical topics using web search and documentation
|
|
222
|
+
2. Build structured ChatGPT research prompts with clear requirements
|
|
223
|
+
3. Save research results in consistent format
|
|
224
|
+
4. Maintain chronological research index
|
|
225
|
+
5. Identify stale or conflicting research (>90 days old)
|
|
226
|
+
6. Suggest research when gaps found in planning or implementation
|
|
227
|
+
|
|
228
|
+
WORKFLOW: WEB RESEARCH
|
|
229
|
+
|
|
230
|
+
1. Understand research question and constraints
|
|
231
|
+
2. Search official documentation and authoritative sources
|
|
232
|
+
3. Gather key findings (approaches, trade-offs, best practices)
|
|
233
|
+
4. Synthesize into structured note
|
|
234
|
+
5. Save to docs/10-research/<YYYYMMDD>-<slug>.md
|
|
235
|
+
6. Update docs/10-research/README.md index
|
|
236
|
+
|
|
237
|
+
SHARED VOCABULARY
|
|
238
|
+
|
|
239
|
+
**Use these terms consistently**:
|
|
240
|
+
|
|
241
|
+
- **Research Note** = Technical research document in docs/10-research/
|
|
242
|
+
- **ChatGPT Prompt** = Structured prompt for external research (output as code block)
|
|
243
|
+
- **Research Index** = Table in docs/10-research/README.md (newest first)
|
|
244
|
+
- **Stale Research** = Research >90 days old (may need refresh)
|
|
245
|
+
- **Bus Message** = Coordination message in docs/09-agents/bus/log.jsonl
|
|
246
|
+
|
|
247
|
+
**Bus Message Formats for RESEARCH**:
|
|
248
|
+
|
|
249
|
+
```jsonl
|
|
250
|
+
{"ts":"2025-10-21T10:00:00Z","from":"RESEARCH","type":"research-request","text":"<topic>"}
|
|
251
|
+
{"ts":"2025-10-21T10:00:00Z","from":"RESEARCH","type":"research-complete","text":"Research saved to <path>"}
|
|
252
|
+
{"ts":"2025-10-21T10:00:00Z","from":"RESEARCH","type":"status","text":"Built ChatGPT prompt for <topic>, awaiting user paste"}
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
**Research Request Patterns** (from other agents):
|
|
256
|
+
|
|
257
|
+
- AG-UI: Design systems, component patterns, accessibility techniques
|
|
258
|
+
- AG-API: API architectures, database designs, authentication patterns
|
|
259
|
+
- AG-CI: Test frameworks, CI platforms, code quality tools
|
|
260
|
+
- AG-DEVOPS: Deployment strategies, container orchestration, monitoring
|
|
261
|
+
- ADR-WRITER: Technical alternatives for decisions (always research first)
|
|
262
|
+
- EPIC-PLANNER: Technology stack research before planning epics
|
|
263
|
+
|
|
264
|
+
AGENT COORDINATION
|
|
265
|
+
|
|
266
|
+
**When invoked by other agents**:
|
|
267
|
+
|
|
268
|
+
- MENTOR, EPIC-PLANNER, AG-UI, AG-API, AG-CI, AG-DEVOPS, ADR-WRITER can request research
|
|
269
|
+
- Check docs/09-agents/bus/log.jsonl for research requests
|
|
270
|
+
- After completing research, append bus message notifying requester
|
|
271
|
+
|
|
272
|
+
**Example coordination**:
|
|
273
|
+
|
|
274
|
+
```jsonl
|
|
275
|
+
{"ts":"2025-10-21T10:00:00Z","from":"AG-API","type":"research-request","text":"Need research on JWT vs OAuth2 for auth"}
|
|
276
|
+
{"ts":"2025-10-21T10:15:00Z","from":"RESEARCH","type":"research-complete","text":"Auth research saved to docs/10-research/20251021-jwt-vs-oauth2.md"}
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
WORKFLOW: CHATGPT RESEARCH PROMPT
|
|
280
|
+
|
|
281
|
+
1. **[KNOWLEDGE LOADING]** Before building prompt:
|
|
282
|
+
- Read CLAUDE.md for project context
|
|
283
|
+
- Read docs/context.md for project overview (if exists)
|
|
284
|
+
- Check docs/09-agents/status.json for current priorities
|
|
285
|
+
- Review related ADRs in docs/03-decisions/
|
|
286
|
+
- Check existing research in docs/10-research/ to avoid duplication
|
|
287
|
+
2. Understand research topic and specific questions to answer
|
|
288
|
+
3. Build comprehensive prompt requesting:
|
|
289
|
+
- TL;DR summary
|
|
290
|
+
- Step-by-step implementation plan with file paths
|
|
291
|
+
- Minimal runnable code snippets
|
|
292
|
+
- Configuration and environment setup
|
|
293
|
+
- Error handling patterns
|
|
294
|
+
- Analytics/observability hooks
|
|
295
|
+
- Tests (unit, integration, E2E)
|
|
296
|
+
- Manual testing checklist
|
|
297
|
+
- Security and privacy considerations
|
|
298
|
+
- ADR draft (context, options with pros/cons, recommended decision, consequences)
|
|
299
|
+
- Story breakdown (3–6 stories with Given/When/Then AC)
|
|
300
|
+
- Rollback plan
|
|
301
|
+
- Risks and gotchas
|
|
302
|
+
- PR body template
|
|
303
|
+
- Sourcing rules (official docs only, cite title/URL/date)
|
|
304
|
+
- "Paste back to Claude" checklist
|
|
305
|
+
4. Output as single code block for easy copy-paste
|
|
306
|
+
5. After user pastes ChatGPT results, offer to save to docs/10-research/<YYYYMMDD>-<slug>.md
|
|
307
|
+
6. Update docs/10-research/README.md index table (newest first)
|
|
308
|
+
7. **Notify requesting agent** via bus message if research was requested by another agent
|
|
309
|
+
|
|
310
|
+
RESEARCH NOTE STRUCTURE
|
|
311
|
+
|
|
312
|
+
```markdown
|
|
313
|
+
# Research: <Title>
|
|
314
|
+
|
|
315
|
+
**Date**: YYYY-MM-DD
|
|
316
|
+
**Researcher**: [Name or Agent ID]
|
|
317
|
+
**Status**: Active | Superseded | Archived
|
|
318
|
+
|
|
319
|
+
## Summary
|
|
320
|
+
|
|
321
|
+
[2-3 sentence TL;DR]
|
|
322
|
+
|
|
323
|
+
## Key Findings
|
|
324
|
+
|
|
325
|
+
1. [Finding with brief explanation]
|
|
326
|
+
2. [Finding with brief explanation]
|
|
327
|
+
3. ...
|
|
328
|
+
|
|
329
|
+
## Recommended Approach
|
|
330
|
+
|
|
331
|
+
[Which approach is recommended and why]
|
|
332
|
+
|
|
333
|
+
## Implementation Steps
|
|
334
|
+
|
|
335
|
+
1. [High-level step]
|
|
336
|
+
2. [High-level step]
|
|
337
|
+
3. ...
|
|
338
|
+
|
|
339
|
+
## Risks & Considerations
|
|
340
|
+
|
|
341
|
+
- [Risk or trade-off to be aware of]
|
|
342
|
+
- [Risk or trade-off to be aware of]
|
|
343
|
+
|
|
344
|
+
## Trade-offs
|
|
345
|
+
|
|
346
|
+
| Option | Pros | Cons |
|
|
347
|
+
| ------ | ---- | ---- |
|
|
348
|
+
| A | | |
|
|
349
|
+
| B | | |
|
|
350
|
+
|
|
351
|
+
## Sources
|
|
352
|
+
|
|
353
|
+
- [Title](URL) - Retrieved YYYY-MM-DD
|
|
354
|
+
- [Title](URL) - Retrieved YYYY-MM-DD
|
|
355
|
+
|
|
356
|
+
## Related
|
|
357
|
+
|
|
358
|
+
- ADRs: ADR-0001, ADR-0003
|
|
359
|
+
- Stories: US-0042, US-0055
|
|
360
|
+
- Epics: EP-0002
|
|
361
|
+
|
|
362
|
+
## Notes
|
|
363
|
+
|
|
364
|
+
[Additional context, caveats, future research needed]
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
RESEARCH INDEX FORMAT
|
|
368
|
+
docs/10-research/README.md should maintain a table:
|
|
369
|
+
|
|
370
|
+
```markdown
|
|
371
|
+
# Research Index
|
|
372
|
+
|
|
373
|
+
| Date | Topic | Path | Summary |
|
|
374
|
+
| ---------- | --------------------------- | ----------------------- | ------------------------------- |
|
|
375
|
+
| 2025-10-16 | JWT authentication patterns | 20251016-jwt-auth.md | Compared JWT, session, OAuth2.1 |
|
|
376
|
+
| 2025-10-15 | React state management | 20251015-react-state.md | Redux vs Zustand vs Context |
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
(Newest first)
|
|
380
|
+
|
|
381
|
+
<!-- {{QUALITY_GATE_PRIORITIES}} -->
|
|
382
|
+
|
|
383
|
+
QUALITY CHECKLIST (AG-RESEARCH Specific)
|
|
384
|
+
Before saving research:
|
|
385
|
+
|
|
386
|
+
- [ ] Date is current (YYYY-MM-DD)
|
|
387
|
+
- [ ] Summary is concise (2-3 sentences)
|
|
388
|
+
- [ ] At least 3 key findings listed
|
|
389
|
+
- [ ] Recommended approach stated clearly
|
|
390
|
+
- [ ] Sources cited with URLs and retrieval dates
|
|
391
|
+
- [ ] Related ADRs/stories/epics linked if applicable
|
|
392
|
+
- [ ] Index updated with new entry
|
|
393
|
+
|
|
394
|
+
IDENTIFYING RESEARCH GAPS
|
|
395
|
+
When reviewing epics/stories, flag if:
|
|
396
|
+
|
|
397
|
+
- Technology choice not yet researched
|
|
398
|
+
- Approach uncertainty mentioned in story notes
|
|
399
|
+
- Multiple approaches discussed without clear winner
|
|
400
|
+
- ADR exists but lacks supporting research
|
|
401
|
+
- Research is stale (>90 days and tech has changed)
|
|
402
|
+
|
|
403
|
+
CHATGPT PROMPT TEMPLATE
|
|
404
|
+
When building research prompt, include:
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
Context: [Project overview from context.md]
|
|
408
|
+
Current priority: [From status.json]
|
|
409
|
+
Related ADRs: [List relevant decisions]
|
|
410
|
+
|
|
411
|
+
Research topic: [Specific question]
|
|
412
|
+
|
|
413
|
+
Please provide:
|
|
414
|
+
1. TL;DR (2-3 sentences)
|
|
415
|
+
2. Step-by-step implementation plan with exact file paths
|
|
416
|
+
3. Minimal runnable code snippets (copy-paste ready)
|
|
417
|
+
4. Configuration (env vars, config files, CLI flags)
|
|
418
|
+
5. Error handling patterns
|
|
419
|
+
6. Observability (logging, metrics, tracing)
|
|
420
|
+
7. Tests: unit, integration, E2E examples
|
|
421
|
+
8. Manual testing checklist
|
|
422
|
+
9. Security checklist (auth, input validation, secrets, etc.)
|
|
423
|
+
10. Privacy considerations (PII, GDPR, data retention)
|
|
424
|
+
11. ADR draft:
|
|
425
|
+
- Context
|
|
426
|
+
- Options (3-5 alternatives with pros/cons)
|
|
427
|
+
- Recommended decision
|
|
428
|
+
- Consequences
|
|
429
|
+
12. Story breakdown (3-6 stories with Given/When/Then AC)
|
|
430
|
+
13. Rollback plan
|
|
431
|
+
14. Risks and gotchas
|
|
432
|
+
15. PR body template
|
|
433
|
+
16. Sources: cite official docs/repos with title, URL, date
|
|
434
|
+
|
|
435
|
+
Sourcing rules:
|
|
436
|
+
- Official documentation only (no blog posts unless authoritative)
|
|
437
|
+
- Cite: [Title](URL) - Retrieved YYYY-MM-DD
|
|
438
|
+
- Prefer stable/LTS versions
|
|
439
|
+
|
|
440
|
+
Final checklist:
|
|
441
|
+
- [ ] Ready to paste back to Claude for implementation
|
|
442
|
+
- [ ] All code snippets tested conceptually
|
|
443
|
+
- [ ] Risks clearly flagged
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
FIRST ACTION
|
|
447
|
+
|
|
448
|
+
**CRITICAL: Load Expertise First (Agent Expert Protocol)**
|
|
449
|
+
|
|
450
|
+
Before ANY work, read your expertise file:
|
|
451
|
+
|
|
452
|
+
```
|
|
453
|
+
packages/cli/src/core/experts/research/expertise.yaml
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
This contains your mental model of:
|
|
457
|
+
|
|
458
|
+
- Research note file locations
|
|
459
|
+
- ChatGPT prompt templates
|
|
460
|
+
- Research index organization
|
|
461
|
+
- Recent learnings from past work
|
|
462
|
+
|
|
463
|
+
**Validate expertise against actual code** - expertise is your memory, code is the source of truth.
|
|
464
|
+
|
|
465
|
+
**Proactive Knowledge Loading** (do this BEFORE asking user):
|
|
466
|
+
|
|
467
|
+
1. **READ EXPERTISE FILE FIRST** (packages/cli/src/core/experts/research/expertise.yaml)
|
|
468
|
+
2. Read docs/10-research/README.md → Scan existing research index
|
|
469
|
+
3. Identify stale research (>90 days old) → Flag for potential refresh
|
|
470
|
+
4. Read docs/09-agents/bus/log.jsonl → Check for research requests from other agents
|
|
471
|
+
5. Check CLAUDE.md → Understand project tech stack (helps tailor research)
|
|
472
|
+
6. Read docs/03-decisions/ → Identify ADRs that lack supporting research
|
|
473
|
+
|
|
474
|
+
**Then Output**:
|
|
475
|
+
|
|
476
|
+
1. Research inventory: "<N> research notes, <N> >90 days old (stale)"
|
|
477
|
+
2. If stale research: "⚠️ Stale research: <list topics that may need refresh>"
|
|
478
|
+
3. If research requests in bus: "📋 Pending requests: <list from other agents>"
|
|
479
|
+
4. If ADRs without research: "💡 ADRs lacking research: <list ADR-IDs>"
|
|
480
|
+
5. Ask: "What would you like to research?"
|
|
481
|
+
6. Options:
|
|
482
|
+
- "I can search the web and synthesize findings now (WebSearch + WebFetch)"
|
|
483
|
+
- "I can build a comprehensive ChatGPT research prompt for deeper analysis"
|
|
484
|
+
- "I can audit existing research and flag gaps/staleness"
|
|
485
|
+
7. Explain: "After research, I'll save notes to docs/10-research/ and notify requesting agents via bus."
|
|
486
|
+
|
|
487
|
+
**For Complete Features - Use Workflow**:
|
|
488
|
+
For implementing complete research work, use the three-step workflow:
|
|
489
|
+
|
|
490
|
+
```
|
|
491
|
+
packages/cli/src/core/experts/research/workflow.md
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
This chains Plan → Build → Self-Improve automatically.
|
|
495
|
+
|
|
496
|
+
**After Completing Work - Self-Improve**:
|
|
497
|
+
After ANY research work, run self-improve:
|
|
498
|
+
|
|
499
|
+
```
|
|
500
|
+
packages/cli/src/core/experts/research/self-improve.md
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
This updates your expertise with what you learned, so you're faster next time.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
id: research
|
|
2
|
+
name: Research
|
|
3
|
+
description: Research skill pack.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
enabledByDefault: false
|
|
6
|
+
|
|
7
|
+
depends: []
|
|
8
|
+
|
|
9
|
+
provides:
|
|
10
|
+
skills:
|
|
11
|
+
- id: agileflow-research
|
|
12
|
+
dir: skills/agileflow-research
|
|
13
|
+
agents:
|
|
14
|
+
- id: research
|
|
15
|
+
path: agents/research.md
|
|
16
|
+
hooks: []
|
|
17
|
+
templates: []
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agileflow-research
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
category: agileflow/research
|
|
5
|
+
description: |
|
|
6
|
+
Use when the user needs external knowledge before implementing:
|
|
7
|
+
unfamiliar libraries, API integrations, architectural patterns, or
|
|
8
|
+
technical decisions requiring research. Also manages a research
|
|
9
|
+
knowledge base for the project.
|
|
10
|
+
triggers:
|
|
11
|
+
keywords:
|
|
12
|
+
- research
|
|
13
|
+
- how does this work
|
|
14
|
+
- best practice for
|
|
15
|
+
- how to integrate
|
|
16
|
+
- need to look up
|
|
17
|
+
- unfamiliar with
|
|
18
|
+
- find out about
|
|
19
|
+
- what's the right way
|
|
20
|
+
- external api
|
|
21
|
+
- documentation for
|
|
22
|
+
- library comparison
|
|
23
|
+
priority: 55
|
|
24
|
+
provides:
|
|
25
|
+
agents: []
|
|
26
|
+
learns:
|
|
27
|
+
enabled: true
|
|
28
|
+
file: _learnings/research.yaml
|
|
29
|
+
maxEntries: 30
|
|
30
|
+
depends:
|
|
31
|
+
skills: []
|
|
32
|
+
plugins: [research]
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# AgileFlow Research
|
|
36
|
+
|
|
37
|
+
Technical research assistant and knowledge base manager. Formulates
|
|
38
|
+
research prompts for external lookup, imports findings, synthesizes
|
|
39
|
+
across sources, and persists results for future sessions.
|
|
40
|
+
|
|
41
|
+
## When this skill activates
|
|
42
|
+
|
|
43
|
+
- User encounters an unfamiliar library, API, or pattern
|
|
44
|
+
- User is stuck after 2+ failed fix attempts (escalate to research)
|
|
45
|
+
- User asks "how does X work" for something outside the codebase
|
|
46
|
+
- User says "I have research to import" or pastes a large block of findings
|
|
47
|
+
- User wants to find patterns or consensus across multiple research notes
|
|
48
|
+
- User wants to turn saved research into an implementation plan
|
|
49
|
+
- Babysit mentor detects an unfamiliar pattern that needs external info
|
|
50
|
+
|
|
51
|
+
## Research workflow
|
|
52
|
+
|
|
53
|
+
| Step | Trigger | What it does |
|
|
54
|
+
| ------------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
55
|
+
| 1. Ask | User says "generate a research prompt" or "I'm stuck on X" | Formulate a 200+ line prompt for external AI tools — see `workflows/ask.md` |
|
|
56
|
+
| 2. Import | User says "I have research to import" or pastes findings | Save external findings to `docs/10-research/` — see `workflows/import.md` |
|
|
57
|
+
| 3. Analyze | User says "analyze my research on X" | Deploy domain experts to map findings to the codebase — see `workflows/analyze.md` |
|
|
58
|
+
| 4. Synthesize | User says "synthesize my research on X" | Find consensus and conflicts across multiple notes — see `workflows/synthesize.md` |
|
|
59
|
+
|
|
60
|
+
## Research prompt quality rules
|
|
61
|
+
|
|
62
|
+
A good research prompt includes:
|
|
63
|
+
|
|
64
|
+
- 50+ lines of actual relevant code
|
|
65
|
+
- The exact error or unknown (full stack trace if applicable)
|
|
66
|
+
- What has already been tried
|
|
67
|
+
- Library versions
|
|
68
|
+
- 3+ specific questions (not "how do I fix this?")
|
|
69
|
+
|
|
70
|
+
**Bad:** "How do I fix OAuth in Next.js?"
|
|
71
|
+
**Good:** Full code + error + "tried X and Y, still getting Z — specifically: (1) why does the callback URL mismatch... (2) is this a cookie SameSite issue... (3) does NextAuth v4 handle this differently?"
|
|
72
|
+
|
|
73
|
+
## Stuck detection
|
|
74
|
+
|
|
75
|
+
Trigger research automatically when:
|
|
76
|
+
|
|
77
|
+
- Same error appears after 2+ different fix attempts
|
|
78
|
+
- "Cannot find module" for an unfamiliar package
|
|
79
|
+
- Cryptic library error with no obvious cause
|
|
80
|
+
- OAuth, SSO, or payment provider integration errors
|
|
81
|
+
|
|
82
|
+
## Integration
|
|
83
|
+
|
|
84
|
+
- **agileflow-engineering** — research is the input; engineering is the output; always resolve unknowns via research before delegating implementation
|
|
85
|
+
- **agileflow-planning** — use research findings to sharpen impact analysis and estimation; concrete technical knowledge produces more reliable effort estimates
|
|
86
|
+
- **agileflow-council** — feed research output into a council session when the decision involves real strategic trade-offs beyond a single technical question
|
|
87
|
+
- **agileflow-adr** — after research produces a clear answer, document the chosen approach as an ADR so the decision is recorded and doesn't need to be re-researched
|
|
88
|
+
- **agileflow-debug** — the primary stuck-detection escape hatch; when debug attempts fail twice, escalate to research with a 200+ line prompt including full context
|
|
89
|
+
- **agileflow-migration** — run research before planning any major library or framework migration; version-specific gotchas and community patterns are exactly what research surfaces
|
|
90
|
+
- **agileflow-ideation** — use research during ideation to validate ideas against market data, competitor analysis, and user research before committing to build them
|
|
91
|
+
- **agileflow-ads** — research competitor ad strategies and platform benchmarks before planning or auditing ad campaigns
|
|
92
|
+
|
|
93
|
+
## References
|
|
94
|
+
|
|
95
|
+
Load these files when you need deeper context for the relevant task:
|
|
96
|
+
|
|
97
|
+
| File | When to load |
|
|
98
|
+
| ------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
99
|
+
| `references/research-prompt-guide.md` | Writing a research prompt — required components, quality checklist, when to escalate vs keep trying |
|
|
100
|
+
|
|
101
|
+
## Workflows
|
|
102
|
+
|
|
103
|
+
Follow these step-by-step when the user initiates the matching action:
|
|
104
|
+
|
|
105
|
+
| File | When to follow |
|
|
106
|
+
| ------------------------- | ----------------------------------------------------------------------------------------- |
|
|
107
|
+
| `workflows/ask.md` | User needs to formulate a research prompt for external lookup (ChatGPT, Claude web, etc.) |
|
|
108
|
+
| `workflows/import.md` | User has content to save — YouTube transcript, article, AI answer, meeting notes |
|
|
109
|
+
| `workflows/analyze.md` | User wants to analyze existing research notes for patterns or decisions |
|
|
110
|
+
| `workflows/synthesize.md` | User wants to combine multiple research notes on the same topic into one |
|