Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fix-angular-fixmes

БесплатноБез исполняемых скриптовНе проверен

Resolves eslint-disable suppression comments throughout the Bitwarden clients codebase by fixing the underlying issue. Use when the user asks to "fix FIXMEs"…

bitwardenот bitwarden★ 14 360 звёзд на GitHub

Об этом скилле

Key rules

  • Fix the underlying issue — never just delete the suppression comment and leave broken code.
  • Remove the complete comment block: FIXME line (if any) + TODO: Skipped block (if any) + eslint-disable-next-line line.
  • Both FIXME-paired and standalone suppressions are the same migration debt.
  • For Angular migration rules, prefer CLI schematics over manual edits.
  • Do NOT convert service observables to signals (ADR-0027).
  • For OnPush and signals patterns, the angular-modernization skill is the authoritative source — this skill only owns the ESLint suppression mechanics.

Step 1: Discover all suppressions

Use the Grep tool to find suppressions in the target path:

  • Pattern eslint-disable — finds all eslint suppressions
  • Pattern FIXME.*CL- — finds Angular FIXME-tracked ones specifically

Group results by rule name. Two forms appear in this codebase:

Form A — FIXME-paired (a FIXME tracking comment sits above the disable):

// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection

Form B — Standalone (disable without a FIXME, or with a CLI skip comment):

// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
// TODO: Skipped for signal migration because:
//  Accessor inputs cannot be migrated as they are too complex.
// FIXME(https://bitwarden.atlassian.net/browse/CL-903): Migrate to Signals
// eslint-disable-next-line @angular-eslint/prefer-signals

Both forms must be fixed the same way.

Rule reference

Category Rule Section below
Angular @angular-eslint/prefer-on-push-component-change-detection OnPush
Angular @angular-eslint/prefer-signals Signals
Angular @angular-eslint/prefer-output-emitter-ref Signals
Angular template @angular-eslint/template/button-has-type HTML rules
TypeScript @typescript-eslint/no-floating-promises no-floating-promises
TypeScript @typescript-eslint/no-unused-vars no-unused-vars
TypeScript @typescript-eslint/no-unsafe-function-type no-unsafe-function-type
RxJS rxjs/no-async-subscribe rxjs rules
RxJS rxjs-angular/prefer-takeuntil rxjs rules
Bitwarden @bitwarden/platform/no-enums no-enums
Bitwarden @bitwarden/components/no-bwi-class-usage HTML rules
General no-restricted-imports no-restricted-imports
General no-console no-console
General no-empty no-empty
General bare // eslint-disable-next-line bare disable
Tailwind tailwindcss/no-custom-classname HTML rules

OnPush

Rule: @angular-eslint/prefer-on-push-component-change-detection

Follow the OnPush guidance in the angular-modernization skill (add changeDetection: ChangeDetectionStrategy.OnPush, remove ChangeDetectorRef if only used for detectChanges()). Then remove the FIXME + eslint-disable-next-line lines.

@Directive does not support changeDetection — skip OnPush for pure directives.

Signals

Rules: @angular-eslint/prefer-signals, @angular-eslint/prefer-output-emitter-ref

Applies to @Input(), @Output(), @ViewChild, @ContentChild.

Follow the Signal Inputs, Outputs, and Queries guidance in the angular-modernization skill (prefer CLI schematics, then manual conversion). After each migration, manually remove the FIXME and eslint-disable-next-line lines, and any // TODO: Skipped for signal migration because: comment blocks.

Do N

Полный SKILL.md на GitHub

Установить fix-angular-fixmes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Glob
Grep
Bash(npx ng generate:*)
Bash(npm run lint:fix)
Bash(npm run test)

FAQ

Что делает скилл fix-angular-fixmes?

Resolves eslint-disable suppression comments throughout the Bitwarden clients codebase by fixing the underlying issue. Use when the user asks to "fix FIXMEs", "fix eslint suppressions", "clean up eslint-disable-next-line", "resolve CL-764", "resolve CL-903", "fix OnPush eslint suppressions", "fix Signals eslint suppressions", or reduce linting suppressions.

Как установить скилл fix-angular-fixmes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fix-angular-fixmes запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fix-angular-fixmes с