angular-best-practices-spartan

star 34

Spartan UI (shadcn for Angular) best practices. Covers Brain/Helm architecture, Tailwind integration, and accessible headless components. Activates when working with @spartan-ng/brain and @spartan-ng/ui. Do not use for Angular Material, PrimeNG, or other component libraries. Install alongside angular-best-practices for full coverage.

alfredoperez By alfredoperez schedule Updated 3/1/2026

name: angular-best-practices-spartan description: >- Spartan UI (shadcn for Angular) best practices. Covers Brain/Helm architecture, Tailwind integration, and accessible headless components. Activates when working with @spartan-ng/brain and @spartan-ng/ui. Do not use for Angular Material, PrimeNG, or other component libraries. Install alongside angular-best-practices for full coverage. license: MIT metadata: author: alfredoperez version: "1.2.0" tags: [angular, spartan, headless-ui, tailwind] globs: - "/*.ts" - "/.component.ts" - "**/.html"

Angular Spartan UI Best Practices

Spartan UI rules for headless components with Brain (behavior) and Helm (styling). Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Adding Spartan Brain directives for accessible behavior
  • Styling components with Helm and Tailwind CSS
  • Building dialogs, tabs, menus, or accordions with Spartan primitives

Rules

Rule Impact Description
Configure Tailwind with Spartan Helm MEDIUM Consistent utility-first styling via hlm directives
Use Spartan Brain for Accessible Behavior MEDIUM WCAG-compliant ARIA, keyboard nav, and focus management
Use Spartan UI Headless Components MEDIUM Full styling control with built-in accessibility

Install

Install from skills.sh/alfredoperez/angular-best-practices:

Install via CLI
npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-spartan
Repository Details
star Stars 34
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator
alfredoperez
alfredoperez Explore all skills →