Angular Style Guide
Naming conventions, file structure, and coding standards for Angular projects. Use for Angular-specific naming and organization; defer language-only TypeScript naming questions.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install multi-language-standards-angular-style-guideManual setup by platform
Claude Code
~/.claude/skills/multi-language-standards-angular-style-guide/SKILL.md
Instructions
Angular Style Guide
Priority: P0 (CRITICAL)
Principles
- Single Responsibility: 1 component/service per file. Functions < 75 lines.
- Size Limits: Files < 400 lines. Refactor if larger.
- Strict Naming: kebab-case with type suffix (e.g., hero-list.component.ts, auth.service.ts, user.pipe.ts, app.routes.ts).
- Barrels:
index.tsfor public APIs only. No deep barrel imports within same feature — import directly. Wrong barrel placement breaks tree-shaking. - LIFT: Locate code quickly, Identify files by name, keep Flattest structure possible, Try to be DRY.
Naming Standards
- Files:
kebab-case.type.ts - Classes: PascalCase + type suffix (HeroListComponent, AuthService)
- Directives: camelCase selector with app prefix (e.g.,
appHighlight) - Pipes: camelCase name (e.g.,
truncate) - Services: PascalCase + Service suffix (
HeroService) - Interfaces: No — do not use
IUser/IHero. Name as nouns:User,Hero. The I-prefix is not recommended by Angular style guide.
Folder Structure
- Core:
src/app/core/(singletons and global state). - Shared:
src/app/shared/(reusable UI and pipes). - Features:
src/app/features/(lazy-loaded). Folder depth ≤ 3 levels — no deeper nesting.
Anti-Patterns
- No logic in templates: Move to component class or
computed()signal. - No deep nesting: Keep folder depth ≤3 levels.
- No I-prefix on interfaces: Name interfaces
User, notIUser.
References
- Naming Conventions
Security
Reviews (0)
Related skills
Browse all →More from Multi-Language Standards
View source →More Build skills
Browse category →Frequently asked questions about angular-style-guide
What does the angular-style-guide skill do?
Naming conventions, file structure, and coding standards for Angular projects. Use for Angular-specific naming and organization; defer language-only TypeScript naming questions. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the angular-style-guide skill?
Run `npx @skills-hub-ai/cli install multi-language-standards-angular-style-guide` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/multi-language-standards-angular-style-guide/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does angular-style-guide work with?
angular-style-guide runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the angular-style-guide skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use angular-style-guide after installing it?
In Claude Code, type `/multi-language-standards-angular-style-guide` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the angular-style-guide skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.