Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

spartan

Skill by Lessify

Guides an AI assistant through adding, composing, fixing and styling spartan/ui components in Angular projects. It is for developers who use the Brain and Helm layers of the Angular UI library.

  • Score 79
  • 75 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install spartan

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Lessify/localess /tmp/localess && mkdir -p ~/.claude/skills && cp -r /tmp/localess/.claude/skills/spartan ~/.claude/skills/spartan

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install spartan in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an assistant working knowledge of spartan/ui, an Angular UI library. The library has two layers. Brain, from the @spartan-ng/brain npm package, provides accessible unstyled primitives. Helm, from @spartan-ng/helm, provides the styled layer, and the CLI copies Helm code into the user's project so they can customize it.

The skill tells the assistant to read project context first, check which components are already installed, and use the spartan CLI generators with Nx or Angular CLI runners. It also includes rules for styling, forms, composition, icons and healthchecks. It is aimed at Angular developers who build or maintain interfaces with spartan/ui.

Written from the project's SKILL.md and checked against it.

What it can do

  • Project contextRuns the info generator to read workspace type, config, versions and installed components.
  • Add componentsUses the ui generator to install Brain and copy Helm components into the project.
  • Composition rulesGuides how to combine Helm and Brain pieces for dialogs, cards, tabs and forms.
  • Styling rulesPrefers semantic color tokens, the hlm() util and built-in variant and size inputs.
  • Form patternsShows how to build forms with hlmField, hlmFieldSet and hlm-toggle-group.
  • Icon registrationExplains using ng-icon elements and registering them with provideIcons.
  • HealthcheckRuns the healthcheck generator to find deprecated APIs and fix imports after upgrades.
  • Theme generationUses the ui-theme generator to create theme CSS variables.
  • spartan_components_listMCP tool for listing spartan/ui components during discovery.
  • spartan_components_getMCP tool for fetching the API and docs of a spartan/ui component.

What you need

  • An Angular project in an Nx or Angular CLI workspace
  • The @spartan-ng/cli generators available through npx or ng

Try asking

  • Add a spartan/ui dialog and a form with validation to my Angular app
  • Check my spartan/ui project for deprecated APIs and fix the imports
  • Style this spartan button group using semantic theme colors instead of raw values

Good to know

  • Marked as not user-invocable, so it works as background guidance for the assistant
  • Helm components are copied into the project, so later library updates do not change them automatically
  • Targets Angular projects only

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/spartan/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(npx nx g @spartan-ng/cli:*)Bash(pnpm nx g @spartan-ng/cli:*)Bash(ng g @spartan-ng/cli:*)

Alternatives to spartan

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

spartan: common questions

What is the difference between Brain and Helm in spartan/ui?

Brain is the accessible, unstyled primitive layer installed from npm. Helm is the styled layer built with Tailwind and class-variance-authority, and its code is copied into the user's project.

Does the skill add components on its own?

It guides the assistant to check installed components first, then use the spartan CLI ui generator to add what is missing. The source does not say it adds components without a command being run.

Which project types does it support?

The source describes Nx workspaces with nx.json and Angular CLI workspaces with angular.json. It also applies to any Angular project with a components.json file.

How do I install spartan?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is spartan free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is spartan safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to spartan?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

spartan Install

Add to stack

Loading.