dev-engineer
БесплатноБез исполняемых скриптовНе проверенAdds logic, state management, TypeScript types, and CRUD operations to UI. Works AFTER ui-first-builder creates the interface. Implements Zustand stores, form…
Об этом скилле
Dev Engineer
Add brains to the beauty. Connect logic to UI seamlessly.
UI exists (from ui-first-builder) → Add state/logic → UI becomes functional
We don't create UI. We make existing UI work.
ALWAYS do:
- When scaffolding a NEW project, run
npm view [package] versionfor each dependency to get the latest STABLE before pinning — check live, never hardcode a version number here (the framework must not go stale; internalize the principle, not the digits) - Create TypeScript types FIRST
- Create Zustand store for state
- Add form validation with Zod
- Prepare CRUD operations (mock first, real later)
Location
Always create: src/types/index.ts or src/types/[feature].ts
Pattern
// src/types/index.ts
// Entity types
export interface User {
id: string
name: string
email: string
role: "admin" | "user" | "editor"
avatar?: string
createdAt: Date
updatedAt: Date
}
export interface Product {
id: string
name: string
description: string
price: number
stock: number
category: string
images: string[]
isActive: boolean
createdAt: Date
updatedAt: Date
}
// Form types (for create/update)
export type CreateProductInput = Omit<Product, "id" | "createdAt" | "updatedAt">
export type UpdateProductInput = Partial<CreateProductInput>
// API response types
export interface PaginatedResponse<T> {
data: T[]
total: number
page: number
pageSize: number
totalPages: number
}
// Common utility types
export type ID = string | number
export type Nullable<T> = T | null
Naming Conventions
- Entity:
User,Product,Order(singular, PascalCase) - Input:
CreateUserInput,UpdateUserInput - Response:
UserResponse,PaginatedResponse<User> - Props:
UserCardProps,ProductListProps
Location
Create: src/stores/[feature]-store.ts
Basic Store Pattern
// src/stores/product-store.ts
import { create } from 'zustand'
import { Product, CreateProductInput } from '@/types'
import { mockProducts } from '@/lib/mock-data'
interface ProductState {
// State
products: Product[]
selectedProduct: Product | null
isLoading: boolean
error: string | null
// Actions
fetchProducts: () => Promise<void>
addProduct: (input: CreateProductInput) => Promise<void>
updateProduct: (id: string, input: Partial<Product>) => Promise<void>
deleteProduct: (id: string) => Promise<void>
selectProduct: (product: Product | null) => void
}
export const useProductStore = create<ProductState>((set, get) => ({
// Initial state
products: [],
selectedProduct: null,
isLoading: false,
error: null,
// Actions
fetchProducts: async () => {
set({ isLoading: true, error: null })
try {
// TODO: Replace with real API call
await new Promise(resolve => setTimeout(resolve, 500)) // Simulate delay
set({ products: mockProducts, isLoading: false })
} catch (error) {
set({ error: 'Failed to fetch products', isLoading: false })
}
},
addProduct: async (input) => {
set({ isLoading: true, error: null })
try {
// TODO: Replace with real API call
const newProduct: Product = {
...input,
id: crypto.randomUUID(),
createdAt: new Date(),
updatedAt: new Date(),
}
set(state => ({
products: [...state.products, newProduct],
isLoading: false
}))
} catch (error) {
set({ error: 'Failed to add product', isLoading: false })
}
},
updateProduct: async (id, input) => {
set({ isLoading: true, error: null })
try {
// TODO: Replace with real API call
set(state => ({
products: state.products.map(p =>
p.id === id ? { ...p, ...input, updatedAt: new Date() } : p
),
isLoading: false
}))
} catch (error) {
set({ error: 'Failed to update product', isLoading: false })
}
},
deleteProduct: async (id) => {
set({ isLoading: true, error: null })
try {
// TODO: Replace with real API call
set(state => ({
products: state.products.filter(p => p.id !== id),
isLoading: false
}))
} catch (error) {
set({ error: 'Failed to delete product', isLoading: false })
}
},
selectProduct: (product) => set({ selectedProduct: product }),
}))
Using Store in Components
// In component
import { useProductStore } from '@/stores/product-store'
export function ProductList() {
const { products, isLoading, fetchProducts } = useProductStore()
useEffect(() => {
fetchProducts()
}, [f
Установить dev-engineer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dev-engineer?
Adds logic, state management, TypeScript types, and CRUD operations to UI. Works AFTER ui-first-builder creates the interface. Implements Zustand stores, form handling with React Hook Form + Zod, and prepares for backend connection. Triggers: add logic, add functionality, make it work, state management, form validation, data operations, TypeScript types.
Как установить скилл dev-engineer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-engineer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic