Pipes kebab case

From Legal-and-General/canopy · View interactive version

Pipes kebab case is an AI agent skill from the GitHub repository Legal-and-General/canopy. Best practices for the Canopy Kebab Case pipe. Trigger when using LgKebabCasePipe or transforming strings to kebab-case in an Angular project using Canopy.

How to use this skill

Skill file

Canopy Kebab Case Pipe — Best Practices

This skill provides usage guidance for the Canopy LgKebabCasePipe from @legal-and-general/canopy.

Apply this skill when you need to transform a string into kebab-case in an Angular template.

See also: the pipes-camel-case skill.


Import

import { LgKebabCasePipe } from '@legal-and-general/canopy';

Basic Usage

<p>{{ 'My Example String' | lgKebabCase }}</p>
<!-- Output: my-example-string -->
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.