Example schematics created for the purpose of this article https://indepth.dev/posts/1438/extend-angular-schematics-to-customize-your-development-process
First things first, you will need to build schematics:
npm install
npm run build
To add the schematics project as dependency for your Angular project run:
npm install --save-dev ../path/to/subscription-component
Then to add it as a default collection, run:
ng add subscription-component-schematics