This enforces a straightforward architectural rule for Angular projects: components go in their feature folder if only that feature uses them, and they move to a shared folder once a second feature needs them. It's the kind of simple heuristic that prevents bikeshedding about folder structure on teams. The repo has 538 stars and 216 installs, so it's seeing real use. Worth grabbing if you're tired of debating where components should live or if your shared folder has become a dumping ground. The rule is opinionated enough to be useful but flexible enough that you won't fight it.

skills.sh installs
322
GitHub stars
665
last updated
Aug 21, 2026

Install

$ npx -y skills add gentleman-programming/gentleman-skills --skill angular-architecture --agent claude-code

Installs into .claude/skills of the current project.

Files

The Scope Rule (REQUIRED)

"Scope determines structure" - Where a component lives depends on its usage.

UsagePlacement
Used by 1 featurefeatures/[feature]/components/
Used by 2+ featuresfeatures/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

Sponsors

Details

Repository
github.com/gentleman-programming/gentleman-skills
Categories
Frontend Development, Documentation, Code Review & Quality
First seen
Jun 3, 2026

More from gentleman-programming/gentleman-skills

All 13
1vudovn avatarfrontend-designvudovn/antigravity-kitfrontend design320skills.sh installs
2hairyf avatarreact-native-expohairyf/skillsBuild and maintain React Native apps with Expo SDK, EAS Build, EAS Update, and Continuous Native Generation. Use when configuring Expo projects, adding native m316skills.sh installs
3alfredoperez avatarangular-best-practices-rule-creatoralfredoperez/angular-best-practicesangular best practices rule creator312skills.sh installs
4secondsky avatarnuxt-studiosecondsky/claude-skillsThis skill should be used when the user asks to "set up Nuxt Studio", "configure Studio OAuth", "deploy Studio to Cloudflare", "add visual editor to Nuxt", "con308skills.sh installs
5pproenca avatarios-ui-refactorpproenca/dot-skillsPrincipal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles. Use 291skills.sh installs
6aradotso avatarhuashu-design-html-nativearadotso/trending-skillshuashu design html native290skills.sh installs