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,81 @@
|
|
|
1
|
+
# Epic Sizing Guide
|
|
2
|
+
|
|
3
|
+
**Load this when:** deciding if work needs an epic vs a story, sizing milestones,
|
|
4
|
+
or estimating an epic's total effort.
|
|
5
|
+
|
|
6
|
+
## Epic vs story decision
|
|
7
|
+
|
|
8
|
+
| Signal | Epic | Story |
|
|
9
|
+
| ---------------- | -------------------------------------- | ------------------ |
|
|
10
|
+
| Estimated effort | > 13 story points | ≤ 13 story points |
|
|
11
|
+
| Spans sprints | 2+ sprints | 1 sprint |
|
|
12
|
+
| Owners | Multiple (UI + API + DevOps) | One owner |
|
|
13
|
+
| Phases | Distinct phases, each delivering value | Single deliverable |
|
|
14
|
+
| User value | Multiple checkpoints | One outcome |
|
|
15
|
+
|
|
16
|
+
**When in doubt:** if you can't describe the whole thing in one user story sentence ("As a [user] I want [X] so that [Y]"), it's an epic.
|
|
17
|
+
|
|
18
|
+
## Milestone playbook
|
|
19
|
+
|
|
20
|
+
| Phase | What ships | Acceptance bar |
|
|
21
|
+
| -------------------- | ---------------------------------------------------- | ----------------------------------------- |
|
|
22
|
+
| **MVP** | One happy path, core user value, no edge cases | A real user can complete the primary flow |
|
|
23
|
+
| **Feature Complete** | All planned functionality, edge cases, documented | QA can sign off |
|
|
24
|
+
| **Polish** | Performance, UX refinement, accessibility, telemetry | Metrics and error rates within targets |
|
|
25
|
+
|
|
26
|
+
Not every epic needs all three phases — small epics often go MVP → Feature Complete only.
|
|
27
|
+
|
|
28
|
+
## Sizing benchmarks
|
|
29
|
+
|
|
30
|
+
| Epic size | Story points | Sprints (2-week) | Team size |
|
|
31
|
+
| ---------- | ------------ | ---------------- | ------------------------- |
|
|
32
|
+
| Small | 15–30 SP | 1–2 | 1 engineer |
|
|
33
|
+
| Medium | 30–60 SP | 2–4 | 1–2 engineers |
|
|
34
|
+
| Large | 60–100 SP | 4–6 | 2–3 engineers |
|
|
35
|
+
| Initiative | > 100 SP | 6+ | Split into multiple epics |
|
|
36
|
+
|
|
37
|
+
If an epic exceeds 100 SP at planning time, split it. Epics that large never finish as planned.
|
|
38
|
+
|
|
39
|
+
## Story grouping within milestones
|
|
40
|
+
|
|
41
|
+
Group stories by the layer they touch, then by delivery order:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Milestone 1: MVP
|
|
45
|
+
Infrastructure layer (must go first — others depend on it)
|
|
46
|
+
US-0041: Create sessions table migration — 3 pts
|
|
47
|
+
US-0042: Implement session token service — 5 pts
|
|
48
|
+
Feature layer
|
|
49
|
+
US-0043: Add login endpoint — 5 pts
|
|
50
|
+
Total: 13 pts
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Dependencies: how to surface them
|
|
54
|
+
|
|
55
|
+
For each epic, identify:
|
|
56
|
+
|
|
57
|
+
- **Blocking epics**: what must complete before this can start
|
|
58
|
+
- **Blocking stories within the epic**: stories that must land before others
|
|
59
|
+
- **External blockers**: third-party API access, design assets, legal review
|
|
60
|
+
|
|
61
|
+
Write dependencies as explicit statements: "Blocked by EP-0010 (auth infrastructure)" not "depends on auth."
|
|
62
|
+
|
|
63
|
+
## Risk categories
|
|
64
|
+
|
|
65
|
+
| Category | Examples | Mitigation |
|
|
66
|
+
| -------------------------- | ---------------------------------------------- | ---------------------------------------------- |
|
|
67
|
+
| **Technical unknowns** | First time using a library, unfamiliar pattern | Spike story in Milestone 1 |
|
|
68
|
+
| **External dependency** | Waiting on another team, third-party API | Early integration test, fallback plan |
|
|
69
|
+
| **Scope creep** | "While we're here..." | Explicit out-of-scope section |
|
|
70
|
+
| **Estimation uncertainty** | >30% of stories are novel | Build in buffer; re-estimate after Milestone 1 |
|
|
71
|
+
|
|
72
|
+
## Out-of-scope: what to include
|
|
73
|
+
|
|
74
|
+
Explicitly list what this epic does NOT cover. This prevents scope creep and sets expectations.
|
|
75
|
+
|
|
76
|
+
Good out-of-scope examples:
|
|
77
|
+
|
|
78
|
+
- "Mobile app — web only for this epic"
|
|
79
|
+
- "Admin dashboard — tracked separately in EP-0022"
|
|
80
|
+
- "Multi-language support — deferred to v2"
|
|
81
|
+
- "Offline mode — requires separate infrastructure investment"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Plan Epic Workflow
|
|
2
|
+
|
|
3
|
+
**Triggers:** "create an epic", "break this down", "this is too big for one story", user describes a multi-sprint feature or initiative
|
|
4
|
+
|
|
5
|
+
**Goal:** Produce a scoped epic with milestones, story groupings, dependencies, and rough estimates, written to `docs/05-epics/`.
|
|
6
|
+
|
|
7
|
+
## Inputs needed
|
|
8
|
+
|
|
9
|
+
| Input | Required | How to get it |
|
|
10
|
+
| -------------------- | -------- | ------------------------------------------------------------ |
|
|
11
|
+
| Feature description | Yes | Usually in the user's message |
|
|
12
|
+
| Problem being solved | Yes | Ask: "What user problem or business goal does this address?" |
|
|
13
|
+
| Success metrics | Yes | Ask: "How will you know it worked?" |
|
|
14
|
+
| Timeline or deadline | No | Ask if not mentioned |
|
|
15
|
+
| Out-of-scope | No | Ask: "Anything explicitly NOT in this?" |
|
|
16
|
+
|
|
17
|
+
## Steps
|
|
18
|
+
|
|
19
|
+
1. **Assess if it's epic-scale** — use `references/epic-sizing-guide.md`. If it's ≤13 SP and fits one sprint, suggest a story instead.
|
|
20
|
+
|
|
21
|
+
2. **Ask 3–5 clarifying questions** if key inputs are missing. Don't ask for everything — prioritize: problem statement > success metrics > out-of-scope > timeline.
|
|
22
|
+
Present as: "Before I plan this out, a few questions: [list]"
|
|
23
|
+
|
|
24
|
+
3. **Find the next epic number** — read `docs/05-epics/` for the highest existing EP-#### number. Start at EP-0001 if the directory is empty or missing.
|
|
25
|
+
|
|
26
|
+
4. **Design the milestones** — usually 2–3 phases using the MVP → Feature Complete → Polish pattern. Each milestone must deliver standalone user value.
|
|
27
|
+
|
|
28
|
+
5. **Group stories per milestone** — write story skeletons (title + rough points), don't author full story files yet. Dependency order within milestones.
|
|
29
|
+
|
|
30
|
+
6. **Draft the full epic** — write inline using the epic format from the SKILL.md. Show the complete draft to the user before writing any file.
|
|
31
|
+
|
|
32
|
+
7. **Present options to the user:**
|
|
33
|
+
- Write epic to `docs/05-epics/EP-####-<slug>.md`
|
|
34
|
+
- Revise the draft
|
|
35
|
+
- Also create the story skeletons now
|
|
36
|
+
|
|
37
|
+
8. **Write the file** only after explicit confirmation.
|
|
38
|
+
|
|
39
|
+
9. **Offer next step:** "Would you like me to create the story files for Milestone 1 now, or start working on the first story directly?"
|
|
40
|
+
|
|
41
|
+
## Output
|
|
42
|
+
|
|
43
|
+
- Epic file: `docs/05-epics/EP-####-<slug>.md`
|
|
44
|
+
- (Optional) Story skeleton files under `docs/06-stories/`
|
|
45
|
+
|
|
46
|
+
## Fallbacks
|
|
47
|
+
|
|
48
|
+
**If interactive prompts (AskUserQuestion) are unavailable:**
|
|
49
|
+
Present options as a numbered list in your response. Ask the user to reply with a number.
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
1. Write EP-0007 to docs/05-epics/EP-0007-user-notifications.md (Recommended)
|
|
53
|
+
2. Revise the draft — describe what to change
|
|
54
|
+
3. Write epic + create Milestone 1 story files
|
|
55
|
+
```
|
|
@@ -32,8 +32,6 @@ depends:
|
|
|
32
32
|
plugins: [core]
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
<!-- {{PERSONALIZATION_BLOCK}} -->
|
|
36
|
-
|
|
37
35
|
# AgileFlow Status Updater
|
|
38
36
|
|
|
39
37
|
Single source of truth for the project's agile state lives at
|
|
@@ -74,23 +72,23 @@ progress updates without the user editing JSON by hand.
|
|
|
74
72
|
|
|
75
73
|
### Story states
|
|
76
74
|
|
|
77
|
-
| From
|
|
78
|
-
|
|
79
|
-
| `ready`
|
|
80
|
-
| `in_progress` | `review`
|
|
81
|
-
| `review`
|
|
82
|
-
| `*`
|
|
83
|
-
| `blocked`
|
|
84
|
-
| `*`
|
|
75
|
+
| From | To | Notes |
|
|
76
|
+
| ------------- | ------------- | ---------------------------------------- |
|
|
77
|
+
| `ready` | `in_progress` | when someone picks it up |
|
|
78
|
+
| `in_progress` | `review` | tests pass, ready for review |
|
|
79
|
+
| `review` | `complete` | reviewer signs off |
|
|
80
|
+
| `*` | `blocked` | with required `blocked_reason` |
|
|
81
|
+
| `blocked` | (previous) | resume on unblock |
|
|
82
|
+
| `*` | `ready` | reset / rollback (asks for confirmation) |
|
|
85
83
|
|
|
86
84
|
### Epic states
|
|
87
85
|
|
|
88
|
-
| From
|
|
89
|
-
|
|
90
|
-
| `PLANNING` | `ACTIVE`
|
|
91
|
-
| `ACTIVE`
|
|
92
|
-
| `ON_HOLD`
|
|
93
|
-
| `ACTIVE`
|
|
86
|
+
| From | To | Notes |
|
|
87
|
+
| ---------- | ----------- | ------------------------------------------- |
|
|
88
|
+
| `PLANNING` | `ACTIVE` | first story moves to `in_progress` |
|
|
89
|
+
| `ACTIVE` | `ON_HOLD` | pause; record reason |
|
|
90
|
+
| `ON_HOLD` | `ACTIVE` | resume |
|
|
91
|
+
| `ACTIVE` | `COMPLETED` | all stories `complete`; auto-prompt confirm |
|
|
94
92
|
|
|
95
93
|
## Diff format (shown before write)
|
|
96
94
|
|
|
@@ -117,10 +115,12 @@ docs/06-stories/US-0042-login-form.md (frontmatter)
|
|
|
117
115
|
|
|
118
116
|
## Integration
|
|
119
117
|
|
|
120
|
-
- **agileflow-story-writer** — creates new stories (status = ready)
|
|
121
|
-
- **agileflow-epic-planner** — creates new epics (status = PLANNING)
|
|
122
|
-
- **agileflow-babysit-mentor** —
|
|
123
|
-
|
|
118
|
+
- **agileflow-story-writer** — creates new stories (status = ready); status-updater is called immediately after to register the story in `status.json`
|
|
119
|
+
- **agileflow-epic-planner** — creates new epics (status = PLANNING); status-updater tracks milestone transitions as stories complete
|
|
120
|
+
- **agileflow-babysit-mentor** — babysit-mentor is the primary driver of status changes during end-to-end workflow; it calls status-updater at each phase transition
|
|
121
|
+
- **agileflow-delivery** — delivery triggers status-updater to mark stories done after successful release; never mark done before the feature is shipped
|
|
122
|
+
- **agileflow-planning** — sprint planning reads status to determine capacity; planning and status-updater are used together at sprint boundaries
|
|
123
|
+
- **agileflow-adr** — ADR transitions (Proposed → Accepted → Deprecated) are tracked through status-updater alongside story and epic state
|
|
124
124
|
|
|
125
125
|
## Notes
|
|
126
126
|
|
|
@@ -130,3 +130,19 @@ docs/06-stories/US-0042-login-form.md (frontmatter)
|
|
|
130
130
|
confirmation explicitly rather than just showing the diff.
|
|
131
131
|
- Roll back any disallowed transition with a one-line explanation
|
|
132
132
|
("`complete` → `in_progress` isn't allowed; reset to `ready` first").
|
|
133
|
+
|
|
134
|
+
## References
|
|
135
|
+
|
|
136
|
+
Load these files when you need deeper context for the relevant task:
|
|
137
|
+
|
|
138
|
+
| File | When to load |
|
|
139
|
+
| ---------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
140
|
+
| `references/status-transitions.md` | Validating a transition, checking required fields, understanding the story/epic state machine |
|
|
141
|
+
|
|
142
|
+
## Workflows
|
|
143
|
+
|
|
144
|
+
Follow these step-by-step when the user initiates the matching action:
|
|
145
|
+
|
|
146
|
+
| File | When to follow |
|
|
147
|
+
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
|
|
148
|
+
| `workflows/update-status.md` | User reports progress ("I finished", "I'm blocked") — identifies target, validates transition, shows diff, confirms, writes |
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Status Transitions Reference
|
|
2
|
+
|
|
3
|
+
**Load this when:** validating a status change request, explaining allowed
|
|
4
|
+
transitions, or deciding if a transition needs special confirmation.
|
|
5
|
+
|
|
6
|
+
## Story state machine
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
┌─────────────────────────────────────┐
|
|
10
|
+
│ ▼
|
|
11
|
+
ready ──► in_progress ──► review ──► complete
|
|
12
|
+
▲ │ │
|
|
13
|
+
│ ▼ ▼
|
|
14
|
+
└──────── blocked ◄─────────┘
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
| From | To | When | Special handling |
|
|
18
|
+
| ------------- | ------------- | ----------------------------- | ----------------------------------------------- |
|
|
19
|
+
| `ready` | `in_progress` | Someone picks it up | Capture owner |
|
|
20
|
+
| `in_progress` | `review` | Tests pass, ready for review | Optional: capture reviewer |
|
|
21
|
+
| `review` | `complete` | Reviewer signs off | Set `completed` timestamp; update parent epic % |
|
|
22
|
+
| `*` | `blocked` | Any forward state hits a wall | Require `blocked_reason` + `unblock_action` |
|
|
23
|
+
| `blocked` | (previous) | Blocker resolved | Resume to the state it was in before blocking |
|
|
24
|
+
| `*` | `ready` | Reset / rollback | Ask for confirmation — this is unusual |
|
|
25
|
+
| `in_progress` | `complete` | Skip review (solo projects) | Warn that review was skipped |
|
|
26
|
+
|
|
27
|
+
## Epic state machine
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
PLANNING ──► ACTIVE ──► COMPLETED
|
|
31
|
+
│
|
|
32
|
+
▼
|
|
33
|
+
ON_HOLD ──► ACTIVE
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
| From | To | Trigger | Special handling |
|
|
37
|
+
| ---------- | ----------- | ---------------------------------- | ---------------------------------------------- |
|
|
38
|
+
| `PLANNING` | `ACTIVE` | First story moves to `in_progress` | Auto-suggest or explicit |
|
|
39
|
+
| `ACTIVE` | `ON_HOLD` | Team pause, competing priority | Require reason |
|
|
40
|
+
| `ON_HOLD` | `ACTIVE` | Work resumes | Clear the hold reason |
|
|
41
|
+
| `ACTIVE` | `COMPLETED` | All stories `complete` | Confirm — verify all stories are actually done |
|
|
42
|
+
|
|
43
|
+
## Transitions that need explicit confirmation
|
|
44
|
+
|
|
45
|
+
These are allowed but unusual — always show the change and ask YES/NO:
|
|
46
|
+
|
|
47
|
+
| Transition | Why unusual |
|
|
48
|
+
| --------------------------------------------------- | -------------------------------- |
|
|
49
|
+
| Any state → `ready` | Rollback — work may be lost |
|
|
50
|
+
| `review` → `in_progress` | Review rejected — capture reason |
|
|
51
|
+
| `complete` → anything | Reopening completed work |
|
|
52
|
+
| Epic `ACTIVE` → `COMPLETED` with incomplete stories | Data integrity risk |
|
|
53
|
+
|
|
54
|
+
## Required fields per transition
|
|
55
|
+
|
|
56
|
+
| Transition | Required field |
|
|
57
|
+
| --------------------- | ---------------------------------------------------- |
|
|
58
|
+
| Any → `blocked` | `blocked_reason` (string), `unblock_action` (string) |
|
|
59
|
+
| `blocked` → previous | Clear `blocked_reason` |
|
|
60
|
+
| Any → `complete` | `completed` (ISO timestamp) |
|
|
61
|
+
| Epic → `ON_HOLD` | `hold_reason` |
|
|
62
|
+
| Any assignment change | `owner` (team ID or name) |
|
|
63
|
+
|
|
64
|
+
## Progress calculation (epic)
|
|
65
|
+
|
|
66
|
+
When a story completes, recalculate the parent epic's progress:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
progress = (completed_stories / total_stories) * 100
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Update the epic file's `Progress` section and the `updated` timestamp.
|
|
73
|
+
|
|
74
|
+
Auto-trigger `COMPLETED` suggestion when `progress = 100%` and prompt user to confirm.
|
|
75
|
+
|
|
76
|
+
## Diff format to show before every write
|
|
77
|
+
|
|
78
|
+
Always show before/after for both `status.json` and the story/epic frontmatter:
|
|
79
|
+
|
|
80
|
+
```diff
|
|
81
|
+
docs/09-agents/status.json
|
|
82
|
+
- "US-0042": { "status": "ready", "updated": "2026-04-25" }
|
|
83
|
+
+ "US-0042": { "status": "in_progress", "updated": "2026-04-26" }
|
|
84
|
+
|
|
85
|
+
docs/06-stories/US-0042.md (frontmatter)
|
|
86
|
+
- status: ready
|
|
87
|
+
+ status: in_progress
|
|
88
|
+
+ updated: 2026-04-26
|
|
89
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Update Status Workflow
|
|
2
|
+
|
|
3
|
+
**Triggers:** "mark this done", "I finished", "I'm blocked on", "move to in progress", "update status", "story is complete", "mark epic active"
|
|
4
|
+
|
|
5
|
+
**Goal:** Apply a status mutation to a story or epic, show a diff, and write after confirmation.
|
|
6
|
+
|
|
7
|
+
## Inputs needed
|
|
8
|
+
|
|
9
|
+
| Input | Required | How to get it |
|
|
10
|
+
| -------------- | -------------- | ---------------------------------------------------------------- |
|
|
11
|
+
| Target ID | Yes | US-#### or EP-#### — infer from context or ask |
|
|
12
|
+
| New status | Yes | Usually clear from the user's words |
|
|
13
|
+
| Blocked reason | If blocking | Ask: "What's blocking you, and what needs to happen to unblock?" |
|
|
14
|
+
| Owner change | If reassigning | Ask who the new owner is |
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
1. **Identify the target** — extract US-#### or EP-#### from the user's message. If ambiguous (e.g., "the auth story"), read `docs/09-agents/status.json` to find the most likely match based on what's `in_progress` or recently mentioned.
|
|
19
|
+
|
|
20
|
+
2. **Validate the transition** — use `references/status-transitions.md`. If the transition is disallowed, explain why and suggest the closest valid path.
|
|
21
|
+
|
|
22
|
+
3. **Gather missing required fields** — if transitioning to `blocked`, ask for `blocked_reason` and `unblock_action`. If completing a story, prepare the `completed` timestamp.
|
|
23
|
+
|
|
24
|
+
4. **Build the diff** — show exactly what will change in both `status.json` and the story/epic file's frontmatter. Never skip this step.
|
|
25
|
+
|
|
26
|
+
5. **Present to user for confirmation:**
|
|
27
|
+
- Apply this change
|
|
28
|
+
- Edit the diff before applying (describe what to change)
|
|
29
|
+
- Cancel
|
|
30
|
+
|
|
31
|
+
6. **After confirmation:**
|
|
32
|
+
- Write `docs/09-agents/status.json`
|
|
33
|
+
- Write the story/epic file frontmatter
|
|
34
|
+
- If story completing: recalculate parent epic progress, update epic file
|
|
35
|
+
- If epic now at 100%: suggest marking epic `COMPLETED`
|
|
36
|
+
|
|
37
|
+
7. **Confirm completion** — "US-0042 marked complete. EP-0018 is now 87% done (7/8 stories)."
|
|
38
|
+
|
|
39
|
+
## Edge cases
|
|
40
|
+
|
|
41
|
+
- **"I finished" with no ID**: read status.json, find stories in `in_progress`, ask which one
|
|
42
|
+
- **Blocking with no reason**: do not proceed — `blocked_reason` is required
|
|
43
|
+
- **Complete with incomplete children**: warn before writing
|
|
44
|
+
- **Unknown ID**: say so clearly, offer to list what's in progress
|
|
45
|
+
|
|
46
|
+
## Fallbacks
|
|
47
|
+
|
|
48
|
+
**If interactive prompts (AskUserQuestion) are unavailable:**
|
|
49
|
+
Present options as a numbered list in your response. Ask the user to reply with a number.
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
Apply this status change?
|
|
53
|
+
1. Yes — apply the diff above
|
|
54
|
+
2. No — cancel
|
|
55
|
+
3. Change the blocked_reason first
|
|
56
|
+
```
|
|
@@ -33,8 +33,6 @@ depends:
|
|
|
33
33
|
plugins: [core]
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
<!-- {{PERSONALIZATION_BLOCK}} -->
|
|
37
|
-
|
|
38
36
|
# AgileFlow Story Writer
|
|
39
37
|
|
|
40
38
|
Converts user feature descriptions into properly-formatted user stories
|
|
@@ -46,23 +44,25 @@ and Fibonacci estimates.
|
|
|
46
44
|
- User describes how a feature should behave (`"as a user, I want..."`)
|
|
47
45
|
- Discussing features to build or tasks to implement
|
|
48
46
|
- Requesting a new user story or asking to format an idea as one
|
|
49
|
-
- The skill should NOT activate for casual conversation about
|
|
50
|
-
storytelling, books, or movies — the `exclude` keywords damp those.
|
|
51
47
|
|
|
52
|
-
|
|
48
|
+
The `exclude` keywords damp casual storytelling conversations
|
|
49
|
+
(books, movies, "story time").
|
|
50
|
+
|
|
51
|
+
## Workflow
|
|
53
52
|
|
|
54
|
-
1. Extract
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
epic linkage.
|
|
53
|
+
1. Extract `who / what / why` from the user's description.
|
|
54
|
+
2. Determine metadata: owner, priority, estimate, epic linkage.
|
|
55
|
+
See **`estimation-reference.md`** for the canonical scales.
|
|
58
56
|
3. Generate 2–5 acceptance criteria in Given/When/Then format covering
|
|
59
|
-
|
|
57
|
+
happy path, errors, and edge cases.
|
|
60
58
|
4. Show the proposed story to the user and wait for explicit approval
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
("diff first; YES/NO"). If the description is vague, ask 1–2
|
|
60
|
+
clarifying questions before generating.
|
|
61
|
+
5. After approval, write `docs/06-stories/US-####-<slug>.md` using the
|
|
62
|
+
template in **`story-template.md`**, then:
|
|
63
|
+
- Update `docs/06-stories/README.md` index
|
|
64
|
+
- Append to `docs/09-agents/status.json` with `status: ready`
|
|
65
|
+
- Create test stub at `docs/07-testing/test-cases/US-####.md`
|
|
66
66
|
|
|
67
67
|
## Self-improving learnings
|
|
68
68
|
|
|
@@ -77,94 +77,12 @@ The skill maintains preferences in
|
|
|
77
77
|
patterns, `low` for observations — and append the signal to the
|
|
78
78
|
learnings file. Continue with the corrected approach.
|
|
79
79
|
|
|
80
|
-
##
|
|
81
|
-
|
|
82
|
-
```markdown
|
|
83
|
-
---
|
|
84
|
-
story_id: US-0042
|
|
85
|
-
epic: EP-0001
|
|
86
|
-
title: User Login Form
|
|
87
|
-
owner: AG-UI
|
|
88
|
-
status: ready
|
|
89
|
-
estimate: 5
|
|
90
|
-
priority: P1
|
|
91
|
-
created: 2026-04-26
|
|
92
|
-
updated: 2026-04-26
|
|
93
|
-
dependencies: [US-0040]
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## Description
|
|
97
|
-
|
|
98
|
-
As a user,
|
|
99
|
-
I want to log in with my email and password,
|
|
100
|
-
So that I can access my account and personalized features.
|
|
101
|
-
|
|
102
|
-
## Acceptance Criteria
|
|
103
|
-
|
|
104
|
-
### AC1: Successful Login
|
|
105
|
-
**Given** a registered user with valid credentials
|
|
106
|
-
**When** user enters email and password
|
|
107
|
-
**Then** user is redirected to dashboard with welcome message
|
|
108
|
-
|
|
109
|
-
### AC2: Invalid Credentials
|
|
110
|
-
**Given** user enters incorrect password
|
|
111
|
-
**When** user submits login form
|
|
112
|
-
**Then** error message "Invalid email or password" is displayed
|
|
113
|
-
|
|
114
|
-
### AC3: Input Validation
|
|
115
|
-
**Given** user submits empty email field
|
|
116
|
-
**When** user clicks "Login" button
|
|
117
|
-
**Then** validation error "Email is required" is shown
|
|
118
|
-
|
|
119
|
-
## Technical Notes
|
|
120
|
-
|
|
121
|
-
- Use JWT authentication with 24h expiration
|
|
122
|
-
- Store tokens in httpOnly cookies
|
|
123
|
-
- Implement rate limiting (5 attempts per 15 minutes)
|
|
124
|
-
- Hash passwords with bcrypt
|
|
125
|
-
|
|
126
|
-
## Testing Strategy
|
|
127
|
-
|
|
128
|
-
- Unit tests for form validation logic
|
|
129
|
-
- Integration tests for authentication flow
|
|
130
|
-
- E2E test for full login journey
|
|
131
|
-
- Test stub: docs/07-testing/test-cases/US-0042.md
|
|
132
|
-
|
|
133
|
-
## Definition of Done
|
|
80
|
+
## Companion references
|
|
134
81
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
- [ ] Acceptance criteria validated
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Owner determination
|
|
143
|
-
|
|
144
|
-
- **AG-UI** — Frontend components, styling, user interactions, accessibility
|
|
145
|
-
- **AG-API** — Backend services, APIs, data models, business logic
|
|
146
|
-
- **AG-CI** — CI/CD pipelines, testing infrastructure, quality gates
|
|
147
|
-
- **AG-DEVOPS** — Infrastructure, deployment, monitoring, automation
|
|
148
|
-
|
|
149
|
-
If the work spans multiple owners, pick the **primary** owner and note
|
|
150
|
-
others under Technical Notes.
|
|
151
|
-
|
|
152
|
-
## Story-point estimation (Fibonacci)
|
|
153
|
-
|
|
154
|
-
- **1** — Trivial (text update, typo, config tweak)
|
|
155
|
-
- **2** — Simple (add form field, new button, basic validation)
|
|
156
|
-
- **3** — Small (basic CRUD endpoint, simple component)
|
|
157
|
-
- **5** — Medium (authentication flow, data model)
|
|
158
|
-
- **8** — Large (payment integration, complex UI workflow)
|
|
159
|
-
- **13** — Very large — **suggest splitting** into multiple stories or
|
|
160
|
-
promoting to an epic
|
|
161
|
-
|
|
162
|
-
## Priority guidelines
|
|
163
|
-
|
|
164
|
-
- **P0 (Critical)** — Blocking users, security, data loss, prod outage
|
|
165
|
-
- **P1 (High)** — Major features, important fixes, user-facing improvements
|
|
166
|
-
- **P2 (Medium)** — Nice-to-have, minor improvements, enhancements
|
|
167
|
-
- **P3 (Low)** — Tech debt, cleanup, future enhancements, optimizations
|
|
82
|
+
| File | Load when |
|
|
83
|
+
| ------------------------- | ------------------------------------------------------------------- |
|
|
84
|
+
| `story-template.md` | Writing the story file — full frontmatter + body shape with example |
|
|
85
|
+
| `estimation-reference.md` | Assigning owner / estimate / priority — canonical scales |
|
|
168
86
|
|
|
169
87
|
## Quality checklist
|
|
170
88
|
|
|
@@ -173,28 +91,35 @@ others under Technical Notes.
|
|
|
173
91
|
- [ ] At least 2 acceptance criteria with Given/When/Then
|
|
174
92
|
- [ ] Owner reflects the primary work area
|
|
175
93
|
- [ ] Priority reflects urgency and impact (P0–P3)
|
|
176
|
-
- [ ] Estimate is in Fibonacci sequence (1,2,3,5,8,13)
|
|
94
|
+
- [ ] Estimate is in Fibonacci sequence (1, 2, 3, 5, 8, 13)
|
|
177
95
|
- [ ] File name matches pattern: `US-####-descriptive-name.md`
|
|
178
|
-
- [ ] Technical notes capture implementation details
|
|
179
|
-
- [ ] Definition of Done is comprehensive
|
|
180
96
|
- [ ] Story added to `docs/09-agents/status.json` with `status: ready`
|
|
181
97
|
- [ ] Test stub created
|
|
182
98
|
- [ ] If user corrected output, learnings file updated
|
|
183
99
|
|
|
184
|
-
## Integration
|
|
185
|
-
|
|
186
|
-
- **agileflow-epic-planner** — stories are part of epics
|
|
187
|
-
- **agileflow-sprint-planner** — stories are selected for sprints
|
|
188
|
-
- **agileflow-acceptance-criteria** — strengthen AC sections
|
|
189
|
-
- **agileflow-adr** — reference architectural decisions in technical notes
|
|
190
|
-
|
|
191
100
|
## Notes
|
|
192
101
|
|
|
193
|
-
- If the user description is vague, ask 1–2 clarifying questions before
|
|
194
|
-
generating the story.
|
|
195
102
|
- Use the next available story number based on existing files in
|
|
196
103
|
`docs/06-stories/` (zero-pad to 4 digits: `US-0042`).
|
|
197
104
|
- If the estimate would exceed 13 points, suggest splitting before
|
|
198
105
|
writing the file.
|
|
199
106
|
- Always show the proposed story diff and wait for explicit `YES` /
|
|
200
107
|
`NO` before writing.
|
|
108
|
+
|
|
109
|
+
## Integration
|
|
110
|
+
|
|
111
|
+
- **agileflow-ideation** — ideation produces feature ideas; story-writer gives them the AC and structure needed to enter the backlog
|
|
112
|
+
- **agileflow-epic-planner** — when a story grows beyond one sprint of effort, suggest splitting via epic-planner before writing individual stories
|
|
113
|
+
- **agileflow-status-updater** — after writing a story, flip its status to `ready` in `status.json` via status-updater
|
|
114
|
+
- **agileflow-adr** — if writing a story reveals a technology or architecture decision, spawn adr to document it before implementation begins
|
|
115
|
+
- **agileflow-planning** — use for estimation guidance, sprint capacity checks, or INVEST criteria validation before finalising a story
|
|
116
|
+
- **agileflow-babysit-mentor** — babysit-mentor is the primary consumer of stories produced here; a well-written story is the input that makes mentor-guided execution reliable
|
|
117
|
+
- **agileflow-council** — convene before writing a story if the scope or approach is genuinely ambiguous and a multi-perspective input would sharpen the AC
|
|
118
|
+
|
|
119
|
+
## Workflows
|
|
120
|
+
|
|
121
|
+
Follow these step-by-step when the user initiates the matching action:
|
|
122
|
+
|
|
123
|
+
| File | When to follow |
|
|
124
|
+
| -------------------------- | ------------------------------------------------------------------------------------------ |
|
|
125
|
+
| `workflows/write-story.md` | User wants a new story written — scope check, clarifying questions, draft, approval, write |
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Owner, Estimate, and Priority Reference
|
|
2
|
+
|
|
3
|
+
**Load this reference when:** assigning `owner`, `estimate`, or `priority`
|
|
4
|
+
to a new story and you need the canonical scales.
|
|
5
|
+
|
|
6
|
+
## Owner
|
|
7
|
+
|
|
8
|
+
Pick the **primary** owner. If work spans multiple owners, note the
|
|
9
|
+
others under "Technical Notes".
|
|
10
|
+
|
|
11
|
+
| Owner | Scope |
|
|
12
|
+
| ------------- | -------------------------------------------------------------- |
|
|
13
|
+
| **AG-UI** | Frontend components, styling, user interactions, accessibility |
|
|
14
|
+
| **AG-API** | Backend services, APIs, data models, business logic |
|
|
15
|
+
| **AG-CI** | CI/CD pipelines, testing infrastructure, quality gates |
|
|
16
|
+
| **AG-DEVOPS** | Infrastructure, deployment, monitoring, automation |
|
|
17
|
+
|
|
18
|
+
## Estimate (Fibonacci)
|
|
19
|
+
|
|
20
|
+
| Points | Meaning | Example |
|
|
21
|
+
| ------ | ---------- | ------------------------------------------------------------------- |
|
|
22
|
+
| **1** | Trivial | Text update, typo, config tweak |
|
|
23
|
+
| **2** | Simple | Add form field, new button, basic validation |
|
|
24
|
+
| **3** | Small | Basic CRUD endpoint, simple component |
|
|
25
|
+
| **5** | Medium | Auth flow, data model, multi-step form |
|
|
26
|
+
| **8** | Large | Payment integration, complex UI workflow |
|
|
27
|
+
| **13** | Very large | **Suggest splitting** into multiple stories or promoting to an epic |
|
|
28
|
+
|
|
29
|
+
## Priority
|
|
30
|
+
|
|
31
|
+
| Level | When to use |
|
|
32
|
+
| ----------------- | --------------------------------------------------------- |
|
|
33
|
+
| **P0 — Critical** | Blocking users, security, data loss, prod outage |
|
|
34
|
+
| **P1 — High** | Major features, important fixes, user-facing improvements |
|
|
35
|
+
| **P2 — Medium** | Nice-to-have, minor improvements, enhancements |
|
|
36
|
+
| **P3 — Low** | Tech debt, cleanup, future enhancements, optimizations |
|