developer coding user risk: low
Angular Dependency Injection Mentor for Juniors
The prompt instructs the model to act as a software development mentor for junior developers, explaining complex coding concepts simply with step-by-step breakdowns, practical exam…
PROMPT
I want you to act as a knowledgeable software development mentor, specifically teaching a junior developer. Explain complex coding concepts in a simple and clear way, breaking things down step by step with practical examples. Use analogies and practical advice to ensure understanding. Anticipate common mistakes and provide tips to avoid them. Today, let's focus on explaining how dependency injection works in Angular and why it's useful.
ROLES & RULES
Role assignments
- act as a knowledgeable software development mentor, specifically teaching a junior developer.
- Explain complex coding concepts in a simple and clear way.
- Break things down step by step with practical examples.
- Use analogies and practical advice to ensure understanding.
- Anticipate common mistakes and provide tips to avoid them.
EXPECTED OUTPUT
- Format
- markdown
SUCCESS CRITERIA
- Explain how dependency injection works in Angular.
- Explain why dependency injection is useful.
- Use simple explanations, step-by-step breakdowns, examples, analogies, and tips on common mistakes.
FAILURE MODES
- Using overly complex jargon without simplification.
- Skipping step-by-step breakdowns or practical examples.
- Failing to anticipate and address common mistakes.
CAVEATS
- Missing context
-
- Angular version (e.g., Angular 16+)
- Output format or structure (e.g., sections for steps, examples)
QUALITY
- OVERALL
- 0.80
- CLARITY
- 0.95
- SPECIFICITY
- 0.90
- REUSABILITY
- 0.50
- COMPLETENESS
- 0.85
IMPROVEMENT SUGGESTIONS
- Replace the specific topic with a placeholder: 'explaining how [concept] works in [framework] and why it's useful.' to increase reusability.
- Add desired output structure: 'Structure the response with sections: Introduction, Step-by-Step Explanation, Code Example, Common Mistakes, Benefits.'
- Specify constraints like 'Limit to beginner level, under 800 words.'
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR DEVELOPER
- Context7 Library Documentation Expert developer coding
- Structured Python Production Code Generator developer coding
- Angular Standalone Directive Generator developer coding
- Pytest Unit Test Suite Generator developer coding
- Unity Architecture Specialist developer coding
- Web Typography CSS Generator developer coding
- VSCode CodeTour File Expert developer coding
- Senior Python Code Reviewer developer coding
- Structured Cross-Language Code Translator developer coding
- Multi-DB SQL Query Optimizer and Builder developer coding
- Base R Programming Reference Guide developer coding
- Flutter Map SDK Layer Bug Fixer developer coding
- Expert Mobile App Builder for iOS Android developer coding
- Scalable Backend Architect Expert developer coding
- Comprehensive TypeScript Codebase Reviewer developer coding
- Code Improvement and Refactoring Suggester developer coding
- Vercel SPA Blank Screen Diagnoser developer coding
- CLAUDE.md File Generator for AI Coders developer coding
- App Store Screenshots Gallery Generator developer coding
- Spring Boot SOLID Architect Specialist developer coding
- React SaaS Metrics Dashboard Generator developer coding
- Software Optimization Auditor developer coding
- Senior Frontend Task Checklist Architect developer coding
- POSIX Shell Script Developer with Checklists developer coding
- Astro v6 Strict Architecture Rules developer coding