services
From davila7
Create Angular services for $ARGUMENTS following project conventions.
Install
/servicesFacts
- Repository
- davila7/claude-code-templates
- Status
- Actively maintained
- Last commit
Source preview
The instructions Claude Code reads when this command runs.
# Angular Services
Create Angular services for $ARGUMENTS following project conventions.
## Task
Create or optimize Angular services based on the requirements:
1. **Analyze existing services**: Check current service patterns, naming conventions, and folder organization
2. **Examine Angular setup**: Review project structure, dependency injection patterns, and TypeScript configuration
3. **Identify service type**: Determine the service category:
- Data services (HTTP API calls, state management)
- Utility services (validation, formatting, helpers)
- Business logic services (calculations, workflows)
- Infrastructure services (logging, authentication, error handling)
- Feature services (component-specific logic)
4. **Check dependencies**: Review existing services and shared modules to avoid duplication
5. **Implement service**: Create service with proper dependency injection and TypeScript types
6. **Add error handling**: Include comprehensive error handling with RxJS operators
7. **Create tests**: Write unit tests with proper mocking following project patterns
8. **Update module registration**: Register service in appropriate Angular modules
## Implementation Requirements
- Follow project's Angular architecture and naming conventions (usually .service.ts)
- Use proper dependency injection with @Injectable decorator
- Include comprehensive TypeScript interfacesView full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 15d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 15d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 15d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 14d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 14d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 14d ago