Skip to content
Skills Library
Programming · Review & audit

Angular v21 Host Binding Typecheck

/Angular v21 Host Binding Typecheck

Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.

Repository
ngautopilot ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

80/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.

Original author description

Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.

How it works

  1. Purpose
  2. When to Use
  3. When Not to Use
  4. Required Inputs
  5. Procedure
  6. Do
  7. Do Not
  8. Review Checklist
  9. Expected Output
  10. Exit Criteria
Original SKILL.md headings · 57 lines, 170 words
SKILL.md preview
---
id: angular.upgrade.templates.angular-v21-host-binding-typecheck
name: Angular v21 Host Binding Typecheck
description: >
  Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.
stack:
  - Angular
  - TypeScript
category: templates
status: stable
version: 0.11.0
owner: NgAutoPilot
triggers:
  - host binding typecheck
  - HostBinding
  - host metadata
  - inherited host bindings
compatibility:
  angular:
    min: "21"
---

# Angular v21 Host Binding Typecheck

## Purpose

Review Angular 21 host binding type checking.

## When to Use

- Components or directives use `@HostBinding`.
- Host metadata exists.
- The app is stable on Angular 21.

## When Not to Use

- The app has no host bindings.
- The app is still in a version hop.

## Required Inputs

- host binding code
- directive metadata
- inherited host bindings
- tests for affected components

## Procedure

1. Identify host-bound values.
2. Fix type errors explicitly.
3. Validate rendered state and tests.

## Do

- Keep host binding types explicit.
- Validate inherited bindings.

## Do Not

- Do not hide errors behind `any`.
- Do not mix this with the version hop.

## Review Checklist

- [ ] Host binding types are correct.
- [ ] Inherited bindings are correct.
- [ ] Tests pass.

## Expected Output

1. Host binding summary.
2. Type fixes.
3. Test result.

## Exit Criteria

- Host binding risk is explicit.

Versions

The database has no other skills named Angular v21 Host Binding Typecheck.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version f7a830046689 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 80Angular OnPush Host Bindings v18
    Review OnPush components with host bindings after Angular 18 when host-bound state or external callbacks may not refresh as expected. Use when a bounded slice relies on ChangeDetectionStrategy.OnPush, host bindings, markForCheck, detectChanges, or manual refresh logic.
  • 90angular-components-angular-v22-component-contracts
    Use this skill when Angular 22 changes affect component creation, selector rules, host directives, or default component behavior.
  • 100angular
    Show how to use custom elements in Angular, including required CUSTOM_ELEMENTS_SCHEMA configuration. Use when the user asks to "use in Angular", "Angular custom elements", "custom elements in Angular", "CUSTOM_ELEMENTS_SCHEMA", or mentions "Angular module", "standalone…
  • 95angular-ui-patterns
    Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.
  • 95angular-ui-patterns
    Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.
  • 95angular-ui-patterns
    Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.