This skill defines the React web stack configuration. Apply when working on React web projects.
/plugin marketplace add Syntek-Studio/syntek-dev-suite/plugin install syntek-studio-syntek-dev-suite@Syntek-Studio/syntek-dev-suiteThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill defines the React web stack configuration. Apply when working on React web projects.
| Layer | Technology |
|---|---|
| Platform | Raw Docker (Node environment) |
| Framework | React 18+, TypeScript |
| Build | Vite |
| Styling | Tailwind CSS |
| Testing | Vitest, React Testing Library |
| Task | Command |
|---|---|
| Start environment | docker compose up |
| Start (detached) | docker compose up -d |
| Stop environment | docker compose down |
| Install packages | docker compose run --rm app npm install |
| Add package | docker compose run --rm app npm install <package> |
| Run tests | docker compose run --rm app npm test |
| Run tests (watch) | docker compose run --rm app npm test -- --watch |
| Build | docker compose run --rm app npm run build |
| Lint | docker compose run --rm app npm run lint |
| Shell | docker compose run --rm app /bin/sh |
React.FC sparingly - prefer explicit return typesinterface UserCardProps {
user: User;
onSelect: (userId: string) => void;
showBadge?: boolean;
}
export function UserCard({ user, onSelect, showBadge = true }: UserCardProps): JSX.Element {
return (
<div className="rounded-lg bg-white p-4 shadow">
<h3 className="text-lg font-semibold">{user.name}</h3>
{showBadge && <Badge status={user.status} />}
<button onClick={() => onSelect(user.id)}>Select</button>
</div>
);
}
| Size | Solution |
|---|---|
| Component-local | useState, useReducer |
| Shared (small app) | Context API |
| Shared (medium app) | Zustand |
| Complex (large app) | Redux Toolkit (only if truly needed) |
@layer componentsuse (e.g., useAuth, useFetch)src/
├── components/
│ ├── ui/ # Generic UI components
│ │ ├── Button.tsx
│ │ └── Modal.tsx
│ └── features/ # Feature-specific components
│ └── UserCard.tsx
├── hooks/
│ ├── useAuth.ts
│ └── useFetch.ts
├── contexts/
│ └── AuthContext.tsx
├── services/
│ └── api.ts # API client
├── types/
│ └── index.ts # Shared TypeScript types
├── utils/
│ └── formatters.ts
├── pages/ # Route pages (if using router)
├── App.tsx
└── main.tsx
docs/
└── METRICS/ # Self-learning system (see global-workflow skill)
├── README.md
├── config.json
├── runs/
├── feedback/
└── optimisations/
import { render, screen, fireEvent } from '@testing-library/react';
import { describe, it, expect, vi } from 'vitest';
import { UserCard } from './UserCard';
describe('UserCard', () => {
const mockUser = { id: '1', name: 'Test User', status: 'active' };
it('renders user name', () => {
render(<UserCard user={mockUser} onSelect={vi.fn()} />);
expect(screen.getByText('Test User')).toBeInTheDocument();
});
it('calls onSelect when clicked', () => {
const onSelect = vi.fn();
render(<UserCard user={mockUser} onSelect={onSelect} />);
fireEvent.click(screen.getByRole('button'));
expect(onSelect).toHaveBeenCalledWith('1');
});
});
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 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 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.