Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Generate a standalone Angular directive v1.0.0

Use this resource to generate a standalone Angular directive from a description

New

  • 436 downloads
  • 107 likes
  • 28 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install angular-directive-generator-standalone

First time: connect the CLI with

npx --yes palatekit@latest login

The prompt asks for an Angular 17 or later directive in standalone syntax, based on a description, a type (structural or attribute), a selector and its inputs. It requests the TypeScript class, the imports, host bindings or listeners, a template example and a short explanation. You get a directive ready to test.

Mostly picked by

Updated November 2, 2026

Card for the “Generate a standalone Angular directive” prompt

Details

Generates with
Your agent's model
Licence
CC0-1.0

Similar resources

View all

What you get

  • The full prompt, ready to paste
  • TypeScript class, imports, host bindings and template example
  • Variables to replace: ${description} and ${what_should_happen_to_the_host_element}, then the type, selector and inputs in brackets

Good fit for

  • Adding a highlight directive to an Angular app
  • Creating a reusable structural directive in a project

Not for

    Tags

    • angular
    • directive
    • typescript
    • frontend
    • standalone

    About

    You say

    “Attribute directive appTooltip that shows a text when the host element is hovered.”

    Card for the “Generate a standalone Angular directive” prompt

    Prompt published by satishbirhade16@gmail.com under the CC0-1.0 license, delivered in its original version.

    Show more

    How to use it

    1. Paste the prompt into your assistant or agent
    2. Ask it to generate a standalone Angular directive from a description
    3. Review and adjust the result

    Content preview

    Files

    • angular-directive-generator-standalone.md0.6 KB
    • LICENSE0.6 KB
    • NOTICE-PALATEKIT.md0.5 KB

    Origin and licence

    Listed unmodified

    Author
    satishbirhade16@gmail.com
    Source
    github.com/f/prompts.chat/blob/cecef6fc73c2c389770695a56252d331981727de/prompts.csv
    Licence
    CC0-1.0

    Notice

    « Angular Directive Generator » (satishbirhade16@gmail.com, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.