Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMar 29, 2026·1 min de lectura

Gemini CLI Extension: Angular — Web App Development

Gemini CLI extension for Angular. Component generation, routing, services, reactive forms, and testing patterns.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 17/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
CLI Tool
Instalación
Stage only
Confianza
Confianza: Community
Entrada
Gemini CLI Extension: Angular
Comando de staging seguro
npx -y tokrepo@latest install 0782cb9b-89c8-4ead-83a4-4ea4fb4dea48 --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

TL;DR
A Gemini CLI extension for Angular: generate components, routing, services, forms, and test patterns.
§01

What it is

This Gemini CLI extension adds Angular-specific development capabilities to the Gemini command-line interface. It generates components, configures routing, creates services, builds reactive forms, and scaffolds testing patterns.

The extension targets Angular developers who want AI-assisted code generation integrated into their terminal workflow. It understands Angular's module system, dependency injection, and template syntax.

The project is actively maintained and suitable for both individual developers and teams looking to integrate it into their existing toolchain. Documentation and community support are available for onboarding.

§02

How it saves time or tokens

Instead of manually creating component files (TypeScript, HTML, CSS, spec), the extension generates complete Angular artifacts with proper module declarations and routing configuration. It understands Angular conventions, so generated code follows the official style guide without manual corrections.

For teams evaluating multiple tools in the same category, the clear documentation and active community reduce the time spent on research and troubleshooting. Getting started takes minutes rather than hours of configuration.

§03

How to use

  1. Install the Gemini CLI and the Angular extension.
  2. Navigate to your Angular project directory.
  3. Use commands like gemini angular component UserProfile to generate components.
  4. The extension creates all required files and updates module declarations automatically.
§04

Example

# Install the Angular extension
gemini extensions install angular-dev

# Generate a standalone component with routing
gemini angular component ProductList --standalone --route products

# Create a reactive form service
gemini angular service CheckoutForm --type reactive-form

# Generate a guard with canActivate
gemini angular guard AuthGuard --implements canActivate

# Scaffold unit tests for a component
gemini angular test ProductList --framework jasmine
§05

Related on TokRepo

§06

Common pitfalls

  • Generating components without specifying standalone mode in Angular 17+ projects. The extension defaults to module-based components unless you pass --standalone.
  • Not reviewing generated test files. AI-generated tests may miss edge cases specific to your business logic. Always add custom assertions.
  • Running the extension outside an Angular project directory. It needs angular.json to detect project structure and configure imports correctly.
  • Applying the skill without reading the documentation first. Each skill has specific prerequisites and configuration requirements that affect the quality of results.
  • Not pinning dependency versions in production. Floating versions can introduce breaking changes. Lock your dependency versions and test upgrades in staging first.

Preguntas frecuentes

Does this extension work with Angular 17+?+

Yes. The extension supports both module-based and standalone component architectures. Use the `--standalone` flag for Angular 17+ projects that use the standalone component model.

Can it generate lazy-loaded routes?+

Yes. When generating a component with routing, the extension creates lazy-loaded route configurations using the loadComponent or loadChildren pattern based on your project structure.

Does it support Angular Material?+

The extension generates components that can use Angular Material. Specify `--material` to include Material module imports and template patterns in generated components.

What testing framework does it use?+

The extension generates tests for both Jasmine (Angular's default) and Jest. Specify the framework with the `--framework` flag. Generated tests include component rendering, dependency injection mocking, and event testing.

Does the extension modify my existing code?+

The extension creates new files and updates module declarations (imports, routing). It does not modify existing component logic. Review generated routing and module changes before committing.

Referencias (3)
🙏

Fuente y agradecimientos

Created by Google. Licensed under Apache 2.0. gemini-cli-extensions/angular Part of Gemini CLI — ⭐ 99,400+

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados