implement · superclaude-org — команда для Claude Code: что делает и как установить
Команда /sc:implement координирует разработку фич через ролевые персоны и MCP-серверы. Помогает писать компоненты, API и тесты по единому процессу.
MIT ★ 23 950 обновлён 2026-09-27
.claude/commands/implement.mdЧто делает implement
Команда запускает цикл реализации кода: анализ требований, планирование, генерацию, валидацию и обновление документации. В процессе Claude Code примеряет роли архитектора, бэкендера, фронтендера, специалиста по безопасности или тестировщика в зависимости от задачи.
Под капотом вызываются внешние инструменты: Context7 для документации фреймворков, Magic для интерфейсов, Sequential для сложных шагов и Playwright для тестов. Серверы здесь опциональны. Если нужный MCP-инструмент не подключён, команда переключается на встроенные рассуждения и веб-поиск.
В аргументах передаются тип задачи, стек и ограничения с помощью флагов вроде --framework vue, --safe или --with-tests. Архитектурные решения без консультации с персоной безопасности не принимаются. После завершения код сразу готов к прогону через /sc:test.
Какие задачи решает
- Развернуть API-эндпоинт с проверками безопасности и тестами
- Собрать UI-компонент на React или Vue по стандартам дизайн-системы
- Спланировать реализацию сложной фичи через цепочку специализированных ролей
- Подготовить рабочий код к автоматической валидации через Playwright
Примеры запросов агенту
- /sc:implement
user profile component --type component --framework react - /sc:implement
user authentication API --type api --safe --with-tests - /sc:implement
payment processing system --type feature --with-tests
Как установить implement
Вручную: положить файлы
.claude/commands/implement.mdВызов — /implement. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/implement.mdВызов — /prompts:implement. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/implement.prompt.mdВручную: положить файлы
.gemini/commands/implement.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы об implement
Как установить implement в Claude Code?
Сохраните файл команды по пути .claude/commands/implement.md. После этого вызов /sc:implement станет доступен в терминале проекта.
Что делает команда implement?
Она запускает пошаговый процесс написания кода с переключением между ролями архитектора, разработчика, безопасника и QA. Скрипт анализирует требования, генерирует код и готовит его к тестам.
Обязательно ли настраивать MCP-серверы для работы implement?
Нет, серверы Context7, Magic, Sequential и Playwright рекомендуются, но не являются обязательными. При их отсутствии команда автоматически переходит на встроенные рассуждения модели и поиск в сети.
Исходный текст
implement.md · MIT
--- name: implement description: "Feature and code implementation with intelligent persona activation and MCP integration" category: workflow complexity: standard mcp-servers: [context7, sequential, magic, playwright] personas: [architect, frontend, backend, security, qa-specialist] --- # /sc:implement - Feature Implementation > **Context Framework Note**: This behavioral instruction activates when Claude Code users type `/sc:implement` patterns. It guides Claude to coordinate specialist personas and MCP tools for comprehensive implementation. ## Triggers - Feature development requests for components, APIs, or complete functionality - Code implementation needs with framework-specific requirements - Multi-domain development requiring coordinated expertise - Implementation projects requiring testing and validation integration ## Context Trigger Pattern ``` /sc:implement [feature-description] [--type component|api|service|feature] [--framework react|vue|express] [--safe] [--with-tests] ``` **Usage**: Type this in Claude Code conversation to activate implementation behavioral mode with coordinated expertise and systematic development approach. ## Behavioral Flow 1. **Analyze**: Examine implementation requirements and detect technology context 2. **Plan**: Choose approach and activate relevant personas for domain expertise 3. **Generate**: Create implementation code with framework-specific best practices 4. **Validate**: Apply security and quality validation throughout development 5. **Integrate**: Update documentation and provide testing recommendations Key behaviors: - Context-based persona activation (architect, frontend, backend, security, qa) - Framework-specific implementation via Context7 and Magic MCP integration - Systematic multi-component coordination via Sequential MCP - Comprehensive testing integration with Playwright for validation ## MCP Integration - **Context7 MCP**: Framework patterns and official documentation for React, Vue, Angular, Express - **Magic MCP**: Auto-activated for UI component generation and design system integration - **Sequential MCP**: Complex multi-step analysis and implementation planning - **Playwright MCP**: Testing validation and quality assurance integration - **Availability fallback**: The MCP servers named here are preferred tooling, not hard requirements — when one is not installed, degrade gracefully (native reasoning in place of Sequential, official docs via web lookup in place of Context7, native tools otherwise) instead of routing work to absent servers. ## Tool Coordination - **Write/Edit/MultiEdit**: Code generation and modification for implementation - **Read/Grep/Glob**: Project analysis and pattern detection for consistency - **TodoWrite**: Progress tracking for complex multi-file implementations - **Task**: Delegation for large-scale feature development requiring systematic coordination ## Key Patterns - **Context Detection**: Framework/tech stack → appropriate persona and MCP activation - **Implementation Flow**: Requirements → code generation → validation → integration - **Multi-Persona Coordination**: Frontend + Backend + Security → comprehensive solutions - **Quality Integration**: Implementation → testing → documentation → validation ## Examples ### React Component Implementation ``` /sc:implement user profile component --type component --framework react # Magic MCP generates UI component with design system integration # Frontend persona ensures best practices and accessibility ``` ### API Service Implementation ``` /sc:implement user authentication API --type api --safe --with-tests # Backend persona handles server-side logic and data processing # Security persona ensures authentication best practices ``` ### Full-Stack Feature ``` /sc:implement payment processing system --type feature --with-tests # Multi-persona coordination: architect, frontend, backend, security # Sequential MCP breaks down complex implementation steps ``` ### Framework-Specific Implementation ``` /sc:implement dashboard widget --framework vue # Context7 MCP provides Vue-specific patterns and documentation # Framework-appropriate implementation with official best practices ``` ## Boundaries **Will:** - Implement features with intelligent persona activation and MCP coordination - Apply framework-specific best practices and security validation - Provide comprehensive implementation with testing and documentation integration **Will Not:** - Make architectural decisions without appropriate persona consultation - Implement features conflicting with security policies or architectural constraints - Override user-specified safety constraints or bypass quality gates ## COMPLETION CRITERIA **Implementation is DONE when**: - Feature code is written and compiles - Basic functionality verified - Files saved and ready for testing **Post-Implementation Checklist**: 1. Code compiles without errors 2. Basic functionality works 3. Ready for `/sc:test` **Next Step**: After implementation, use `/sc:test` to run tests, then `/sc:git` to commit.
© SuperClaude-Org · MIT · SuperClaude-Org/SuperClaude_Framework
Похожие слэш-команды
Все слэш-команды по теме «Настройка агента: память, контекст, субагенты» →Сначала — implement от других авторов.