sngular-frontend
Frontend development toolkit for React, Next.js, and Vue.js projects with component scaffolding, routing, UI best practices, and E2E testing with Playwright MCP
View on GitHubTable of content
Frontend development toolkit for React, Next.js, and Vue.js projects with component scaffolding, routing, UI best practices, and E2E testing with Playwright MCP
Installation
npx claude-plugins install @igpastor/Sngular-claude-Marketplace/sngular-frontend
Contents
Folders: agents, commands, skills
Included Skills
This plugin includes 1 skill definition:
component-scaffold
View skill definition
Component Scaffolding Skill
This skill allows Claude to automatically scaffold UI components with all necessary files and boilerplate code when the context suggests a component needs to be created.
When to Use This Skill
Claude should invoke this skill autonomously when:
- User mentions creating a new component
- Discussion involves building UI elements
- Task requires adding new views or pages
- User describes a component they need
- Code analysis shows a component is referenced but doesn’t exist
What This Skill Does
Automatically generates a complete component structure including:
- Main component file with TypeScript
- Styles file (CSS Module, SCSS, or styled-components)
- Test file with basic tests
- Storybook story (if Storybook is detected)
- Type definitions file
- Index file for clean exports
Framework Detection
The skill detects the project framework and generates appropriate code:
- React: Functional components with hooks
- Next.js: React Server Components or Client Components as appropriate
- Vue 3: Composition API with script setup
Input Parameters
When invoked, the skill expects:
componentName: Name of the component (e.g., “UserCard”, “LoginForm”)componentType: Type of component (“page”, “layout”, “ui”, “feature”)hasProps: Whether the component accepts propsneedsState: Whether the component needs internal stateasync: Whether the component fetches data
Generated Structure
For React/Next.js C
…(truncated)