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.
- Author
- janpereira-dev ↗
- Repository
- ngautopilot ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
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
- Purpose
- When to Use
- When Not to Use
- Required Inputs
- Procedure
- Do
- Do Not
- Review Checklist
- Expected Output
- Exit Criteria
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.