Angular Architecture
Opinionated Angular project layout that places components by usage scope and drops file-type suffixes.
- CCM score
- 63 of 100
- skills.sh installs
- 326
- GitHub stars
- 681
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the Scope Rule, folder structure for features, shared, and core, and file naming conventions
- Includes a component class template ordering injections, inputs and outputs, state, computed values, and methods
- Enforces
inject(),readonlyinputs and outputs,class/stylebindings overngClass/ngStyle, and action-named handlers - Provides
ng gcommands for generating components, services, and guards in feature and core folders
Install
$ npx -y skills add gentleman-programming/gentleman-skills --skill angular-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
The Scope Rule (REQUIRED)
"Scope determines structure" - Where a component lives depends on its usage.
| Usage | Placement |
|---|---|
| Used by 1 feature | features/[feature]/components/ |
| Used by 2+ features | features/shared/components/ |
Example
features/
shopping-cart/
shopping-cart.ts # Main component = feature name
components/
cart-item.ts # Used ONLY by shopping-cart
cart-summary.ts # Used ONLY by shopping-cart
checkout/
checkout.ts
components/
payment-form.ts # Used ONLY by checkout
shared/
components/
button.ts # Used by shopping-cart AND checkout
modal.ts # Used by multiple features
Project Structure
Details
- Repository
- github.com/gentleman-programming/gentleman-skills
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the angular-architecture skill do?
The angular-architecture skill guides an agent on structuring Angular projects, covering the Scope Rule, project folder layout, file naming and a style guide. It tells the agent where a component should live depending on how many features use it.
Where does angular-architecture put a component used by two features?
The angular-architecture skill places a component used by two or more features in features/shared/components/. A component used by only one feature goes in that feature's components folder instead.
How do I install the angular-architecture skill?
Run npx -y skills add gentleman-programming/gentleman-skills --skill angular-architecture -y in your project. The angular-architecture skill then gives the agent its Angular structure and file naming rules.
Does angular-architecture require .component or .service suffixes on file names?
No, the angular-architecture skill drops .component, .service and .model suffixes, so a file is named user-profile.ts rather than user-profile.component.ts. Its folder already tells the reader what the file is.
More from gentleman-programming/gentleman-skills
All 13Similar to Angular Architecture
More Frontend & UI Codeangularmindrally/skills873 installsOpinionated Angular and TypeScript coding standards covering signals, lazy loading, performance, and security for scalable apps.
nestjs-best-practiceskadajett/agent-nestjs-skills32.5K installsNestJS guidance of 40 prioritized rules covering architecture, dependency injection, security, and performance for production apps.
angular-developerangular/skills51.5K installsAngular development guidance covering components, signals, forms, DI, routing, SSR, testing, and CLI workflows, with version-aware defaults.
angular-coregentleman-programming/gentleman-skills234 installsFunction-based Angular core patterns: signals, inject, native control flow, and zoneless change detection.
angular-developmentmindrally/skills749 installsAngular and TypeScript coding guidance for scalable, performant web apps with signals, strict typing, and security defaults.
architecture-blueprint-generatorgithub/awesome-copilot12.4K installsGenerates a comprehensive architecture blueprint document by analyzing a codebase's stack, patterns, and conventions.