К основному содержанию
скилл CX Codex

magento-feature-developer — скилл для Claude Code

Скилл magento-feature-developer помогает проектировать и внедрять бизнес-функции для Magento 2: от сервисных контрактов и интеграций до тестов. Пригодится при создании модулей и расширении существующей функциональности.

MIT 207 установок ★ 33 обновлён 2026-01-24

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add maxnorm/magento2-agent-skills --skill magento-feature-developer -a claude-code
Открыть на GitHub

Что делает magento-feature-developer

Скилл разбирает требования и предлагает структуру решения для Magento 2: модуль, сервисные контракты, DTO и репозитории. Он охватывает бизнес-логику, интеграции со сторонними API, обработку событий и административные настройки. Можно поручить ему спроектировать новый тип товара или процесс обработки заказов.

В рекомендациях также есть обработка ошибок, проверки доступа, кэширование и тестирование. Для проверки функций описаны PHPUnit unit-тесты, интеграционные и функциональные тесты. Это не готовый модуль: скилл задаёт подход к разработке, а код нужно внедрять в проект Magento.

Скилл доступен для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. При работе над интеграцией он предлагает учитывать существующие модули и контракты, поэтому проектные ограничения нужно включить в требования.

Какие задачи решает

  • спроектировать модуль Magento 2 под бизнес-требования
  • добавить сервисный контракт и слой репозиториев
  • подключить сторонний API или синхронизацию данных
  • покрыть бизнес-логику unit- и интеграционными тестами

Примеры запросов агенту

  • Спроектируй модуль Magento 2 для программы лояльности с настройками в админке.
  • Добавь интеграцию со сторонним API и опиши сервисный контракт.
  • Составь план тестов для новой логики обработки заказов.

Как установить magento-feature-developer

1Через Skills CLI (Vercel)

npx skills add maxnorm/magento2-agent-skills --skill magento-feature-developer -a claude-code

2Вручную: положить файлы

~/.claude/skills/magento-feature-developer/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/magento-feature-developer/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о magento-feature-developer

Как установить magento-feature-developer в Claude Code?

Выполните npx skills add maxnorm/magento2-agent-skills --skill magento-feature-developer -a claude-code. Файл скилла устанавливается в ~/.claude/skills/magento-feature-developer/SKILL.md.

Что делает magento-feature-developer?

Помогает разрабатывать функции Magento 2: проектировать модули, бизнес-логику, сервисные контракты и интеграции, а также планировать тестирование.

Какие тесты предлагает учитывать скилл?

В рекомендациях есть PHPUnit unit-тесты, интеграционные и функциональные проверки, а также тесты производительности и безопасности.

Исходный текст

SKILL.md · MIT
---
name: magento-feature-developer
description: Implements business requirements as scalable, maintainable Magento 2 features. Use when developing custom functionality, implementing business logic, creating integrations, or building complex features. Masters service contracts, repository patterns, and enterprise-grade feature implementation.
---

# Magento 2 Feature Developer

Expert specialist in translating business requirements into robust, scalable technical solutions within the Magento ecosystem following Adobe Commerce best practices.

## When to Use

- Implementing new business features
- Developing custom functionality
- Creating integrations with third-party systems
- Building complex business logic
- Extending existing Magento functionality

## Feature Development Process

### 1. Discovery & Planning
- **Requirements Analysis**: Break down business requirements into technical specifications
- **Stakeholder Interviews**: Gather comprehensive requirements from business users
- **Technical Analysis**: Assess existing system capabilities and constraints
- **Impact Assessment**: Evaluate effects on performance, security, and scalability
- **Resource Planning**: Estimate development timeline and requirements

### 2. Architecture Design
- **System Design**: Create high-level architecture diagrams and component relationships
- **Database Design**: Plan entity relationships, indexes, and data migration strategies
- **API Design**: Define service contracts and data transfer objects
- **Integration Points**: Identify touchpoints with existing modules and third-party systems
- **Performance Planning**: Design for scalability and optimal response times

### 3. Implementation Strategy
- **Module Structure**: Organize code following Magento's module conventions
- **Service Contracts**: Implement clean API interfaces for feature contracts
- **Repository Pattern**: Build data access layers using Magento's repository pattern
- **Configuration Management**: Implement admin configuration options where appropriate
- **Error Handling**: Build robust error handling and logging mechanisms

### 4. Quality Assurance
- **Unit Testing**: Write comprehensive PHPUnit tests for business logic
- **Integration Testing**: Test feature integration with core Magento functionality
- **Performance Testing**: Ensure features don't degrade system performance
- **Security Review**: Validate security compliance and data protection

## Common Feature Types

### E-commerce Features
- **Custom Product Types**: Implement specialized product configurations
- **Pricing Rules**: Build complex pricing and discount logic
- **Inventory Management**: Create advanced inventory tracking and allocation
- **Order Processing**: Implement custom order workflows and fulfillment
- **Customer Features**: Build loyalty programs, wishlists, and customer dashboards

### Administrative Features
- **Reporting & Analytics**: Create custom reports and data visualization
- **Bulk Operations**: Implement mass actions and data import/export
- **Workflow Automation**: Build automated business processes
- **Content Management**: Create custom content types and management interfaces
- **User Management**: Implement role-based access and permission systems

### Integration Features
- **Third-party APIs**: Connect with external services and platforms
- **Data Synchronization**: Build real-time or batch data sync processes
- **Webhook Integration**: Implement event-driven integrations
- **File Processing**: Handle document uploads, processing, and storage
- **Notification Systems**: Build email, SMS, and push notification features

## Development Patterns

### Service Contracts
- Create interfaces in `Api/` directory
- Implement clean API interfaces
- Use data transfer objects (DTOs) for data exchange
- Maintain backward compatibility

### Repository Pattern
- Separate data access from business logic
- Use repositories for all data operations
- Implement proper error handling
- Support transactions where needed

### Event/Observer Pattern
- Dispatch events for extensibility
- Implement observers for loose coupling
- Use proper event naming conventions
- Document event data structure

### Plugin System
- Use plugins to extend functionality
- Prefer before/after plugins over around plugins
- Document plugin execution order

## Best Practices

### Code Organization
- **Modular Design**: Keep features self-contained within dedicated modules
- **Interface Segregation**: Use small, focused interfaces
- **Dependency Injection**: Leverage Magento's DI container
- **Configuration Management**: Use XML configurations for flexibility
- **Namespace Organization**: Follow PSR-4 autoloading standards

### Performance Considerations
- **Lazy Loading**: Implement lazy loading for expensive operations
- **Caching Strategy**: Utilize appropriate cache types
- **Database Optimization**: Use efficient queries and proper indexing
- **Frontend Optimization**: Minimize JavaScript/CSS footprint
- **Resource Management**: Monitor memory usage and execution time

### Security
- **Input Validation**: Implement comprehensive input validation
- **Output Escaping**: Ensure proper output sanitization
- **CSRF Protection**: Implement form key validation
- **Access Control**: Enforce proper permission checking
- **Data Encryption**: Handle sensitive data appropriately

### Maintenance & Extensibility
- **Backward Compatibility**: Ensure features work across Magento version upgrades
- **Extension Points**: Provide hooks for other developers to extend features
- **Configuration Options**: Allow customization without code modifications
- **Migration Scripts**: Provide smooth upgrade paths
- **Documentation**: Maintain comprehensive technical and user documentation

## Testing Strategy

- **Unit Tests**: Test individual classes and methods
- **Integration Tests**: Test module integration with core
- **Functional Tests**: End-to-end test scenarios
- **Performance Tests**: Validate performance under load
- **Security Tests**: Test authentication, authorization, and data protection

## References

- [Adobe Commerce Extension Development](https://developer.adobe.com/commerce/php/development/)
- [Best Practices](https://developer.adobe.com/commerce/php/best-practices/)
- [Service Contracts](https://developer.adobe.com/commerce/php/development/components/service-contracts/)

Focus on creating features that meet immediate business needs while providing a foundation for future growth and customization.

© maxnorm · MIT · maxnorm/magento2-agent-skills

Похожие скиллы

Все скиллы по теме «Бэкенд и API» →
generic-fullstack-feature-developer travisjneuman Скилл generic-fullstack-feature-developer направляет разработку полностековых фич в связке Next.js App Router, NestJS и Prisma. Пригодится при проектировании новых модулей, добавлении эндпоинтов и миграций базы данных. CX Codex +1 180установок Spree Commerce developer docs for AI agents spree MCP-сервер Spree Commerce developer docs for AI agents для Claude Code подключает документацию Spree Commerce к запросам агента о headless B2B-магазинах и маркетплейсах через API. Агент обращается к docs во время разработки. CX Codex +1 ★ 15 848звёзд репо hyva-create-module hyva-themes Скилл hyva-create-module для Claude Code. Создаёт заготовку модуля Magento 2 в app/code/: registration.php, composer.json и etc/module.xml без ручного копирования шаблонов. CX Codex +1 1 300установок adobe-commerce membrane Интегрирует агента с Adobe Commerce через Membrane CLI для управления заказами, товарами, счетами и автоматизации интернет-магазина. CX Codex +1 167установок generic-feature-developer travisjneuman Скилл generic-feature-developer ведёт новую фичу по шагам: разобраться в коде, выбрать паттерн, собрать мелкими коммитами и проверить края перед закрытием. CX Codex +1 142установок hyva-render-media-image hyva-themes Скилл hyva-render-media-image для Claude Code генерирует код адаптивных <picture> для шаблонов Hyvä Theme через view model Media. Формирует разные изображения для мобильных и десктопа. CX Codex +1 1 300установок

Из того же набора30

Весь набор →
magento-php-specialist Скилл magento-php-specialist для разработки под Magento 2 на PHP. Задаёт правила PSR-12, строгое оформление классов и базовые шаблоны платформы вроде репозиториев и плагинов. CX Codex +1 263установок magento-api-developer Скилл magento-api-developer помогает агенту проектировать и писать API для Magento 2: сервисные контракты, DTO, REST-контроллеры, GraphQL-резолверы и тесты. CX Codex +1 259установок magento-security-analyst Скилл magento-security-analyst разбирает безопасность магазина на Magento 2 по слоям и подсказывает, что закрыть: код, конфигурацию, зависимости, подготовку к PCI DSS и GDPR. CX Codex +1 212установок magento-model-developer Скилл magento-model-developer помогает проектировать слой данных в Magento 2: строить модели, декларативные схемы db_schema.xml, репозитории и коллекции под EAV или плоские таблицы. CX Codex +1 210установок magento-ui-component-developer Скилл magento-ui-component-developer для Claude Code создаёт сложные компоненты Magento UI Component: админские таблицы, формы, модальные окна и интерфейсы на данных. CX Codex +1 200установок magento-catalog-specialist Скилл magento-catalog-specialist помогает анализировать структуру каталога Magento 2, проверять состояние индексов, остатки на складах и атрибуты товаров. CX Codex +1 200установок magento-configuration-specialist Скилл magento-configuration-specialist разбирает системную конфигурацию Magento 2 по скоупам store, website и default, достаёт значения настроек и проверяет оплату, доставку и налоги. CX Codex +1 190установок magento-order-specialist Скилл magento-order-specialist для Claude Code разбирает заказы и их обработку в Magento 2: платежи, статусы, доставку и возвраты. Ищет сбои и узкие места. CX Codex +1 184установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой