@teckedd-code2save/b2dp 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,38 @@
1
+ # Quick Checklist
2
+
3
+ Before approving any UI work:
4
+
5
+ ## Design System Compliance
6
+ - [ ] Component verified in your Figma Design System
7
+ - [ ] Component implementation checked in your Component Library
8
+ - [ ] Figma Dev Mode specs followed (spacing, tokens, typography)
9
+ - [ ] Design tokens used (no hardcoded hex colors or pixel values)
10
+ - [ ] Token imports verified in code
11
+ - [ ] All variants/states implemented as designed in Figma
12
+ - [ ] Spacing measurements match Figma Dev Mode exactly
13
+ - [ ] Deviations documented with design approval
14
+
15
+ ## Aesthetic Quality (especially for new designs)
16
+ - [ ] Clear conceptual direction (not generic overused fonts and cliched schemes)
17
+ - [ ] Distinctive typography (avoid overused fonts)
18
+ - [ ] Cohesive color palette with CSS variables
19
+ - [ ] Intentional motion (staggered reveals, hover states)
20
+ - [ ] Visual interest through composition (asymmetry, overlap, grid-breaking)
21
+ - [ ] Atmosphere through backgrounds (gradients, textures, patterns)
22
+ - [ ] Implementation complexity matches vision
23
+
24
+ ## Frictionless
25
+ - [ ] Core task completable efficiently (≤3 interactions)
26
+ - [ ] Single clear primary action per view
27
+
28
+ ## Quality Craft
29
+ - [ ] Uses design system components (verified in Figma)
30
+ - [ ] Design tokens used (no hardcoded values)
31
+ - [ ] Distinctive aesthetic (not generic overused fonts/cliched schemes)
32
+ - [ ] Accessible (Grade C minimum, Grade B ideal)
33
+ - [ ] Keyboard navigation complete
34
+ - [ ] Tested in light/dark/high contrast modes
35
+
36
+ ## Trustworthy
37
+ - [ ] AI-generated content has disclaimer
38
+ - [ ] Error messages are actionable
@@ -0,0 +1,68 @@
1
+ # Review Output Format
2
+
3
+ ```
4
+ ## Frontend Design Review: [Component/Feature Name]
5
+
6
+ ### Context
7
+ - **Purpose**: What problem does this solve? Who uses it?
8
+ - **Aesthetic Direction**: [If new design: describe the bold conceptual direction]
9
+ - **User Task**: What is the user trying to accomplish?
10
+
11
+ ### Summary
12
+ [Pass/Needs Work/Blocked] - [One-line assessment]
13
+
14
+ ### Design System Compliance (if applicable)
15
+ - [ ] Component exists in [Your Figma Design System]
16
+ - [ ] Component usage verified in [Your Component Library]
17
+ - [ ] Implementation matches Figma specs (spacing, colors, typography)
18
+ - [ ] Uses design tokens (not hardcoded values) - verified in code
19
+ - [ ] All variants match design system options
20
+ - [ ] Spacing verified against Figma Dev Mode
21
+ - [ ] Documented exception if deviating from design system
22
+
23
+ ### Aesthetic Quality (especially for new designs)
24
+ - [ ] Clear conceptual direction (not generic AI aesthetic)
25
+ - [ ] Distinctive typography choices
26
+ - [ ] Cohesive color palette with CSS variables
27
+ - [ ] Intentional motion and micro-interactions
28
+ - [ ] Spatial composition creates visual interest
29
+ - [ ] Backgrounds and visual details add atmosphere
30
+
31
+ ### Pillar Assessment
32
+
33
+ | Pillar | Status | Notes |
34
+ |--------|--------|-------|
35
+ | Frictionless | 🟢/🟠/⚫ | Task completion efficient, primary action clear |
36
+ | Quality Craft | 🟢/🟠/⚫ | Design system compliant, aesthetic distinctive, accessible |
37
+ | Trustworthy | 🟢/🟠/⚫ | AI disclaimers present, errors actionable |
38
+
39
+ **Legend:** 🟢 Pass | 🟠 Needs attention | ⚫ Blocking issue
40
+
41
+ ### Design Critique
42
+ **Verdict:** [Pass / Needs work / Reach out to design for more support]
43
+
44
+ **Rationale:** [Brief explanation based on pillar assessment, design system compliance, and aesthetic direction]
45
+
46
+ **Criteria:**
47
+ - **Pass**: All pillars 🟢 or minor 🟠 that don't block user tasks, design system compliant, clear aesthetic direction
48
+ - **Needs work**: Multiple 🟠 or any critical workflow issues, design system deviations, or generic aesthetic choices
49
+ - **Reach out to design for more support**: Any ⚫ blocking issues, fundamental pattern problems, major design system violations, or need for aesthetic direction
50
+
51
+ ### Issues
52
+
53
+ **Blocking (must fix before merge):**
54
+ 1. [Pillar/Design System/Aesthetic] Issue description + recommendation with link
55
+
56
+ **Major (should fix):**
57
+ 1. [Pillar/Design System/Aesthetic] Issue description + pattern suggestion with reference
58
+
59
+ **Minor (consider for refinement):**
60
+ 1. [Pillar/Design System/Aesthetic] Issue description + optional improvement
61
+
62
+ ### Recommendations
63
+ - [Design system component to use with link]
64
+ - [Specific code change with design token reference]
65
+ - [Typography recommendation for better aesthetic direction]
66
+ - [Motion/animation suggestion]
67
+ - [Link to design system in Figma]
68
+ ```
@@ -0,0 +1,31 @@
1
+ # Review Type Modifiers
2
+
3
+ Adjust focus based on review context:
4
+
5
+ ## PR Review
6
+ - **Focus**: Code implementation, design system component usage, design token usage, accessibility in code
7
+ - **Check**: Proper imports, design tokens used (not hardcoded), ARIA attributes present
8
+ - **Verify**: Component matches Figma specs using Dev Mode
9
+
10
+ ## Creative Frontend Review
11
+ - **Focus**: Aesthetic direction, typography choices, visual distinctiveness, motion design
12
+ - **Check**: Clear conceptual intent, avoiding generic AI patterns, cohesive execution
13
+ - **Verify**: Implementation complexity matches vision (maximalist needs elaborate code, minimalist needs precision)
14
+
15
+ ## Design Review
16
+ - **Focus**: User flows, interaction patterns, visual hierarchy, navigation, design system alignment
17
+ - **Check**: Task completion path, action hierarchy, progressive disclosure
18
+ - **Verify**: All components exist in design system or have documented exceptions
19
+
20
+ ## Accessibility Audit
21
+ - **Focus**: Deep dive Quality Craft pillar
22
+ - **Check**: Keyboard testing, screen reader testing, contrast ratios, ARIA patterns
23
+ - **Test with**: Screen readers (NVDA, JAWS, Narrator), keyboard only, 200% zoom
24
+ - **Verify**: Design system accessibility features are properly implemented
25
+
26
+ ## Design System Compliance Audit
27
+ - **Focus**: Deep dive design system usage
28
+ - **Check**: All components match Figma specs, design tokens used throughout, no hardcoded values
29
+ - **Test**: Compare implementation side-by-side with Figma using Dev Mode
30
+ - **Verify**: Component variants, spacing, colors, typography all match design system
31
+ - **Document**: Any deviations with rationale and plan to align
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: infrastructure-as-code-architect
3
+ description: Translates local database and cache requirements (e.g. docker-compose setup with Postgres, Redis, Elasticsearch) into production-ready Infrastructure as Code using Terraform, Pulumi, or Bicep for AWS, Azure, or GCP. Use when a user wants to deploy their application or data platform to the cloud.
4
+ ---
5
+
6
+ # Infrastructure as Code Architect
7
+
8
+ Translate local development setups (like a loaded `docker-compose.yml`) into enterprise-ready, production infrastructure deployments using Terraform, Pulumi, or Bicep.
9
+
10
+ ## 🎯 When to Use
11
+ - After a data platform is generated using the `business-to-data-platform` skill.
12
+ - When the user asks "How do I deploy this?" or "Can you write the Terraform for this?"
13
+ - When migrating from a local Docker environment to managed cloud services (e.g., AWS RDS, Azure Cache for Redis).
14
+ - When standing up fresh environments (staging, production).
15
+
16
+ ## 🛠️ Step-by-Step Workflow
17
+
18
+ ### 1. Identify Existing Requirements
19
+ 1. Scan the current project for `docker-compose.yml`, `.env.example`, and package files.
20
+ 2. Identify the core components:
21
+ - Database (PostgreSQL, MySQL, etc.)
22
+ - Cache/Message Queue (Redis, RabbitMQ)
23
+ - Search/Analytics (Elasticsearch, OpenSearch)
24
+ - Application Runtimes (Node.js, Python FastAPI, .NET)
25
+
26
+ ### 2. Determine the Target Cloud and Tool
27
+ Ask the user if they have a preference for:
28
+ - **Cloud Provider:** AWS, Azure, or GCP?
29
+ - **Tool:** Terraform, Pulumi, or Bicep (Azure only)?
30
+
31
+ If they don't have a preference, default to **Terraform** on **AWS**.
32
+
33
+ ### 3. Generate Infrastructure Code
34
+ Create the necessary IaC files (Terraform, Pulumi, or Bicep).
35
+
36
+ **Container Mandate:**
37
+ - **Docker**: Always generate a production-ready `Dockerfile` for each application component. Implement multi-stage builds for smaller images and security scan points.
38
+ - **Kubernetes (K8s)**: For production-grade platforms, map local `docker-compose` services to **K8s Manifests** or **Helm Charts**.
39
+
40
+ | Local Component | Managed K8s Equivalent | AWS RDS/ElastiCache Equivalent |
41
+ | :--- | :--- | :--- |
42
+ | PostgreSQL | EKS / AKS / GKE (via StatefulSet) | Amazon RDS |
43
+ | Redis | EKS / AKS / GKE | Amazon ElastiCache |
44
+ | App Container | K8s Deployment + Service | App Runner / Container Apps |
45
+
46
+ ### 4. Implement CI/CD (GitHub Actions Mandate)
47
+ **MANDATORY:** Provide a complete `.github/workflows/deploy.yml` file that:
48
+ 1. **Builds and Pushes Docker Images**: Uses `docker/build-push-action` to push to ECR, ACR, or GCR.
49
+ 2. **Scans for Vulnerabilities**: Integrates Snyk or Trivy scans within the pipeline.
50
+ 3. **Applies Infrastructure**: Automatically runs IaC plan/apply from the pipeline.
51
+ 4. **Deploys to K8s**: Updates K8s deployments with the new image tag.
52
+
53
+ ### 5. Infrastructure Best Practices
54
+ - **Security**: Private subnets only. No public IPs for DBs/Caches. Use Managed Identities/IAM Roles.
55
+ - **State Management**: Use remote backends (S3/Blob/GCS) with locking.
56
+ - **Observability**: Include basic monitoring/logging resources (CloudWatch, Azure Monitor).