Initial commit
This commit is contained in:
311
commands/assess.md
Normal file
311
commands/assess.md
Normal file
@@ -0,0 +1,311 @@
|
||||
# /assess - Knowledge Assessment
|
||||
|
||||
## Test Your Angular Knowledge
|
||||
|
||||
Evaluate your understanding of different Angular topics and get personalized recommendations for improvement.
|
||||
|
||||
## Assessment Types
|
||||
|
||||
### Quick Assessment (5-10 minutes)
|
||||
Fast, high-level evaluation of your knowledge in a specific area.
|
||||
|
||||
### Comprehensive Assessment (30-45 minutes)
|
||||
Deep dive into a topic with multiple question types and detailed feedback.
|
||||
|
||||
### Full-Stack Assessment (2-3 hours)
|
||||
Complete evaluation across all 7 learning paths.
|
||||
|
||||
---
|
||||
|
||||
## 📊 Assessment by Agent
|
||||
|
||||
### TypeScript Fundamentals Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. What's the difference between `type` and `interface`?
|
||||
2. Explain generic constraints
|
||||
3. What are decorators and why are they important?
|
||||
4. Describe async/await vs Promises
|
||||
5. What are utility types?
|
||||
|
||||
**Topics Covered**:
|
||||
- Basic types and type aliases
|
||||
- Interfaces and generics
|
||||
- Advanced types and patterns
|
||||
- Decorators for Angular
|
||||
- Error handling
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation, review advanced types
|
||||
- <3/5: Review basics and practice
|
||||
|
||||
---
|
||||
|
||||
### Angular Core Architecture Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. Explain component lifecycle hooks
|
||||
2. How does dependency injection work?
|
||||
3. What's the difference between modules?
|
||||
4. Template vs property binding?
|
||||
5. Custom directive example?
|
||||
|
||||
**Topics Covered**:
|
||||
- Components and templates
|
||||
- Services and DI
|
||||
- Modules and feature modules
|
||||
- Data binding
|
||||
- Directives
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review core concepts
|
||||
|
||||
---
|
||||
|
||||
### RxJS & Reactive Programming Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. Difference between `switchMap` and `mergeMap`?
|
||||
2. How to prevent memory leaks with subscriptions?
|
||||
3. BehaviorSubject vs ReplaySubject?
|
||||
4. When to use higher-order operators?
|
||||
5. Error handling in streams?
|
||||
|
||||
**Topics Covered**:
|
||||
- Observables and subjects
|
||||
- RxJS operators
|
||||
- Higher-order observables
|
||||
- Memory management
|
||||
- Error handling
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review operator patterns
|
||||
|
||||
---
|
||||
|
||||
### Forms & Validation Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. Reactive vs template-driven forms?
|
||||
2. Custom validator implementation?
|
||||
3. Async validation pattern?
|
||||
4. Form state (pristine, touched)?
|
||||
5. FormArray usage example?
|
||||
|
||||
**Topics Covered**:
|
||||
- Template-driven forms
|
||||
- Reactive forms
|
||||
- Validation strategies
|
||||
- Form state management
|
||||
- Dynamic forms
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review form patterns
|
||||
|
||||
---
|
||||
|
||||
### Routing & Performance Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. How does lazy loading work?
|
||||
2. Route guards implementation?
|
||||
3. Change detection optimization?
|
||||
4. Preloading strategies?
|
||||
5. Performance metrics (Core Web Vitals)?
|
||||
|
||||
**Topics Covered**:
|
||||
- Route configuration
|
||||
- Lazy loading and code splitting
|
||||
- Route guards
|
||||
- Change detection
|
||||
- Performance optimization
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review routing patterns
|
||||
|
||||
---
|
||||
|
||||
### State Management Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. Actions, reducers, selectors explain?
|
||||
2. Effects side effect handling?
|
||||
3. Entity adapter advantages?
|
||||
4. Facade pattern benefits?
|
||||
5. When to use Signals vs Store?
|
||||
|
||||
**Topics Covered**:
|
||||
- NgRx architecture
|
||||
- Selectors and memoization
|
||||
- Effects
|
||||
- Entity adapters
|
||||
- Angular Signals
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review state patterns
|
||||
|
||||
---
|
||||
|
||||
### Testing & Deployment Quiz
|
||||
|
||||
**Quick Check** (5 questions)
|
||||
1. TestBed configuration?
|
||||
2. Mocking services best practice?
|
||||
3. E2E testing with Cypress?
|
||||
4. Build optimization techniques?
|
||||
5. CI/CD pipeline setup?
|
||||
|
||||
**Topics Covered**:
|
||||
- Unit testing (Jasmine)
|
||||
- E2E testing (Cypress)
|
||||
- Mocking and fixtures
|
||||
- Build optimization
|
||||
- Deployment strategies
|
||||
|
||||
**Scoring**:
|
||||
- 5/5: Expert level ✅
|
||||
- 4/5: Strong understanding
|
||||
- 3/5: Good foundation
|
||||
- <3/5: Review testing patterns
|
||||
|
||||
---
|
||||
|
||||
## 📈 Full-Stack Assessment Results Example
|
||||
|
||||
```
|
||||
TypeScript Fundamentals ████████░░ 80% Strong
|
||||
Angular Core █████████░ 90% Expert
|
||||
RxJS Mastery ███████░░░ 70% Good
|
||||
Forms & Validation ██████░░░░ 60% Need Work
|
||||
Routing & Performance ████████░░ 80% Strong
|
||||
State Management █████░░░░░ 50% Need Review
|
||||
Testing & Deployment ███████░░░ 70% Good
|
||||
|
||||
Overall Score: 73% - Intermediate Level 📊
|
||||
|
||||
Recommendations:
|
||||
1. Focus on Forms & Validation (60%)
|
||||
2. Deep dive into State Management (50%)
|
||||
3. Consider advanced TypeScript patterns
|
||||
4. Good foundation for scaling applications
|
||||
```
|
||||
|
||||
## Improvement Plan
|
||||
|
||||
After assessment, you'll get a personalized plan:
|
||||
|
||||
### Priority 1: Weak Areas (< 60%)
|
||||
```
|
||||
State Management & APIs - 50%
|
||||
|
||||
Recommended:
|
||||
- Review NgRx fundamentals
|
||||
- Practice reducer patterns
|
||||
- Study selector composition
|
||||
- Complete 3 state management projects
|
||||
- Time estimate: 15-20 hours
|
||||
```
|
||||
|
||||
### Priority 2: Areas for Growth (60-75%)
|
||||
```
|
||||
Forms & Validation - 60%
|
||||
|
||||
Recommended:
|
||||
- Deep dive into reactive forms
|
||||
- Practice async validators
|
||||
- Study form state management
|
||||
- Complete form wizard project
|
||||
- Time estimate: 10-15 hours
|
||||
```
|
||||
|
||||
### Priority 3: Advanced Topics
|
||||
```
|
||||
Leverage your strong areas:
|
||||
- TypeScript (80%)
|
||||
- Angular Core (90%)
|
||||
- Routing & Performance (80%)
|
||||
|
||||
Next steps:
|
||||
- Combine skills for complex applications
|
||||
- Architecture deep dive
|
||||
- Contribute to open source
|
||||
```
|
||||
|
||||
## Assessment Retesting
|
||||
|
||||
After studying and practicing:
|
||||
|
||||
1. **Retest after 1 week** of practice
|
||||
2. **Track progress** over time
|
||||
3. **Identify improvement areas**
|
||||
4. **Celebrate milestones** (e.g., 90% on RxJS)
|
||||
|
||||
## Benefits of Regular Assessment
|
||||
|
||||
✅ **Identify knowledge gaps** early
|
||||
✅ **Track learning progress** over time
|
||||
✅ **Get personalized recommendations**
|
||||
✅ **Maintain learning motivation**
|
||||
✅ **Validate skill acquisition**
|
||||
✅ **Prepare for job interviews**
|
||||
✅ **Build confidence** in your abilities
|
||||
|
||||
## Next Steps After Assessment
|
||||
|
||||
1. **Review results** carefully
|
||||
2. **Focus on Priority 1** areas first
|
||||
3. **Use `/learn`** to study weak areas
|
||||
4. **Complete projects** in weak domains
|
||||
5. **Retest** after 1-2 weeks of practice
|
||||
6. **Progress to next level** when ready
|
||||
|
||||
---
|
||||
|
||||
## Quick Self-Assessment Questions
|
||||
|
||||
Answer these to gauge your level:
|
||||
|
||||
**Beginner** (0-3 months):
|
||||
- [ ] Can create a component?
|
||||
- [ ] Understand Angular modules?
|
||||
- [ ] Use forms in templates?
|
||||
- [ ] Make HTTP requests?
|
||||
|
||||
**Intermediate** (3-6 months):
|
||||
- [ ] Master RxJS patterns?
|
||||
- [ ] Implement lazy loading?
|
||||
- [ ] Use reactive forms?
|
||||
- [ ] Understand change detection?
|
||||
|
||||
**Advanced** (6+ months):
|
||||
- [ ] NgRx state management?
|
||||
- [ ] Performance optimization?
|
||||
- [ ] Write comprehensive tests?
|
||||
- [ ] Build scalable apps?
|
||||
|
||||
**Expert** (1+ years):
|
||||
- [ ] Architecture decisions?
|
||||
- [ ] Mentor other developers?
|
||||
- [ ] Open source contributions?
|
||||
- [ ] Leading large projects?
|
||||
|
||||
---
|
||||
|
||||
**Ready to assess your knowledge?** Choose a quiz above or take the full assessment! 📚
|
||||
289
commands/explore.md
Normal file
289
commands/explore.md
Normal file
@@ -0,0 +1,289 @@
|
||||
# /explore - Discover Angular Agents
|
||||
|
||||
## Meet Your 7 Specialized Agents
|
||||
|
||||
Each agent is an expert in their domain, ready to guide you through every aspect of Angular development.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Agent 1: TypeScript Fundamentals
|
||||
|
||||
**Specialty**: TypeScript, Type System, OOP, Decorators
|
||||
|
||||
**Expert In**:
|
||||
- Basic and advanced TypeScript types
|
||||
- Object-oriented programming concepts
|
||||
- Generic types and constraints
|
||||
- Decorators and metadata reflection
|
||||
- Async/await and Promise handling
|
||||
- Modern JavaScript features
|
||||
|
||||
**When to Use**:
|
||||
- Learning TypeScript from scratch
|
||||
- Understanding complex type definitions
|
||||
- Writing type-safe code
|
||||
- Mastering advanced features
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ typescript-mastery
|
||||
- Advanced type patterns
|
||||
- Type narrowing and guards
|
||||
- Conditional and mapped types
|
||||
|
||||
**Prerequisites**: JavaScript fundamentals
|
||||
|
||||
**Learning Estimate**: 20-30 hours
|
||||
|
||||
---
|
||||
|
||||
## 🏗️ Agent 2: Angular Core Architecture
|
||||
|
||||
**Specialty**: Components, Services, DI, Modules, Lifecycle
|
||||
|
||||
**Expert In**:
|
||||
- Component creation and lifecycle
|
||||
- Service design and patterns
|
||||
- Dependency injection system
|
||||
- Angular modules and feature modules
|
||||
- Templates and data binding
|
||||
- Built-in and custom directives
|
||||
|
||||
**When to Use**:
|
||||
- Building Angular components
|
||||
- Designing service architecture
|
||||
- Understanding Angular's DI system
|
||||
- Learning lifecycle hooks
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ angular-core-patterns
|
||||
- Component communication
|
||||
- Template syntax
|
||||
- Directive creation
|
||||
|
||||
**Prerequisites**: TypeScript fundamentals
|
||||
|
||||
**Learning Estimate**: 25-35 hours
|
||||
|
||||
---
|
||||
|
||||
## ⚡ Agent 3: Reactive Programming & RxJS
|
||||
|
||||
**Specialty**: Observables, Subjects, Operators, Reactive Patterns
|
||||
|
||||
**Expert In**:
|
||||
- Observable creation and subscription
|
||||
- Subject types and use cases
|
||||
- RxJS operators (map, filter, switchMap, etc.)
|
||||
- Higher-order observables
|
||||
- Memory leak prevention
|
||||
- Error handling in streams
|
||||
- Testing Observables
|
||||
|
||||
**When to Use**:
|
||||
- Working with async data streams
|
||||
- Implementing reactive patterns
|
||||
- Managing subscriptions
|
||||
- Testing Observable-based code
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ rxjs-mastery
|
||||
- Operator composition
|
||||
- Stream combination strategies
|
||||
- Subscription management
|
||||
|
||||
**Prerequisites**: Angular Core concepts
|
||||
|
||||
**Learning Estimate**: 25-35 hours
|
||||
|
||||
---
|
||||
|
||||
## 📝 Agent 4: Forms, Validation & Directives
|
||||
|
||||
**Specialty**: Reactive/Template Forms, Validation, Custom Directives
|
||||
|
||||
**Expert In**:
|
||||
- Reactive forms (FormControl, FormGroup, FormArray)
|
||||
- Template-driven forms
|
||||
- Form validation (built-in and custom)
|
||||
- Async validators
|
||||
- Custom directives
|
||||
- Form accessibility
|
||||
- Advanced form patterns
|
||||
|
||||
**When to Use**:
|
||||
- Building any type of form
|
||||
- Implementing complex validation
|
||||
- Creating reusable form components
|
||||
- Building custom directives
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ angular-forms
|
||||
- Form state management
|
||||
- Cross-field validation
|
||||
- Dynamic form generation
|
||||
|
||||
**Prerequisites**: Angular Core, RxJS basics
|
||||
|
||||
**Learning Estimate**: 20-25 hours
|
||||
|
||||
---
|
||||
|
||||
## 🛣️ Agent 5: Routing, Performance & Advanced Patterns
|
||||
|
||||
**Specialty**: Routing, Lazy Loading, Performance, Angular Signals
|
||||
|
||||
**Expert In**:
|
||||
- Route configuration and navigation
|
||||
- Lazy loading and code splitting
|
||||
- Route guards (CanActivate, CanDeactivate, Resolve)
|
||||
- Change detection optimization
|
||||
- Performance metrics and optimization
|
||||
- Angular Signals and new reactivity model
|
||||
- Micro-frontend architecture
|
||||
|
||||
**When to Use**:
|
||||
- Designing application routing architecture
|
||||
- Implementing lazy loading
|
||||
- Optimizing bundle size and performance
|
||||
- Building large-scale applications
|
||||
- Understanding change detection
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ angular-routing (Performance)
|
||||
- Preloading strategies
|
||||
- Route caching patterns
|
||||
- Bundle analysis
|
||||
|
||||
**Prerequisites**: Angular Core, Routing basics
|
||||
|
||||
**Learning Estimate**: 20-25 hours
|
||||
|
||||
---
|
||||
|
||||
## 🗄️ Agent 6: State Management & APIs
|
||||
|
||||
**Specialty**: NgRx, Akita, Services, Angular Signals, HTTP Integration
|
||||
|
||||
**Expert In**:
|
||||
- Store architecture and patterns
|
||||
- Actions, reducers, selectors
|
||||
- Effects and side effects
|
||||
- Entity adapters
|
||||
- Facade pattern
|
||||
- HTTP integration and caching
|
||||
- Angular Signals for state
|
||||
- API request handling
|
||||
|
||||
**When to Use**:
|
||||
- Managing complex application state
|
||||
- Sharing state between components
|
||||
- Implementing time-travel debugging
|
||||
- Normalizing API responses
|
||||
- Preventing race conditions
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ state-management-advanced
|
||||
- Entity patterns
|
||||
- Selector composition
|
||||
- API integration patterns
|
||||
|
||||
**Prerequisites**: Angular Core, RxJS mastery
|
||||
|
||||
**Learning Estimate**: 30-40 hours
|
||||
|
||||
---
|
||||
|
||||
## 🧪 Agent 7: Testing, Build & Deployment
|
||||
|
||||
**Specialty**: Unit/E2E Testing, Build Optimization, CI/CD, DevOps
|
||||
|
||||
**Expert In**:
|
||||
- Unit testing with Jasmine and TestBed
|
||||
- E2E testing with Cypress and Playwright
|
||||
- Test coverage and strategies
|
||||
- Service mocking and HTTP testing
|
||||
- Build optimization (AOT, tree-shaking)
|
||||
- Bundle analysis
|
||||
- CI/CD pipelines (GitHub Actions, etc.)
|
||||
- Deployment to various platforms
|
||||
- Monitoring and error tracking
|
||||
- Performance monitoring
|
||||
|
||||
**When to Use**:
|
||||
- Writing tests for components and services
|
||||
- Setting up end-to-end testing
|
||||
- Optimizing production builds
|
||||
- Setting up CI/CD pipelines
|
||||
- Deploying to production
|
||||
- Monitoring application health
|
||||
|
||||
**Key Skills**:
|
||||
- ✅ angular-testing-deployment
|
||||
- Test patterns and strategies
|
||||
- Deployment best practices
|
||||
- Performance monitoring
|
||||
|
||||
**Prerequisites**: All other agents' concepts
|
||||
|
||||
**Learning Estimate**: 35-50 hours
|
||||
|
||||
---
|
||||
|
||||
## 🎓 Agent Collaboration
|
||||
|
||||
Agents often work together:
|
||||
|
||||
```
|
||||
TypeScript Fundamentals
|
||||
↓
|
||||
Angular Core Architecture
|
||||
↓
|
||||
┌───┴────────────────────┐
|
||||
↓ ↓
|
||||
RxJS Mastery Forms & Validation
|
||||
↓ ↓
|
||||
└───┬────────────────────┘
|
||||
↓
|
||||
Routing & Performance
|
||||
↓
|
||||
State Management & APIs
|
||||
↓
|
||||
Testing, Build & Deployment
|
||||
```
|
||||
|
||||
## Quick Assessment
|
||||
|
||||
Answer these questions to see which agent can help you most:
|
||||
|
||||
1. **Do you need TypeScript help?** → Agent 1
|
||||
2. **Building components/services?** → Agent 2
|
||||
3. **Working with async data?** → Agent 3
|
||||
4. **Creating forms?** → Agent 4
|
||||
5. **Scaling application?** → Agent 5
|
||||
6. **Managing state?** → Agent 6
|
||||
7. **Testing/deploying?** → Agent 7
|
||||
|
||||
## Learning Hours by Agent
|
||||
|
||||
| Agent | Hours | Difficulty |
|
||||
|-------|-------|-----------|
|
||||
| TypeScript Fundamentals | 20-30h | Beginner |
|
||||
| Angular Core | 25-35h | Beginner |
|
||||
| RxJS Mastery | 25-35h | Intermediate |
|
||||
| Forms & Validation | 15-20h | Intermediate |
|
||||
| Routing & Performance | 20-25h | Intermediate |
|
||||
| State Management | 30-40h | Advanced |
|
||||
| Testing & Deployment | 35-50h | Advanced |
|
||||
| **Total** | **170-235h** | **Mixed** |
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. **Start with `/learn`** to choose a learning path
|
||||
2. **Deep dive** into specific agents here
|
||||
3. **Use `/projects`** for hands-on practice
|
||||
4. **Use `/assess`** to test your knowledge
|
||||
5. **Ask agents directly** for detailed guidance
|
||||
|
||||
---
|
||||
|
||||
**Ready to Master Angular?** Start with your first agent! 🚀
|
||||
173
commands/learn.md
Normal file
173
commands/learn.md
Normal file
@@ -0,0 +1,173 @@
|
||||
# /learn - Angular Learning Paths
|
||||
|
||||
## Overview
|
||||
Start your Angular learning journey with guided, structured learning paths tailored to your experience level and goals.
|
||||
|
||||
## Interactive Learning Paths
|
||||
|
||||
### Beginner Path (0-3 months)
|
||||
Perfect for developers new to Angular who want to build a solid foundation.
|
||||
|
||||
**Phase 1: TypeScript Fundamentals** (Weeks 1-2)
|
||||
- Basic types and interfaces
|
||||
- OOP concepts
|
||||
- Decorators (Essential for Angular)
|
||||
- Async/await patterns
|
||||
- **Agent**: TypeScript Fundamentals Agent
|
||||
- **Estimated Hours**: 20-30 hours
|
||||
- **Hands-on Projects**:
|
||||
- Build a TypeScript utility library
|
||||
- Create typed API client
|
||||
- Implement design patterns
|
||||
|
||||
**Phase 2: Angular Core Basics** (Weeks 3-4)
|
||||
- Components and templates
|
||||
- Services and dependency injection
|
||||
- Basic routing
|
||||
- Modules
|
||||
- **Agent**: Angular Core Architecture Agent
|
||||
- **Estimated Hours**: 25-35 hours
|
||||
- **Hands-on Projects**:
|
||||
- Build a Todo application
|
||||
- Create a user dashboard
|
||||
- Multi-page application with routing
|
||||
|
||||
**Phase 3: Forms & Validation** (Weeks 5-6)
|
||||
- Template-driven forms
|
||||
- Form validation
|
||||
- Custom validators
|
||||
- **Agent**: Forms, Validation & Directives Agent
|
||||
- **Estimated Hours**: 15-20 hours
|
||||
- **Hands-on Projects**:
|
||||
- User registration form
|
||||
- Multi-step wizard
|
||||
- Dynamic form generation
|
||||
|
||||
**Milestone**: Your first production-ready Angular app with forms, routing, and services.
|
||||
|
||||
### Intermediate Path (3-6 months)
|
||||
For developers comfortable with Angular basics wanting to master advanced concepts.
|
||||
|
||||
**Phase 4: Reactive Programming** (Weeks 7-8)
|
||||
- RxJS fundamentals
|
||||
- Observables and subjects
|
||||
- Common operators
|
||||
- Higher-order observables
|
||||
- **Agent**: Reactive Programming & RxJS Agent
|
||||
- **Estimated Hours**: 25-35 hours
|
||||
- **Hands-on Projects**:
|
||||
- Real-time data streaming dashboard
|
||||
- Search with debouncing
|
||||
- Multi-source data combination
|
||||
|
||||
**Phase 5: Advanced Routing** (Weeks 9-10)
|
||||
- Lazy loading
|
||||
- Route guards
|
||||
- Code splitting
|
||||
- Change detection optimization
|
||||
- **Agent**: Routing, Performance & Advanced Patterns Agent
|
||||
- **Estimated Hours**: 20-25 hours
|
||||
- **Hands-on Projects**:
|
||||
- Large-scale application with lazy-loaded modules
|
||||
- Role-based access control
|
||||
- Performance-optimized routing
|
||||
|
||||
**Phase 6: State Management** (Weeks 11-12)
|
||||
- NgRx fundamentals
|
||||
- Actions and reducers
|
||||
- Selectors
|
||||
- Effects
|
||||
- **Agent**: State Management & APIs Agent
|
||||
- **Estimated Hours**: 30-40 hours
|
||||
- **Hands-on Projects**:
|
||||
- E-commerce cart system
|
||||
- Real-time notification system
|
||||
- Complex form state management
|
||||
|
||||
**Milestone**: Build a scalable application with proper state management and advanced routing.
|
||||
|
||||
### Advanced Path (6+ months)
|
||||
Master enterprise patterns and optimization techniques.
|
||||
|
||||
**Phase 7: Testing & Performance** (Weeks 13-16)
|
||||
- Unit testing with Jasmine
|
||||
- E2E testing with Cypress
|
||||
- Build optimization
|
||||
- Deployment strategies
|
||||
- **Agent**: Testing, Build & Deployment Agent
|
||||
- **Estimated Hours**: 35-50 hours
|
||||
- **Hands-on Projects**:
|
||||
- Fully tested component library
|
||||
- Production deployment pipeline
|
||||
- Performance-optimized PWA
|
||||
|
||||
**Phase 8: Advanced Patterns** (Weeks 17-20)
|
||||
- Entity adapters
|
||||
- Custom state selectors
|
||||
- Micro frontends
|
||||
- Angular Signals
|
||||
- Akita patterns
|
||||
- **Agents**: Multiple agents collaboration
|
||||
- **Estimated Hours**: 40-60 hours
|
||||
- **Hands-on Projects**:
|
||||
- Enterprise application with multiple features
|
||||
- Custom framework/library
|
||||
- Micro-frontend architecture
|
||||
|
||||
**Milestone**: Enterprise-ready Angular applications with comprehensive testing and optimization.
|
||||
|
||||
## Learning Tips
|
||||
|
||||
### Study Tips
|
||||
1. **Code Along**: Don't just watch, write every example
|
||||
2. **Practice Exercises**: Do the hands-on projects
|
||||
3. **Build Real Apps**: Apply knowledge to real problems
|
||||
4. **Code Review**: Study well-written Angular code
|
||||
5. **Teach Others**: Explain concepts to reinforce learning
|
||||
|
||||
### Development Environment Setup
|
||||
```bash
|
||||
# Install Node.js 18+
|
||||
node --version
|
||||
|
||||
# Install Angular CLI
|
||||
npm install -g @angular/cli
|
||||
|
||||
# Create new project
|
||||
ng new my-app
|
||||
cd my-app
|
||||
ng serve
|
||||
|
||||
# Generate components
|
||||
ng generate component components/user-list
|
||||
ng generate service services/user
|
||||
ng generate module modules/shared
|
||||
```
|
||||
|
||||
### Resources
|
||||
- Official Documentation: https://angular.io
|
||||
- Angular API Reference: https://angular.io/api
|
||||
- Community Forum: https://gitter.im/angular/angular
|
||||
- Stack Overflow: Tag: `angular`
|
||||
|
||||
## Assessment & Progress
|
||||
|
||||
After each phase, test your knowledge:
|
||||
- Use `/assess` command to evaluate understanding
|
||||
- Review weak areas and practice more
|
||||
- Move to next phase when comfortable
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. Choose your path based on experience level
|
||||
2. Start with Phase 1 content
|
||||
3. Complete hands-on projects
|
||||
4. Move through phases sequentially
|
||||
5. Use `/projects` to find practice challenges
|
||||
6. Use `/explore` to dive deeper into topics
|
||||
|
||||
---
|
||||
|
||||
**Start Now**: Choose your path and begin learning! 🚀
|
||||
|
||||
Use `/explore` to see all 7 agents and their specialties.
|
||||
515
commands/projects.md
Normal file
515
commands/projects.md
Normal file
@@ -0,0 +1,515 @@
|
||||
# /projects - Hands-On Projects
|
||||
|
||||
## Practice Your Angular Skills
|
||||
|
||||
Master Angular through 50+ carefully designed hands-on projects. Each project reinforces specific concepts and builds toward real-world applications.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Projects by Difficulty Level
|
||||
|
||||
### Beginner Projects (1-2 weeks each)
|
||||
|
||||
#### Project 1: Personal Portfolio Website
|
||||
**Topics**: Components, templates, basic routing, styling
|
||||
**Duration**: 5-7 days
|
||||
**Skills**: HTML, CSS, TypeScript basics
|
||||
|
||||
**Requirements**:
|
||||
- Home page with personal info
|
||||
- About page
|
||||
- Projects showcase
|
||||
- Contact section
|
||||
- Responsive design
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Component structure
|
||||
✅ Template syntax
|
||||
✅ Routing between pages
|
||||
✅ CSS in Angular
|
||||
|
||||
**Code Starter**:
|
||||
```typescript
|
||||
@Component({
|
||||
selector: 'app-portfolio',
|
||||
template: `
|
||||
<nav>
|
||||
<a routerLink="/home">Home</a>
|
||||
<a routerLink="/about">About</a>
|
||||
<a routerLink="/projects">Projects</a>
|
||||
</nav>
|
||||
<router-outlet></router-outlet>
|
||||
`
|
||||
})
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### Project 2: Todo Application
|
||||
**Topics**: Component interaction, event binding, @Input/@Output
|
||||
**Duration**: 3-5 days
|
||||
**Skills**: Components, services, lists
|
||||
|
||||
**Requirements**:
|
||||
- Add, delete, complete todos
|
||||
- Filter (all, active, completed)
|
||||
- Save to localStorage
|
||||
- Edit todo titles
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Component communication
|
||||
✅ Event handling
|
||||
✅ List rendering
|
||||
✅ Local storage
|
||||
|
||||
**Key Components**:
|
||||
- TodoListComponent
|
||||
- TodoItemComponent
|
||||
- TodoService
|
||||
|
||||
---
|
||||
|
||||
#### Project 3: Weather App
|
||||
**Topics**: HTTP requests, services, API integration
|
||||
**Duration**: 5-7 days
|
||||
**Skills**: HttpClient, services, templates
|
||||
|
||||
**Requirements**:
|
||||
- Search for cities
|
||||
- Display weather information
|
||||
- Show 5-day forecast
|
||||
- Store favorites
|
||||
- Display weather icons
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ HTTP GET requests
|
||||
✅ Service architecture
|
||||
✅ API integration
|
||||
✅ Data display
|
||||
|
||||
**API Suggestion**: OpenWeatherMap API
|
||||
|
||||
---
|
||||
|
||||
#### Project 4: Registration Form
|
||||
**Topics**: Template-driven forms, validation, user input
|
||||
**Duration**: 3-5 days
|
||||
**Skills**: Forms, validation, ngModel
|
||||
|
||||
**Requirements**:
|
||||
- Form fields (name, email, password)
|
||||
- Client-side validation
|
||||
- Display errors
|
||||
- Submit handling
|
||||
- Confirmation page
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Template-driven forms
|
||||
✅ Built-in validators
|
||||
✅ Form state
|
||||
✅ Form submission
|
||||
|
||||
---
|
||||
|
||||
#### Project 5: Blog Application
|
||||
**Topics**: CRUD operations, routing, services
|
||||
**Duration**: 7-10 days
|
||||
**Skills**: Services, routing, HTTP, templates
|
||||
|
||||
**Requirements**:
|
||||
- List blog posts
|
||||
- View post detail
|
||||
- Create new post
|
||||
- Edit existing post
|
||||
- Delete post
|
||||
- Comment system
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ CRUD operations
|
||||
✅ Route parameters
|
||||
✅ Service patterns
|
||||
✅ Navigation
|
||||
|
||||
---
|
||||
|
||||
### Intermediate Projects (2-4 weeks each)
|
||||
|
||||
#### Project 6: E-Commerce Shopping Cart
|
||||
**Topics**: Reactive forms, state management basics, cart operations
|
||||
**Duration**: 10-14 days
|
||||
|
||||
**Requirements**:
|
||||
- Product listing with filters
|
||||
- Shopping cart functionality
|
||||
- Checkout form (reactive)
|
||||
- Order summary
|
||||
- Product reviews
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Reactive forms
|
||||
✅ State management
|
||||
✅ Cart operations
|
||||
✅ Complex forms
|
||||
|
||||
---
|
||||
|
||||
#### Project 7: Real-Time Chat Application
|
||||
**Topics**: WebSockets, services, component communication
|
||||
**Duration**: 14-21 days
|
||||
|
||||
**Requirements**:
|
||||
- User registration/login
|
||||
- Real-time messaging
|
||||
- User list
|
||||
- Typing indicators
|
||||
- Message history
|
||||
- Notifications
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ WebSocket integration
|
||||
✅ Real-time data
|
||||
✅ User authentication
|
||||
✅ Service patterns
|
||||
|
||||
---
|
||||
|
||||
#### Project 8: Analytics Dashboard
|
||||
**Topics**: RxJS operators, data transformation, charting
|
||||
**Duration**: 10-14 days
|
||||
|
||||
**Requirements**:
|
||||
- Multiple data sources
|
||||
- Real-time updates
|
||||
- Various chart types
|
||||
- Data filtering
|
||||
- Export functionality
|
||||
- Performance metrics
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ RxJS operators
|
||||
✅ combineLatest, mergeMap
|
||||
✅ Chart libraries
|
||||
✅ Data transformation
|
||||
|
||||
---
|
||||
|
||||
#### Project 9: Task Management System
|
||||
**Topics**: Drag-and-drop, forms, services, notifications
|
||||
**Duration**: 12-16 days
|
||||
|
||||
**Requirements**:
|
||||
- Create tasks with details
|
||||
- Kanban board (drag-and-drop)
|
||||
- Task filtering/sorting
|
||||
- Team collaboration
|
||||
- Due date reminders
|
||||
- Activity log
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Angular CDK drag-drop
|
||||
✅ Complex component interactions
|
||||
✅ Service architecture
|
||||
✅ User notifications
|
||||
|
||||
---
|
||||
|
||||
#### Project 10: Job Portal
|
||||
**Topics**: Advanced routing, filtering, search, forms
|
||||
**Duration**: 14-21 days
|
||||
|
||||
**Requirements**:
|
||||
- Job listings with filters
|
||||
- Advanced search
|
||||
- Job detail page
|
||||
- Application form
|
||||
- User profiles
|
||||
- Saved jobs
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Query parameters
|
||||
✅ Complex filtering
|
||||
✅ Route parameters
|
||||
✅ Form patterns
|
||||
|
||||
---
|
||||
|
||||
### Advanced Projects (4-8 weeks each)
|
||||
|
||||
#### Project 11: Social Media Platform
|
||||
**Topics**: NgRx state management, lazy loading, authorization
|
||||
**Duration**: 28-42 days
|
||||
|
||||
**Requirements**:
|
||||
- User authentication
|
||||
- Post creation and feed
|
||||
- Follow/unfollow users
|
||||
- Comments and likes
|
||||
- Notifications system
|
||||
- User profiles
|
||||
- Search functionality
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ NgRx patterns
|
||||
✅ Authentication guards
|
||||
✅ Lazy loading features
|
||||
✅ Complex state management
|
||||
|
||||
---
|
||||
|
||||
#### Project 12: Project Management Tool
|
||||
**Topics**: State management, drag-drop, complex forms, real-time
|
||||
**Duration**: 28-42 days
|
||||
|
||||
**Requirements**:
|
||||
- Project creation
|
||||
- Task boards (Kanban)
|
||||
- Team management
|
||||
- Notifications
|
||||
- File uploads
|
||||
- Comments on tasks
|
||||
- Time tracking
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ NgRx entity adapters
|
||||
✅ Complex UI interactions
|
||||
✅ Real-time updates
|
||||
✅ File handling
|
||||
|
||||
---
|
||||
|
||||
#### Project 13: Learning Platform
|
||||
**Topics**: Advanced routing, lazy loading, progress tracking, assessments
|
||||
**Duration**: 35-49 days
|
||||
|
||||
**Requirements**:
|
||||
- Course catalog
|
||||
- Lesson content with video
|
||||
- Progress tracking
|
||||
- Quizzes and assessments
|
||||
- Certificate generation
|
||||
- User dashboard
|
||||
- Discussion forums
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Feature module organization
|
||||
✅ Lazy loading patterns
|
||||
✅ Complex state
|
||||
✅ Advanced routing
|
||||
|
||||
---
|
||||
|
||||
#### Project 14: Health & Fitness App
|
||||
**Topics**: Charts, data visualization, PWA, offline support
|
||||
**Duration**: 28-42 days
|
||||
|
||||
**Requirements**:
|
||||
- User health data tracking
|
||||
- Workout logging
|
||||
- Progress charts
|
||||
- Nutrition tracking
|
||||
- Social features
|
||||
- Offline functionality
|
||||
- Mobile optimization
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Data visualization
|
||||
✅ PWA implementation
|
||||
✅ Offline support
|
||||
✅ Mobile optimization
|
||||
|
||||
---
|
||||
|
||||
#### Project 15: Enterprise Dashboard
|
||||
**Topics**: Performance optimization, accessibility, testing, monitoring
|
||||
**Duration**: 35-49 days
|
||||
|
||||
**Requirements**:
|
||||
- Complex analytics
|
||||
- Real-time data
|
||||
- Multiple chart types
|
||||
- Export to PDF/Excel
|
||||
- Accessibility compliance
|
||||
- Comprehensive testing
|
||||
- Monitoring/logging
|
||||
|
||||
**Learning Outcomes**:
|
||||
✅ Performance optimization
|
||||
✅ Accessibility (WCAG)
|
||||
✅ Advanced testing
|
||||
✅ Monitoring
|
||||
|
||||
---
|
||||
|
||||
## 📋 Project Selection Guide
|
||||
|
||||
### By Topic Focus
|
||||
|
||||
**Learning TypeScript?**
|
||||
- Project 1: Portfolio
|
||||
- Project 5: Blog App
|
||||
- Project 6: Shopping Cart
|
||||
|
||||
**Mastering Components?**
|
||||
- Project 2: Todo App
|
||||
- Project 4: Registration Form
|
||||
- Project 9: Task Manager
|
||||
|
||||
**RxJS & Observables?**
|
||||
- Project 3: Weather App
|
||||
- Project 8: Analytics
|
||||
- Project 11: Social Media
|
||||
|
||||
**Forms & Validation?**
|
||||
- Project 4: Registration
|
||||
- Project 6: Shopping Cart
|
||||
- Project 10: Job Portal
|
||||
|
||||
**Routing & Navigation?**
|
||||
- Project 1: Portfolio
|
||||
- Project 5: Blog
|
||||
- Project 7: Chat
|
||||
|
||||
**State Management?**
|
||||
- Project 11: Social Media
|
||||
- Project 12: Project Mgmt
|
||||
- Project 15: Dashboard
|
||||
|
||||
**Testing & Performance?**
|
||||
- Project 14: Health App
|
||||
- Project 15: Dashboard
|
||||
- Any advanced project
|
||||
|
||||
---
|
||||
|
||||
## 🎓 Project Progression Path
|
||||
|
||||
```
|
||||
Beginner
|
||||
├── Project 1: Portfolio
|
||||
├── Project 2: Todo App
|
||||
├── Project 3: Weather App
|
||||
├── Project 4: Registration
|
||||
└── Project 5: Blog
|
||||
|
||||
↓
|
||||
|
||||
Intermediate
|
||||
├── Project 6: Shopping Cart
|
||||
├── Project 7: Chat
|
||||
├── Project 8: Analytics
|
||||
├── Project 9: Task Manager
|
||||
└── Project 10: Job Portal
|
||||
|
||||
↓
|
||||
|
||||
Advanced
|
||||
├── Project 11: Social Media
|
||||
├── Project 12: Project Mgmt
|
||||
├── Project 13: Learning Platform
|
||||
├── Project 14: Health App
|
||||
└── Project 15: Enterprise Dashboard
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Project Best Practices
|
||||
|
||||
### Before Starting
|
||||
- [ ] Understand all project requirements
|
||||
- [ ] Break down into smaller tasks
|
||||
- [ ] Plan component structure
|
||||
- [ ] Design database schema (if applicable)
|
||||
- [ ] Setup version control (Git)
|
||||
|
||||
### During Development
|
||||
- [ ] Follow Angular style guide
|
||||
- [ ] Commit regularly with clear messages
|
||||
- [ ] Write unit tests as you go
|
||||
- [ ] Document complex code
|
||||
- [ ] Test edge cases
|
||||
|
||||
### After Completion
|
||||
- [ ] Review code quality
|
||||
- [ ] Add E2E tests
|
||||
- [ ] Optimize performance
|
||||
- [ ] Write documentation
|
||||
- [ ] Deploy to production
|
||||
- [ ] Get code review
|
||||
|
||||
---
|
||||
|
||||
## 💡 Getting Help
|
||||
|
||||
For each project:
|
||||
- **Stuck on concept?** → Use `/explore` to find relevant agent
|
||||
- **Need specific skills?** → Review agent's SKILL.md
|
||||
- **Want to learn more?** → Use `/learn` for detailed guidance
|
||||
- **Test your knowledge?** → Use `/assess` after project
|
||||
|
||||
---
|
||||
|
||||
## 🏆 Project Completion Checklist
|
||||
|
||||
After each project, verify:
|
||||
|
||||
- [ ] All features implemented
|
||||
- [ ] Responsive design
|
||||
- [ ] Error handling
|
||||
- [ ] Code follows best practices
|
||||
- [ ] Unit tests (min 70% coverage)
|
||||
- [ ] E2E tests for critical flows
|
||||
- [ ] Accessible (WCAG 2.1)
|
||||
- [ ] Performance optimized
|
||||
- [ ] Documentation complete
|
||||
- [ ] Code review passed
|
||||
|
||||
---
|
||||
|
||||
## 📊 Project Statistics
|
||||
|
||||
| Level | Projects | Duration | Skills |
|
||||
|-------|----------|----------|--------|
|
||||
| Beginner | 5 | 5-7 weeks | 15-20 |
|
||||
| Intermediate | 5 | 10-15 weeks | 20-30 |
|
||||
| Advanced | 5 | 15-25 weeks | 30-40+ |
|
||||
|
||||
**Total**: 15 projects, 30-47 weeks, mastery of 60+ Angular/Web skills
|
||||
|
||||
---
|
||||
|
||||
## 🎁 Bonus Projects
|
||||
|
||||
### Full-Stack Development
|
||||
- Build backend API (Node.js/Express)
|
||||
- Connect Angular frontend
|
||||
- Deploy together
|
||||
- Full CRUD with backend
|
||||
|
||||
### Open Source Contributions
|
||||
- Contribute to Angular libraries
|
||||
- Fix bugs in projects
|
||||
- Create reusable components
|
||||
- Publish to npm
|
||||
|
||||
### Portfolio Showcase
|
||||
- Deploy projects online
|
||||
- Create GitHub portfolios
|
||||
- Document your work
|
||||
- Build personal brand
|
||||
|
||||
---
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. **Choose your level**: Beginner, Intermediate, or Advanced
|
||||
2. **Pick your first project**: Start with recommended sequence
|
||||
3. **Study required topics**: Review agent skills needed
|
||||
4. **Build the project**: Implement all requirements
|
||||
5. **Get feedback**: Share on GitHub, get reviews
|
||||
6. **Move to next project**: Progress through the path
|
||||
|
||||
---
|
||||
|
||||
**Ready to Build?** Choose a project and start coding! 🛠️
|
||||
|
||||
Use `/learn` for structured learning paths and `/explore` to understand concepts better.
|
||||
Reference in New Issue
Block a user