pixelcrew 0.2.2 → 0.2.6
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/README.md +389 -315
- package/bin/pixel-agents.js +306 -149
- package/package.json +3 -1
- package/skill/SKILL.md +185 -0
- package/skill/references/anti-ai-rubric.md +30 -0
- package/skill/references/anti-ai-slop-encyclopedia.md +181 -0
- package/skill/references/commands-reference.md +135 -0
- package/skill/references/testing-and-qa-strategy.md +25 -0
- package/skill/references/token-efficiency.md +20 -0
- package/src/adapters/adapter.interface.js +77 -0
- package/src/adapters/antigravity.js +138 -0
- package/src/adapters/claude-code.js +149 -0
- package/src/adapters/codex.js +131 -0
- package/src/adapters/cursor.js +133 -0
- package/src/adapters/generic.js +63 -0
- package/src/adapters/index.js +15 -0
- package/src/adapters/kiro.js +134 -0
- package/src/adapters/registry.js +150 -0
- package/src/backend/analyzer/complexity-analyzer.js +104 -0
- package/src/backend/analyzer/requirement-analyzer.js +213 -0
- package/src/backend/analyzer/threat-analyzer.js +122 -0
- package/src/backend/api/api-designer.js +90 -0
- package/src/backend/api/error-contract.js +132 -0
- package/src/backend/api/route-generator.js +92 -0
- package/src/backend/api/schema-generator.js +64 -0
- package/src/backend/architecture/adr-generator.js +62 -0
- package/src/backend/architecture/architecture-reasoner.js +119 -0
- package/src/backend/architecture/architecture-selector.js +57 -0
- package/src/backend/architecture/tradeoff-analyzer.js +92 -0
- package/src/backend/data/data-modeler.js +114 -0
- package/src/backend/data/index-analyzer.js +93 -0
- package/src/backend/data/query-analyzer.js +41 -0
- package/src/backend/data/schema-generator.js +92 -0
- package/src/backend/data/transaction-analyzer.js +49 -0
- package/src/backend/index.js +67 -0
- package/src/backend/observability/logging-engine.js +80 -0
- package/src/backend/observability/metrics-engine.js +31 -0
- package/src/backend/observability/tracing-engine.js +16 -0
- package/src/backend/patterns/pattern-registry.js +74 -0
- package/src/backend/patterns/pattern-selector.js +39 -0
- package/src/backend/patterns/tradeoff-engine.js +17 -0
- package/src/backend/performance/cache-analyzer.js +31 -0
- package/src/backend/performance/concurrency-analyzer.js +34 -0
- package/src/backend/performance/performance-engine.js +98 -0
- package/src/backend/performance/query-optimizer.js +16 -0
- package/src/backend/reliability/failure-analyzer.js +22 -0
- package/src/backend/reliability/idempotency-engine.js +56 -0
- package/src/backend/reliability/resilience-engine.js +141 -0
- package/src/backend/reliability/retry-analyzer.js +15 -0
- package/src/backend/security/auth-selector.js +33 -0
- package/src/backend/security/authorization-engine.js +90 -0
- package/src/backend/security/policy-engine.js +49 -0
- package/src/backend/security/secret-analyzer.js +39 -0
- package/src/backend/security/security-engine.js +122 -0
- package/src/backend/security/threat-model.js +59 -0
- package/src/backend/synthesis/backend-synthesizer.js +98 -0
- package/src/backend/synthesis/infrastructure-synthesizer.js +108 -0
- package/src/backend/synthesis/module-synthesizer.js +262 -0
- package/src/backend/validation/architecture-validator.js +70 -0
- package/src/backend/validation/backend-quality-validator.js +71 -0
- package/src/backend/validation/dependency-validator.js +20 -0
- package/src/backend/validation/performance-validator.js +38 -0
- package/src/backend/validation/security-validator.js +73 -0
- package/src/commands/adapt.js +105 -0
- package/src/commands/add.js +78 -0
- package/src/commands/animate.js +48 -0
- package/src/commands/assemble.js +57 -0
- package/src/commands/audit.js +93 -0
- package/src/commands/backend.js +125 -0
- package/src/commands/bento.js +25 -0
- package/src/commands/blueprint.js +65 -0
- package/src/commands/bolder.js +48 -0
- package/src/commands/boss-fight.js +60 -0
- package/src/commands/build.js +39 -0
- package/src/commands/calibrate.js +25 -0
- package/src/commands/chromatic.js +25 -0
- package/src/commands/clarify.js +52 -0
- package/src/commands/colorize.js +57 -0
- package/src/commands/command.interface.js +28 -0
- package/src/commands/commands.js +84 -0
- package/src/commands/craft.js +57 -0
- package/src/commands/crew.js +66 -0
- package/src/commands/critique.js +25 -0
- package/src/commands/de-slop.js +25 -0
- package/src/commands/delight.js +46 -0
- package/src/commands/deploy.js +42 -0
- package/src/commands/distill.js +48 -0
- package/src/commands/doctor.js +89 -0
- package/src/commands/document.js +83 -0
- package/src/commands/eight-bit.js +25 -0
- package/src/commands/extract.js +75 -0
- package/src/commands/fix.js +46 -0
- package/src/commands/harden.js +85 -0
- package/src/commands/index.js +67 -0
- package/src/commands/install.js +75 -0
- package/src/commands/layout.js +48 -0
- package/src/commands/live.js +44 -0
- package/src/commands/manifest.js +25 -0
- package/src/commands/office.js +25 -0
- package/src/commands/onboard.js +46 -0
- package/src/commands/oneshot.js +60 -0
- package/src/commands/optimize.js +46 -0
- package/src/commands/overdrive.js +46 -0
- package/src/commands/parser.js +143 -0
- package/src/commands/pixelcrew.js +96 -0
- package/src/commands/plan.js +66 -0
- package/src/commands/polish.js +45 -0
- package/src/commands/quieter.js +48 -0
- package/src/commands/recap.js +358 -0
- package/src/commands/registry.js +353 -0
- package/src/commands/render.js +26 -0
- package/src/commands/retrofit.js +25 -0
- package/src/commands/review.js +118 -0
- package/src/commands/roster.js +25 -0
- package/src/commands/sentinel.js +25 -0
- package/src/commands/shape.js +66 -0
- package/src/commands/skills.js +57 -0
- package/src/commands/status.js +48 -0
- package/src/commands/stop.js +50 -0
- package/src/commands/sync.js +58 -0
- package/src/commands/typeset.js +58 -0
- package/src/commands/warp.js +25 -0
- package/src/core/agent-runtime.js +94 -0
- package/src/core/event-bus.js +98 -0
- package/src/core/index.js +9 -0
- package/src/core/orchestrator.js +234 -0
- package/src/core/scheduler.js +124 -0
- package/src/core/task-graph.js +185 -0
- package/src/dashboard/app.js +1172 -30
- package/src/dashboard/index.html +223 -23
- package/src/dashboard/styles.css +870 -0
- package/src/index.js +16 -0
- package/src/orchestrator/artifact-graph.js +104 -0
- package/src/orchestrator/ast-normalizer.js +147 -0
- package/src/orchestrator/code-generator.js +846 -0
- package/src/orchestrator/design-engine.js +203 -0
- package/src/orchestrator/engine.js +318 -39
- package/src/orchestrator/oneshot.js +351 -1561
- package/src/orchestrator/ontology.js +394 -0
- package/src/orchestrator/planner.js +302 -0
- package/src/orchestrator/repair-planner.js +67 -0
- package/src/orchestrator/requirement-contract.js +177 -0
- package/src/orchestrator/requirement-validator.js +39 -0
- package/src/orchestrator/semantic-engine.js +582 -0
- package/src/orchestrator/semantic-reviewer.js +179 -0
- package/src/orchestrator/skills-registry.js +194 -0
- package/src/orchestrator/task-planner.js +111 -0
- package/src/orchestrator/task-queue.js +128 -0
- package/src/orchestrator/telemetry.js +209 -0
- package/src/orchestrator/ui-synthesizer.js +245 -0
- package/src/orchestrator/visual-critic.js +106 -0
- package/src/policies/architecture/layering.policy.js +14 -0
- package/src/policies/performance/indexing.policy.js +13 -0
- package/src/policies/reliability/resilience.policy.js +13 -0
- package/src/policies/security/auth.policy.js +31 -0
- package/src/protocol/agent.js +124 -0
- package/src/protocol/event.js +78 -0
- package/src/protocol/index.js +8 -0
- package/src/protocol/skill.js +54 -0
- package/src/protocol/task.js +100 -0
- package/src/scaffold/claude-generator.js +60 -0
- package/src/scaffold/commands-catalog.js +321 -0
- package/src/scaffold/cursor-generator.js +74 -0
- package/src/scaffold/ide-rules.js +133 -0
- package/src/scaffold/init.js +415 -91
- package/src/scaffold/installer.js +571 -0
- package/src/scaffold/kiro-generator.js +86 -0
- package/src/scaffold/skills-bundle.js +520 -0
- package/src/scaffold/templates.js +57 -4
- package/src/scaffold/workstations.js +364 -0
- package/src/server/server.js +292 -42
- package/src/utils/fs-safe.js +168 -0
- package/src/utils/markdown-report.js +175 -0
package/skill/SKILL.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pixelcrew
|
|
3
|
+
description: Autonomous Multi-Agent Engineering Swarm & Retro Pixel-Art Startup Office. Orchestrates 24 specialized commands across Creative Director, UX Planner, Design System Architect, Frontend Engineer, Backend Engineer, Performance SRE, Security Sentinel, and QA Automation personas.
|
|
4
|
+
version: 0.2.5
|
|
5
|
+
author: Arnel (@hiroqt)
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# 🏢 PixelCrew — Autonomous Multi-Agent Engineering Swarm
|
|
9
|
+
|
|
10
|
+
> **Floor 42, Pixel Corps HQ**: Transform any codebase into an observable, choreographed engineering workspace with anti-AI design synthesis, mathematical fluid typography, and automated E2E testing.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## ⚡ Floor 42 Swarm Command Suite
|
|
15
|
+
|
|
16
|
+
All commands can be invoked via `/pixelcrew <command>`, direct slash commands (e.g. `/<command>`), or the CLI (`npx pixelcrew <command>`):
|
|
17
|
+
|
|
18
|
+
### 1. 🚀 Floor 42 Creation & Architecture
|
|
19
|
+
- **`/assemble [prompt]`** *(aliases: `/craft`, `/sprint`)*: Full shape-then-build multi-agent sprint pipeline from brief to production code.
|
|
20
|
+
- **`/blueprint [prompt]`** *(aliases: `/shape`, `/spec`)*: Plans UX section topologies, wireframes, and compiles dynamic DAG task graphs *before* writing code.
|
|
21
|
+
- **`/boss-fight <issue>`** *(aliases: `/fix`, `/debug`)*: Targeted swarm bug blitz to isolate, repair, and verify breaking issues.
|
|
22
|
+
- **`/manifest [--dry-run]`** *(aliases: `/document`, `/doc`)*: Reverse-engineers active project code into comprehensive `DESIGN.md` and `PRODUCT.md` architectural specifications.
|
|
23
|
+
- **`/retrofit [--dry-run]`** *(aliases: `/extract`, `/tokens`)*: Extracts reusable UI primitives, Tailwind tokens, and CSS variables into the centralized design system.
|
|
24
|
+
- **`/init [--dry-run]`**: One-time setup: scans codebase architecture, configures `.pixel-crew/`, and writes `PRODUCT.md` & `DESIGN.md`.
|
|
25
|
+
|
|
26
|
+
### 2. 🎨 Pixel Aesthetic & Anti-AI Direction
|
|
27
|
+
- **`/render`** *(aliases: `/critique`, `/review-ui`)*: 6-dimension Anti-AI design & UX review (Originality, Hierarchy, Typography, Layout, Brand, Slop Penalty $\ge 8.5/10$).
|
|
28
|
+
- **`/8bit`** *(aliases: `/delight`, `/retro`, `/joy`)*: Adds retro arcade delight: procedural 8-bit Web Audio chimes, CRT phosphor scanlines, and tactile feedback.
|
|
29
|
+
- **`/overdrive`** *(aliases: `/fx`, `/extreme`)*: Injects high-end technical effects: WebGL/Canvas shaders, interactive terminal console, reactive backgrounds.
|
|
30
|
+
- **`/chromatic [palette]`** *(aliases: `/colorize`, `/palette`)*: Injects curated HSL color tokens, dark mode elevation surfaces, and atmospheric accent tiers.
|
|
31
|
+
- **`/typeset [preset]`** *(aliases: `/typography`, `/fonts`)*: Fixes font pairings, applies mathematical fluid `clamp()` type scales, and establishes expressive typography.
|
|
32
|
+
- **`/bento [section]`** *(aliases: `/layout`, `/grid`)*: Reorganizes sections into asymmetric Bento grids, dynamic viewport flow, and zero horizontal overflow.
|
|
33
|
+
- **`/de-slop [section]`** *(aliases: `/clarify`, `/clean-copy`)*: Strips AI cliché copywriting (*"Elevate your workflow", "Seamlessly innovate"*) with grounded technical value propositions.
|
|
34
|
+
- **`/bolder` / `/quieter`**: Amplifies visual energy with editorial contrast or restores clean minimalist balance.
|
|
35
|
+
|
|
36
|
+
### 3. 🛡️ Production Hardening & SRE
|
|
37
|
+
- **`/sentinel`** *(aliases: `/harden`, `/secure`)*: Security & resilience pass: OWASP checks, SQL injection prevention, RFC 7807 error envelopes, and rate limiting.
|
|
38
|
+
- **`/audit`** *(aliases: `/sre-audit`)*: Runs technical quality checks: a11y WCAG AA/AAA, Core Web Vitals (LCP < 0.6s), and Playwright E2E journeys.
|
|
39
|
+
- **`/warp`** *(aliases: `/optimize`, `/perf`)*: Full-stack performance tuning: streaming SSR, bundle minification, and AST prompt caching (~72% token savings).
|
|
40
|
+
- **`/polish`** *(aliases: `/ship-ready`)*: Final shipping readiness pass: design system token alignment, type checks, and aesthetic cleanup.
|
|
41
|
+
- **`/calibrate [viewport]`** *(aliases: `/adapt`, `/responsive`)*: Optimizes responsive layouts from 360px mobile to 4K ultra-wide with fluid viewports.
|
|
42
|
+
- **`/onboard`** *(aliases: `/first-run`)*: Implements first-run onboarding flows, empty state illustrations, and user activation pathways.
|
|
43
|
+
|
|
44
|
+
### 4. 🏢 Floor 42 Operations
|
|
45
|
+
- **`/recap [count]`** *(aliases: `/summary`, `/changelog`, `/whatdone`)*: Generates a token-optimized recap of recent git changes, commits, diff stats, and categorized file operations.
|
|
46
|
+
- **`/office`** *(aliases: `/live`, `/dashboard`)*: Launches Floor 42 live startup office dashboard (`http://localhost:4747`) and real-time site preview iframe.
|
|
47
|
+
- **`/roster [spawn|list]`** *(aliases: `/crew`, `/agents`)*: Inspects active agent roster, workstations, and sprite telemetry.
|
|
48
|
+
- **`/status`** *(aliases: `/progress`, `/info`)*: Shows orchestration sprint progress, active tasks, and swarm state.
|
|
49
|
+
- **`/sync [--dry-run]`**: Synchronizes modular skills across all detected IDEs (`.claude`, `.cursor`, `.agents`, `.kiro`, etc.).
|
|
50
|
+
- **`/doctor`**: Diagnoses local environment, LLM keys, and available coding agent runtimes.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 👥 Floor 42 Personas & Squad Roles
|
|
55
|
+
|
|
56
|
+
PixelCrew delegates tasks across 8 specialized agent personas:
|
|
57
|
+
|
|
58
|
+
1. **Lead Orchestrator (`orchestrator`)**: DAG task decomposition, context extraction, and subagent synthesis.
|
|
59
|
+
2. **Creative Director (`creativeDirector`)**: Aesthetic strategy, brand soul, and strict anti-AI constraints.
|
|
60
|
+
3. **UX Planner (`uxPlanner`)**: Asymmetric section layouts, user flow, and interaction specs.
|
|
61
|
+
4. **Design System Architect (`designSystem`)**: HSL tokens, mathematical `clamp()` typography, and surface tiers.
|
|
62
|
+
5. **Frontend Engineer (`frontend`)**: Next.js 14/15 App Router, React 19, TypeScript, and Tailwind CSS.
|
|
63
|
+
6. **Backend & Database Engineer (`backend`, `database`)**: Type-safe route handlers, RFC 7807 envelopes, Prisma/Postgres schemas.
|
|
64
|
+
7. **Performance & Security SRE (`performance`, `security`)**: Core Web Vitals, CSP headers, OWASP audit, and token pruning.
|
|
65
|
+
8. **QA Automation Engineer (`qa`)**: Playwright E2E user journeys, visual regression, and audit reports.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 🛡️ The Impeccable 64-Pattern Anti-AI Slop Enforcement Matrix
|
|
70
|
+
|
|
71
|
+
Whenever you generate ANY interface, portfolio, dashboard, or landing page (regardless of whether the user prompt is brief or complex), you MUST strictly avoid these 64 banned patterns and apply human-crafted craftsmanship:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
🛡️ IMPECCABLE 64-PATTERN ANTI-AI CHECKLIST
|
|
75
|
+
├── 1. VISUAL DETAILS (8 Rules)
|
|
76
|
+
│ ├── ❌ 1. Decorative Grid-Line Background: No faint graph-paper grid lines (bg-grid) covering the page. Use solid surface tiers.
|
|
77
|
+
│ ├── ❌ 2. Border Accent on Rounded Element: No thick colored border clashing with rounded corners.
|
|
78
|
+
│ ├── ❌ 3. Glassmorphism Everywhere: No muddy backdrop-blur glass cards as decorative crutches.
|
|
79
|
+
│ ├── ❌ 4. Side-Tab Accent Border: No thick colored stripe on one side of a card.
|
|
80
|
+
│ ├── ❌ 5. Hairline Border with Wide Shadow: Never pair 1px border with wide diffuse shadow.
|
|
81
|
+
│ ├── ❌ 6. Repeating-Gradient Stripes: No diagonal gradient stripes for surface decoration.
|
|
82
|
+
│ ├── ❌ 7. Extreme Border-Radius (>24px): Small cards top out at 8–14px; reserve full-pill for buttons only.
|
|
83
|
+
│ └── ❌ 8. Amateurish Hand-Drawn SVG: No hand-coded clip-art scene doodles or cartoon mascots.
|
|
84
|
+
│
|
|
85
|
+
├── 2. TYPOGRAPHY (11 Rules)
|
|
86
|
+
│ ├── ❌ 9. Kicker / Eyebrow Label Above Headings: No tracked uppercase pill/label (✨ INTRODUCING) above headlines.
|
|
87
|
+
│ ├── ❌ 10. Undersized Functional Text (<11px): Keep all functional text, labels, and table cells >= 12px.
|
|
88
|
+
│ ├── ❌ 11. Flat Type Hierarchy (< 1.25x Ratio): Use dramatic modular scale (>= 1.33x or 1.414x) with clamp().
|
|
89
|
+
│ ├── ❌ 12. Icon Tile Stacked Above Heading: No small rounded-square icon floating centered above every feature card.
|
|
90
|
+
│ ├── ❌ 13. Italic Serif Startup Reflex: Don't default to oversized italic serif as an automatic landing page reflex.
|
|
91
|
+
│ ├── ❌ 14. Hero Eyebrow Pill Chip: No floating pill badges (• Location: Cavite, Open to Engagements) in hero.
|
|
92
|
+
│ ├── ❌ 15. Oversized 15-Word Headline: Tighten headlines to punchy 2–6 word value propositions.
|
|
93
|
+
│ ├── ❌ 16. Crushed Letter-Spacing: Never use destructive tracking-tighter that character-collides.
|
|
94
|
+
│ ├── ❌ 17. Overused Font Monoculture: Do not default to un-styled Inter for everything. Pair a distinctive display face with a readable body face.
|
|
95
|
+
│ ├── ❌ 18. Single Font for Everything: Pair display headings with a monospace face for specs and code.
|
|
96
|
+
│ └── ❌ 19. All-Caps Body Text: Never set running body sentences in uppercase.
|
|
97
|
+
│
|
|
98
|
+
├── 3. COLOR & CONTRAST (7 Rules)
|
|
99
|
+
│ ├── ❌ 20. Radial-Gradient Background Halo: No fuzzy purple/cyan gradient blobs floating in hero center.
|
|
100
|
+
│ ├── ❌ 21. Decorative Radial Spotlight Glow: Light compositions with physical surface tiers, not decorative hazes.
|
|
101
|
+
│ ├── ❌ 22. AI Color Palette (Purple & Cyan-on-Black): Reject generic #10B981 / #00F0FF neon glow on flat black.
|
|
102
|
+
│ ├── ❌ 23. Dark Mode with Colored Box-Shadows: Use subtle 1px borders and natural ambient lighting.
|
|
103
|
+
│ ├── ❌ 24. Gradient Text on Headings/Metrics: Use solid high-contrast text (#FFFFFF, #0F172A).
|
|
104
|
+
│ ├── ❌ 25. Gray Text on Colored Background: Never wash out light gray text over saturated containers.
|
|
105
|
+
│ └── ❌ 26. Cream / Beige Reflex: Choose intentional, domain-grounded palettes, not safe cream defaults.
|
|
106
|
+
│
|
|
107
|
+
├── 4. LAYOUT & SPACE (12 Rules)
|
|
108
|
+
│ ├── ❌ 27. Hero Metric Layout (4-Box Stat Strip): Never place 4 identical metric boxes (486h | 4+ | 3+ | 8+) across hero.
|
|
109
|
+
│ ├── ❌ 28. Identical Card Grids: Never repeat identical tall cards across sections. Use Asymmetric Bento flow.
|
|
110
|
+
│ ├── ❌ 29. Monotonous Spacing: Use tight groupings for related items (gap-2) and generous section padding (py-24).
|
|
111
|
+
│ ├── ❌ 30. Nested Cards (Cardocalypse): Never put cards inside cards with identical borders and shadows.
|
|
112
|
+
│ ├── ❌ 31. Tiny Numbered Section Labels: Let natural typography hierarchy sequence the page.
|
|
113
|
+
│ ├── ❌ 32. Hashtag Pill Clouds: Never dump clouds of tags (#React #Nextjs). Group into architectural layers.
|
|
114
|
+
│ ├── ❌ 33. Line Length Too Long (>80ch): Constrain running text containers with max-w-[65ch].
|
|
115
|
+
│ ├── ❌ 34. Content Overflowing Container: Always wrap in responsive containers with px-6 mx-auto.
|
|
116
|
+
│ ├── ❌ 35. Positioned Child Clipped by Overflow: Never cut off tooltips and dropdowns with overflow-hidden.
|
|
117
|
+
│ ├── ❌ 36. Cards Flush Against Scroller Edge: Ensure consistent horizontal scroll padding and insets.
|
|
118
|
+
│ ├── ❌ 37. Text Occluded by Overlapping Elements: Keep opaque layers decoupled from readable copy.
|
|
119
|
+
│ └── ❌ 38. Modal Abuse: Complex multi-column workflows deserve dedicated pages or split-views, not cramped modals.
|
|
120
|
+
│
|
|
121
|
+
├── 5. MOTION (6 Rules)
|
|
122
|
+
│ ├── ❌ 39. Decorative Pulsing Status Dot: Never animate pulsing dots on static, non-updating data.
|
|
123
|
+
│ ├── ❌ 40. Decorative Blinking Caret in Hero: Fake typing carets in static copy are banned.
|
|
124
|
+
│ ├── ❌ 41. Auto-Scrolling Infinite Marquee: Let people read at their own pace with clean static grids.
|
|
125
|
+
│ ├── ❌ 42. Bounce / Elastic Easing: Use smooth, high-performance deceleration curves (ease-out).
|
|
126
|
+
│ ├── ❌ 43. Layout Property Animation (width/height): Animate strictly transform and opacity to prevent layout jank.
|
|
127
|
+
│ └── ❌ 44. Image Hover Scale-Up Reflex: Imagery should sit still; use purposeful subtle border brightness transitions.
|
|
128
|
+
│
|
|
129
|
+
├── 6. COPYWRITING (5 Rules)
|
|
130
|
+
│ ├── ❌ 45. Marketing Buzzwords: Banned: streamline, empower, supercharge, world-class, enterprise-grade.
|
|
131
|
+
│ ├── ❌ 46. Em-Dash Overuse (—): No more than 1 em-dash per section. Use periods, colons, or clean specs.
|
|
132
|
+
│ ├── ❌ 47. Aphoristic Cadence: Banned: "Not a feature. A platform." / "Not just fast. Instant."
|
|
133
|
+
│ ├── ❌ 48. Theater Framing Copy: Banned: Dismissing workflows as "growth theater".
|
|
134
|
+
│ └── ❌ 49. Same Text Repeated Inside One Card: Say it once, say it well.
|
|
135
|
+
│
|
|
136
|
+
├── 7. IMAGERY & ASSETS (2 Rules)
|
|
137
|
+
│ ├── ❌ 50. Shape-Assembled SVG Illustrations: No abstract floating geometric shapes pretending to be product art.
|
|
138
|
+
│ └── ❌ 51. Broken / Missing Image Tags: Never ship img tags with empty or placeholder src.
|
|
139
|
+
│
|
|
140
|
+
└── 8. GENERAL QUALITY & ACCESSIBILITY (10 Rules)
|
|
141
|
+
├── ❌ 52. Uncaught Script Errors: Zero null reference runtime errors.
|
|
142
|
+
├── ❌ 53. Content Invisible at Rest: Never leave sections stuck at opacity: 0 due to failed scroll listeners.
|
|
143
|
+
├── ❌ 54. Cramped Padding: Keep at least 12–16px padding inside containers.
|
|
144
|
+
├── ❌ 55. Body Text Touching Viewport Edge: Ensure mobile container gutters (px-4 to px-6).
|
|
145
|
+
├── ❌ 56. Justified Text on Screens: Use text-align: left to prevent whitespace rivers.
|
|
146
|
+
├── ❌ 57. Low Contrast Text (<4.5:1): Verify WCAG AA compliance across all surfaces.
|
|
147
|
+
├── ❌ 58. Skipped Heading Levels: Never jump from h1 directly to h3.
|
|
148
|
+
├── ❌ 59. Tight Line Height (<1.3x): Use 1.5–1.7 leading on multi-line body text.
|
|
149
|
+
├── ❌ 60. Tiny Body Text (<12px): Use 14–16px for body content.
|
|
150
|
+
├── ❌ 61. Wide Tracking on Body (>0.05em): Reserve wide tracking strictly for short uppercase labels.
|
|
151
|
+
├── ❌ 62. Missing :focus-visible Outline: Ensure full keyboard navigation compliance.
|
|
152
|
+
├── ❌ 63. Non-Semantic Interactive Elements: Use real <button> and <a> tags, never un-focusable <div>.
|
|
153
|
+
└── ❌ 64. Layout Shifts on Load (CLS > 0.05): Set explicit dimensions or aspect ratios on media.
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 🏛️ Concrete Human-Grade Component Blueprints (DO THIS, NOT THAT)
|
|
159
|
+
|
|
160
|
+
### 1. HERO SECTION:
|
|
161
|
+
- ❌ **NEVER GENERATE**: Faint gridlines background + fake macOS `🔴 🟡 🟢` terminal window + 4-box stat row + floating pill chips (`• Location: Cavite`).
|
|
162
|
+
- ✅ **ALWAYS GENERATE**: Solid structured surface tier (`#090A0D`), massive typographic masthead (`clamp(2.5rem, 6vw, 5.5rem)`), concrete value proposition, and clean inline text links (`Flagship Deployments ↓`, `Email Directly →`).
|
|
163
|
+
|
|
164
|
+
### 2. FLAGSHIP PROJECTS:
|
|
165
|
+
- ❌ **NEVER GENERATE**: 2 identical tall cards side-by-side with 3 green checkmark bullets (`✓`) and pill tag rows.
|
|
166
|
+
- ✅ **ALWAYS GENERATE**: Asymmetric narrative case study (8-column deep dive + 4-column live architecture specs) with real problems, technical decisions, and benchmark latency numbers.
|
|
167
|
+
|
|
168
|
+
### 3. CAREER & EXPERIENCE:
|
|
169
|
+
- ❌ **NEVER GENERATE**: Cloned cards with `Internship` pill badges and nested `INTERNSHIP DOSSIER` boxes with gold ribbons.
|
|
170
|
+
- ✅ **ALWAYS GENERATE**: Clean editorial timeline table or ledger aligned to a typographic grid with dates, role, company, and engineering impact.
|
|
171
|
+
|
|
172
|
+
### 4. TECHNICAL CAPABILITIES:
|
|
173
|
+
- ❌ **NEVER GENERATE**: 4 identical cards with fake progress bars and `Expert`/`Advanced` pill badges, or a cloud of `#React #Nextjs` pills.
|
|
174
|
+
- ✅ **ALWAYS GENERATE**: Structured domain architecture matrix grouped into functional layers (*01. GenAI & LPU Triage / 02. Full-Stack Systems / 03. Cloud & Security*).
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## 🕹️ Live Floor 42 Dashboard Telemetry
|
|
179
|
+
|
|
180
|
+
Whenever you execute ANY `/pixelcrew` command in chat (e.g. `/assemble`, `/blueprint`, `/render`, `/bolder`, `/quieter`, `/8bit`, `/warp`, `/sentinel`, `/audit`, `/polish`):
|
|
181
|
+
1. **Emit Telemetry Events**:
|
|
182
|
+
- Write directly to `.pixel-crew/events.jsonl` or run:
|
|
183
|
+
`npx pixelcrew emit --agent <role> --type <type> --message "<action description>"`
|
|
184
|
+
2. **Real-Time Live Mirroring**:
|
|
185
|
+
- The Floor 42 visual dashboard at `http://localhost:4747` automatically mirrors every tool execution, file edit, and reasoning step to the `#AI-SIDECHAT` feed and animates the corresponding squad workstation sprite.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PixelCrew — 6-Dimension Anti-AI Rubric
|
|
2
|
+
|
|
3
|
+
Used by the **Anti-AI Visual Critic** during `/pixelcrew critique` and `/pixelcrew craft` to grade human-level aesthetic quality (Minimum passing score: $\ge 8.5/10.0$).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### Rubric Dimensions:
|
|
8
|
+
|
|
9
|
+
1. **Originality & Soul (Weight: 20%)**:
|
|
10
|
+
- Absence of generic AI template markers (purple gradient mesh blobs, fake sparkle icons).
|
|
11
|
+
- Authentic, bespoke visual archetype tailored to the domain.
|
|
12
|
+
|
|
13
|
+
2. **Typographic Hierarchy (Weight: 20%)**:
|
|
14
|
+
- Fluid mathematical `clamp()` scales from mobile to desktop.
|
|
15
|
+
- Distinct display serif/mono and geometric sans pairing with intentional weight contrast.
|
|
16
|
+
|
|
17
|
+
3. **Layout Dynamics & Asymmetry (Weight: 20%)**:
|
|
18
|
+
- Asymmetric Bento grids and dynamic section rhythm.
|
|
19
|
+
- Rejection of monotonous repeating 3-card rows and nested cards-in-cards.
|
|
20
|
+
|
|
21
|
+
4. **Brand Consistency & Palette (Weight: 15%)**:
|
|
22
|
+
- Harmonious HSL color tokens with structured surface elevation tiers.
|
|
23
|
+
- Intentional dark mode with subtle border glows and high contrast text.
|
|
24
|
+
|
|
25
|
+
5. **Grounded Copywriting (Weight: 15%)**:
|
|
26
|
+
- Zero cliché marketing fluff (*"Supercharge your workflow", "Unlock AI power"*).
|
|
27
|
+
- Concrete technical specifications, real architecture terms, and verifiable numbers.
|
|
28
|
+
|
|
29
|
+
6. **Technical Ergonomics & A11y (Weight: 10%)**:
|
|
30
|
+
- WCAG 2.1 AA/AAA contrast compliance, keyboard focus states, zero horizontal overflow.
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# 🛡️ The Complete Anti-AI Slop Web Design Catalog (2026 Reference Guide)
|
|
2
|
+
|
|
3
|
+
> **Sources & Frameworks**: Reviewed with research from *925Studios* (*"AI Slop Web Design: Complete Guide to Spotting and Fixing Generic Websites 2026"*), *Second Talent* (2026 Code & Security Flaw Benchmark), *Neil Patel* (Human Content Performance Index), and the *Impeccable 64-Pattern Anti-AI Slop Detector*.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🏛️ 1. The Core Philosophy: Defeating "Distributional Convergence"
|
|
8
|
+
|
|
9
|
+
### What is AI Slop in Web Design?
|
|
10
|
+
AI Slop in web design describes websites built with AI tools where no human designer or engineer overrode the statistical defaults. LLMs and automated site generators produce output by predicting the most statistically probable next token based on training data.
|
|
11
|
+
|
|
12
|
+
This creates **"distributional convergence"**—AI naturally gravitates toward the mathematical average of the internet:
|
|
13
|
+
- The default **Inter** font
|
|
14
|
+
- Safe **purple-to-blue / cyan-on-dark** gradients
|
|
15
|
+
- Oversized hero sections with vague headlines (*"Build the future of work"*)
|
|
16
|
+
- Monotonous **16px rounded-corner identical card grids**
|
|
17
|
+
- **4-box metric strips** and **hashtag pill clouds**
|
|
18
|
+
|
|
19
|
+
### The Business Impact of AI Slop:
|
|
20
|
+
- **38% of visitors bounce** immediately from generic, uninspired websites (Figma, 2026).
|
|
21
|
+
- **Human-written content outperforms AI copy 94.12% of the time** in engagement, time-on-page, and conversion (Neil Patel, 2025).
|
|
22
|
+
- **40% to 62% of AI-generated codebases contain structural, security, or maintainability flaws** (Second Talent, 2026).
|
|
23
|
+
- **AI Search Engines** (Google AI Overviews, Perplexity) actively penalize and ignore generic boilerplate.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 📋 2. The 64 Banned AI Slop Patterns Catalog (Grouped by Category)
|
|
28
|
+
|
|
29
|
+
### A. Visual Details (8 Banned Patterns)
|
|
30
|
+
1. **Decorative Grid-Line Background**: Faint graph-paper grid lines covering an entire page without a canvas, map, or measurement task.
|
|
31
|
+
- *Fix*: Use crisp, deliberate surface tokens or clean solid fields.
|
|
32
|
+
2. **Border Accent on Rounded Element**: Thick colored border clashing with rounded corners (e.g. 3px solid border on `rounded-2xl`).
|
|
33
|
+
- *Fix*: Remove the thick border or use a sharp/subtle 1px border with matching corner radius.
|
|
34
|
+
3. **Side-Tab Accent Border**: Thick colored vertical stripe on one side of a card (e.g. `border-l-4 border-cyan-500`). The single most recognizable tell of AI-generated UI.
|
|
35
|
+
- *Fix*: Use subtle accent text, badges, or clean typography hierarchy instead of side-stripes.
|
|
36
|
+
4. **Hairline Border with Wide Diffuse Shadow**: A 1px translucent border paired with `shadow-2xl` / `shadow-[0_0_30px_...]`.
|
|
37
|
+
- *Fix*: Commit to one: either a crisp defined edge OR a natural elevation shadow—never both at once.
|
|
38
|
+
5. **Repeating-Gradient Stripes**: Diagonal repeating gradient stripes used as surface decoration.
|
|
39
|
+
- *Fix*: Reach for authentic textures, code blocks, or clean solid surfaces.
|
|
40
|
+
6. **Glassmorphism Everywhere**: Overused `backdrop-blur-md`, semi-transparent glass cards, and glowing borders as gratuitous decoration rather than functional layering.
|
|
41
|
+
- *Fix*: Reserve `backdrop-filter: blur()` strictly for sticky headers and modal overlays. Use opaque layered surface tiers.
|
|
42
|
+
7. **Extreme Border-Radius on Small Cards (>24px)**: Rounding small cards and inputs into puffy soft blobs.
|
|
43
|
+
- *Fix*: Cards top out at 8px–14px radius; reserve pill-radius (`9999px`) strictly for tags and buttons.
|
|
44
|
+
8. **Amateurish Hand-Drawn SVG Mascots**: Hand-coded crude SVG scenes or mascot doodles that read as amateur clip-art.
|
|
45
|
+
- *Fix*: Use real product screenshots, technical system diagrams, or clean typography.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
### B. Typography (11 Banned Patterns)
|
|
50
|
+
9. **Kicker / Eyebrow Label Above Headings**: Tracked uppercase pill/label (`✨ THE FUTURE OF XYZ ✨` or `FEATURES`) borrowing unearned editorial authority.
|
|
51
|
+
- *Fix*: Work key words directly into the headline or eliminate the eyebrow entirely.
|
|
52
|
+
10. **Undersized Functional Text (<11px)**: Micro-copy below 11px that is unreadable on mobile/high-DPI screens.
|
|
53
|
+
- *Fix*: Keep all functional text, labels, and table cells at $\ge 12\text{px}$ (ideally 13–14px).
|
|
54
|
+
11. **Flat Type Hierarchy (< 1.25x Ratio)**: Headings, subheadings, and body copy all set at nearly the same size.
|
|
55
|
+
- *Fix*: Use a dramatic modular scale ($\ge 1.33\text{x}$ or $1.414\text{x}$) with CSS `clamp()`.
|
|
56
|
+
12. **Icon Tile Stacked Above Heading**: A small rounded-square icon tile floating centered above every feature heading.
|
|
57
|
+
- *Fix*: Place icons inline, side-by-side with heading, or let typography lead without icon crutches.
|
|
58
|
+
13. **Italic Serif Hero Headline Reflex**: An oversized italic serif headline used as an automatic startup landing page reflex.
|
|
59
|
+
- *Fix*: Choose deliberate type pairings that match the domain (e.g. *Space Grotesk* for technical systems, *Plus Jakarta Sans* for modern SaaS).
|
|
60
|
+
14. **Full-Sentence Oversized Hero Headline**: A 15-word full sentence set at 72px dominating the viewport and pushing all content below the fold.
|
|
61
|
+
- *Fix*: Tighten headlines to punchy 2–6 word value propositions; set long explanations in readable body text (`18–20px`).
|
|
62
|
+
15. **Crushed Letter-Spacing (`tracking-tighter` on everything)**: Letter-spacing pulled destructively tight causing characters to collide.
|
|
63
|
+
- *Fix*: Tighten display headings optically (`-0.02em` to `-0.03em`), never destructively.
|
|
64
|
+
16. **The Inter Default / Overused Fonts**: Using default `Inter` for headings, body, buttons, and labels with zero typographic personality.
|
|
65
|
+
- *Fix*: Pair a distinctive display font (*Instrument Serif*, *Syne*, *Space Grotesk*, *Bricolage Grotesque*, *Geist*, *Outfit*) with a high-legibility body font.
|
|
66
|
+
17. **Single Font Family Everywhere**: Zero contrast between editorial display and technical metadata.
|
|
67
|
+
- *Fix*: Pair display headings with a monospace face (*JetBrains Mono*, *Fira Code*) for specs, metrics, and code.
|
|
68
|
+
18. **All-Caps Body Text**: Long running sentences set in uppercase.
|
|
69
|
+
- *Fix*: Reserve uppercase strictly for short 1–2 word category badges and metadata labels.
|
|
70
|
+
19. **Tight Leading (<1.3x) & Wide Body Tracking (>0.05em)**: Multi-line body text crammed together vertically or spaced unnaturally horizontally.
|
|
71
|
+
- *Fix*: Set body text line-height to `1.5–1.7` and tracking to `normal` / `0`.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
### C. Color & Contrast (7 Banned Patterns)
|
|
76
|
+
20. **Radial-Gradient Background Halo / Spotlight**: Saturated purple/cyan fuzzy radial gradient blobs floating in the center of the hero.
|
|
77
|
+
- *Fix*: Surface depth through structured dark/light elevation tiers (`#090A0D` $\to$ `#111318` $\to$ `#181B22`).
|
|
78
|
+
21. **AI Palette Monoculture (Purple/Indigo & Cyan-on-Black)**: Defaulting to generic neon cyan `#00f0ff` or purple `#6366f1` glow.
|
|
79
|
+
- *Fix*: Choose curated, brand-specific palettes (e.g. *Architectural Obsidian & Amber*, *Swiss High-Contrast Monochrome & Signal Cobalt*, *Warm Terracotta & Slate*).
|
|
80
|
+
22. **Dark Mode with Colored Box-Shadow Glows**: `box-shadow: 0 0 25px rgba(0, 240, 255, 0.4)` on inputs and cards.
|
|
81
|
+
- *Fix*: Subtle, crisp 1px borders and natural multi-layered ambient light physics.
|
|
82
|
+
23. **Gradient Text on Headings and Metrics**: `bg-gradient-to-r from-cyan-400 to-purple-500 bg-clip-text text-transparent` destroying legibility.
|
|
83
|
+
- *Fix*: Use high-contrast solid text colors (`#FFFFFF`, `#0F172A`).
|
|
84
|
+
24. **Gray Text on Colored Background**: Light gray `#94a3b8` text washed out over saturated cards.
|
|
85
|
+
- *Fix*: Use high-contrast white or deep dark shades matching the background luminance.
|
|
86
|
+
25. **Safe Cream / Beige Reflex**: Reaching for warm off-white cream as an unearned "tasteful" AI reflex.
|
|
87
|
+
- *Fix*: Choose intentional, domain-grounded backgrounds with clear contrast tokens.
|
|
88
|
+
26. **Low Contrast Text Failing WCAG AA**: Text contrast falling below 4.5:1 for body and 3:1 for large text.
|
|
89
|
+
- *Fix*: Test all color pairs against WCAG 2.1 AA / AAA standards.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### D. Layout & Space (12 Banned Patterns)
|
|
94
|
+
27. **Monotonous 4-Column Stat Box Rows**: `486+ Hours | 4+ Platforms | 3+ Credentials | 100% Ownership`.
|
|
95
|
+
- *Fix*: Embed metrics inline within case studies, timeline milestones, or asymmetric telemetry rails.
|
|
96
|
+
28. **Hashtag & Pill Badge Spam**: Row of 8 `#React #Nextjs #Tailwind #Groq` badges.
|
|
97
|
+
- *Fix*: Group capabilities into structured architectural layers (*01. GenAI / 02. Full-Stack / 03. Cloud*).
|
|
98
|
+
29. **Card-in-a-Card Syndrome (Cardocalypse)**: Triple-nested cards with identical dark backgrounds and borders.
|
|
99
|
+
- *Fix*: Use whitespace grouping, 1px divider lines, or tabular layouts.
|
|
100
|
+
30. **Predictable Split Hero**: Headline on left, dark box on right, 4 stat cards on bottom.
|
|
101
|
+
- *Fix*: Asymmetric Bento Grid (`8-column` case study + `4-column` live telemetry) or full-width editorial hero.
|
|
102
|
+
31. **Identical Card Grids Repeated Endlessly**: Every section is just another grid of 3 identical rounded cards.
|
|
103
|
+
- *Fix*: Vary section topology (Hero $\to$ Bento Grid $\to$ Live Terminal $\to$ Data Table $\to$ Editorial Narrative).
|
|
104
|
+
32. **Monotonous Spacing Everywhere**: Using `gap-4` or `p-6` on every element with zero rhythmic variation.
|
|
105
|
+
- *Fix*: Tight groupings for related items (`gap-2`), generous separations between major sections (`py-24` to `py-32`).
|
|
106
|
+
33. **Tiny Numbered Section Labels (`01 Discover`, `02 Design`)**: Numbers added decoratively without structural purpose.
|
|
107
|
+
- *Fix*: Let natural typographic hierarchy and section rhythm guide the user.
|
|
108
|
+
34. **Line Length > 80ch**: Running body text spanning full-width across wide monitors.
|
|
109
|
+
- *Fix*: Constrain text containers with `max-w-[65ch]` or `max-w-prose`.
|
|
110
|
+
35. **Horizontal Content Overflow**: Text or cards spilling past viewport edges and forcing horizontal scrollbars.
|
|
111
|
+
- *Fix*: Wrap in responsive containers with `w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`.
|
|
112
|
+
36. **Clipped Dropdowns & Tooltips**: Absolute elements cut off by `overflow-hidden` containers.
|
|
113
|
+
- *Fix*: Ensure positioning context and z-index layers are properly decoupled.
|
|
114
|
+
37. **Cards Flush Against Scroller Edges**: Missing matching horizontal inset on scroll containers.
|
|
115
|
+
- *Fix*: Apply consistent scroll padding and gutter insets.
|
|
116
|
+
38. **Modal Abuse**: Cramming 3-column complex workflows into cramped floating modals.
|
|
117
|
+
- *Fix*: Give complex workflows dedicated pages, split-views, or slide-over sheets.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### E. Motion & Interactions (6 Banned Patterns)
|
|
122
|
+
39. **Decorative Pulsing Status Dot**: A green/cyan pulsing dot next to static, non-updating data.
|
|
123
|
+
- *Fix*: Animate pulsing indicators ONLY when real-time WebSocket/SSE data is actively changing.
|
|
124
|
+
40. **Decorative Blinking Terminal Caret on Non-Editable Text**: Fake typing carets in static hero copy.
|
|
125
|
+
- *Fix*: Reserve carets for real interactive CLI inputs or live terminal playgrounds.
|
|
126
|
+
41. **Auto-Scrolling Infinite Marquee**: Continuously scrolling logos or text that prevent users from reading.
|
|
127
|
+
- *Fix*: Clean static logo grid or interactive drag-to-scroll carousel.
|
|
128
|
+
42. **Bounce / Elastic Easing on UI Dialogs**: Modals that spring in with tacky overshoot physics.
|
|
129
|
+
- *Fix*: Smooth, high-performance deceleration curves (`cubic-bezier(0.16, 1, 0.3, 1)` / `ease-out`).
|
|
130
|
+
43. **Layout Property Animation (`width`, `height`, `margin`)**: Animating geometry causing layout thrashing and dropped frames.
|
|
131
|
+
- *Fix*: Animate strictly GPU-composited properties (`transform`, `opacity`) or `grid-template-rows`.
|
|
132
|
+
44. **Image Scale-Up / Rotate on Hover Reflex**: Gratuitous zoom on hover without purpose.
|
|
133
|
+
- *Fix*: Subtle border brightness shifts, clean link reveals, or magnetic button physics.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
### F. Copywriting & Voice (5 Banned Patterns)
|
|
138
|
+
45. **Generic Marketing Buzzwords**: *Streamline, empower, supercharge, world-class, enterprise-grade, elevate, next-generation, seamlessly*.
|
|
139
|
+
- *Fix*: Use concrete nouns and active verbs describing what the system literally does (*"Sub-second triage for 480+ clinical beds"*).
|
|
140
|
+
46. **Em-Dash Overuse (`—`)**: Sprinkling 3+ em-dashes across a single paragraph (a dead-giveaway of LLM cadence).
|
|
141
|
+
- *Fix*: Use crisp commas, periods, colons, or clean bulleted specs.
|
|
142
|
+
47. **Aphoristic Cadence**: *"Not a tool. A revolution."* / *"Not just fast. Instant."*
|
|
143
|
+
- *Fix*: State the technical capabilities directly without manufactured contrast formulas.
|
|
144
|
+
48. **Vague Aspirational Headlines**: *"Build the future of work"*, *"Your all-in-one platform"*.
|
|
145
|
+
- *Fix*: State the exact product category (*"Plan and build software"*, *"Financial infrastructure for the internet"*).
|
|
146
|
+
49. **Growth "Theater" Framing**: Dismissing competitors or existing workflows as "theater".
|
|
147
|
+
- *Fix*: Describe your concrete performance advantages and architectural benchmarks.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
### G. Imagery & Assets (2 Banned Patterns)
|
|
152
|
+
50. **Generic SVG Shape-Assembled Illustrations**: Abstract floating geometric shapes pretending to be product art.
|
|
153
|
+
- *Fix*: Real interactive component previews, real system architecture diagrams, or real photography.
|
|
154
|
+
51. **Broken or Placeholder Image Tags (`src=""`, `src="placeholder.png"`)**: Shipping unverified image boxes.
|
|
155
|
+
- *Fix*: Verified assets, generated SVG architecture diagrams, or clean typography-led designs.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### H. General Engineering Quality (13 Banned Patterns)
|
|
160
|
+
52. **Uncaught Script Errors on Page Load**: Unhandled null reference breaking page hydration.
|
|
161
|
+
53. **Content Invisible at Rest**: Elements stuck at `opacity: 0` because a scroll reveal trigger failed to fire.
|
|
162
|
+
54. **Cramped Padding**: Buttons with 2px vertical padding or cramped text touching container borders.
|
|
163
|
+
55. **Body Text Touching Viewport Edges**: Missing container gutters on mobile.
|
|
164
|
+
56. **Justified Text on Web Screens**: Uneven rivers of whitespace created by justified web text without hyphenation.
|
|
165
|
+
57. **Skipped Heading Levels**: Jumping from `<h1>` directly to `<h3>` or `<h4>` breaking screen readers.
|
|
166
|
+
58. **Tight Line Height on Multi-Line Headers**: Display titles colliding with their own descenders.
|
|
167
|
+
59. **Low Accessibility Contrast on Focus Rings**: Focus outlines invisible against dark backgrounds.
|
|
168
|
+
60. **Missing `:focus-visible` Keyboard Affordance**: Interactive controls unreachable via Tab key navigation.
|
|
169
|
+
61. **Non-Semantic `<div onClick>` Buttons**: Interactive buttons built with un-focusable `<div>` tags lacking ARIA roles.
|
|
170
|
+
62. **Layout Shifts During Asset Loading (CLS > 0.05)**: Missing explicit `width`/`height` or aspect-ratio on imagery.
|
|
171
|
+
63. **Un-optimized Blocking Web Fonts**: Long FOIT (Flash of Invisible Text) delaying First Contentful Paint.
|
|
172
|
+
64. **Missing Reduced-Motion Support**: Ignoring `@media (prefers-reduced-motion: reduce)`.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 🎯 3. The 4 Golden Rules of Authentic Human Web Design
|
|
177
|
+
|
|
178
|
+
1. **Distinctive Typography as Brand Signal**: Replace default Inter with a pairing of a distinctive display face + clean monospace/sans.
|
|
179
|
+
2. **Semantic Color Systems Over Decorative Gradients**: Build with CSS custom properties (`--surface-base`, `--surface-raised`, `--border-subtle`, `--accent-primary`) that serve functional purposes.
|
|
180
|
+
3. **Real Architecture & Interactive Visuals**: Show real product data, live terminal shells, or interactive diagrams rather than fake pastel screenshots.
|
|
181
|
+
4. **Content in a Specific Human Voice**: Write with opinionated, concrete technical specifics (*"Would our founder actually say this?"*).
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# PixelCrew — Floor 42 Swarm Commands Reference
|
|
2
|
+
|
|
3
|
+
Complete reference for all subcommands available under `/pixelcrew <command>` or direct `/<command>`.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. `/assemble <prompt>` (Aliases: `/craft`, `/sprint`, `/ship`)
|
|
8
|
+
**Assigned Agent**: All Personas (Full Swarm)
|
|
9
|
+
**Description**: Runs the complete multi-agent sprint pipeline from brief to verified code synthesis, visual review, and Playwright E2E tests.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 2. `/blueprint <prompt>` (Aliases: `/shape`, `/spec`, `/plan`)
|
|
14
|
+
**Assigned Agent**: UX Planner & Lead Architect
|
|
15
|
+
**Description**: Formulates UX section topologies, user journeys, schema contracts, and compiles a dynamic DAG task graph *before* writing code.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 3. `/boss-fight <issue>` (Aliases: `/fix`, `/debug`, `/repair`)
|
|
20
|
+
**Assigned Agent**: Security Sentinel, QA & Frontend
|
|
21
|
+
**Description**: Targeted swarm bug blitz to isolate root causes, synthesize atomic repair tasks, and verify with Playwright E2E checks.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 4. `/manifest [--dry-run]` (Aliases: `/document`, `/doc`)
|
|
26
|
+
**Assigned Agent**: Lead Orchestrator & Creative Director
|
|
27
|
+
**Description**: Reverse-engineers active repository components, styles, and routes into full `DESIGN.md` design system documentation and `PRODUCT.md` specifications.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 5. `/retrofit [--dry-run]` (Aliases: `/extract`, `/tokens`)
|
|
32
|
+
**Assigned Agent**: Design System Architect
|
|
33
|
+
**Description**: Scans project files and extracts recurring UI elements, color literals, and typography rules into centralized Tailwind tokens and CSS variables.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 6. `/render` (Aliases: `/critique`, `/review-ui`)
|
|
38
|
+
**Assigned Agent**: Anti-AI Visual Critic
|
|
39
|
+
**Description**: Executes a 6-dimension visual rubric review scoring Originality, Hierarchy, Typography, Layout, Brand, and AI Slop Penalty ($\ge 8.5/10.0$).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 7. `/8bit` (Aliases: `/delight`, `/retro`, `/joy`)
|
|
44
|
+
**Assigned Agent**: Creative Director & Motion Specialist
|
|
45
|
+
**Description**: Injects retro arcade Web Audio API chimes, CRT phosphor scanline toggles, and tactile micro-interactions.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 8. `/overdrive` (Aliases: `/fx`, `/extreme`)
|
|
50
|
+
**Assigned Agent**: Motion & Frontend SRE
|
|
51
|
+
**Description**: Injects GPU-accelerated WebGL/Canvas shaders, interactive terminal console, and live hardware HUD telemetry meters.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 9. `/chromatic [palette]` (Aliases: `/colorize`, `/palette`)
|
|
56
|
+
**Assigned Agent**: Design System Architect
|
|
57
|
+
**Description**: Injects curated HSL color tokens, dark mode elevation surfaces, and atmospheric accent tiers with ultra-high contrast (17.5:1).
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 10. `/typeset [preset]` (Aliases: `/typography`, `/fonts`)
|
|
62
|
+
**Assigned Agent**: Design System Architect
|
|
63
|
+
**Description**: Applies mathematical fluid `clamp()` typography scales and editorial/geometric font pairings with tight optical tracking.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## 11. `/bento [section]` (Aliases: `/layout`, `/grid`)
|
|
68
|
+
**Assigned Agent**: UX Planner & Frontend
|
|
69
|
+
**Description**: Reorganizes section into 12-column asymmetric Bento topologies with dynamic vertical rhythm and zero horizontal overflow.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 12. `/de-slop [section]` (Aliases: `/clarify`, `/clean-copy`, `/copy`)
|
|
74
|
+
**Assigned Agent**: Content Strategist & UX
|
|
75
|
+
**Description**: Strips generic AI marketing clichés (*"Unlock the power of next-gen AI"*) and injects grounded, technical value propositions.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 13. `/sentinel` (Aliases: `/harden`, `/secure`, `/defense`)
|
|
80
|
+
**Assigned Agent**: Security Sentinel & Backend
|
|
81
|
+
**Description**: Enforces RFC 7807 error envelopes, Zod schema validation, sliding-window rate limiting, and OWASP security headers.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 14. `/audit` (Aliases: `/sre-audit`, `/quality`)
|
|
86
|
+
**Assigned Agent**: QA Automation & Performance SRE
|
|
87
|
+
**Description**: Runs deep technical audits: WCAG 2.1 AA/AAA accessibility compliance, Core Web Vitals profiling (LCP < 0.6s), and Playwright E2E smoke tests.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 15. `/warp` (Aliases: `/optimize`, `/perf`, `/speed`)
|
|
92
|
+
**Assigned Agent**: Performance SRE & Token Engine
|
|
93
|
+
**Description**: Configures Next.js Streaming SSR, asset minification, and AST symbol graph extraction for 72% context reduction across LLMs.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## 16. `/polish` (Aliases: `/ship-ready`, `/finalize`)
|
|
98
|
+
**Assigned Agent**: Frontend Engineer & QA
|
|
99
|
+
**Description**: Performs a final shipping readiness pass: token alignment, TypeScript compilation check, CSS cleanup, and visual consistency tuning.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 17. `/calibrate [viewport]` (Aliases: `/adapt`, `/responsive`)
|
|
104
|
+
**Assigned Agent**: Responsive Specialist
|
|
105
|
+
**Description**: Calibrates layout, padding, font scales, and tap targets for seamless viewing from 360px mobile up to 4K ultra-wide.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 18. `/onboard` (Aliases: `/first-run`, `/empty-states`)
|
|
110
|
+
**Assigned Agent**: UX Planner & Frontend
|
|
111
|
+
**Description**: Builds interactive zero-data empty states, progressive feature tours, and clear user activation paths.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 19. `/office [--port 4747]` (Aliases: `/live`, `/dashboard`, `/preview`)
|
|
116
|
+
**Assigned Agent**: Floor 42 Visual Office Lead
|
|
117
|
+
**Description**: Boots Floor 42 real-time startup office visual dashboard (`http://localhost:4747`), live SSE telemetry stream, and site preview iframe.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 20. `/roster [spawn|list]` (Aliases: `/crew`, `/agents`, `/squad`)
|
|
122
|
+
**Assigned Agent**: Lead Orchestrator
|
|
123
|
+
**Description**: Inspects active Floor 42 workstations, assigned tasks, sprite animations, and multi-agent health metrics.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 21. `/doctor` (Aliases: `/diagnose`, `/health`)
|
|
128
|
+
**Assigned Agent**: Lead Orchestrator
|
|
129
|
+
**Description**: Diagnoses environment health, local LLM provider availability (Claude Code, Cursor, Codex, Grok, Gemini), and API keys.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 22. `/sync [--dry-run]` (Aliases: `/sync-providers`, `/mirror`)
|
|
134
|
+
**Assigned Agent**: Capability Lead
|
|
135
|
+
**Description**: Synchronizes workspace skills across all detected IDE directories (`.claude`, `.cursor`, `.agents`, `.kiro`, `.opencode`, `.hermes`, `.pi`, etc.).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Modern QA Testing Strategy & Test Maintainability Guide
|
|
2
|
+
|
|
3
|
+
## 1. The Practical Testing Pyramid
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
▲
|
|
7
|
+
/ \ E2E User Journeys (Playwright / Cypress)
|
|
8
|
+
/───\ - Critical business flows: Auth, Checkout, Billing
|
|
9
|
+
/ \ Component / Integration Tests (React Testing Library / MSW)
|
|
10
|
+
/───────\ - Form validation, state mutations, accessibility checks
|
|
11
|
+
/ \ Unit Tests (Vitest / Jest / Node.js Test Runner)
|
|
12
|
+
/───────────\ - Pure utility functions, state reducers, domain business rules
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 2. Writing Resilient, Non-Flaky Tests
|
|
18
|
+
|
|
19
|
+
1. **Query by Accessibility Role First**:
|
|
20
|
+
- `screen.getByRole('button', { name: /save changes/i })`
|
|
21
|
+
- Never query by brittle CSS classes (`.btn-primary-2`) or dynamic test IDs unless strictly necessary.
|
|
22
|
+
2. **Mock at the Network Boundary with MSW**:
|
|
23
|
+
- Mock HTTP requests using **Mock Service Worker (MSW)** rather than mocking internal fetch libraries, ensuring network contracts are tested faithfully.
|
|
24
|
+
3. **Automated Accessibility Testing with axe-core**:
|
|
25
|
+
- Run `@axe-core/playwright` on all critical pages to ensure zero WCAG AA violations.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PixelCrew — Cross-IDE Token Optimization Protocols
|
|
2
|
+
|
|
3
|
+
Universal token conservation engine across Claude Code, Google Antigravity, Cursor, Kiro, Windsurf, and Copilot.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### Key Conservation Strategies:
|
|
8
|
+
|
|
9
|
+
1. **AST Symbol Graph Extraction**:
|
|
10
|
+
- Extract function signatures, type interfaces, and route contracts instead of dumping raw 10,000-line files.
|
|
11
|
+
- Slashes context window consumption by 60%–75%.
|
|
12
|
+
|
|
13
|
+
2. **Prefix Prompt Cache Anchoring**:
|
|
14
|
+
- Anchors static system prompts and skill manuals at $\ge 1024$ tokens for Anthropic Claude Code, triggering a **90% cache read discount**.
|
|
15
|
+
|
|
16
|
+
3. **Multi-Turn Context Pruning**:
|
|
17
|
+
- Prunes resolved subagent traces and temporary error logs between sprint phases.
|
|
18
|
+
|
|
19
|
+
4. **Line-Range Targeted Diffs**:
|
|
20
|
+
- Generates compact replacement chunks (`replace_file_content`) rather than rewriting whole files.
|