Modernizes Angular code such as components and directives to follow best practices using both automatic CLI migrations and Bitwarden-specific patterns. YOU must use this skill when someone requests modernizing Angular code. DO NOT invoke for general Angular discussions unrelated to modernization.
npx skills add https://github.com/bitwarden/clients --skill angular-modernization
Transforms legacy Angular components to modern architecture using a two-step approach:
⚠️ CRITICAL: ALWAYS use Angular CLI migrations when available. DO NOT manually migrate features that have CLI schematics.
Angular provides automated schematics that handle edge cases, update tests, and ensure correctness. Manual migration should ONLY be used for patterns not covered by CLI tools.
IMPORTANT:
npx ng.--path option to target directories.npx ng generate @angular/core:standalone --path=<directory> --mode=convert-to-standalone
NgModule-based → standalone architecture
npx ng generate @angular/core:control-flow
*ngIf, *ngFor, *ngSwitch → @if, @for, @switch
npx ng generate @angular/core:signal-input-migration
@Input() → signal inputs
npx ng generate @angular/core:output-migration
@Output() → signal outputs
npx ng generate @angular/core:signal-queries-migration
@ViewChild, @ContentChild, etc. → signal queries
npx ng generate @angular/core:inject-migration
Constructor injection → inject() function
npx ng generate @angular/core:self-closing-tag
Updates templates to self-closing syntax
npx ng generate @angular/core:unused-imports
Removes unused imports
See migration-patterns.md for detailed examples.
protected for template access, private for internal)npm run lint:fixnpm run testIf any errors occur, fix them accordingly.
toSignal() to bridge observables into signal-based componentsprotected - Template-accessible membersprivate - Internal implementationBefore completing migration:
protected/private)Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take bitwarden/angular-modernization from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.