Angular Feature Generator — Custom CLI Schematic (ng generate feature)
TAGLINE:
Stop copy-pasting boilerplate. Generate a complete, production-ready Angular feature with one command.
DESCRIPTION:
Most Angular "starter kits" give you static files to copy and rename by hand. This is different — it's an actual Angular CLI schematic that plugs into `ng generate`, so you get a perfectly structured feature every single time, with zero manual work.
ng generate feature users
That one command scaffolds a complete, working feature: components, service, signal-based state store, models, and lazy-loaded routes — all wired together and ready to run.
What's included:
✅ A real, installable Angular CLI schematic (not just template files)
✅ Generates components, service, signal-based store, models, and routes in one command
✅ Built for the latest Angular — standalone components, signals, no NgModules
✅ Zero NgRx boilerplate — clean signal-based state out of the box
✅ CLI flags: --path, --skip-tests, --routing for full control over output
✅ Built-in validation — clear errors for invalid names or duplicate features
✅ 9 automated tests included, so you can verify it works before relying on it
✅ Full README with install, usage, and wiring instructions
Why this matters:
Boilerplate files go stale the moment your team stops following the pattern by hand. A schematic makes the correct structure the path of least resistance — every developer, every feature, identical structure, no drift.
Who it's for:
✅ Teams who want every new feature to follow the same architecture automatically
✅ Leads standardizing structure across a growing Angular codebase
✅ Anyone who's used the Angular Enterprise Architecture Kit and wants it automated
✅ Developers tired of manually renaming files every time they add a feature
Installation takes under 2 minutes — unzip, npm install, npm link into your project, and start generating.