frontend-dev
Skill0 starsChanged 11 months agoMITView on GitHub
Frontend development workflows for React with TypeScript, Tailwind CSS, Context API, and Vitest. Use this skill when creating React components, setting up project structure, implementing state management, styling with Tailwind, or writing tests.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- HHU3637kr/skillstheir own version, first seen Nov 21, 2026
- FimawLLC/fimaw-skillstheir own version, first seen Nov 15, 2026
- martgueritainaccurate875/skillstheir own version, first seen Nov 8, 2026
- smiling66652/workbuddy-skill-toolkitstheir own version, first seen Nov 1, 2026
- coroboros/agent-skillstheir own version, first seen Oct 29, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use android-native-dev, ios-application-dev and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MiniMax-AISkillandroid-native-dev
Android native application development and UI design guide. Covers Material Design 3, Kotlin/Compose development, project configuration, accessibility, and build troubleshooting. Read this before Android native application development.
Also in 3 projects that use this
MiniMax-AISkillios-application-dev
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
Also in 3 projects that use this
yangmourSkillfullstack-dev
Also in 5 projects that use this
HK-hubSkillgif-sticker-maker
Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions. Use when: user wants to create cartoon stickers, GIF expressions, emoji packs, animated avatars, or convert photos to Funko Pop / Pop Mart blind box style animations. Triggers: sticker, GIF, cartoon, emoji, expression pack, avatar animation.
Also in 3 projects that use this
HK-hubSkillshader-dev
Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- MiniMax-AI/skills★ 14ksame name
- marmelab/atomic-crm★ 1.5ksame name
- doccker/cc-use-exp★ 1ksame name
- nteract/desktop★ 195same name
- nteract/nteract★ 195same name
- HHU3637kr/skills★ 150same name
- app-dev-panel/app-dev-panel★ 91same name
- HK-hub/AgentSkills★ 6same name
- jhy0285/monofield★ 6same name
- martgueritainaccurate875/skills★ 6same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- backend-apiSkill
- skill-creatorSkill
- testingSkill
The file
Files
Frontend Dev
A comprehensive skill for React + TypeScript frontend development with modern tooling.
Tech Stack
| Category | Technology |
| Framework | React 18+ with TypeScript |
| Styling | Tailwind CSS |
| State Management | Context API |
| Testing | Vitest + React Testing Library |
| Build Tool | Vite |
Project Structure
src/
components/ # Reusable UI components
ui/ # Base UI components (Button, Input, Card)
features/ # Feature-specific components
context/ # Context providers and hooks
hooks/ # Custom React hooks
pages/ # Page components
types/ # TypeScript interfaces and types
utils/ # Utility functions
__tests__/ # Test filesComponent Creation
Functional Component Template
import { FC } from 'react';
interface ComponentNameProps {
title: string;
onClick?: () => void;
children?: React.ReactNode;
}
export const ComponentName: FC<ComponentNameProps> = ({
title,
onClick,
children
}) => {
return (
<div className="p-4 rounded-lg bg-white shadow-md">
<h2 className="text-xl font-semibold text-gray-800">{title}</h2>
{children}
{onClick && (
<button
onClick={onClick}
className="mt-4 px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700"
>
Click Me
</button>
)}
</div>
);
};Context API Pattern
// context/ThemeContext.tsx
import { createContext, useContext, useState, FC, ReactNode } from 'react';
interface ThemeContextType {
theme: 'light' | 'dark';
toggleTheme: () => void;
}
const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
export const ThemeProvider: FC<{ children: ReactNode }> = ({ children }) => {
const [theme, setTheme] = useState<'light' | 'dark'>('light');
const toggleTheme = () => setTheme(prev => prev === 'light' ? 'dark' : 'light');
return (
<ThemeContext.Provider value={{ theme, toggleTheme }}>
{children}
</ThemeContext.Provider>
);
};
export const useTheme = (): ThemeContextType => {
const context = useContext(ThemeContext);
if (!context) throw new Error('useTheme must be used within ThemeProvider');
return context;
};Tailwind CSS Common Classes
| Purpose | Classes |
| Flexbox Center | flex items-center justify-center |
| Grid 3 Columns | grid grid-cols-3 gap-4 |
| Card Style | p-4 rounded-lg bg-white shadow-md |
| Button Primary | px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 |
| Input Field | w-full px-3 py-2 border border-gray-300 rounded focus:ring-2 |
Custom Hooks
useFetch Hook
import { useState, useEffect } from 'react';
export function useFetch<T>(url: string) {
const [data, setData] = useState<T | null>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);
useEffect(() => {
fetch(url)
.then(res => res.json())
.then(setData)
.catch(err => setError(err.message))
.finally(() => setLoading(false));
}, [url]);
return { data, loading, error };
}Testing with Vitest
import { describe, it, expect, vi } from 'vitest';
import { render, screen, fireEvent } from '@testing-library/react';
import { Button } from '../components/ui/Button';
describe('Button', () => {
it('renders with correct text', () => {
render(<Button>Click Me</Button>);
expect(screen.getByText('Click Me')).toBeInTheDocument();
});
it('calls onClick when clicked', () => {
const handleClick = vi.fn();
render(<Button onClick={handleClick}>Click Me</Button>);
fireEvent.click(screen.getByText('Click Me'));
expect(handleClick).toHaveBeenCalledTimes(1);
});
});Common Commands
npm run dev # Start dev server
npm run build # Build for production
npm run test # Run tests
npm run test:watch # Run tests in watch mode
npm run lint # Run ESLintReferences
For detailed guides, see:
- references/react-patterns.md - Advanced React patterns
- references/tailwind-guide.md - Tailwind cheatsheet
- references/testing-guide.md - Testing best practices
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

