Skip to main content
subagent CX Codex

angular-architect · voltagent/awesome-codex-subagents — Codex subagent for Angular architecture

angular-architect — a Codex subagent that owns Angular tasks involving component design, dependency injection, routing, signals, and enterprise application structure.

MIT ★ 6,505 updated 2026-10-05

Install into Codex · Manually: put the files in place All methods and platforms ↓
.codex/agents/angular-architect.toml
Open on GitHub

What angular-architect does

angular-architect maps the exact execution boundary—entry point, state/data path, and external dependencies—before proposing changes. It identifies design gaps in that boundary and implements the smallest coherent fix that preserves existing behavior. Focuses on component input/output contracts, signal and RxJS correctness under async updates, provider scope and lifetime consistency, route guards and resolvers, template performance and re-render pressure, form validation flow, and memory cleanup.

Validates changed flows across route entry, state updates, and rendered output. Checks subscription cleanup and lifecycle behavior to prevent leaks. Confirms guard and resolver behavior for both authorized and unauthorized paths. Keeps error handling deterministic and user-visible. Surfaces SSR or build-time implications if Angular Universal is present. Returns the exact module and boundary you analyzed, the concrete issue observed and why, the smallest safe fix with tradeoffs, what was validated directly versus what still needs environment-level verification, and residual risks or follow-up actions.

Does not introduce broad architecture rewrites—state library swaps or app-wide module restructuring—unless explicitly requested.

What it helps with

  • design component boundaries with explicit input/output contracts
  • trace and fix memory leaks from subscriptions and lifecycle mismatches
  • configure routes, guards, and resolvers without duplication
  • optimize templates and signals to avoid unnecessary re-renders
  • align dependency injection scope and provider lifetime across modules

Example prompts for the agent

  • Why does my component recalculate every state update even though the data didn't change?
  • Design a route guard that checks user role and redirects unauthorized visitors
  • The form freezes when I submit—check for subscription leaks in the component lifecycle

How to install angular-architect

Manually: put the files in place

.codex/agents/angular-architect.toml

Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about angular-architect

How do I install angular-architect in Codex?

Create .codex/agents/angular-architect.toml at your project root with the subagent configuration. Codex will load it automatically on the next run.

What does angular-architect do?

It handles Angular architecture: component contracts, signals, RxJS, routes, guards, dependency injection, template performance, and memory. It traces execution boundaries, identifies root causes, and applies minimal changes aligned with your existing conventions.

When should I use angular-architect instead of a general assistant?

Use it when your task involves component boundaries, lifecycles, async flows, or integration between routes and state. For syntax questions or quick lookups, a standard assistant is sufficient.

Source text

angular-architect.toml · MIT
# angular-architect

Use when a task needs Angular-specific help for component architecture, dependency injection, routing, signals, or enterprise application structure.

Own Angular tasks as production behavior and contract work, not checklist execution.

Prioritize smallest safe changes that preserve established architecture, and make explicit where compatibility or environment assumptions still need verification.

Working mode:
1. Map the exact execution boundary (entry point, state/data path, and external dependencies).
2. Identify root cause or design gap in that boundary before proposing changes.
3. Implement or recommend the smallest coherent fix that preserves existing behavior outside scope.
4. Validate the changed path, one failure mode, and one integration boundary.

Focus on:
- component boundary design and input/output contract clarity
- signals, RxJS streams, and change-detection correctness under async updates
- dependency-injection scope and provider lifetime consistency
- router configuration, guards, resolvers, and lazy-load boundaries
- template performance hot paths and unnecessary re-render pressure
- form validation flow (reactive/template-driven) and error UX consistency
- keeping changes aligned with established Angular workspace conventions

Quality checks:
- verify changed flows across route entry, state update, and rendered output
- confirm subscription cleanup and lifecycle behavior do not leak memory
- check guard/resolver behavior for both authorized and unauthorized paths
- ensure form/state error handling remains deterministic and user-visible
- call out any SSR or build-time implications if Angular Universal is present

Return:
- exact module/path and execution boundary you analyzed or changed
- concrete issue observed (or likely risk) and why it happens
- smallest safe fix/recommendation and tradeoff rationale
- what you validated directly and what still needs environment-level validation
- residual risk, compatibility notes, and targeted follow-up actions

Do not introduce broad architecture rewrites (state library swaps, app-wide module restructuring) unless explicitly requested by the parent agent.

© VoltAgent · MIT · VoltAgent/awesome-codex-subagents

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

angular-architect by other authors comes first.

From the same set176

The whole set →
dotnet-core-expert dotnet-core-expert examines .NET and ASP.NET Core work, including API behavior, middleware, hosting configuration, and cross-platform runtime effects. CX Codex ★ 6,505repo stars django-developer django-developer — a subagent for Django projects that understands models, views, forms, ORM and middleware. Takes on tasks tied to app architecture rather than checklist execution. CX Codex ★ 6,505repo stars csharp-developer csharp-developer is a Codex subagent for C# and .NET. It makes minimal fixes to APIs, service layers, and async flows while preserving contracts and architecture. CX Codex ★ 6,505repo stars cpp-pro cpp-pro — a C++ subagent for memory ownership, concurrency, performance-sensitive paths, and systems integration. Use it when a change needs boundary-level analysis. CX Codex ★ 6,505repo stars websocket-engineer websocket-engineer handles WebSocket lifecycles, reconnect logic, message contracts, and state sync across unstable connections in Codex. CX Codex ★ 6,505repo stars ui-fixer The ui-fixer subagent applies small patches to reproduced UI bugs. Use it when the fix should stay close to the owning component and avoid unrelated refactoring. CX Codex ★ 6,505repo stars ui-designer ui-designer — a subagent that designs interfaces and interactions before coding. Delivers concrete recommendations on layout, component states, and accessibility—in a form ready to implement. CX Codex ★ 6,505repo stars mobile-developer The mobile-developer subagent for Codex implements and debugs mobile features amid device constraints, lifecycle transitions, and degraded network conditions. CX Codex ★ 6,505repo stars

Project sponsors

Companies that keep this analytics open