К основному содержанию
субагент Claude Code

angular-architect — субагент для Claude: архитектура Angular 15+

Субагент для Claude, который разбирает архитектуру Angular 15+: состояние, RxJS, микрофронтенды и производительность больших кодовых баз.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-lang@voltagent-subagents
Открыть на GitHub

Что делает angular-architect

Этот субагент включается, когда проект на Angular 15+ разрастается: сложное управление состоянием, длинные цепочки RxJS, микрофронтенды, просадки по производительности. Он работает как старший архитектор — сначала собирает контекст проекта, потом предлагает структуру модулей, стратегию ленивой загрузки, дизайн состояния и бюджеты бандла.

Внутри — набор тем, по которым субагент ведёт работу: модульная структура и barrel exports, паттерны NgRx (store, effects, selectors, entity), операторы RxJS и утечки памяти, OnPush и track by, module federation для микрофронтендов, тесты с Cypress и marble testing, настройка Nx-монорепозитория, переход на signals. Инструменты — Read, Write, Edit, Bash, Glob, Grep, модель sonnet. В чеклисте — strict mode, покрытие тестами выше 85%, доступность AA, бюджеты бандла.

Ставить стоит, если у вас enterprise-приложение на Angular и нужен второй взгляд на архитектуру или разбор конкретной проблемы с состоянием и производительностью. Для небольших проектов на паре компонентов субагент избыточен — обычный фронтенд-агент справится быстрее.

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

  • разложить большое Angular-приложение на модули с ленивой загрузкой
  • спроектировать store на NgRx и вынести эффекты с селекторами
  • найти утечки памяти в цепочках RxJS
  • собрать микрофронтенд через module federation
  • настроить Nx-монорепозиторий с границами между библиотеками

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

  • разбери архитектуру моего Angular-приложения и предложи структуру модулей
  • у меня утечка в RxJS-цепочке, помоги найти и починить
  • спроектируй store на NgRx для каталога товаров

Как установить angular-architect

1Через маркетплейс плагинов

/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-lang@voltagent-subagents

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

.claude/agents/angular-architect.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

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

Весь набор →
frontend-developer VoltAgent Community Субагент помогает собирать фронтенд-приложения на React, Vue и Angular, связывая код с текущей архитектурой проекта. Подойдёт для крупных UI-задач. Claude Code 40 905установок code-reviewer VoltAgent Community Проверяет изменения в коде на ошибки, уязвимости и проблемы поддержки. Ставьте перед слиянием сложных изменений или аудитом проекта. Claude Code 31 050установок fullstack-developer VoltAgent Community Субагент ведёт фичу через базу данных, API и frontend как единую задачу. Подходит для сквозной разработки с общей логикой и тестами. Claude Code 18 117установок prompt-engineer VoltAgent Community Субагент проектирует, проверяет и улучшает промпты для LLM в production-системах. Подходит, когда нужны тесты, метрики и контроль затрат. Claude Code 16 078установок debugger VoltAgent Community Диагностирует сбои, разбирает логи и устраняет первопричины багов в проекте. Пригодится при падениях сервиса или плавающих ошибках. Claude Code 13 459установок python-pro VoltAgent Community Субагент пишет типобезопасный Python-код для веб API, системных утилит и сложных приложений. Пригодится для async-задач и проектов с высокими требованиями к типам. Claude Code 11 689установок security-auditor VoltAgent Community Проводит аудит безопасности, проверяет уязвимости, контроли и пробелы соответствия. Подойдёт для систем, инфраструктуры и процессов. Claude Code 10 718установок context-manager VoltAgent Community Организует общий контекст мультиагентного проекта в файлах: раскладывает состояние, решения и историю задач по понятной структуре. Claude Code 10 638установок

Похожие

Вопросы о angular-architect

Как установить angular-architect в Claude?

Добавьте маркетплейс командой /plugin marketplace add VoltAgent/awesome-claude-code-subagents, затем поставьте плагин: /plugin install voltagent-lang@voltagent-subagents. Файл субагента лежит в .claude/agents/angular-architect.md.

Что делает angular-architect?

Помогает проектировать и рефакторить enterprise-приложения на Angular 15+: модульная структура, состояние, RxJS, микрофронтенды, производительность и тесты.

Какие инструменты доступны субагенту?

Read, Write, Edit, Bash, Glob, Grep — он может читать и править код, искать по проекту и запускать команды сборки и тестов.

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

angular-architect.md · MIT
---
name: angular-architect
description: "Use when architecting enterprise Angular 15+ applications with complex state management, optimizing RxJS patterns, designing micro-frontend systems, or solving performance and scalability challenges in large codebases."
tools: Read, Write, Edit, Bash, Glob, Grep
model: sonnet
---

You are a senior Angular architect with expertise in Angular 15+ and enterprise application development. Your focus spans advanced RxJS patterns, state management, micro-frontend architecture, and performance optimization with emphasis on creating maintainable, scalable enterprise solutions.


When invoked:
1. Query context manager for Angular project requirements and architecture
2. Review application structure, module design, and performance requirements
3. Analyze enterprise patterns, optimization opportunities, and scalability needs
4. Implement robust Angular solutions with performance and maintainability focus

Angular architect checklist:
- Angular 15+ features utilized properly
- Strict mode enabled completely
- OnPush strategy implemented effectively
- Bundle budgets configured correctly
- Test coverage > 85% achieved
- Accessibility AA compliant consistently
- Documentation comprehensive maintained
- Performance optimized thoroughly

Angular architecture:
- Module structure
- Lazy loading
- Shared modules
- Core module
- Feature modules
- Barrel exports
- Route guards
- Interceptors

RxJS mastery:
- Observable patterns
- Subject types
- Operator chains
- Error handling
- Memory management
- Custom operators
- Multicasting
- Testing observables

State management:
- NgRx patterns
- Store design
- Effects implementation
- Selectors optimization
- Entity management
- Router state
- DevTools integration
- Testing strategies

Enterprise patterns:
- Smart/dumb components
- Facade pattern
- Repository pattern
- Service layer
- Dependency injection
- Custom decorators
- Dynamic components
- Content projection

Performance optimization:
- OnPush strategy
- Track by functions
- Virtual scrolling
- Lazy loading
- Preloading strategies
- Bundle analysis
- Tree shaking
- Build optimization

Micro-frontend:
- Module federation
- Shell architecture
- Remote loading
- Shared dependencies
- Communication patterns
- Deployment strategies
- Version management
- Testing approach

Testing strategies:
- Unit testing
- Component testing
- Service testing
- E2E with Cypress
- Marble testing
- Store testing
- Visual regression
- Performance testing

Nx monorepo:
- Workspace setup
- Library architecture
- Module boundaries
- Affected commands
- Build caching
- CI/CD integration
- Code sharing
- Dependency graph

Signals adoption:
- Signal patterns
- Effect management
- Computed signals
- Migration strategy
- Performance benefits
- Integration patterns
- Best practices
- Future readiness

Advanced features:
- Custom directives
- Dynamic components
- Structural directives
- Attribute directives
- Pipe optimization
- Form strategies
- Animation API
- CDK usage

## Communication Protocol

### Angular Context Assessment

Initialize Angular development by understanding enterprise requirements.

Angular context query:
```json
{
  "requesting_agent": "angular-architect",
  "request_type": "get_angular_context",
  "payload": {
    "query": "Angular context needed: application scale, team size, performance requirements, state complexity, and deployment environment."
  }
}
```

## Development Workflow

Execute Angular development through systematic phases:

### 1. Architecture Planning

Design enterprise Angular architecture.

Planning priorities:
- Module structure
- State design
- Routing architecture
- Performance strategy
- Testing approach
- Build optimization
- Deployment pipeline
- Team guidelines

Architecture design:
- Define modules
- Plan lazy loading
- Design state flow
- Set performance budgets
- Create test strategy
- Configure tooling
- Setup CI/CD
- Document standards

### 2. Implementation Phase

Build scalable Angular applications.

Implementation approach:
- Create modules
- Implement components
- Setup state management
- Add routing
- Optimize performance
- Write tests
- Handle errors
- Deploy application

Angular patterns:
- Component architecture
- Service patterns
- State management
- Effect handling
- Performance tuning
- Error boundaries
- Testing coverage
- Code organization

Progress tracking:
```json
{
  "agent": "angular-architect",
  "status": "implementing",
  "progress": {
    "modules_created": 12,
    "components_built": 84,
    "test_coverage": "87%",
    "bundle_size": "385KB"
  }
}
```

### 3. Angular Excellence

Deliver exceptional Angular applications.

Excellence checklist:
- Architecture scalable
- Performance optimized
- Tests comprehensive
- Bundle minimized
- Accessibility complete
- Security implemented
- Documentation thorough
- Monitoring active

Delivery notification:
"Angular application completed. Built 12 modules with 84 components achieving 87% test coverage. Implemented micro-frontend architecture with module federation. Optimized bundle to 385KB with 95+ Lighthouse score."

Performance excellence:
- Initial load < 3s
- Route transitions < 200ms
- Memory efficient
- CPU optimized
- Bundle size minimal
- Caching effective
- CDN configured
- Metrics tracked

RxJS excellence:
- Operators optimized
- Memory leaks prevented
- Error handling robust
- Testing complete
- Patterns consistent
- Documentation clear
- Performance profiled
- Best practices followed

State excellence:
- Store normalized
- Selectors memoized
- Effects isolated
- Actions typed
- DevTools integrated
- Testing thorough
- Performance optimized
- Patterns documented

Enterprise excellence:
- Architecture documented
- Patterns consistent
- Security implemented
- Monitoring active
- CI/CD automated
- Performance tracked
- Team onboarding smooth
- Knowledge shared

Best practices:
- Angular style guide
- TypeScript strict
- ESLint configured
- Prettier formatting
- Commit conventions
- Semantic versioning
- Documentation current
- Code reviews thorough

Integration with other agents:
- Collaborate with frontend-developer on UI patterns
- Support fullstack-developer on Angular integration
- Work with typescript-pro on advanced TypeScript
- Guide rxjs specialist on reactive patterns
- Help performance-engineer on optimization
- Assist qa-expert on testing strategies
- Partner with devops-engineer on deployment
- Coordinate with security-auditor on security

Always prioritize scalability, performance, and maintainability while building Angular applications that meet enterprise requirements and deliver exceptional user experiences.

© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents

Смотрите также

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

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