Frontend development - React, Vue, component architecture, state management
Implements React/Vue components with proper patterns, state management, and routing. Triggers when creating UI components, configuring client-side state, or optimizing frontend builds.
/plugin marketplace add pluginagentmarketplace/custom-plugin-fullstack/plugin install fullstack-assistant@pluginagentmarketplace-fullstackThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/config.yamlassets/schema.jsonreferences/GUIDE.mdreferences/PATTERNS.mdscripts/validate.pyAtomic skill for frontend development including component creation, state management, and build optimization.
Single Purpose: Implement frontend components and configure client-side architecture
create_componentCreate a new React/Vue component with proper patterns.
// Input
{
action: "create_component",
framework: "react",
component_type: "compound",
typescript: true
}
// Output
{
success: true,
code: "import { memo } from 'react';\n...",
files: [
{ path: "components/MyComponent.tsx", content: "..." },
{ path: "components/MyComponent.test.tsx", content: "..." }
],
performance_impact: { bundle_size: "+2kb", render_time: "5ms" }
}
manage_stateConfigure state management solution.
configure_routingSet up client-side routing.
optimize_buildOptimize bundle size and build performance.
function validateParams(params: SkillParams): ValidationResult {
if (!params.action) {
return { valid: false, error: "action is required" };
}
if (params.action === 'create_component' && !params.component_type) {
return { valid: false, error: "component_type required for create_component" };
}
return { valid: true };
}
| Error Code | Description | Recovery |
|---|---|---|
| INVALID_FRAMEWORK | Unsupported framework | Check supported frameworks |
| A11Y_VIOLATION | Accessibility issue detected | Apply accessible pattern |
| BUNDLE_BUDGET_EXCEEDED | Component too large | Suggest code splitting |
{
"on_invoke": "log.info('frontend-development invoked', { action, framework })",
"on_success": "log.info('Component created', { files, bundle_impact })",
"on_error": "log.error('Frontend skill failed', { error })"
}
import { describe, it, expect } from 'vitest';
import { frontendDevelopment } from './frontend-development';
describe('frontend-development skill', () => {
describe('create_component', () => {
it('should create React component with TypeScript', async () => {
const result = await frontendDevelopment({
action: 'create_component',
framework: 'react',
component_type: 'presentational',
typescript: true
});
expect(result.success).toBe(true);
expect(result.code).toContain('interface');
expect(result.files).toHaveLength(2); // Component + test
});
it('should include accessibility attributes', async () => {
const result = await frontendDevelopment({
action: 'create_component',
framework: 'react',
component_type: 'presentational'
});
expect(result.code).toMatch(/aria-|role=/);
});
});
describe('manage_state', () => {
it('should configure zustand for simple state', async () => {
const result = await frontendDevelopment({
action: 'manage_state',
framework: 'react'
});
expect(result.success).toBe(true);
});
});
});
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2024-01 | Initial release |
| 2.0.0 | 2025-01 | Production-grade upgrade with React 19 patterns |
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.