Skip to content
cccskills
FreePublished on GitHub

frontend-design

Build beautiful, responsive, accessible UIs using React, Tailwind CSS, Framer Motion, and the Vercel Web Interface Guidelines.

The English summary is being prepared. Showing the original description.

Works withVercel
See how to install

Files included (1)

  • SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Frontend Design Skill

Provides structured guidance for building production-quality frontend UI components and pages. Covers component architecture, responsive design, animations, accessibility, and design system adherence for the PP Namias portfolio.

When to use this skill

  • Building a new UI component or page section
  • Styling and layout decisions
  • Implementing responsive design patterns
  • Adding animations or transitions
  • Ensuring design consistency with the existing codebase
  • Reviewing UI code against best practices

Workflow

  1. Understand the design intent — Read the existing component patterns in src/components/. Identify the section type (hero, about, projects, skills, experience, certifications, blog, contact).

  2. Choose the right primitives — Use Tailwind CSS utility classes for styling. Use Framer Motion for animations. Use Lucide React for icons. Follow the repo's existing patterns.

  3. Apply the Vercel Web Interface Guidelines — See docs/design/vercel-web-interface-guidelines.md. Key checks:

    • Full keyboard support with visible :focus-visible rings
    • Hit targets ≥ 24px (mobile ≥ 44px)
    • touch-action: manipulation on controls
    • Links use <a>/<Link> — never <div onClick> for navigation
    • Images have explicit width/height
    • Animations use transform/opacity only; never transition: all
    • prefers-reduced-motion respected
  4. Implement with the existing design system — Use the project's Tailwind theme tokens (colors, spacing, typography from tailwind.config.ts). Match the existing component API patterns.

  5. Responsive design — Test at mobile (375px), tablet (768px), laptop (1280px), and ultra-wide (1920px+).

  6. Accessibility — Semantic HTML, ARIA labels where needed, proper heading hierarchy, skip-to-content link, color contrast compliance.

  7. Validate — Run npm run test -- --run, npx tsc --noEmit, npm run lint, and npm run doctor to ensure quality gates pass.

Design Principles

  • Modal-first architecture — Minimize route navigation; use modals for detail views
  • Subtle motion — Framer Motion with whileInView for scroll-triggered animations
  • Dark theme first — The portfolio uses dark mode as default; ensure new components render correctly in both modes
  • Consistent spacing — Use Tailwind's spacing scale (p-4, p-6, p-8, gap-4, gap-6, etc.)
  • Performance — Lazy-load below-fold content, avoid layout shift, keep bundle size small

Delivery Checks

  • Responsive on mobile, tablet, laptop, ultra-wide
  • Light and dark theme both look correct
  • prefers-reduced-motion respected
  • Keyboard navigable with visible focus rings
  • No layout shift (CLS)
  • TypeScript strict mode passes
  • ESLint passes
  • Tests pass
  • React-doctor score 100/100

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

See all skills by PP-Namias

Report a problem with this skill