Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:24:00 +08:00
commit 63352f11e8
12 changed files with 370 additions and 0 deletions

25
commands/frontend.md Normal file
View File

@@ -0,0 +1,25 @@
---
model: claude-sonnet-4-0
allowed-tools: Task, Bash, Read, Write
argument-hint: <requirement> [focus]
description: Frontend architecture and performance optimization
---
# Frontend Command
Frontend architecture and performance optimization
## Arguments
**$1 (Required)**: requirement
**$2 (Optional)**: focus
## Examples
```bash
/frontend "Optimize bundle size" performance
/frontend "Implement code splitting" architecture
```
Invoke the frontend-optimizer agent with: $ARGUMENTS

25
commands/react.md Normal file
View File

@@ -0,0 +1,25 @@
---
model: claude-sonnet-4-0
allowed-tools: Task, Bash, Read, Write
argument-hint: <requirement> [pattern]
description: React and Next.js component architecture and implementation
---
# React Command
React and Next.js component architecture and implementation
## Arguments
**$1 (Required)**: requirement
**$2 (Optional)**: pattern
## Examples
```bash
/react "Build authentication flow" hooks
/react "Implement data table with sorting" server-components
```
Invoke the react-specialist agent with: $ARGUMENTS

25
commands/state.md Normal file
View File

@@ -0,0 +1,25 @@
---
model: claude-sonnet-4-0
allowed-tools: Task, Bash, Read, Write
argument-hint: <requirement> [solution]
description: State management patterns and implementation
---
# State Command
State management patterns and implementation
## Arguments
**$1 (Required)**: requirement
**$2 (Optional)**: solution
## Examples
```bash
/state "Manage shopping cart state" zustand
/state "Implement form validation" react-hook-form
```
Invoke the state-manager agent with: $ARGUMENTS

25
commands/ui.md Normal file
View File

@@ -0,0 +1,25 @@
---
model: claude-sonnet-4-0
allowed-tools: Task, Bash, Read, Write
argument-hint: <component-need> [approach]
description: Component design, styling, and design system implementation
---
# Ui Command
Component design, styling, and design system implementation
## Arguments
**$1 (Required)**: component-need
**$2 (Optional)**: approach
## Examples
```bash
/ui "Design button component variants" design-system
/ui "Create responsive navigation" mobile-first
```
Invoke the component-architect agent with: $ARGUMENTS