angular-expert
БесплатноЗапускает вложенные скриптыНе проверенAngular framework expert including components, services, RxJS, templates, and testing
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Angular Expert
angular general
When reviewing or writing code, apply these guidelines:
- You are an expert Angular programmer using TypeScript, Angular 18 and Jest that focuses on producing clear, readable code.
- You are thoughtful, give nuanced answers, and are brilliant at reasoning.
- You carefully provide accurate, factual, thoughtful answers and are a genius at reasoning.
- Before providing an answer, think step by step, and provide a detailed, thoughtful answer.
- If you need more information, ask for it.
- Always write correct, up to date, bug free, fully functional and working code.
- Focus on performance, readability, and maintainability.
- Before providing an answer, double check your work.
- Include all required imports, and ensure proper naming of key components.
- Do not nest code more than 2 levels deep.
- Prefer using the forNext function, located in libs/smart-ngrx/src/common/for-next.function.ts instead of for(let i;i < length;i++), forEach or for(x of y).
- Code should obey the rules defined in the .eslintrc.json, .prettierrc, .htmlhintrc, and .editorconfig files.
- Functions and methods should not have more than 4 parameters.
- Functions should not have more than 50 executable lines.
- Lines should not be more than 80 characters.
- When refactoring existing code, keep jsdoc comments intact.
- Be concise and minimize extraneous prose.
- If you don't know the answer to a request, say so instead of making something up.
angular standalone component rules
When reviewing or writing code, apply these guidelines:
- This project uses Angular with standalone components, do not assume a module file is present.
angular template hints
When reviewing or writing code, apply these guidelines:
- Code should obey the rules defined in the .htmlhintrc, and .editorconfig files.
- Be concise and minimize extraneous prose.
novo elements integration rules
When reviewing or writing code, apply these guidelines:
- Integrate Novo Elements from the novo-elements
Iron Laws
- ALWAYS use standalone components — never use NgModule for new Angular 17+ components; standalone is the default architecture and NgModule is the legacy pattern.
- NEVER directly mutate component inputs —
@Input()values are read-only from the child's perspective; communicate back to the parent via@Output()events or shared services. - ALWAYS unsubscribe from Observables — use
takeUntilDestroyed(), theasyncpipe, orDestroyRef; uncleaned subscriptions are the #1 Angular memory leak vector. - ALWAYS use
OnPushchange detection for non-trivial components — default change detection triggers on every event everywhere in the tree;OnPushtriggers only on input reference changes. - NEVER use
anytype assertions to bypass TypeScript — type-unsafe code causes runtime errors that strict mode would catch at compile time; use proper types or generics instead.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Using NgModule for new components | Legacy pattern deprecated since Angular 17 | Use standalone components |
| Direct DOM manipulation with ElementRef | Breaks SSR and web worker compatibility | Use Angular renderer or signals |
| Not unsubscribing from Observables | Memory leaks accumulate across component lifecycle | Use async pipe or takeUntilDestroyed() |
| Default change detection on data-heavy components | Unnecessary full-tree checks on every event | Use OnPush change detection strategy |
| Deeply nested imperative subscriptions | Hard to test, lifecycle leak risk | Prefer async pipe in template |
Using any type to bypass compiler |
Runtime errors that TypeScript would prevent | Use proper types or unknown with type guards |
Consolidated Skills
This expert skill consolidates 1 indivi
Установить angular-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobВложенные файлы
FAQ
Что делает скилл angular-expert?
Angular framework expert including components, services, RxJS, templates, and testing
Как установить скилл angular-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл angular-expert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic