Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

angular-modernization

Skill by bitwarden

Modernizes Angular components and directives using Angular CLI migrations and Bitwarden-specific patterns. It is for developers who want to bring legacy Angular code in line with current best practices and Bitwarden ADRs.

  • Score 88
  • 14k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install angular-modernization

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bitwarden/clients /tmp/clients && mkdir -p ~/.claude/skills && cp -r /tmp/clients/.claude/skills/angular-modernization ~/.claude/skills/angular-modernization

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install angular-modernization in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The angular-modernization skill transforms legacy Angular components to a modern architecture. It works in two steps. First it runs Angular CLI schematics for standalone components, control flow, signal inputs, signal outputs, signal queries, inject(), self-closing tags and unused imports. Then it applies Bitwarden patterns such as OnPush change detection, visibility modifiers, signals for component state and thin components.

After the changes, the skill runs npm run lint:fix and npm run test to validate the code. It follows Bitwarden ADRs on signals, observable data services and TypeScript enums. The skill is meant for developers working on Angular code who ask to modernize components or directives. The source says it should not be used for general Angular discussions unrelated to modernization.

Written from the project's SKILL.md and checked against it.

What it can do

  • Standalone migrationConverts NgModule-based components to standalone architecture using the Angular CLI.
  • Control flow migrationReplaces *ngIf, *ngFor and *ngSwitch with @if, @for and @switch.
  • Signal migrationsRuns CLI schematics that move @Input, @Output and view or content queries to signals.
  • inject() migrationChanges constructor injection to the inject() function.
  • Bitwarden pattern updatesAdds OnPush change detection, visibility modifiers and thin components with logic in services.
  • ValidationRuns lint fixes and tests after the migration and checks a list of required items.

What you need

  • Angular CLI, run through npx ng
  • npm scripts lint:fix and test in the project

Try asking

  • Modernize the Angular components in this directory to standalone.
  • Migrate the @Input and @Output decorators in this folder to signals.
  • Apply Bitwarden Angular patterns to this component and its tests.

Good to know

  • Migration commands must target directories, not single files.
  • Run the CLI migrations in order because some depend on others.
  • Allowed tools are limited to Read, Write, Glob and npx ng generate commands.

Security check

B
  • Allowed to use Write without limitsIn SKILL.md

Checked automatically: .claude/skills/angular-modernization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteGlobBash(npx ng generate:*)

  • SKILL.md4 KB
  • migration-patterns.md5 KB

Alternatives to angular-modernization

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

angular-modernization: common questions

What does the angular-modernization skill change in Angular code?

It runs Angular CLI migrations for standalone components, control flow, signals, inject() and unused imports. It then applies Bitwarden patterns such as OnPush change detection and visibility modifiers.

Does this skill follow Bitwarden architecture decisions?

Yes. The source cites ADR-0003, ADR-0025 and ADR-0027 and says to use signals for component state, observables for service state and const objects instead of enums.

When should the skill not be used?

The source says not to invoke it for general Angular discussions that are unrelated to modernization.

How do I install angular-modernization?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is angular-modernization free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is angular-modernization safe to use?

It scores 88 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.

What are alternatives to angular-modernization?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

angular-modernization Install

Add to stack

Loading.