> angular-style-guide
Naming conventions, file structure, and coding standards for Angular projects. Use when naming Angular files, organizing project structure, or following Angular style guide. (triggers: angular style, naming convention, file structure, angular-style-guide)
curl "https://skillshub.wtf/HoangNguyen0403/agent-skills-standard/angular-style-guide?format=md"Angular Style Guide
Priority: P0 (CRITICAL)
Principles
- Single Responsibility: One component/service per file. Small functions (< 75 lines).
- Size Limits: Keep files under 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: Use index.ts only for public APIs of specific features/libraries. Avoid deep barrel imports within the same feature — import directly. Incorrect barrel placement prevents tree-shaking.
- LIFT: Locate code quickly, Identify files by name, keep the 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
IUserorIHero. Name interfaces as nouns (e.g.,User,Hero). This 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 features). Keep folder depth ≤3 levels.
Anti-Patterns
- No logic in templates: Move to the component class or a
computed()signal. - No deep nesting: Keep folder depth ≤3 levels.
- No I-prefix on interfaces: Name interfaces
User, notIUser.
References
> related_skills --same-repo
> common-store-changelog
Generate user-facing release notes for the Apple App Store and Google Play Store by collecting git history, triaging user-impacting changes, and drafting store-compliant changelogs. Enforces character limits (App Store ≤4000, Google Play ≤500), tone, and bullet format. Use when generating release notes, app store changelog, play store release, what's new, or version release notes for any mobile app. (triggers: generate changelog, app store notes, play store release, what's new, release notes, ve
> golang-tooling
Go developer toolchain — gopls LSP diagnostics, linting, formatting, and vet. Use when setting up Go tooling, running linters, or integrating gopls with Claude Code. (triggers: gopls, golangci-lint, golangci.yml, go vet, goimports, staticcheck, go tooling, go lint)
> common-ui-design
Design distinctive, production-grade frontend UI with bold aesthetic choices. Use when building web components, pages, interfaces, dashboards, or applications in any framework (React, Next.js, Angular, Vue, HTML/CSS). (triggers: build a page, create a component, design a dashboard, landing page, UI for, build a layout, make it look good, improve the design, build UI, create interface, design screen)
> common-owasp
OWASP Top 10 audit checklist for Web Applications (2021) and APIs (2023). Load during any security review, PR review, or codebase audit touching web, mobile backend, or API code. (triggers: security review, OWASP, broken access control, IDOR, BOLA, injection, broken auth, API review, authorization, access control)