Prompt
0 copies · 0 said it worked
Generate an Angular directive from a description
Asks the model to produce a complete Angular standalone directive, including TypeScript class, imports, host bindings, a template usage example, and an explanation, based on a described behavior and inputs.
People use this for
- angular directive generator
- angular standalone directive code
- create angular attribute directive
- angular directive from description
- generate angular custom directive with host bindings
Imported on Nov 29, 2026 from Angular Directive Generator . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Fill in the variables
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.
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
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.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Master prompt for building a district campaign field operations platform
A long master development prompt asking an AI to build a full-stack government district campaign management, field data collection, verification, and payment platform.
Coding · @maarifkhatri91
- Generate realistic mock data, seeds, and fixtures as a TODO plan
A system-style role prompt that makes the model act as a test data engineer producing seeded, referentially consistent mock data (SQL, JSON, CSV, TypeScript) and API mock responses, with output written to TODO_mock-data.md as trackable checklists.
Coding · @wkaandemir
- Explain, test, and harden a Python regular expression
Explains a Python regex token by token, tests it against must-match and must-not-match samples, flags risky patterns like catastrophic backtracking, and returns a safer rewrite with a test table.
Coding · @f
- Scaffold a full production-ready project repository from a brief
A system-style prompt that makes the model act as an elite software engineer and product architect, filling a project brief to generate a complete, runnable repository with file tree, source files, setup commands, and an upgrade roadmap.
Coding · @handkllcservices
License: CC0v2 · updated Nov 30, 2026 · first published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.