The Gap Between Code Generation and Production Craftsmanship
Modern AI coding agents—such as Claude Code, OpenAI Codex, Cursor, and Google Antigravity—can scaffold full-stack applications in seconds. They generate React components, configure routers, write SQL queries, and stub out API endpoints with remarkable speed.
Yet, every developer who has used AI agents on real production websites knows the recurring disappointment of unguided generation:
<div> rectangles pretending to be software screenshots.height, top, or margin, forcing CPU layout recalculations and 15fps frame drops instead of 60fps GPU-composited transform and opacity.<div> tags with no ARIA roles, no keyboard focus rings, missing label associations, and failing WCAG contrast ratios.To solve this, developers often make a critical architectural mistake: they install dozens of uncoordinated, overlapping prompt snippets and micro-skills.
The Context Window Myth: Why 80 Micro-Skills Degrade Agent Performance
The natural instinct is to give the agent more instructions: one skill for forms, one for modals, one for tailwind buttons, one for fonts, and so on.
However, in LLM-based agent systems, more instructions do not equal better decisions. Overloading an agent's context window creates severe operational bottlenecks:
8 High-Leverage Specialist Skills > 80 Overlapping Micro-Skills
1. Context Window Pollution: If every skill dumps 2,000 lines of prompt text into the agent's active memory, the context window fills with static boilerplate rather than the user's actual codebase and task diffs. 2. Conflicting Decision Gates: Micro-skills written in isolation frequently contradict one another (e.g., one rule advocating pure utility classes while another prescribes CSS Modules or inline objects). 3. Routing Degradation: When 80 skills compete for activation, the agent's semantic router suffers from classification entropy, frequently picking the wrong tool or falling back to generic model behavior.
This is why I built WebDev Pro Skills around a strict engineering philosophy: a compact, token-efficient suite of 8 specialist disciplines built on a two-tier progressive disclosure model.
The Architecture: Two-Tier Progressive Disclosure
Rather than dumping encyclopedic documentation into every turn, each skill in webdev-pro-skills strictly separates high-density rules from on-demand reference material:
Agent Context Window
├── Tier 1: Core SKILL.md (Always loaded upon activation — ~100-150 lines)
│ ├── Trigger boundaries (When to use / When NOT to use)
│ ├── Core decision gates & execution order
│ ├── Opinionated defaults & hard anti-patterns
│ └── Routing map to references
│
└── Tier 2: Modular References (Loaded on-demand only when required)
├── decision-framework.md
├── springs-and-easing.md
├── ui-animation-recipes.md
└── verification-checklist.md
SKILL.md): Under 150 lines (< 1,500 estimated tokens). Contains concise decision gates, negative constraints (what never to do), and routing pointers.references/): Deep implementation manuals, spring physics bezier tables, Schema.org templates, and Playwright fixtures loaded only when the agent reaches that specific implementation phase.Our automated token budget audits confirm the efficiency:
TOTAL CORE SKILLS (Tier 1): 808 lines (~10,288 tokens across all 8 skills)
TOTAL REFERENCES (Tier 2): 1,407 lines (~13,012 tokens across 33 modular guides)
An agent working on motion design only consumes ~1,450 tokens for the core skill, pulling in easing tables only if calculating custom spring physics.
The 8 Specialist Disciplines
┌───────────────────────┐
│ Agent User Prompt │
└───────────┬───────────┘
│
┌─────────────────────────┴─────────────────────────┐
▼ ▼
┌───────────────────────┐ ┌───────────────────────┐
│ Brand & Marketing UI │ │ Product & App Logic │
│ design-taste-frontend │ │ ui-ux-pro │
└───────────┬───────────┘ └───────────┬───────────┘
│ │
├─────────────────► motion-design ◄────────────────┤
│ (Interactions) │
│ │
├───────────────► web-accessibility ◄──────────────┤
│ (WCAG AA) │
│ │
├─────────────► frontend-performance ◄──────────────┤
│ (Vitals/Speed) │
│ │
├────────────────► seo-mastery ◄────────────────────┤
│ (Search/GEO) │
│ │
├─────────────────► web-testing ◄───────────────────┤
│ (Vitest/Playwright) │
│ │
└───────────────► final-web-audit ◄─────────────────┘
(Pre-Launch)
1. design-taste-frontend: Anti-Slop Frontend Craft
Before generating markup, the agent executes a mandatory "Read the Room" brief inference, declaring the page type, target audience, and aesthetic language.
It then tunes The Three Design Dials (1–10):
DESIGN_VARIANCE: Balances symmetrical minimal grids vs. bold editorial layouts.MOTION_INTENSITY: Tunes from subtle hover states to coordinated scroll scrubbing.VISUAL_DENSITY: Adjusts from spacious editorial whitespace to compact data rhythms.Hard Negative Constraints:
Geist, Satoshi, Inter Display), using serifs only when brand guidelines explicitly mandate.2. ui-ux-pro: Product & Application UI Intelligence
Marketing sites require emotional resonance; applications require information density and state predictability.
ui-ux-pro ensures the agent models all 4 application states for every interactive component:
1. Loading State: Skeleton loaders matching exact content dimensions to prevent CLS.
2. Empty State: Clear contextual guidance, illustrations, and primary creation CTAs.
3. Populated State: Compact data tables with sticky headers, numeric column right-alignment, and inline actions.
4. Error State: Actionable recovery buttons with error reason explanations rather than generic toasts.
3. motion-design: 60fps Web Physics & Purposeful Motion
Animations should provide spatial orientation, not visual clutter.
motion-design enforces strict hardware-acceleration rules:
width, height, margin, top, or padding. All layout transitions must use transform (translate3d, scale) and opacity.prefers-reduced-motion: reduce is enabled.4. seo-mastery: Technical SEO, Structured Data & AI Search
SEO is not about keyword stuffing; it is about crawlability, canonical integrity, and structured entity graphs.
SoftwareApplication, BlogPosting, Person, and BreadcrumbList structured data matching visible DOM content.llms.txt), and semantic heading hierarchies.5. frontend-performance: Core Web Vitals Optimization
A slow website degrades conversion rates and search rankings.
AVIF / WebP), and avoiding client-side layout chains.scheduler.postTask or requestIdleCallback, and optimizing React re-renders.aspect-ratio on all visual media, fallback font override metrics, and reserved ad/banner containers.6. web-accessibility: WCAG 2.2 AA Compliance
Accessibility is fundamental to software quality.
<button>, <dialog>, <nav>, and <form> elements.Tab key focus and close cleanly on Escape.7. web-testing: Full-Stack Testing & Browser Verification
An agent that edits code without verifying execution is unsafe.
8. final-web-audit: The 8-Point Production Release Gate
Before deployment, final-web-audit executes a rigorous checklist across all 8 disciplines:
| Audit Point | Verification Criteria | |---|---| | 1. Functionality | Zero console errors, valid API responses, working forms and state flows. | | 2. UI & Typography | No text clipping, responsive layout collapse at 375px/768px/1280px, no generic AI-slop accents. | | 3. Motion | 60fps GPU-only properties, < 300ms interaction timing, reduced-motion compliance. | | 4. Testing | Passing unit, integration, and E2E test suites with zero skipped critical paths. | | 5. SEO | Unique title/description, self-referencing canonicals, valid XML sitemap and Schema.org markup. | | 6. Performance | Zero CLS, optimized image dimensions, passing Core Web Vitals thresholds. | | 7. Accessibility | Full keyboard navigation, visible focus indicators, WCAG AA contrast (4.5:1 min). | | 8. Security | No exposed API secrets in client bundles, CSRF protection, secure auth session storage. |
Installation & Getting Started
Install the complete pack into your coding agent environment with a single command:
npx skills add pokhrelboss/webdev-pro-skills
Or install specific specialist skills individually:
# Install only anti-slop frontend design
npx skills add pokhrelboss/webdev-pro-skills --skill design-taste-frontendInstall only motion design engineering
npx skills add pokhrelboss/webdev-pro-skills --skill motion-designInstall only technical SEO
npx skills add pokhrelboss/webdev-pro-skills --skill seo-mastery
Verified Compatibility
SKILL.md directory protocol..cursor/rules or agent skills directory.Open Source & Community
webdev-pro-skills is 100% free, open source, and licensed under the MIT License.
By giving coding agents structured, opinionated, and token-efficient guidelines, we transform AI from a generator of generic boilerplate into an authentic engineering partner.