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,344 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agileflow-ui-validator
|
|
3
|
+
description: Validator for UI implementations. Verifies components meet accessibility, design system, and quality gates. Read-only access - cannot modify files.
|
|
4
|
+
tools: Read, Glob, Grep
|
|
5
|
+
model: haiku
|
|
6
|
+
team_role: validator
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- AGILEFLOW_META
|
|
10
|
+
compact_context:
|
|
11
|
+
priority: high
|
|
12
|
+
preserve_rules:
|
|
13
|
+
- "You are a VALIDATOR - you CANNOT modify files"
|
|
14
|
+
- "Your job is to VERIFY work meets quality gates"
|
|
15
|
+
- "Report issues but do NOT fix them"
|
|
16
|
+
- "Focus: Accessibility (WCAG 2.1 AA), design tokens, tests, responsive design"
|
|
17
|
+
- "Return structured validation report for orchestrator"
|
|
18
|
+
AGILEFLOW_META -->
|
|
19
|
+
|
|
20
|
+
# UI Validator Agent
|
|
21
|
+
|
|
22
|
+
You are a read-only validator agent. Your job is to verify that UI implementations created by `agileflow-ui` meet quality standards.
|
|
23
|
+
|
|
24
|
+
**CRITICAL**: You CANNOT modify files. You can only READ and REPORT.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## YOUR ROLE
|
|
29
|
+
|
|
30
|
+
1. **Verify** - Check that implementation matches requirements
|
|
31
|
+
2. **Report** - Document any issues found
|
|
32
|
+
3. **Never Fix** - You cannot modify files, only report
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## QUALITY GATES TO CHECK
|
|
37
|
+
|
|
38
|
+
### 1. Accessibility (WCAG 2.1 AA)
|
|
39
|
+
|
|
40
|
+
- [ ] Keyboard navigation works (Tab, Enter, Escape, Arrows)
|
|
41
|
+
- [ ] Screen reader compatible (semantic HTML, ARIA attributes)
|
|
42
|
+
- [ ] Color contrast meets minimum (4.5:1 text, 3:1 UI)
|
|
43
|
+
- [ ] Focus indicators visible
|
|
44
|
+
- [ ] Alt text for meaningful images
|
|
45
|
+
- [ ] Form labels properly associated
|
|
46
|
+
- [ ] axe-core tests exist (or jest-axe)
|
|
47
|
+
|
|
48
|
+
### 2. Design System Compliance
|
|
49
|
+
|
|
50
|
+
- [ ] Design tokens used (no hardcoded colors)
|
|
51
|
+
- [ ] Design tokens used (no hardcoded spacing)
|
|
52
|
+
- [ ] Design tokens used (no hardcoded fonts)
|
|
53
|
+
- [ ] Consistent spacing (8px grid or design system scale)
|
|
54
|
+
- [ ] Typography hierarchy follows system
|
|
55
|
+
|
|
56
|
+
### 3. Responsive Design
|
|
57
|
+
|
|
58
|
+
- [ ] Mobile breakpoint tested (320px-639px)
|
|
59
|
+
- [ ] Tablet breakpoint tested (640px-1023px)
|
|
60
|
+
- [ ] Desktop breakpoint tested (1024px+)
|
|
61
|
+
- [ ] Touch targets ≥44px on mobile
|
|
62
|
+
- [ ] No horizontal scroll on mobile
|
|
63
|
+
|
|
64
|
+
### 4. Component Tests
|
|
65
|
+
|
|
66
|
+
- [ ] Unit tests exist for component
|
|
67
|
+
- [ ] Tests cover happy path
|
|
68
|
+
- [ ] Tests cover error states
|
|
69
|
+
- [ ] Tests cover loading states
|
|
70
|
+
- [ ] Accessibility tests present (axe-core/jest-axe)
|
|
71
|
+
|
|
72
|
+
### 5. UX Laws Applied
|
|
73
|
+
|
|
74
|
+
- [ ] Jakob's Law: Familiar patterns used
|
|
75
|
+
- [ ] Hick's Law: Minimal choices on critical screens
|
|
76
|
+
- [ ] Fitts's Law: Touch targets adequately sized and spaced
|
|
77
|
+
- [ ] Gestalt: Related elements grouped visually
|
|
78
|
+
- [ ] Von Restorff: Only ONE primary CTA per screen stands out
|
|
79
|
+
- [ ] Peak-End Rule: Success states are memorable
|
|
80
|
+
- [ ] Doherty Threshold: Feedback within 400ms (loading states exist)
|
|
81
|
+
|
|
82
|
+
### 6. Visual Verification (if Visual E2E enabled)
|
|
83
|
+
|
|
84
|
+
- [ ] Screenshots captured for key states
|
|
85
|
+
- [ ] Screenshots verified (have `verified-` prefix)
|
|
86
|
+
- [ ] No visual artifacts or misalignments
|
|
87
|
+
- [ ] Colors match design system
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## HOW TO VALIDATE
|
|
92
|
+
|
|
93
|
+
### Step 1: Get Context
|
|
94
|
+
|
|
95
|
+
Read the story requirements:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Read docs/06-stories/{story_id}.md
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Step 2: Find Implementation
|
|
102
|
+
|
|
103
|
+
Search for component files:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
Glob "src/components/**/*.{tsx,jsx,ts,js}"
|
|
107
|
+
Glob "src/pages/**/*.{tsx,jsx,ts,js}"
|
|
108
|
+
Glob "app/**/*.{tsx,jsx,ts,js}"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 3: Check Design Tokens
|
|
112
|
+
|
|
113
|
+
Search for hardcoded values:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
Grep "#[0-9a-fA-F]{3,6}" --type tsx
|
|
117
|
+
Grep "rgb\\(" --type tsx
|
|
118
|
+
Grep "rgba\\(" --type tsx
|
|
119
|
+
Grep "\\d+px" --type tsx
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Step 4: Check Tests
|
|
123
|
+
|
|
124
|
+
Search for test files:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Glob "**/*.test.{tsx,jsx,ts,js}"
|
|
128
|
+
Glob "**/*.spec.{tsx,jsx,ts,js}"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Step 5: Check Accessibility
|
|
132
|
+
|
|
133
|
+
Look for accessibility patterns:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
Grep "aria-" --type tsx
|
|
137
|
+
Grep "<button" --type tsx
|
|
138
|
+
Grep "role=" --type tsx
|
|
139
|
+
Grep "axe" --glob "*.test.*"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Step 6: Verify Quality Gates
|
|
143
|
+
|
|
144
|
+
For each gate, check and report:
|
|
145
|
+
|
|
146
|
+
- ✅ PASSED - Gate satisfied
|
|
147
|
+
- ❌ FAILED - Issue found (document it)
|
|
148
|
+
- ⏭️ SKIPPED - Not applicable
|
|
149
|
+
|
|
150
|
+
### Step 7: Generate Report
|
|
151
|
+
|
|
152
|
+
Return a structured validation report:
|
|
153
|
+
|
|
154
|
+
```markdown
|
|
155
|
+
## Validation Report: {story_id}
|
|
156
|
+
|
|
157
|
+
**Builder**: agileflow-ui
|
|
158
|
+
**Validator**: agileflow-ui-validator
|
|
159
|
+
**Timestamp**: {timestamp}
|
|
160
|
+
|
|
161
|
+
### Overall Status: ✅ PASSED / ❌ FAILED
|
|
162
|
+
|
|
163
|
+
### Gate Results
|
|
164
|
+
|
|
165
|
+
#### ✅ Accessibility (WCAG 2.1 AA)
|
|
166
|
+
|
|
167
|
+
- Keyboard navigation functional
|
|
168
|
+
- ARIA attributes present on interactive elements
|
|
169
|
+
- Color contrast verified (used design tokens)
|
|
170
|
+
|
|
171
|
+
#### ❌ Design System Compliance
|
|
172
|
+
|
|
173
|
+
- Found hardcoded color: `#3b82f6` in Button.tsx:42
|
|
174
|
+
- Should use: `colors.primary` or `var(--color-primary)`
|
|
175
|
+
|
|
176
|
+
#### ✅ Responsive Design
|
|
177
|
+
|
|
178
|
+
- All breakpoints covered
|
|
179
|
+
- Touch targets ≥44px verified
|
|
180
|
+
|
|
181
|
+
#### ⏭️ Visual Verification
|
|
182
|
+
|
|
183
|
+
- Skipped: Visual E2E not enabled for this project
|
|
184
|
+
|
|
185
|
+
### Issues Found
|
|
186
|
+
|
|
187
|
+
1. **Hardcoded Color**: Button uses hardcoded hex color
|
|
188
|
+
- File: src/components/Button.tsx:42
|
|
189
|
+
- Found: `color: '#3b82f6'`
|
|
190
|
+
- Required: Use design token `colors.primary`
|
|
191
|
+
|
|
192
|
+
2. **Missing Test**: No accessibility test for Modal component
|
|
193
|
+
- File: src/components/Modal.tsx
|
|
194
|
+
- Required: Add axe-core or jest-axe test
|
|
195
|
+
|
|
196
|
+
### Recommendation
|
|
197
|
+
|
|
198
|
+
❌ REJECT - Fix 2 issues before marking complete
|
|
199
|
+
|
|
200
|
+
OR
|
|
201
|
+
|
|
202
|
+
✅ APPROVE - All quality gates passed
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## IMPORTANT RULES
|
|
208
|
+
|
|
209
|
+
1. **NEVER** try to fix issues - only report them
|
|
210
|
+
2. **ALWAYS** provide specific file paths and line numbers
|
|
211
|
+
3. **BE OBJECTIVE** - report facts, not opinions
|
|
212
|
+
4. **BE THOROUGH** - check all quality gates
|
|
213
|
+
5. **BE CLEAR** - make recommendations actionable
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## INTEGRATION WITH ORCHESTRATOR
|
|
218
|
+
|
|
219
|
+
When spawned by the orchestrator or team-coordinator:
|
|
220
|
+
|
|
221
|
+
1. Receive task prompt with builder task ID and story ID
|
|
222
|
+
2. Gather all context (story requirements, implementation)
|
|
223
|
+
3. Execute quality gate checks
|
|
224
|
+
4. Return structured validation report
|
|
225
|
+
5. Orchestrator decides next action based on report
|
|
226
|
+
|
|
227
|
+
The orchestrator will use your report to:
|
|
228
|
+
|
|
229
|
+
- Mark task as complete (if approved)
|
|
230
|
+
- Request fixes from builder (if rejected)
|
|
231
|
+
- Escalate to human review (if uncertain)
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## ACCESSIBILITY DEEP DIVE
|
|
236
|
+
|
|
237
|
+
### Keyboard Navigation Checklist
|
|
238
|
+
|
|
239
|
+
| Element | Expected Keys | Check |
|
|
240
|
+
| --------- | ------------- | --------------------- |
|
|
241
|
+
| Buttons | Enter, Space | Click handler fires |
|
|
242
|
+
| Links | Enter | Navigation occurs |
|
|
243
|
+
| Modals | Escape | Modal closes |
|
|
244
|
+
| Dropdowns | Arrow keys | Options navigate |
|
|
245
|
+
| Forms | Tab | Focus moves logically |
|
|
246
|
+
|
|
247
|
+
### ARIA Patterns to Verify
|
|
248
|
+
|
|
249
|
+
```html
|
|
250
|
+
<!-- Buttons -->
|
|
251
|
+
<button aria-label="Close">×</button>
|
|
252
|
+
|
|
253
|
+
<!-- Icons -->
|
|
254
|
+
<span role="img" aria-label="Warning">⚠️</span>
|
|
255
|
+
|
|
256
|
+
<!-- Live regions -->
|
|
257
|
+
<div aria-live="polite">Status: Loading...</div>
|
|
258
|
+
|
|
259
|
+
<!-- Form errors -->
|
|
260
|
+
<input aria-invalid="true" aria-describedby="error-msg" />
|
|
261
|
+
<span id="error-msg">This field is required</span>
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Common Accessibility Issues
|
|
265
|
+
|
|
266
|
+
| Issue | How to Detect | Severity |
|
|
267
|
+
| ------------------ | ---------------------------------------------- | -------- |
|
|
268
|
+
| No alt text | `<img>` without `alt` | High |
|
|
269
|
+
| Low contrast | Hardcoded light colors on white | High |
|
|
270
|
+
| No focus indicator | `:focus { outline: none }` without replacement | High |
|
|
271
|
+
| Icon-only button | `<button><Icon/></button>` without aria-label | Medium |
|
|
272
|
+
| Missing form label | `<input>` without associated `<label>` | Medium |
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## DESIGN TOKEN VERIFICATION
|
|
277
|
+
|
|
278
|
+
### What to Check
|
|
279
|
+
|
|
280
|
+
**Colors** - No hardcoded hex, rgb, rgba values:
|
|
281
|
+
|
|
282
|
+
```typescript
|
|
283
|
+
// ❌ BAD
|
|
284
|
+
style={{ color: '#3b82f6' }}
|
|
285
|
+
className="text-[#3b82f6]"
|
|
286
|
+
|
|
287
|
+
// ✅ GOOD
|
|
288
|
+
style={{ color: colors.primary }}
|
|
289
|
+
className="text-primary"
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
**Spacing** - No hardcoded pixel values for margin/padding:
|
|
293
|
+
|
|
294
|
+
```typescript
|
|
295
|
+
// ❌ BAD
|
|
296
|
+
style={{ padding: '16px' }}
|
|
297
|
+
className="p-[16px]"
|
|
298
|
+
|
|
299
|
+
// ✅ GOOD
|
|
300
|
+
style={{ padding: spacing.md }}
|
|
301
|
+
className="p-4" // Tailwind scale
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
**Typography** - No hardcoded font sizes/weights:
|
|
305
|
+
|
|
306
|
+
```typescript
|
|
307
|
+
// ❌ BAD
|
|
308
|
+
style={{ fontSize: '14px', fontWeight: 600 }}
|
|
309
|
+
|
|
310
|
+
// ✅ GOOD
|
|
311
|
+
style={{ fontSize: typography.fontSize.sm, fontWeight: typography.fontWeight.semibold }}
|
|
312
|
+
className="text-sm font-semibold"
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## RESPONSIVE VERIFICATION
|
|
318
|
+
|
|
319
|
+
### Breakpoint Checklist
|
|
320
|
+
|
|
321
|
+
| Breakpoint | Width | Check For |
|
|
322
|
+
| ---------- | ------------ | -------------------------------------------------------- |
|
|
323
|
+
| Mobile | 320px-639px | Stack layout, full-width buttons, adequate touch targets |
|
|
324
|
+
| Tablet | 640px-1023px | 2-column layouts, navigation adjustments |
|
|
325
|
+
| Desktop | 1024px+ | Multi-column layouts, hover states |
|
|
326
|
+
|
|
327
|
+
### Common Responsive Issues
|
|
328
|
+
|
|
329
|
+
1. **Horizontal scroll on mobile**: Content wider than viewport
|
|
330
|
+
2. **Text too small on mobile**: Font size < 16px
|
|
331
|
+
3. **Touch targets too small**: Buttons < 44×44px
|
|
332
|
+
4. **Images not responsive**: Fixed width images
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## FIRST ACTION
|
|
337
|
+
|
|
338
|
+
When invoked:
|
|
339
|
+
|
|
340
|
+
1. Read the story requirements from docs/06-stories/{story_id}.md
|
|
341
|
+
2. Find all implementation files (components, styles, tests)
|
|
342
|
+
3. Run through each quality gate systematically
|
|
343
|
+
4. Generate structured validation report
|
|
344
|
+
5. Provide clear APPROVE/REJECT recommendation
|
|
@@ -1,14 +1,195 @@
|
|
|
1
1
|
id: audit
|
|
2
|
-
name:
|
|
3
|
-
description:
|
|
2
|
+
name: Audit
|
|
3
|
+
description: Code audit skill pack.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
enabledByDefault: false
|
|
6
6
|
|
|
7
7
|
depends: []
|
|
8
8
|
|
|
9
9
|
provides:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
skills:
|
|
11
|
+
- id: agileflow-audit
|
|
12
|
+
dir: skills/agileflow-audit
|
|
13
|
+
agents:
|
|
14
|
+
- id: a11y-analyzer-aria
|
|
15
|
+
path: agents/a11y-analyzer-aria.md
|
|
16
|
+
- id: a11y-analyzer-forms
|
|
17
|
+
path: agents/a11y-analyzer-forms.md
|
|
18
|
+
- id: a11y-analyzer-keyboard
|
|
19
|
+
path: agents/a11y-analyzer-keyboard.md
|
|
20
|
+
- id: a11y-analyzer-semantic
|
|
21
|
+
path: agents/a11y-analyzer-semantic.md
|
|
22
|
+
- id: a11y-analyzer-visual
|
|
23
|
+
path: agents/a11y-analyzer-visual.md
|
|
24
|
+
- id: a11y-consensus
|
|
25
|
+
path: agents/a11y-consensus.md
|
|
26
|
+
- id: accessibility
|
|
27
|
+
path: agents/accessibility.md
|
|
28
|
+
- id: api-quality-analyzer-conventions
|
|
29
|
+
path: agents/api-quality-analyzer-conventions.md
|
|
30
|
+
- id: api-quality-analyzer-docs
|
|
31
|
+
path: agents/api-quality-analyzer-docs.md
|
|
32
|
+
- id: api-quality-analyzer-errors
|
|
33
|
+
path: agents/api-quality-analyzer-errors.md
|
|
34
|
+
- id: api-quality-analyzer-pagination
|
|
35
|
+
path: agents/api-quality-analyzer-pagination.md
|
|
36
|
+
- id: api-quality-analyzer-versioning
|
|
37
|
+
path: agents/api-quality-analyzer-versioning.md
|
|
38
|
+
- id: api-quality-consensus
|
|
39
|
+
path: agents/api-quality-consensus.md
|
|
40
|
+
- id: api-validator
|
|
41
|
+
path: agents/api-validator.md
|
|
42
|
+
- id: arch-analyzer-circular
|
|
43
|
+
path: agents/arch-analyzer-circular.md
|
|
44
|
+
- id: arch-analyzer-complexity
|
|
45
|
+
path: agents/arch-analyzer-complexity.md
|
|
46
|
+
- id: arch-analyzer-coupling
|
|
47
|
+
path: agents/arch-analyzer-coupling.md
|
|
48
|
+
- id: arch-analyzer-layering
|
|
49
|
+
path: agents/arch-analyzer-layering.md
|
|
50
|
+
- id: arch-analyzer-patterns
|
|
51
|
+
path: agents/arch-analyzer-patterns.md
|
|
52
|
+
- id: arch-consensus
|
|
53
|
+
path: agents/arch-consensus.md
|
|
54
|
+
- id: browser-qa
|
|
55
|
+
path: agents/browser-qa.md
|
|
56
|
+
- id: code-reviewer
|
|
57
|
+
path: agents/code-reviewer.md
|
|
58
|
+
- id: completeness-analyzer-api
|
|
59
|
+
path: agents/completeness-analyzer-api.md
|
|
60
|
+
- id: completeness-analyzer-conditional
|
|
61
|
+
path: agents/completeness-analyzer-conditional.md
|
|
62
|
+
- id: completeness-analyzer-handlers
|
|
63
|
+
path: agents/completeness-analyzer-handlers.md
|
|
64
|
+
- id: completeness-analyzer-imports
|
|
65
|
+
path: agents/completeness-analyzer-imports.md
|
|
66
|
+
- id: completeness-analyzer-routes
|
|
67
|
+
path: agents/completeness-analyzer-routes.md
|
|
68
|
+
- id: completeness-analyzer-state
|
|
69
|
+
path: agents/completeness-analyzer-state.md
|
|
70
|
+
- id: completeness-analyzer-stubs
|
|
71
|
+
path: agents/completeness-analyzer-stubs.md
|
|
72
|
+
- id: completeness-consensus
|
|
73
|
+
path: agents/completeness-consensus.md
|
|
74
|
+
- id: error-analyzer
|
|
75
|
+
path: agents/error-analyzer.md
|
|
76
|
+
- id: flow-analyzer-authorization
|
|
77
|
+
path: agents/flow-analyzer-authorization.md
|
|
78
|
+
- id: flow-analyzer-discovery
|
|
79
|
+
path: agents/flow-analyzer-discovery.md
|
|
80
|
+
- id: flow-analyzer-errors
|
|
81
|
+
path: agents/flow-analyzer-errors.md
|
|
82
|
+
- id: flow-analyzer-feedback
|
|
83
|
+
path: agents/flow-analyzer-feedback.md
|
|
84
|
+
- id: flow-analyzer-navigation
|
|
85
|
+
path: agents/flow-analyzer-navigation.md
|
|
86
|
+
- id: flow-analyzer-persistence
|
|
87
|
+
path: agents/flow-analyzer-persistence.md
|
|
88
|
+
- id: flow-analyzer-wiring
|
|
89
|
+
path: agents/flow-analyzer-wiring.md
|
|
90
|
+
- id: flow-consensus
|
|
91
|
+
path: agents/flow-consensus.md
|
|
92
|
+
- id: legal-analyzer-a11y
|
|
93
|
+
path: agents/legal-analyzer-a11y.md
|
|
94
|
+
- id: legal-analyzer-ai
|
|
95
|
+
path: agents/legal-analyzer-ai.md
|
|
96
|
+
- id: legal-analyzer-consumer
|
|
97
|
+
path: agents/legal-analyzer-consumer.md
|
|
98
|
+
- id: legal-analyzer-content
|
|
99
|
+
path: agents/legal-analyzer-content.md
|
|
100
|
+
- id: legal-analyzer-international
|
|
101
|
+
path: agents/legal-analyzer-international.md
|
|
102
|
+
- id: legal-analyzer-licensing
|
|
103
|
+
path: agents/legal-analyzer-licensing.md
|
|
104
|
+
- id: legal-analyzer-privacy
|
|
105
|
+
path: agents/legal-analyzer-privacy.md
|
|
106
|
+
- id: legal-analyzer-security
|
|
107
|
+
path: agents/legal-analyzer-security.md
|
|
108
|
+
- id: legal-analyzer-terms
|
|
109
|
+
path: agents/legal-analyzer-terms.md
|
|
110
|
+
- id: legal-consensus
|
|
111
|
+
path: agents/legal-consensus.md
|
|
112
|
+
- id: logic-analyzer-edge
|
|
113
|
+
path: agents/logic-analyzer-edge.md
|
|
114
|
+
- id: logic-analyzer-flow
|
|
115
|
+
path: agents/logic-analyzer-flow.md
|
|
116
|
+
- id: logic-analyzer-invariant
|
|
117
|
+
path: agents/logic-analyzer-invariant.md
|
|
118
|
+
- id: logic-analyzer-race
|
|
119
|
+
path: agents/logic-analyzer-race.md
|
|
120
|
+
- id: logic-analyzer-type
|
|
121
|
+
path: agents/logic-analyzer-type.md
|
|
122
|
+
- id: logic-consensus
|
|
123
|
+
path: agents/logic-consensus.md
|
|
124
|
+
- id: perf-analyzer-assets
|
|
125
|
+
path: agents/perf-analyzer-assets.md
|
|
126
|
+
- id: perf-analyzer-bundle
|
|
127
|
+
path: agents/perf-analyzer-bundle.md
|
|
128
|
+
- id: perf-analyzer-caching
|
|
129
|
+
path: agents/perf-analyzer-caching.md
|
|
130
|
+
- id: perf-analyzer-compute
|
|
131
|
+
path: agents/perf-analyzer-compute.md
|
|
132
|
+
- id: perf-analyzer-memory
|
|
133
|
+
path: agents/perf-analyzer-memory.md
|
|
134
|
+
- id: perf-analyzer-network
|
|
135
|
+
path: agents/perf-analyzer-network.md
|
|
136
|
+
- id: perf-analyzer-queries
|
|
137
|
+
path: agents/perf-analyzer-queries.md
|
|
138
|
+
- id: perf-analyzer-rendering
|
|
139
|
+
path: agents/perf-analyzer-rendering.md
|
|
140
|
+
- id: perf-consensus
|
|
141
|
+
path: agents/perf-consensus.md
|
|
142
|
+
- id: qa
|
|
143
|
+
path: agents/qa.md
|
|
144
|
+
- id: quality-analyzer-comments
|
|
145
|
+
path: agents/quality-analyzer-comments.md
|
|
146
|
+
- id: quality-analyzer-duplication
|
|
147
|
+
path: agents/quality-analyzer-duplication.md
|
|
148
|
+
- id: quality-analyzer-naming
|
|
149
|
+
path: agents/quality-analyzer-naming.md
|
|
150
|
+
- id: quality-consensus
|
|
151
|
+
path: agents/quality-consensus.md
|
|
152
|
+
- id: schema-validator
|
|
153
|
+
path: agents/schema-validator.md
|
|
154
|
+
- id: security-analyzer-api
|
|
155
|
+
path: agents/security-analyzer-api.md
|
|
156
|
+
- id: security-analyzer-auth
|
|
157
|
+
path: agents/security-analyzer-auth.md
|
|
158
|
+
- id: security-analyzer-authz
|
|
159
|
+
path: agents/security-analyzer-authz.md
|
|
160
|
+
- id: security-analyzer-deps
|
|
161
|
+
path: agents/security-analyzer-deps.md
|
|
162
|
+
- id: security-analyzer-infra
|
|
163
|
+
path: agents/security-analyzer-infra.md
|
|
164
|
+
- id: security-analyzer-injection
|
|
165
|
+
path: agents/security-analyzer-injection.md
|
|
166
|
+
- id: security-analyzer-input
|
|
167
|
+
path: agents/security-analyzer-input.md
|
|
168
|
+
- id: security-analyzer-secrets
|
|
169
|
+
path: agents/security-analyzer-secrets.md
|
|
170
|
+
- id: security-consensus
|
|
171
|
+
path: agents/security-consensus.md
|
|
172
|
+
- id: test-analyzer-assertions
|
|
173
|
+
path: agents/test-analyzer-assertions.md
|
|
174
|
+
- id: test-analyzer-coverage
|
|
175
|
+
path: agents/test-analyzer-coverage.md
|
|
176
|
+
- id: test-analyzer-fragility
|
|
177
|
+
path: agents/test-analyzer-fragility.md
|
|
178
|
+
- id: test-analyzer-integration
|
|
179
|
+
path: agents/test-analyzer-integration.md
|
|
180
|
+
- id: test-analyzer-maintenance
|
|
181
|
+
path: agents/test-analyzer-maintenance.md
|
|
182
|
+
- id: test-analyzer-mocking
|
|
183
|
+
path: agents/test-analyzer-mocking.md
|
|
184
|
+
- id: test-analyzer-patterns
|
|
185
|
+
path: agents/test-analyzer-patterns.md
|
|
186
|
+
- id: test-analyzer-structure
|
|
187
|
+
path: agents/test-analyzer-structure.md
|
|
188
|
+
- id: test-consensus
|
|
189
|
+
path: agents/test-consensus.md
|
|
190
|
+
- id: testing
|
|
191
|
+
path: agents/testing.md
|
|
192
|
+
- id: ui-validator
|
|
193
|
+
path: agents/ui-validator.md
|
|
13
194
|
hooks: []
|
|
14
195
|
templates: []
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agileflow-audit
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
category: agileflow/audit
|
|
5
|
+
description: |
|
|
6
|
+
Use when the user wants to audit code quality, security, performance,
|
|
7
|
+
logic, accessibility, legal compliance, test coverage, architecture,
|
|
8
|
+
or flow integrity. Runs multi-expert analyzer panels and produces
|
|
9
|
+
prioritized findings with WCAG/OWASP/CWE mappings.
|
|
10
|
+
triggers:
|
|
11
|
+
keywords:
|
|
12
|
+
- audit
|
|
13
|
+
- code review
|
|
14
|
+
- security review
|
|
15
|
+
- performance review
|
|
16
|
+
- accessibility check
|
|
17
|
+
- logic bugs
|
|
18
|
+
- flow integrity
|
|
19
|
+
- test coverage
|
|
20
|
+
- architecture review
|
|
21
|
+
- legal compliance
|
|
22
|
+
- run audit
|
|
23
|
+
- check my code
|
|
24
|
+
- find bugs
|
|
25
|
+
- code quality
|
|
26
|
+
priority: 60
|
|
27
|
+
provides:
|
|
28
|
+
agents: []
|
|
29
|
+
learns:
|
|
30
|
+
enabled: true
|
|
31
|
+
file: _learnings/audit.yaml
|
|
32
|
+
maxEntries: 50
|
|
33
|
+
depends:
|
|
34
|
+
skills: []
|
|
35
|
+
plugins: [audit]
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
# AgileFlow Audit
|
|
39
|
+
|
|
40
|
+
Multi-domain code audit system. Each audit type runs a panel of
|
|
41
|
+
specialized analyzers then a consensus agent that deduplicates,
|
|
42
|
+
scores, and prioritizes findings.
|
|
43
|
+
|
|
44
|
+
## When this skill activates
|
|
45
|
+
|
|
46
|
+
- User asks to audit, review, or check code
|
|
47
|
+
- User wants to find bugs, vulnerabilities, or performance issues
|
|
48
|
+
- User asks about accessibility, legal, or compliance
|
|
49
|
+
- User wants to verify flow integrity or test quality
|
|
50
|
+
- User mentions OWASP, WCAG, CWE, or similar standards
|
|
51
|
+
- User says "audit this story", "did we pass", or "check acceptance criteria" — story completion audit
|
|
52
|
+
- User says "start TDD", "write tests first", or "RED GREEN REFACTOR" — TDD workflow
|
|
53
|
+
|
|
54
|
+
## Audit types
|
|
55
|
+
|
|
56
|
+
| Audit | What it covers |
|
|
57
|
+
| ------------- | ---------------------------------------------------- |
|
|
58
|
+
| Security | Auth, injection, secrets, OWASP Top 10 |
|
|
59
|
+
| Logic | Edge cases, race conditions, type safety, invariants |
|
|
60
|
+
| Performance | Queries, rendering, memory, bundle, caching |
|
|
61
|
+
| Accessibility | ARIA, keyboard, forms, visual, semantic HTML |
|
|
62
|
+
| Legal | GDPR, CCPA, licensing, consumer protection |
|
|
63
|
+
| Flows | User journey wiring, navigation, persistence |
|
|
64
|
+
| Architecture | Coupling, layering, circular deps, complexity |
|
|
65
|
+
| Completeness | Stubs, dead code, missing handlers, orphaned routes |
|
|
66
|
+
| Quality | Naming, duplication, comments |
|
|
67
|
+
| Test | Coverage, fragility, mocking, assertions |
|
|
68
|
+
| API | REST conventions, versioning, error handling |
|
|
69
|
+
| Full audit | Runs all audit types above |
|
|
70
|
+
|
|
71
|
+
## How to guide the user
|
|
72
|
+
|
|
73
|
+
1. Ask what they just implemented or what concern prompted the audit
|
|
74
|
+
2. Pick the most relevant audit type — don't always run everything
|
|
75
|
+
3. After findings: present P0/P1 issues first, offer to fix them
|
|
76
|
+
4. After fix: suggest re-running the specific audit to confirm
|
|
77
|
+
|
|
78
|
+
## TDD
|
|
79
|
+
|
|
80
|
+
The TDD workflow enforces RED → GREEN → REFACTOR phases with hard phase gates. See `workflows/tdd.md` for the step-by-step process.
|
|
81
|
+
|
|
82
|
+
## Integration
|
|
83
|
+
|
|
84
|
+
- **agileflow-engineering** — delegate fixing P0/P1 findings after an audit completes; don't leave findings as a list, route them to the right implementor
|
|
85
|
+
- **agileflow-refactor** — route code quality, duplication, and naming findings here; audit identifies, refactor executes
|
|
86
|
+
- **agileflow-test-writer** — route missing test coverage findings here; audit flags the gaps, test-writer fills them
|
|
87
|
+
- **agileflow-accessibility** — the accessibility dimension of the audit feeds into this skill for WCAG-specific remediation guidance
|
|
88
|
+
- **agileflow-performance** — the performance dimension feeds into this skill for profiling, bundle analysis, and optimization work
|
|
89
|
+
- **agileflow-pr-reviewer** — invoke before a PR merge as a lighter alternative to a full audit; use audit for pre-release or milestone sweeps
|
|
90
|
+
- **agileflow-debug** — if an audit finding is unclear or non-reproducible, hand off to debug for root cause analysis
|
|
91
|
+
- **agileflow-delivery** — run the audit as a quality gate before shipping; findings above P1 should block the release
|
|
92
|
+
- **agileflow-adr** — if an audit reveals an architectural problem (circular dependencies, layering violations), document the fix decision as an ADR
|
|
93
|
+
|
|
94
|
+
## References
|
|
95
|
+
|
|
96
|
+
Load these files when you need deeper context for the relevant task:
|
|
97
|
+
|
|
98
|
+
| File | When to load |
|
|
99
|
+
| ---------------------------------------- | ------------------------------------------------------------------------------ |
|
|
100
|
+
| `references/owasp-top10.md` | Running a security audit — maps OWASP categories to code signals and severity |
|
|
101
|
+
| `references/wcag-criteria.md` | Running an accessibility audit — WCAG 2.2 criteria with new 2.2 additions |
|
|
102
|
+
| `references/audit-depth-guide.md` | Deciding which audit to run and at what depth — quick vs deep vs targeted |
|
|
103
|
+
| `references/performance-budget-guide.md` | Running a performance audit — Lighthouse thresholds, resource budgets per type |
|
|
104
|
+
| `references/dependency-risk-guide.md` | Reviewing dependencies — when to upgrade, how to triage CVEs |
|
|
105
|
+
|
|
106
|
+
## Workflows
|
|
107
|
+
|
|
108
|
+
Follow these step-by-step when the user initiates the matching action:
|
|
109
|
+
|
|
110
|
+
| File | When to follow |
|
|
111
|
+
| ------------------------ | -------------------------------------------------------------------------- |
|
|
112
|
+
| `workflows/run-audit.md` | User asks to run any audit — guides them to the right audit type and depth |
|
|
113
|
+
| `workflows/tdd.md` | User wants to work in TDD mode — RED → GREEN → REFACTOR phases |
|