Whenever I started a project, I always hit the exact same roadblock.
I was stuck on frontend engineering, colors, layout, and UI/UX (User Interface / User Experience).
Back-end logic made sense. APIs made sense. But turning an idea into a clean, modern, eye-catching web application was always a painful struggle.
Most AI tools made it worse. Every time I asked an AI assistant for a landing page or portfolio, it gave me the exact same design: dark gray cards, centered walls of text, broken button contrasts, and zero creative personality.
So I decided to solve our biggest frontend problem once and for all.
I built an open-source suite of seven specialized agent skills for Google Antigravity and Claude Code. You can check out the live portfolio build at irfanlovefrontend.vercel.app and clone the full skill suite on GitHub.
Here is the story of how it works, what it solves, and how you can use it to build better web apps.
Contents
- The Frustration: Why Most AI Frontend Code Fails
- How I Fixed It: 7 Specialized Agent Skills
- The Rules That Make It Look Human
- Live Demo: See It in Action
- How You Can Use It on Your Own Projects
- I Need Your Feedback to Make It Even Better
- Want to Contribute? Let Us Build Together
The Frustration: Why Most AI Frontend Code Fails
When you ask a standard AI model to code an interface, it falls into repetitive statistical habits:
- Repetitive Layouts: It picks the first generic template in its training weights. Every project looks like a duplicate clone of the previous one.
- Text Walls: Headlines wrap into 4 to 6 lines because containers are too narrow.
- Empty Gaps in Grids: Multi-card bento grids end up with awkward, dead white spaces.
- Fragile Animations: Complex scroll events crash mobile browsers by listening directly to scroll listeners.
I realized frontend engineering requires distinct cognitive modes. One model trying to do everything at once creates sloppy results.
To fix this, I separated frontend development into five dedicated engineering stages and two auxiliary tools.
How I Fixed It: 7 Specialized Agent Skills
Each skill lives in its own folder and corresponds to an exact slash command:
1. /ui-ux (Master Orchestrator)
Coordinates the full four-stage lifecycle autonomously inside your frontend/ folder. It updates PLAN.md with real-time checkboxes as each milestone finishes.
2. /frontend-architect (Stage 1 Foundation)
Scaffolds Next.js 15, selects one of six calibrated substrate palettes (like Swiss Industrial, Warm Utilitarian, or Cold Luxury), configures fluid clamp typography, sets up Lenis smooth scrolling, and creates an SVG BrandLogo with small-size favicon legibility.
3. /creative-layout-engineer (Stage 2 Macro-Layout)
Designs wide hero sections, four distinct hero archetypes, gapless bento grids using Tailwind grid-flow-dense, and canonical route shells (/about, /projects, /skills, /contact) with zero layout shift.
4. /interactive-component-engineer (Stage 3 Components & Motion)
Builds Double-Bezel hardware cards, button-in-button CTAs (Call to Action) with kinetic diagonal hover physics, and GSAP ScrollTrigger timelines.
5. /experience-qa-auditor (Stage 4 Production Hardening)
Verifies mobile responsiveness down to 320px viewport width, builds custom 404 pages and client error boundaries, and runs a strict 45+ item mechanical Pre-Flight Check.
6. /build-error-resolver (Auxiliary Build Recovery)
Applies surgical diffs (< 5% of affected code) to fix TypeScript errors and Next.js compilation issues without touching your architecture.
7. /github-readme-writer (Auxiliary Documentation)
Generates authoritative, human-written GitHub READMEs, case studies, and launch posts with zero generic AI clichés and zero em-dashes.
The Rules That Make It Look Human
To make sure the output never feels like an AI template, the suite enforces strict design rules:
-
The Deterministic Seed Engine: A math calculation (
len(prompt) % 6) selects different colors, fonts, and hero layouts for every project. -
The 2-Line Iron Rule: Hero headlines must sit in wide containers (
max-w-5xlormax-w-6xl) and never exceed 2 lines on desktop. - Gapless Bento Flow: Grid columns mathematically interlock so there is zero empty space.
- Double-Bezel Hardware Enclosures: Cards feature an outer machined shell and concentric inner radius for real physical depth.
- Single-Project Spatial Rhythm: Sub-pages share the exact same header Y-axis height and breadcrumb alignment so the page never jumps when navigating.
Live Demo: See It in Action
I used this exact agent skill suite to build a portfolio web application with Next.js 15, TypeScript, Tailwind CSS, Lenis, and GSAP:
- Live URL: https://irfanlovefrontend.vercel.app/
- GitHub Repository: https://github.com/rajairfanahmed/ui-ux-skill
Take a look on both desktop and mobile to see the spatial consistency, font pairings, and smooth scroll in action.
How You Can Use It on Your Own Projects
You can install these skills into your Antigravity or Claude Code setup:
git clone https://github.com/rajairfanahmed/ui-ux-skill.git
Copy the .agents/skills folder to your project root or your global agent configuration directory.
Then invoke the master skill inside your editor:
/ui-ux Build a bespoke landing page for an engineering studio with dark mode, smooth scroll, and case study cards.
You can also specify your own custom preferences in your prompt:
- Custom color palettes (e.g. "Use deep navy
#0A1128with gold#D4AF37accent") - Custom typography (e.g. "Use Outfit for headlines and Plus Jakarta Sans for body")
- Specific pages (e.g. "Include
/services,/case-studies, and/pricing")
The agent will adopt your constraints while preserving strict anti-slop rules.
I Need Your Feedback to Make It Even Better
This is version 1.0.0, and I want to keep improving it for developers everywhere.
I need your honest advice:
- Colors: Are the substrate palettes hitting the right contrast and mood?
- Typography: Which font pairings look best on your screen?
- Animations: Are the GSAP spring physics smooth, or do you prefer subtler transitions?
- Layouts: What reference websites do you love? Share them with me so I can study their layout rhythm and add them as inspiration patterns.
Please do not hesitate to comment below. Every single suggestion helps me upgrade the suite.
Want to Contribute? Let Us Build Together
The project is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
This means:
- You are free to inspect, learn from, and run the suite for your non-commercial personal projects.
- You can fork the repository, improve the rules, and submit Pull Requests.
- You may NOT resell or package the skills for commercial monetization or personal financial gain.
If you want to contribute, please reach out or open a Pull Request on GitHub.
And if this project helps solve your frontend headaches, please consider starring the repository on GitHub:
👉 GitHub Repository: https://github.com/rajairfanahmed/irfanlovefront
👉 Live Preview: https://irfanlovefront.vercel.app/
Thank you for reading, and let us build cleaner frontend interfaces together!
Top comments (0)