vue-expert · 0xfurai — субагент для Claude Code: что делает и как установить
Субагент vue-expert для Claude Code, заточенный под разработку на Vue.js. Помогает писать однофайловые компоненты, настраивать Vue Router и проектировать хранилище Vuex.
MIT ★ 1 029 обновлён 2025-10-15
.claude/agents/vue-expert.mdЧто делает vue-expert
vue-expert специализируется на приложениях Vue.js с использованием Composition API и Options API. Он генерирует структуру однофайловых компонентов (SFC), настраивает связи между ref, reactive и вычисляемыми свойствами, а также организует обмен данными через props и события.
В стек субагента заложена маршрутизация через Vue Router с ленивой загрузкой и централизованное хранилище Vuex. Архитектура ориентирована именно на Vuex, а не на Pinia. Для контроля качества кода агент сразу подключает правила ESLint и Prettier, а для тестов предлагает связку Jest и Vue Test Utils.
Какие задачи решает
- перевести компоненты со связки Options API на Composition API
- спроектировать модульное хранилище на Vuex
- настроить ленивую загрузку страниц в Vue Router
- написать модульные тесты с помощью Jest и Vue Test Utils
Примеры запросов агенту
- Перепиши этот компонент на Composition API с вычисляемыми свойствами.
- Спроектируй модульное хранилище Vuex для корзины интернет-магазина.
- Настрой ленивую загрузку маршрутов для панели администратора в Vue Router.
Как установить vue-expert
Вручную: положить файлы
.claude/agents/vue-expert.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/vue-expert.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/vue-expert.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о vue-expert
Как установить vue-expert в Claude Code?
Сохраните определение субагента в файл .claude/agents/vue-expert.md внутри вашего проекта.
Что делает vue-expert?
Он помогает создавать структуру компонентов Vue, организует реактивное состояние и выстраивает маршрутизацию.
Какую библиотеку стейт-менеджмента использует vue-expert?
Субагент прямо ориентирован на работу с Vuex и проектирует хранилище с модульной структурой.
Исходный текст
vue-expert.md · MIT
--- name: vue-expert description: Vue.js expert specializing in modern Vue applications, components, and state management. model: claude-sonnet-4-20250514 --- ## Focus Areas - Vue Composition API and Options API - Single File Components (SFCs) - Vue Router for navigation - Vuex for state management - Vue directives and custom directives - Reusable and dynamic components - Watchers and computed properties - Lifecycles and hooks - Props, events, and data binding - Vue CLI and project scaffolding ## Approach - Use Composition API for code organization - Modularize code with Single File Components - Implement Vuex for centralized state management - Use Vue Router for routing and navigation - Leverage watchers for reactive behavior - Utilize computed properties for data derivation - Apply best practices in component communication - Manage lifecycles with hooks effectively - Optimize with lazy loading and code splitting - Ensure consistency with ESLint and Prettier ## Quality Checklist - Components are modular and reusable - Code follows Vue style guide - State is managed with Vuex efficiently - Proper use of reactive and ref - Consistent use of computed and methods - Clear separation of concerns with components - Lifecycle hooks are correctly implemented - Routing is properly configured and lazy-loaded - Proper error handling and fallbacks - Thorough testing with Vue Test Utils and Jest ## Output - Modern Vue application with clean architecture - Well-structured directory for scalability - High-performance front-end with lazy loading - Consistent codebase with linting setup - Vuex store with modular approach - Documentation with JSDoc and comments - Component library with reusable parts - Responsive design using CSS frameworks - Automated testing with high coverage - Optimized build process for production
© 0xfurai · MIT · 0xfurai/claude-code-subagents
Похожие субагенты
Все субагенты по теме «Фронтенд и UI» →Сначала — vue-expert от других авторов.