angular-ai-agents
v1.0.3
Published
Angular Ninja π₯· - AI-Powered Angular Agent System for intelligent code generation, review, and testing. Works with GitHub Copilot, Claude, and other AI assistants.
Maintainers
Readme
Angular Ninja π₯·
AI-Powered Angular Agent System
Production-ready Angular AI Agent System with a central orchestrator controlling multiple specialized agents for intelligent code generation, review, and testing.
β¨ NEW: MCP (Model Context Protocol) Support - Use with GitHub Copilot, Claude, Cursor, and other AI assistants!
π― Features
- Intelligent Workflow Orchestrator - Central brain that coordinates multiple agents
- Code Review Agent - Enforces Angular best practices and detects duplication
- Unit Test Writer Agent - Generates comprehensive test cases (Jasmine/Jest)
- Frontend Developer Agent - Creates Angular components from requirements or Figma designs
- Project Analyzer - Scans existing code to maximize reusability
- Figma MCP Integration - Generate pixel-perfect UI from Figma designs
- MCP Support - Works with GitHub Copilot, Claude, Cursor, and other AI assistants
- CLI Support - Easy command-line interface
- Extensible Architecture - Plugin-based system for custom agents
π¦ Installation
npm install angular-ai-agentsπ Quick Start
Installation triggers an interactive setup wizard:
npm install angular-ai-agentsSetup prompts you for optional Figma integration:
- Press
nto skip Figma (use agents for code review & testing only) - Press
yto configure Figma MCP integration
After installation, use with your AI assistant:
@orchestrator build a login page with tests
@frontend create a reusable button component
@code-review check this component for best practices
@unit-test generate tests for LoginComponentWorks with:
- β GitHub Copilot
- β Claude Desktop
- β Cursor
- β Any MCP-compatible AI assistant
π§ Architecture
Core Components
βββββββββββββββββββββββββββββββββββββββ
β Workflow Orchestrator (Brain) β
β - Task Planning β
β - Agent Coordination β
β - Dependency Resolution β
β - Retry Logic β
ββββββββββββββ¬βββββββββββββββββββββββββ
β
ββββββββββ΄βββββββββ
β β
βββββΌβββββ ββββββββββΌββββ βββββββββββΌββββββ
β Code β β Unit Test β β Frontend β
β Review β β Writer β β Developer β
β Agent β β Agent β β Agent β
βββββ¬βββββ ββββββββββ¬ββββ βββββββββββ¬ββββββ
β β β
ββββββββββ¬ββββββββ΄ββββββββββββββββββ
β
ββββββββββΌβββββββββ
β Project Analyzerβ
β - Components β
β - Services β
β - Directives β
β - Pipes β
β - Styles β
β - Utilities β
βββββββββββββββββββAgent Types
π§ Orchestrator Agent
Coordinates multiple agents for complex workflows. Breaks down tasks, manages dependencies, and ensures quality.
π Code Review Agent
Scans code for Angular best practices, naming conventions, duplicate logic, and reusability opportunities.
π§ͺ Unit Test Writer Agent
Generates comprehensive Jasmine/Jest test cases with edge cases, mocks, and 80%+ coverage.
π¨ Frontend Developer Agent
Generates Angular components from requirements or Figma designs with responsive SCSS and proper validation.
π‘ Usage Examples
Example 1: Build Complete Feature
@orchestrator create a user dashboard with profile card and settingsExample 2: Generate Component
@frontend create a reusable button component with variantsExample 3: Review Existing Code
@code-review analyze src/app/components/header.component.tsExample 4: Generate Tests
@unit-test create tests for UserService with full coverageβοΈ Configuration
After installation, customize your setup in .angular-ai-agents/config.json:
{
"figma": {
"enabled": false,
"apiToken": ""
},
"angular": {
"componentPrefix": "app",
"styleFormat": "scss",
"standalone": true,
"changeDetection": "OnPush",
"generateTests": true
}
}Re-run setup anytime:
npm run setupπ Documentation
- Quick Start Guide - Get started in 5 minutes
- Agent Documentation - Complete guide to all agents
- Figma Setup Guide - Configure Figma MCP integration
- Configuration Examples - Sample configurations
π License
π License
MIT Β© Angular Ninja
π Acknowledgments
- Angular Team for the amazing framework
- OpenAI, Anthropic, and the AI community
- The open-source community
π Support
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Documentation: ./docs/
Made with β€οΈ by Dheeraj Singh π₯·
Code smarter, not harder
Documentation β’ Quick Start β’ Figma Setup
