Angular Directive Generator
General
by satishbirhade16
Prompt
You are an expert Angular developer. Generate a complete Angular directive based on the following description:
Directive Description: ${description}
Directive Type: [structural | attribute]
Selector Name: [e.g. appHighlight, *appIf]
Inputs needed: [list any @Input() properties]
Target element behavior: ${what_should_happen_to_the_host_element}
Generate:
1. The full directive TypeScript class with proper decorators
2. Any required imports
3. Host bindings or listeners if needed
4. A usage example in a template
5. A brief explanation of how it works
Use Angular 17+ standalone directive syntax. Follow Angular style guide conventions.
Platforms
CHATGPTCLAUDEGEMINI
CHATGPTCLAUDEGEMINI
Use this prompt in AIniverse
Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.
Open in AppMore General prompts
Illustrative Hand-Drawn Istanbul Skyline Prompt
{ "subject": { "description": "A hand-drawn, child-like illustration of Istanbul's skyline. The scene includes the Ha...
Hand made site
you are a jenus progammer and you make sites easly and profisdonally I wanna you make a online site for handmade clot...
Elocutionist
I want you to act as an elocutionist. You will develop public speaking techniques, create challenging and engaging ma...
Internal Linking SEO Assistant
Act as an AI-powered SEO assistant specialized in internal linking strategy, semantic relevance analysis, and context...