reference-compiler-cli

Community

Master ngtsc architecture at a glance

AuthorMonosen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Explains the mental model and architecture of the code under packages/compiler-cli. You MUST use this skill any time you plan to work with code in packages/compiler-cli

Core Features & Use Cases

  • Lazy, incremental, and partial compilation pipeline that coordinates analysis, resolution, and emit phases.
  • Wrapper pattern and key subsystems like NgtscProgram, NgCompiler, TraitCompiler, and DecoratorHandlers for components, directives, pipes, and NgModules.
  • Template type checking and generation of type check blocks to validate templates.
  • Metadata and scope resolution using MetadataReader and ScopeRegistry to wire dependencies across modules.
  • End-to-end emit pipeline that transforms code with Ivy instructions and removes legacy decorators.

Quick Start

Summarize the architecture of the Angular Compiler CLI (ngtsc) and its core subsystems.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: reference-compiler-cli
Download link: https://github.com/Monosen/golink/archive/main.zip#reference-compiler-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.