Index of every page on this site: llms.txt
All skills
analogjs avatar

/angular-routing

@18996fd
by analogjsanalogjs/angular-skills586 stars
67
Run it yourself

DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Implement routing in Angular v20+ applications with lazy loading, functional guards, resolvers, and route parameters. Use for navigation setup, protected routes, route-based data loading, and nested routing. Triggers on route configuration, adding authentication guards, implementing lazy loading, or reading route parameters with signals.

Use this Skill: https://skilld.dev/gh/analogjs/angular-skills/angular-routing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈119 tokens for metadata: the name and description. ≈125 when used: this file.

Description uses 5.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈476 characters, or 5.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Angular Routing

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a deprecation notice that directs users to official Angular resources. It contains no executable code or dangerous instructions.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/2 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 18996fd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago
  • TypeScript
  • angular
  • routing
  • lazy-loading
  • guards
  • resolvers
  • navigation
  • signal-inputs

README badge

README badge for analogjs/angular-skills/angular-routing

Implement routing in Angular v20+ applications with lazy loading, functional guards, signal-based route parameters, and resolvers. Use for navigation setup, protected routes with auth guards, route-based data pre-fetching, and nested routing structures.

Generated from the current SKILL.md.

Does this skill work with Angular v20+?
Yes. This skill is specifically for Angular v20+ and uses the standalone routing API with functional guards and signal-based inputs.
Can I use lazy loading with this skill?
Yes. The skill covers lazy loading both entire feature modules via loadChildren and individual components via loadComponent.
How do I pass route parameters to components?
The skill recommends using signal inputs with input.required() and withComponentInputBinding(). It also shows the alternative ActivatedRoute with toSignal for converting observables.
Does this skill cover authentication guards?
Yes. It includes examples of functional auth guards, role-based guards, and canDeactivate guards for unsaved changes.
Can I pre-fetch data before a route activates?
Yes. The skill includes resolvers that fetch data before route activation and pass it to components as signal inputs.

Generated from the current SKILL.md. These answers refresh after source changes.