@oguzhan18/angular-schematics
ALWAYS use when working with Angular Schematics, custom generators, code generation, or building CLI tools in Angular.
No skills found in this collection.
SKILL.md
| name | angular-schematics |
| description | ALWAYS use when working with Angular Schematics, custom generators, code generation, or building CLI tools in Angular. |
Angular Schematics
Version: Angular 21 (2025) Tags: Schematics, Generators, CLI, Code Generation
References: Schematics Guide • @schematics/angular
Best Practices
- Create schematic
npm install -g @angular-devkit/schematics-cli
schematics schematics .:my-schematic
- Create rule
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
export function myScheme(options: any): Rule {
return (tree: Tree, context: SchematicContext) => {
tree.create(options.path + '/file.ts', 'content');
return tree;
};
}
- Use templates
import { apply, url, template } from '@angular-devkit/schematics';
export function myScheme(options: any): Rule {
const templateSource = apply(url('./files'), [
template({ ...options }),
move(options.path)
]);
return chain([mergeWith(templateSource)]);
}
Loading...
Select a file to preview
Analyzing security...
Checking scan reports and verification data.
Bill of Materials
Everything this skill can do — files, network, commands, and more.
No demos yet. To add one, ask your AI agent: "Submit a demo for @oguzhan18/angular-schematics" — or upload via the API.
To add a demo, ask your AI agent: "Submit a demo for @oguzhan18/angular-schematics"
No eval data yet. Eval results are published via the SkillSafe API.