mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
docs: fix and shorten skill descriptions
- Add missing frontmatter to html-template skill (name and description fields) - Shorten 7 verbose skill descriptions from 300+ to ~150-180 characters - Improve readability while preserving essential information Skills updated: - angular-template (363 → 174 chars) - circular-dependency-resolver (326 → 173 chars) - architecture-enforcer (319 → 178 chars) - api-change-analyzer (319 → 178 chars) - swagger-sync-manager (318 → 159 chars) - library-scaffolder (314 → 146 chars) - test-migration-specialist (308 → 162 chars) - html-template (fixed missing frontmatter)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: angular-template
|
||||
description: This skill should be used when writing or reviewing Angular component templates. It provides guidance on modern Angular 20+ template syntax including control flow (@if, @for, @switch, @defer), content projection (ng-content), template references (ng-template, ng-container), variable declarations (@let), and expression binding. Use when creating components, refactoring to modern syntax, implementing lazy loading, or reviewing template best practices.
|
||||
description: Guide for writing Angular component templates with modern syntax (control flow, content projection, template references, lazy loading). Use when creating or reviewing Angular templates.
|
||||
---
|
||||
|
||||
# Angular Template
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: api-change-analyzer
|
||||
description: This skill should be used when analyzing Swagger/OpenAPI specification changes BEFORE regenerating API clients. It compares old vs new specs, categorizes changes as breaking/compatible/warnings, finds affected code, and generates migration strategies. Use this skill when the user wants to check API changes safely before sync, mentions "check breaking changes", or needs impact assessment.
|
||||
description: Analyze Swagger/OpenAPI spec changes before regenerating API clients. Categorizes breaking/compatible changes and finds affected code. Use for impact assessment or checking breaking changes.
|
||||
---
|
||||
|
||||
# API Change Analyzer
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: architecture-enforcer
|
||||
description: This skill should be used when validating import boundaries and architectural rules in the ISA-Frontend monorepo. It checks for circular dependencies, layer violations (Feature→Feature), domain violations (OMS→Remission), and relative imports. Use this skill when the user wants to check architecture, mentions "validate boundaries", "check imports", or needs dependency analysis.
|
||||
description: Validate import boundaries and architectural rules (layer violations, domain violations, relative imports). Use when checking architecture, validating boundaries, or analyzing dependencies.
|
||||
---
|
||||
|
||||
# Architecture Enforcer
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: circular-dependency-resolver
|
||||
description: This skill should be used when detecting and resolving circular dependencies in the ISA-Frontend monorepo. It uses graph algorithms to find A→B→C→A cycles, categorizes by severity, provides multiple fix strategies (DI, interface extraction, shared code), and validates fixes. Use this skill when the user mentions "circular dependencies", "dependency cycles", or has build/runtime issues from circular imports.
|
||||
description: Detect and resolve circular dependencies in the monorepo. Use when the user mentions circular dependencies, dependency cycles, or has build/runtime issues from circular imports.
|
||||
---
|
||||
|
||||
# Circular Dependency Resolver
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
---
|
||||
name: html-template
|
||||
description: This skill should be used when writing or reviewing HTML templates to ensure proper testing and accessibility attributes are included.
|
||||
---
|
||||
|
||||
# HTML Template - Testing & Accessibility Attributes
|
||||
|
||||
This skill should be used when writing or reviewing HTML templates to ensure proper testing and accessibility attributes are included.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: library-scaffolder
|
||||
description: This skill should be used when creating new Angular libraries in the ISA-Frontend monorepo. It handles Nx library generation with proper naming conventions, Vitest configuration with JUnit/Cobertura reporters, path alias setup, and validation. Use this skill when the user wants to create a new library, scaffold a feature/data-access/ui/util library, or requests "new library" creation.
|
||||
description: Create new Angular libraries in the monorepo with Nx generation, Vitest configuration, and path alias setup. Use when creating or scaffolding new libraries.
|
||||
---
|
||||
|
||||
# Library Scaffolder
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: swagger-sync-manager
|
||||
description: This skill should be used when regenerating Swagger/OpenAPI TypeScript API clients in the ISA-Frontend monorepo. It handles generation of all 10 API clients (or specific ones), Unicode cleanup, breaking change detection, TypeScript validation, and affected test execution. Use this skill when the user requests API sync, mentions "regenerate swagger", or indicates backend API changes.
|
||||
description: Regenerate Swagger/OpenAPI TypeScript API clients with Unicode cleanup, breaking change detection, and validation. Use when regenerating API clients or backend APIs change.
|
||||
---
|
||||
|
||||
# Swagger Sync Manager
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: test-migration-specialist
|
||||
description: This skill should be used when migrating Angular libraries from Jest + Spectator to Vitest + Angular Testing Utilities. It handles test configuration updates, test file refactoring, mock pattern conversion, and validation. Use this skill when the user requests test framework migration, specifically for the 40 remaining Jest-based libraries in the ISA-Frontend monorepo.
|
||||
description: Migrate Angular libraries from Jest + Spectator to Vitest + Angular Testing Utilities. Handles test configuration, refactoring, and validation. Use for test framework migration.
|
||||
---
|
||||
|
||||
# Test Migration Specialist
|
||||
|
||||
Reference in New Issue
Block a user