agents-united 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -201
- package/README.md +627 -2
- package/dist/cli.d.ts +4 -1
- package/dist/cli.js +3826 -260
- package/dist/cli.js.map +1 -1
- package/package.json +9 -3
- package/registry/agents/orchestrator-business.md +151 -11
- package/registry/agents/orchestrator-design.md +127 -12
- package/registry/agents/orchestrator-engineering.md +129 -13
- package/registry/agents/orchestrator-marketing.md +134 -11
- package/registry/agents/orchestrator-research.md +159 -11
- package/registry/agents/orchestrator-security.md +150 -12
- package/registry/agents/orchestrator-system-architecture.md +131 -12
- package/registry/agents/subagent-accessibility-lead.md +40 -0
- package/registry/agents/subagent-ai-model-architect.md +76 -0
- package/registry/agents/subagent-android-architect.md +40 -0
- package/registry/agents/subagent-backend-architect.md +342 -9
- package/registry/agents/subagent-business-panel-experts.md +114 -8
- package/registry/agents/subagent-code-reviewer.md +181 -8
- package/registry/agents/subagent-cross-platform-specialist.md +40 -0
- package/registry/agents/subagent-data-engineer.md +40 -0
- package/registry/agents/subagent-deep-research.md +65 -8
- package/registry/agents/subagent-design-ops-lead.md +109 -8
- package/registry/agents/subagent-design-researcher.md +121 -8
- package/registry/agents/subagent-design-systems-architect.md +120 -8
- package/registry/agents/subagent-designer-toolkit-expert.md +335 -8
- package/registry/agents/subagent-devops-engineer.md +403 -0
- package/registry/agents/subagent-distributed-systems-architect.md +40 -0
- package/registry/agents/subagent-e2e-tester.md +40 -0
- package/registry/agents/subagent-frontend-architect.md +337 -8
- package/registry/agents/subagent-interaction-designer.md +288 -8
- package/registry/agents/subagent-ios-architect.md +40 -0
- package/registry/agents/subagent-lifecycle-email-specialist.md +40 -0
- package/registry/agents/subagent-marketing-campaign-specialist.md +66 -8
- package/registry/agents/subagent-marketing-content-strategist.md +171 -8
- package/registry/agents/subagent-marketing-conversion-specialist.md +66 -8
- package/registry/agents/subagent-marketing-creative-designer.md +85 -0
- package/registry/agents/subagent-marketing-growth-strategist.md +125 -8
- package/registry/agents/subagent-ml-platform-engineer.md +74 -0
- package/registry/agents/subagent-paid-acquisition-specialist.md +40 -0
- package/registry/agents/subagent-plg-strategist.md +40 -0
- package/registry/agents/subagent-prototype-tester.md +114 -8
- package/registry/agents/subagent-qa-automation-lead.md +40 -0
- package/registry/agents/subagent-repo-index.md +169 -8
- package/registry/agents/subagent-security-engineer.md +117 -8
- package/registry/agents/subagent-seo-specialist.md +40 -0
- package/registry/agents/subagent-socratic-mentor.md +91 -8
- package/registry/agents/subagent-sysops-sre-lead.md +62 -0
- package/registry/agents/subagent-system-architect.md +106 -8
- package/registry/agents/subagent-ui-designer.md +135 -8
- package/registry/agents/subagent-ux-strategist.md +75 -8
- package/registry/bundles.json +818 -154
- package/registry/rules/AGENTS.md +41 -0
- package/registry/rules/CLAUDE.md +12 -0
- package/registry/rules/CURSOR.md +12 -0
- package/registry/rules/GEMINI.md +40 -5
- package/registry/rules/clean-code-and-architecture.md +25 -0
- package/registry/rules/domain-modeling-and-adr.md +27 -0
- package/registry/rules/git-guardrails.md +19 -0
- package/registry/rules/multi-agent-coordination.md +33 -0
- package/registry/rules/quality-aesthetics-accessibility.md +29 -0
- package/registry/rules/skill-attribution.md +27 -0
- package/registry/rules/test-driven-development.md +41 -0
- package/registry/skills/ab-test-setup/SKILL.md +140 -6
- package/registry/skills/accessibility-audit/SKILL.md +147 -0
- package/registry/skills/ad-attribution-modeling/SKILL.md +202 -0
- package/registry/skills/ad-creative-design/SKILL.md +24 -0
- package/registry/skills/ai-prototype-refactoring/SKILL.md +25 -0
- package/registry/skills/architecture-design/SKILL.md +133 -7
- package/registry/skills/azure-infrastructure-bicep/SKILL.md +24 -0
- package/registry/skills/backend-api-design/SKILL.md +148 -0
- package/registry/skills/chaos-engineering/SKILL.md +38 -0
- package/registry/skills/churn-prevention-playbook/SKILL.md +177 -0
- package/registry/skills/ci-cd-pipeline-automation/SKILL.md +37 -0
- package/registry/skills/clickable-prototype-spec/SKILL.md +147 -0
- package/registry/skills/code-refactoring/SKILL.md +132 -0
- package/registry/skills/component-library-management/SKILL.md +147 -0
- package/registry/skills/component-playground-setup/SKILL.md +147 -0
- package/registry/skills/content-calendar-strategy/SKILL.md +147 -0
- package/registry/skills/conversion-funnel-optimization/SKILL.md +147 -0
- package/registry/skills/copywriting-frameworks/SKILL.md +147 -0
- package/registry/skills/database-design/SKILL.md +132 -0
- package/registry/skills/dependency-management/SKILL.md +133 -7
- package/registry/skills/design-handoff-spec/SKILL.md +147 -0
- package/registry/skills/design-ops-workflow/SKILL.md +147 -0
- package/registry/skills/design-system-governance/SKILL.md +147 -0
- package/registry/skills/design-system-tokens/SKILL.md +147 -0
- package/registry/skills/design-tokens-management/SKILL.md +147 -0
- package/registry/skills/design-version-control/SKILL.md +147 -0
- package/registry/skills/diagnosing-bugs/SKILL.md +43 -0
- package/registry/skills/docker-deployment/SKILL.md +141 -0
- package/registry/skills/domain-modeling/SKILL.md +50 -0
- package/registry/skills/email-drip-sequences/SKILL.md +177 -0
- package/registry/skills/email-marketing-automation/SKILL.md +147 -0
- package/registry/skills/finishing-a-development-branch/SKILL.md +123 -7
- package/registry/skills/frontend-component-design/SKILL.md +150 -0
- package/registry/skills/git-guardrails/SKILL.md +38 -0
- package/registry/skills/google-ads-optimization/SKILL.md +24 -0
- package/registry/skills/graphql-schema-design/SKILL.md +143 -0
- package/registry/skills/grill-me/SKILL.md +51 -0
- package/registry/skills/grill-with-docs/SKILL.md +78 -0
- package/registry/skills/growth-experiment-design/SKILL.md +147 -0
- package/registry/skills/handoff/SKILL.md +41 -0
- package/registry/skills/hf-model-evaluation/SKILL.md +80 -0
- package/registry/skills/interaction-pattern-library/SKILL.md +147 -0
- package/registry/skills/interactive-prototype-builder/SKILL.md +147 -0
- package/registry/skills/local-llm-inference/SKILL.md +74 -0
- package/registry/skills/maestro-mobile-testing/SKILL.md +37 -0
- package/registry/skills/marketing-creative-design/SKILL.md +182 -0
- package/registry/skills/meta-ad-creative-testing/SKILL.md +23 -0
- package/registry/skills/micro-interaction-design/SKILL.md +147 -0
- package/registry/skills/microservices-architecture/SKILL.md +138 -0
- package/registry/skills/mobile-android-design/SKILL.md +37 -0
- package/registry/skills/mobile-first-design/SKILL.md +147 -0
- package/registry/skills/mobile-ios-design/SKILL.md +37 -0
- package/registry/skills/mobile-platform-offline-validate/SKILL.md +37 -0
- package/registry/skills/modal-serverless-python/SKILL.md +78 -0
- package/registry/skills/onboarding-cro/SKILL.md +175 -7
- package/registry/skills/paid-acquisition-ppc/SKILL.md +167 -0
- package/registry/skills/performance-optimization/SKILL.md +132 -7
- package/registry/skills/playwright-best-practices/SKILL.md +36 -0
- package/registry/skills/product-launch-playbook/SKILL.md +147 -0
- package/registry/skills/programmatic-seo/SKILL.md +203 -7
- package/registry/skills/rag-vector-pipeline/SKILL.md +80 -0
- package/registry/skills/react-best-practices/SKILL.md +37 -0
- package/registry/skills/receiving-code-review/SKILL.md +121 -7
- package/registry/skills/replicate-model-inference/SKILL.md +73 -0
- package/registry/skills/requesting-code-review/SKILL.md +128 -7
- package/registry/skills/responsive-design-audit/SKILL.md +147 -0
- package/registry/skills/runpod-gpu-orchestration/SKILL.md +81 -0
- package/registry/skills/schema-markup-strategy/SKILL.md +190 -0
- package/registry/skills/security-audit/SKILL.md +136 -0
- package/registry/skills/seo-audit/SKILL.md +140 -6
- package/registry/skills/signup-flow-cro/SKILL.md +140 -6
- package/registry/skills/social-media-campaign/SKILL.md +147 -0
- package/registry/skills/state-driven-ui-animation/SKILL.md +147 -0
- package/registry/skills/subagent-driven-development/SKILL.md +126 -7
- package/registry/skills/supabase-backend-architecture/SKILL.md +25 -0
- package/registry/skills/systematic-debugging/SKILL.md +129 -7
- package/registry/skills/technical-documentation/SKILL.md +133 -0
- package/registry/skills/technical-seo-audit/SKILL.md +24 -0
- package/registry/skills/telemetry-monitoring/SKILL.md +37 -0
- package/registry/skills/test-driven-development/SKILL.md +127 -7
- package/registry/skills/to-spec/SKILL.md +43 -0
- package/registry/skills/to-tickets/SKILL.md +45 -0
- package/registry/skills/turso-distributed-sqlite/SKILL.md +23 -0
- package/registry/skills/ui-component-spec/SKILL.md +147 -0
- package/registry/skills/usability-testing-protocol/SKILL.md +147 -0
- package/registry/skills/user-flow-mapping/SKILL.md +147 -0
- package/registry/skills/user-journey-mapping/SKILL.md +147 -0
- package/registry/skills/vector-database-design/SKILL.md +80 -0
- package/registry/skills/vercel-deploy-best-practices/SKILL.md +24 -0
- package/registry/skills/viral-referral-loops/SKILL.md +205 -0
- package/registry/workflows/workflow-analyze.md +53 -8
- package/registry/workflows/workflow-api-contract-design.md +48 -0
- package/registry/workflows/workflow-app-store-release.md +48 -0
- package/registry/workflows/workflow-brainstorm.md +53 -8
- package/registry/workflows/workflow-build.md +53 -8
- package/registry/workflows/workflow-business-panel.md +53 -8
- package/registry/workflows/workflow-cleanup.md +53 -8
- package/registry/workflows/workflow-deploy-staging.md +49 -0
- package/registry/workflows/workflow-design-code.md +53 -8
- package/registry/workflows/workflow-design-ops--handoff.md +53 -8
- package/registry/workflows/workflow-design-ops--plan-sprint.md +53 -8
- package/registry/workflows/workflow-design-ops--setup-workflow.md +53 -8
- package/registry/workflows/workflow-design-orchestrate.md +53 -8
- package/registry/workflows/workflow-design-systems--audit-system.md +53 -8
- package/registry/workflows/workflow-design-systems--create-component.md +53 -8
- package/registry/workflows/workflow-design-systems--tokenize.md +53 -8
- package/registry/workflows/workflow-diagnose.md +45 -0
- package/registry/workflows/workflow-e2e-testing.md +49 -0
- package/registry/workflows/workflow-email-drip-sequence.md +65 -0
- package/registry/workflows/workflow-estimate.md +53 -8
- package/registry/workflows/workflow-explain.md +53 -8
- package/registry/workflows/workflow-frontend-audit.md +49 -0
- package/registry/workflows/workflow-git.md +53 -8
- package/registry/workflows/workflow-grill.md +51 -0
- package/registry/workflows/workflow-implement.md +54 -8
- package/registry/workflows/workflow-incident-triage.md +49 -0
- package/registry/workflows/workflow-interaction-design--design-interaction.md +53 -8
- package/registry/workflows/workflow-interaction-design--error-flow.md +53 -8
- package/registry/workflows/workflow-interaction-design--map-states.md +53 -8
- package/registry/workflows/workflow-marketing-audit.md +53 -8
- package/registry/workflows/workflow-marketing-campaign-builder.md +53 -8
- package/registry/workflows/workflow-marketing-content-pipeline.md +53 -8
- package/registry/workflows/workflow-marketing-growth-experiment.md +53 -8
- package/registry/workflows/workflow-marketing-launch.md +53 -8
- package/registry/workflows/workflow-marketing-panel.md +53 -8
- package/registry/workflows/workflow-ml-eval.md +51 -0
- package/registry/workflows/workflow-mobile-build.md +49 -0
- package/registry/workflows/workflow-onboarding-funnel-cro.md +65 -0
- package/registry/workflows/workflow-paid-acquisition-campaign.md +65 -0
- package/registry/workflows/workflow-paid-campaign-launch.md +47 -0
- package/registry/workflows/workflow-plan.md +53 -8
- package/registry/workflows/workflow-prototyping-testing--evaluate.md +53 -8
- package/registry/workflows/workflow-prototyping-testing--experiment.md +53 -8
- package/registry/workflows/workflow-prototyping-testing--prototype-plan.md +53 -8
- package/registry/workflows/workflow-prototyping-testing--test-plan.md +53 -8
- package/registry/workflows/workflow-rag-pipeline-deploy.md +53 -0
- package/registry/workflows/workflow-recommend.md +53 -8
- package/registry/workflows/workflow-research.md +53 -8
- package/registry/workflows/workflow-review.md +53 -8
- package/registry/workflows/workflow-seo-audit-pipeline.md +47 -0
- package/registry/workflows/workflow-seo-content-pipeline.md +65 -0
- package/registry/workflows/workflow-serverless-gpu-deploy.md +52 -0
- package/registry/workflows/workflow-spec-panel.md +53 -8
- package/registry/workflows/workflow-spec.md +44 -0
- package/registry/workflows/workflow-test.md +53 -8
- package/registry/workflows/workflow-troubleshoot.md +53 -8
- package/registry/workflows/workflow-ui-design--color-palette.md +53 -8
- package/registry/workflows/workflow-ui-design--design-screen.md +53 -8
- package/registry/workflows/workflow-ui-design--responsive-audit.md +53 -8
- package/registry/workflows/workflow-ui-design--type-system.md +53 -8
- package/registry/workflows/workflow-ux-strategy--benchmark.md +53 -8
- package/registry/workflows/workflow-ux-strategy--frame-problem.md +53 -8
- package/registry/workflows/workflow-ux-strategy--strategize.md +53 -8
- package/registry/skills/analytics-tracking/SKILL.md +0 -13
- package/registry/skills/brainstorming/SKILL.md +0 -13
- package/registry/skills/browser-agent/SKILL.md +0 -13
- package/registry/skills/campaign-strategy/SKILL.md +0 -13
- package/registry/skills/competitor-alternatives/SKILL.md +0 -13
- package/registry/skills/confidence-check/SKILL.md +0 -13
- package/registry/skills/copy-editing/SKILL.md +0 -13
- package/registry/skills/copywriting/SKILL.md +0 -13
- package/registry/skills/deep-research/SKILL.md +0 -13
- package/registry/skills/design-ops/SKILL.md +0 -13
- package/registry/skills/design-research/SKILL.md +0 -13
- package/registry/skills/design-systems/SKILL.md +0 -13
- package/registry/skills/designer-toolkit/SKILL.md +0 -13
- package/registry/skills/email-sequence/SKILL.md +0 -13
- package/registry/skills/executing-plans/SKILL.md +0 -13
- package/registry/skills/form-cro/SKILL.md +0 -13
- package/registry/skills/free-tool-strategy/SKILL.md +0 -13
- package/registry/skills/interaction-design/SKILL.md +0 -13
- package/registry/skills/launch-strategy/SKILL.md +0 -13
- package/registry/skills/marketing-ideas/SKILL.md +0 -13
- package/registry/skills/marketing-psychology/SKILL.md +0 -13
- package/registry/skills/page-cro/SKILL.md +0 -13
- package/registry/skills/paid-ads/SKILL.md +0 -13
- package/registry/skills/paywall-upgrade-cro/SKILL.md +0 -13
- package/registry/skills/popup-cro/SKILL.md +0 -13
- package/registry/skills/pricing-strategy/SKILL.md +0 -13
- package/registry/skills/prototyping-testing/SKILL.md +0 -13
- package/registry/skills/referral-program/SKILL.md +0 -13
- package/registry/skills/schema-markup/SKILL.md +0 -13
- package/registry/skills/security-review/SKILL.md +0 -13
- package/registry/skills/social-content/SKILL.md +0 -13
- package/registry/skills/ui-design/SKILL.md +0 -13
- package/registry/skills/ux-strategy/SKILL.md +0 -13
- package/registry/skills/writing-plans/SKILL.md +0 -13
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Architectural Explanation & Technical Walkthrough"
|
|
3
|
+
description: "Workflow for explaining complex codebase architectures, technical concepts, design patterns, and code implementations clearly."
|
|
4
|
+
bundle: "deep-research"
|
|
5
|
+
estimatedDuration: "20-40m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Architectural Explanation & Technical Walkthrough
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Explain workflow creates clear technical explanations. It structures walkthroughs using progressive disclosure (High-level summary -> Diagram -> Code inspection -> Edge cases) tailored to audience experience.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- Target codebase files or technical concept
|
|
32
|
+
- Target audience experience profile (Beginner, Intermediate, Senior Engineer)
|
|
33
|
+
- Explanation document template
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
- Analyze
|
|
7
|
-
-
|
|
36
|
+
- Analyze target code module to understand core mechanisms and data flows.
|
|
37
|
+
- Identify key concepts requiring explanation and potential points of confusion.
|
|
38
|
+
- Determine appropriate depth level based on audience profile.
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Construct high-level summary overview of the component or architecture.
|
|
42
|
+
- Draw system interaction diagram illustrating data flow between modules.
|
|
43
|
+
- Provide step-by-step code walkthrough with line-by-line commentary.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
-
|
|
46
|
+
- Review explanation for clarity, technical accuracy, and tone.
|
|
47
|
+
- Add FAQ section covering common edge cases and troubleshooting tips.
|
|
48
|
+
- Publish Technical Explanation Document.
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `node dist/cli.js doctor` | Doctor health check confirms explanation document structure |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Code snippets inside explanation compile cleanly |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: Explanation tailored appropriately to target audience technical level.
|
|
59
|
+
- **Validation Checkpoint 2**: Code commentary verified against actual implementation logic.
|
|
60
|
+
- **Automated Rollback Protocol**: Clarify ambiguous sections if peer review identifies inaccurate commentary.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Frontend Performance & Accessibility Audit"
|
|
3
|
+
description: "Workflow for measuring Core Web Vitals (LCP, INP, CLS), client bundle sizes, WCAG accessibility, and responsive layout fidelity."
|
|
4
|
+
bundle: "frontend-engineering"
|
|
5
|
+
estimatedDuration: "15-30m"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Workflow: Frontend Performance & Accessibility Audit
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Frontend Audit workflow evaluates web applications against Core Web Vitals thresholds (Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift), accessibility standards, and JavaScript bundle sizes.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Bundle & Asset Size Analysis]
|
|
17
|
+
P1 --> InputCheck{"Bundle Analysis Complete?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Generate Bundle Stats]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Core Web Vitals & Runtime Profiling]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: CWV Within Targets?"}
|
|
21
|
+
Gate1 -->|Fail| P2Opt[Apply Code Splitting & Asset Optimizations]
|
|
22
|
+
P2Opt --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Accessibility & Screen Reader Audit]
|
|
24
|
+
P3 --> Done([Frontend Audit Signed Off])
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Required Tool Inputs & Context
|
|
28
|
+
- Production build bundle stats or Lighthouse test runner
|
|
29
|
+
- Target performance budgets (e.g. initial JS < 150KB gzip)
|
|
30
|
+
- Web application URL or local preview server
|
|
31
|
+
|
|
32
|
+
## Phase 1: Bundle & Asset Size Analysis
|
|
33
|
+
- Analyze Webpack / Vite / Next.js bundle visualizer output.
|
|
34
|
+
- Identify duplicate dependencies or un-tree-shaken libraries.
|
|
35
|
+
|
|
36
|
+
## Phase 2: Core Web Vitals & Runtime Profiling
|
|
37
|
+
- Measure Largest Contentful Paint (LCP < 2.5s), Cumulative Layout Shift (CLS < 0.1), and Interaction to Next Paint (INP < 200ms).
|
|
38
|
+
- Apply lazy loading, dynamic imports, and font optimization.
|
|
39
|
+
|
|
40
|
+
## Phase 3: Accessibility & Screen Reader Audit
|
|
41
|
+
- Run automated axe-core / Lighthouse a11y audit to verify WCAG 2.1 AA compliance.
|
|
42
|
+
- Confirm keyboard tab navigation and modal focus trapping.
|
|
43
|
+
|
|
44
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
45
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
46
|
+
|---|---|---|---|
|
|
47
|
+
| Phase 1 -> Phase 2 | Bundle analysis complete | Bundle size measurement | Main bundle under 150KB gzipped |
|
|
48
|
+
| Phase 2 -> Phase 3 | Performance metrics gathered | Lighthouse / Web Vitals audit | Performance score >= 90 |
|
|
49
|
+
| Phase 3 -> Completion | Accessibility verified | A11y axe-core scan | 0 critical/serious accessibility violations |
|
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Git Version Control & Branch Strategy"
|
|
3
|
+
description: "Workflow for managing git feature branches, atomic commit formatting, rebase workflow, PR preparation, and merge readiness."
|
|
4
|
+
bundle: "software-engineering"
|
|
5
|
+
estimatedDuration: "10-20m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Git Version Control & Branch Strategy
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Git workflow establishes best practices for version control operations. It covers branch creation, atomic Conventional Commits, interactive rebasing, merge conflict resolution, and pull request preparation.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- Git CLI tool
|
|
32
|
+
- Conventional Commit naming convention guidelines
|
|
33
|
+
- Target base branch (`main` / `dev`)
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
-
|
|
7
|
-
-
|
|
36
|
+
- Inspect `git status` to verify current working directory state.
|
|
37
|
+
- Fetch latest remote branches (`git fetch origin`) and check rebase status against base branch.
|
|
38
|
+
- Review pending uncommitted changes and organize them into logical, atomic change sets.
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Stage changes incrementally (`git add -p`) and craft conventional commit messages (`feat:`, `fix:`, `docs:`).
|
|
42
|
+
- Perform interactive rebase onto target base branch (`git rebase origin/main`) to maintain linear history.
|
|
43
|
+
- Resolve any merge conflicts cleanly, running tests after each resolved conflict.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
-
|
|
46
|
+
- Verify git commit history hygiene (no fixup commits, clean messages).
|
|
47
|
+
- Push feature branch to remote origin (`git push -u origin feature-branch`).
|
|
48
|
+
- Prepare PR description linking related issues, summarizing changes, and listing verification commands.
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `git status` | Working tree is clean with no unstaged changes or untracked files |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `git log -n 5 --oneline` | Commit history is linear and messages adhere to Conventional Commits |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: Branch rebased onto current remote base branch without remaining conflict markers.
|
|
59
|
+
- **Validation Checkpoint 2**: Remote feature branch synchronized and PR ready for review.
|
|
60
|
+
- **Automated Rollback Protocol**: Use `git rebase --abort` to cancel rebase if conflicts become unmanageable, returning to pre-rebase state.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Socratic Alignment & Domain Grilling"
|
|
3
|
+
description: "Interactive orchestration workflow for Socratic requirements grilling, ubiquitous language definition in CONTEXT.md, and ADR creation."
|
|
4
|
+
bundle: "software-engineering"
|
|
5
|
+
estimatedDuration: "15-30m"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Workflow: Socratic Alignment & Domain Grilling
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Socratic Alignment & Domain Grilling workflow aligns developers and orchestrators on problem scope, edge cases, and non-goals. It invokes the `grill-with-docs`, `grill-me`, and `domain-modeling` skills to build a shared vocabulary in `CONTEXT.md` and record decisions in ADRs (`docs/adr/`).
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Socratic Alignment Interview]
|
|
17
|
+
P1 --> Gate1{"User Intent & Scope Explicit?"}
|
|
18
|
+
Gate1 -->|No| P1
|
|
19
|
+
Gate1 -->|Yes| P2[Phase 2: Ubiquitous Language & CONTEXT.md Sync]
|
|
20
|
+
P2 --> P3[Phase 3: ADR Generation & Hand-off]
|
|
21
|
+
P3 --> Done([Workflow Complete])
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Required Tool Inputs & Context
|
|
25
|
+
- Project root with `CONTEXT.md` (or authorization to create `CONTEXT.md`).
|
|
26
|
+
- Feature request or architectural proposal details.
|
|
27
|
+
|
|
28
|
+
## Phase 1: Socratic Alignment Interview
|
|
29
|
+
- Execute `/grill-with-docs` or `/grill-me` skill runbook.
|
|
30
|
+
- Interrogate assumptions, data flows, edge cases, failure states, and performance constraints.
|
|
31
|
+
- Collect explicit user decisions on every trade-off.
|
|
32
|
+
|
|
33
|
+
## Phase 2: Ubiquitous Language & CONTEXT.md Sync
|
|
34
|
+
- Extract candidate domain terms from the interview.
|
|
35
|
+
- Update `CONTEXT.md` with definitions for new domain entities and rules.
|
|
36
|
+
|
|
37
|
+
## Phase 3: ADR Generation & Hand-off
|
|
38
|
+
- Document chosen architectural strategy in `docs/adr/ADR-XXXX-<title>.md`.
|
|
39
|
+
- Summarize agreed scope and hand off to technical specification (`workflow-spec.md`) or implementation (`workflow-implement.md`).
|
|
40
|
+
|
|
41
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
42
|
+
| Transition | Prerequisites | Verification Gate | Success Criteria |
|
|
43
|
+
|---|---|---|---|
|
|
44
|
+
| Phase 1 -> Phase 2 | Grilling questions answered | User approval | All ambiguities resolved |
|
|
45
|
+
| Phase 2 -> Phase 3 | Terms extracted | `CONTEXT.md` check | `CONTEXT.md` contains defined terms |
|
|
46
|
+
| Phase 3 -> Completion | ADR formatted | `docs/adr/*.md` exists | ADR saved cleanly |
|
|
47
|
+
|
|
48
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
49
|
+
- **Validation Checkpoint 1**: All questions answered before drafting ADR.
|
|
50
|
+
- **Validation Checkpoint 2**: `CONTEXT.md` contains valid domain definitions.
|
|
51
|
+
- **Rollback Protocol**: Revert draft ADR files if grilling reveals invalid assumptions.
|
|
@@ -1,15 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Implement Feature or Fix"
|
|
3
|
+
description: "End-to-end procedural workflow for code implementation, refactoring, and feature execution with TDD validation and regression checks."
|
|
4
|
+
bundle: "software-engineering"
|
|
5
|
+
estimatedDuration: "30-60m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Implement Feature or Fix
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Implement workflow guides developers and autonomous agents through a rigorous implementation process. It enforces Test-Driven Development (TDD) principles, incremental code modifications, and strict phase verification gates to ensure code quality and zero regressions.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- Target file paths & module interfaces
|
|
32
|
+
- Feature requirements or issue specification document
|
|
33
|
+
- Test suite execution command (`npm test`)
|
|
34
|
+
- Linter & static type-checker (`npm run typecheck`, `npm run lint`)
|
|
4
35
|
|
|
5
36
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
- Analyze the
|
|
7
|
-
-
|
|
37
|
+
- Analyze the feature specification or issue report to understand functional goals and constraints.
|
|
38
|
+
- Inspect existing codebase state, git branch status, and relevant module dependencies.
|
|
39
|
+
- Identify target test files and code components that will be affected by the implementation.
|
|
8
40
|
|
|
9
41
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
42
|
+
- Write red unit tests covering expected new functionality or bug reproduction.
|
|
43
|
+
- Implement minimum viable code changes required to transition tests from failing to passing (green state).
|
|
44
|
+
- Refactor implementation for readability, performance, and style consistency while maintaining passing tests.
|
|
12
45
|
|
|
13
46
|
## Phase 3: Verification & Closure
|
|
14
|
-
- Run
|
|
15
|
-
-
|
|
47
|
+
- Run the full project test suite to verify no regressions were introduced in existing functionality.
|
|
48
|
+
- Execute static type checking (`tsc --noEmit`) and linter checks to ensure compliance with codebase standards.
|
|
49
|
+
- Summarize implementation details, updated files, and test results for reviewer handoff.
|
|
50
|
+
|
|
51
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
52
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
53
|
+
|---|---|---|---|
|
|
54
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
55
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `npm run typecheck` | 0 type errors across all project files |
|
|
56
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | 100% of unit and integration tests passing cleanly |
|
|
57
|
+
|
|
58
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
59
|
+
- **Validation Checkpoint 1**: Red-Green-Refactor test cycle verified before staging changes.
|
|
60
|
+
- **Validation Checkpoint 2**: Static type checking and linting pass without errors or warnings.
|
|
61
|
+
- **Automated Rollback Protocol**: Execute `git checkout -- .` or `git reset --hard HEAD` to revert incomplete or failing edits if verification fails.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Production Incident Response & Triage"
|
|
3
|
+
description: "Workflow for responding to production alerts, triaging telemetry metrics, executing runbooks, and publishing blameless post-mortems."
|
|
4
|
+
bundle: "sysops-sre"
|
|
5
|
+
estimatedDuration: "15-45m"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Workflow: Production Incident Response & Triage
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Incident Response workflow guides SRE and SysOps engineers through structured triage, root-cause investigation, emergency mitigation, and post-mortem reporting during production incidents.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Alert Triggered]) --> P1[Phase 1: Severity Classification & Telemetry Triage]
|
|
17
|
+
P1 --> TriageCheck{"Severity Level Determined?"}
|
|
18
|
+
TriageCheck -->|P1 Critical| P2[Phase 2: Emergency Mitigation & Rerouting]
|
|
19
|
+
TriageCheck -->|P2/P3 Degraded| P2
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Service Restored?"}
|
|
21
|
+
Gate1 -->|No| Escalation[Escalate & Execute DR Failover]
|
|
22
|
+
Escalation --> P2
|
|
23
|
+
Gate1 -->|Yes| P3[Phase 3: Post-Mortem & Preventative Action]
|
|
24
|
+
P3 --> Done([Incident Resolved & Documented])
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Required Tool Inputs & Context
|
|
28
|
+
- Triggering alert payload or error metric log trace
|
|
29
|
+
- System architecture diagram and service dependencies
|
|
30
|
+
- Prometheus / Grafana telemetry metrics and incident runbook
|
|
31
|
+
|
|
32
|
+
## Phase 1: Severity Classification & Telemetry Triage
|
|
33
|
+
- Correlate triggering alert with RED metrics (Rate, Errors, Duration).
|
|
34
|
+
- Classify incident severity (P1 Critical Outage, P2 High Impact, P3 Moderate Degraded State).
|
|
35
|
+
|
|
36
|
+
## Phase 2: Emergency Mitigation & Rerouting
|
|
37
|
+
- Execute runbook mitigation steps (pod scaling, traffic drain, service restart, cache flush).
|
|
38
|
+
- Monitor p99 latency and error rates to confirm service stabilization.
|
|
39
|
+
|
|
40
|
+
## Phase 3: Post-Mortem & Preventative Action
|
|
41
|
+
- Draft Blameless Post-Mortem covering timeline, root cause, impact metrics, and action items.
|
|
42
|
+
- File preventative engineering tickets to prevent incident recurrence.
|
|
43
|
+
|
|
44
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
45
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
46
|
+
|---|---|---|---|
|
|
47
|
+
| Phase 1 -> Phase 2 | Incident severity classified | Log analysis & alert payload audit | Impacted microservices identified |
|
|
48
|
+
| Phase 2 -> Phase 3 | Mitigation steps applied | Telemetry HTTP 5xx error rate audit | Error rate drops below 0.1% SLO threshold |
|
|
49
|
+
| Phase 3 -> Completion | Service health verified | Post-mortem markdown audit | Post-mortem document includes action items and owner assignments |
|
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Micro-Interaction & Transition Design"
|
|
3
|
+
description: "Workflow for designing component state transitions, micro-animations, timing curves, and interactive UI behavior specs."
|
|
4
|
+
bundle: "product-design"
|
|
5
|
+
estimatedDuration: "30-45m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Micro-Interaction & Transition Design
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
This workflow defines micro-interactions and UI motion specs. It standardizes transition durations, easing curves, visual feedback states, and accessibility fallbacks for motion sensitivities.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- UI component visual designs
|
|
32
|
+
- Design system motion guidelines (durations, easing curves)
|
|
33
|
+
- Accessibility reduced motion specification (`prefers-reduced-motion`)
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
-
|
|
7
|
-
-
|
|
36
|
+
- Identify interactive UI triggers (hover, active press, toggle, modal open, page transition).
|
|
37
|
+
- Review target motion principles (expressive vs functional animation).
|
|
38
|
+
- Establish duration thresholds (150ms micro-interactions, 300ms layout transitions).
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Define animation properties (scale, opacity, transform, background-color).
|
|
42
|
+
- Select cubic-bezier easing curves (ease-in-out, standard spring curves).
|
|
43
|
+
- Design reduced-motion alternatives for users with motion sensitivity settings.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
- Document
|
|
46
|
+
- Verify motion performance (60fps hardware acceleration, GPU-promoted layers).
|
|
47
|
+
- Document interaction spec with timing values and CSS/Framer Motion code snippets.
|
|
48
|
+
- Export interaction tokens (`duration-fast`, `ease-out-back`).
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Interaction suite verifies prefers-reduced-motion fallbacks for all motion specs |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Motion animation CSS/JS tokens build cleanly |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: All transition durations fall within standard 100ms-300ms usability window.
|
|
59
|
+
- **Validation Checkpoint 2**: Explicit reduced-motion fallback defined for every animated component.
|
|
60
|
+
- **Automated Rollback Protocol**: Simplify animation curves and remove heavy transforms if frame rate drops below 60fps.
|
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Error UX & Fault Recovery Flow Design"
|
|
3
|
+
description: "Workflow for mapping error states, validation feedback, network failure fallbacks, and user recovery paths across UI components."
|
|
4
|
+
bundle: "product-design"
|
|
5
|
+
estimatedDuration: "30-45m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Error UX & Fault Recovery Flow Design
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
The Error Flow workflow ensures resilient UI design during system failures. It maps validation errors, network offline states, API exceptions, and user recovery mechanisms with clear human-centric UX.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- User interaction flows & form specifications
|
|
32
|
+
- API error payload schemas and HTTP status codes
|
|
33
|
+
- Error copy guidelines
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
-
|
|
7
|
-
-
|
|
36
|
+
- Enumerate all potential failure modes (field validation failure, session timeout, network offline, 500 server error).
|
|
37
|
+
- Audit existing error message copy for clarity and tone.
|
|
38
|
+
- Define focus management strategy when error state triggers.
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Design inline error messages, toast alerts, empty state illustrations, and modal error dialogs.
|
|
42
|
+
- Map explicit recovery paths for the user (Retry CTA, Re-authenticate link, Customer support fallback).
|
|
43
|
+
- Draft clear, empathetic error copy explaining what happened and how to fix it.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
-
|
|
46
|
+
- Review error flows against accessibility guidelines (ARIA live regions `aria-live="polite"`).
|
|
47
|
+
- Verify focus is placed on broken form inputs or alert headers upon error submission.
|
|
48
|
+
- Publish Error UX Specification Matrix.
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Error flow tests verify accessibility ARIA live attributes on error containers |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Error payload interfaces compile cleanly |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: Every failure mode has an explicit UI design and recovery CTA.
|
|
59
|
+
- **Validation Checkpoint 2**: Zero technical error jargon in user-facing message copy.
|
|
60
|
+
- **Automated Rollback Protocol**: Revise error messages and recovery paths if usability checks reveal confusing copy.
|
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Component State Matrix Mapping"
|
|
3
|
+
description: "Workflow for systematically mapping and documenting all UI component states (default, hover, focus, active, disabled, loading, error)."
|
|
4
|
+
bundle: "product-design"
|
|
5
|
+
estimatedDuration: "20-35m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Component State Matrix Mapping
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
This workflow guarantees complete UI component state coverage. It maps the 7 fundamental component states, ensuring consistent visual and keyboard behavior across the application.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- Component visual designs & design tokens
|
|
32
|
+
- Accessibility focus ring guidelines (contrast >= 3:1)
|
|
33
|
+
- Component state checklist
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
-
|
|
7
|
-
-
|
|
36
|
+
- List target components requiring state mapping (buttons, text inputs, checkboxes, dropdowns, toggles).
|
|
37
|
+
- Identify visual property changes for each state transition (background, border, shadow, opacity).
|
|
38
|
+
- Verify keyboard focus styling rules.
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Document visual design specs for all 7 standard states: Default, Hover, Focus-Visible, Active (Pressed), Disabled, Loading, Error.
|
|
42
|
+
- Define state transition rules and visual indicators (spinner for loading, greyed out for disabled).
|
|
43
|
+
- Verify focus ring meets WCAG 2.1 visible focus requirements.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
-
|
|
46
|
+
- Audit component state matrix for missing state specs.
|
|
47
|
+
- Export state matrix specifications to design system component docs.
|
|
48
|
+
- Publish Component State Checklist.
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `npm test` | State matrix test verifies 100% state coverage for all cataloged components |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Component CSS state classes build without compilation errors |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: All 7 component states explicitly specified for every cataloged component.
|
|
59
|
+
- **Validation Checkpoint 2**: Focus-visible state ring has >= 3:1 contrast ratio against adjacent surfaces.
|
|
60
|
+
- **Automated Rollback Protocol**: Add missing state specifications before releasing component to component library.
|
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: "Growth & Marketing Funnel Audit"
|
|
3
|
+
description: "Comprehensive workflow for auditing acquisition channels, conversion funnels, landing page performance, and analytics tracking."
|
|
4
|
+
bundle: "growth-marketing"
|
|
5
|
+
estimatedDuration: "45-80m"
|
|
6
|
+
---
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# Workflow: Growth & Marketing Funnel Audit
|
|
9
|
+
|
|
10
|
+
## Overview & Scope
|
|
11
|
+
This workflow conducts end-to-end marketing audits. It inspects acquisition channels, conversion funnel drop-off metrics, landing page technical SEO, page speed, and analytics event tracking.
|
|
12
|
+
|
|
13
|
+
## Execution Flowchart
|
|
14
|
+
```mermaid
|
|
15
|
+
graph TD
|
|
16
|
+
Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
|
|
17
|
+
P1 --> InputCheck{"Prerequisites & Tools Valid?"}
|
|
18
|
+
InputCheck -->|No| Abort1[Abort & Request Inputs]
|
|
19
|
+
InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
|
|
20
|
+
P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
|
|
21
|
+
Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
|
|
22
|
+
Rollback --> P2
|
|
23
|
+
Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
|
|
24
|
+
P3 --> Gate2{"Final Acceptance Gate Passed?"}
|
|
25
|
+
Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
|
|
26
|
+
P3Fix --> P3
|
|
27
|
+
Gate2 -->|Pass| Done([Workflow Complete & Logged])
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Required Tool Inputs & Context
|
|
31
|
+
- Analytics dataset exports (funnel drop-offs, conversion rates)
|
|
32
|
+
- Landing page URLs & technical SEO audit tools
|
|
33
|
+
- Target funnel stage definitions
|
|
4
34
|
|
|
5
35
|
## Phase 1: Context & Reconnaissance
|
|
6
|
-
-
|
|
7
|
-
-
|
|
36
|
+
- Map full user acquisition funnel (Traffic -> Landing Page -> Signup -> Activation -> Paid Conversion).
|
|
37
|
+
- Extract analytics drop-off metrics across each funnel transition step.
|
|
38
|
+
- Prepare technical SEO and landing page speed scanner tools.
|
|
8
39
|
|
|
9
40
|
## Phase 2: Execution & Orchestration
|
|
10
|
-
-
|
|
11
|
-
-
|
|
41
|
+
- Identify high-drop-off funnel bottlenecks and conversion friction points.
|
|
42
|
+
- Audit landing page technical SEO (meta tags, open graph, structured schema) and Core Web Vitals.
|
|
43
|
+
- Inspect analytics event tracking setup to verify accuracy of conversion logging.
|
|
12
44
|
|
|
13
45
|
## Phase 3: Verification & Closure
|
|
14
|
-
-
|
|
15
|
-
-
|
|
46
|
+
- Synthesize audit findings into an Impact vs Effort Growth Opportunity Matrix.
|
|
47
|
+
- Create prioritized remediation backlog targeting high-leverage conversion fixes.
|
|
48
|
+
- Publish Growth & Marketing Funnel Audit Report.
|
|
49
|
+
|
|
50
|
+
## Phase Transition Criteria & Deterministic Verification Gates
|
|
51
|
+
| Transition | Prerequisites | Verification Command / Gate | Success Criteria |
|
|
52
|
+
|---|---|---|---|
|
|
53
|
+
| Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
|
|
54
|
+
| Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Funnel analytics script verifies data consistency across conversion stages |
|
|
55
|
+
| Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Build pipeline validates audit report compilation |
|
|
56
|
+
|
|
57
|
+
## Validation Checkpoints & Automated Rollback Protocols
|
|
58
|
+
- **Validation Checkpoint 1**: All acquisition funnel drop-off points quantified with analytics baseline data.
|
|
59
|
+
- **Validation Checkpoint 2**: Technical SEO issues cataloged with actionable remediation fixes.
|
|
60
|
+
- **Automated Rollback Protocol**: Re-verify analytics tracking tags if data anomalies pollute funnel audit calculations.
|