angular-ui-patterns
Skill by benjaminasterA
Angular UI Patterns gives an assistant guidance on loading states, error handling, empty states and data display in Angular components. It is aimed at developers building UI components, handling async data and managing component states.
Install angular-ui-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-awesome-skills/skills/angular-ui-patterns ~/.claude/skills/angular-ui-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-awesome-skills/skills/angular-ui-patterns ~/.gemini/antigravity-cli/skills/angular-ui-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install angular-ui-patterns in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The skill sets out core principles for Angular interfaces. It says to show loading indicators only when there is no data, always surface errors, disable triggers during async operations, and use @defer for progressive loading. It includes code examples for @if, @for with track and @empty, and @defer with placeholder, loading and error blocks. It also covers error and empty state components, forms with loading and validation, and a confirmation dialog pattern.
It lists anti-patterns, such as swallowing errors or showing a spinner when data already exists. It ends with a checklist to review before finishing a UI component. The skill names angular-state-management, angular and testing-patterns as related skills. It is written for Angular developers who want consistent handling of UI states.
Written from the project's SKILL.md and checked against it.
What it can do
- Loading state patternsShows loading indicators only when no data exists, with a decision tree and skeleton versus spinner guidance.
- Control flow patternsCovers @if and @else, @for with track and @empty, and @defer with placeholder, loading and error blocks.
- Error handling hierarchyDefines inline, toast, banner and full-screen error levels, and requires errors to be shown to users.
- Error state componentProvides an error state component with a title, message and optional retry output.
- Empty state componentProvides an empty state component with an icon, title, description and optional action.
- Button state patternsShows how to disable buttons and display a loading indicator during async operations.
- Form with validationShows a reactive form with loading state, field error messages and submit handling.
- Confirmation dialogShows a dialog service pattern that returns a confirmed or cancelled result before a delete.
- UI state checklistLists checks for UI states, data mutations and accessibility to run before completing a component.
What you need
- Angular project (examples use standalone components, signals and @defer)
Try asking
- Add a loading skeleton to my item list that only shows when there is no data yet.
- Review this Angular save button and disable it while the request is running.
- Create an error state and empty state component for my orders list.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/angular-ui-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md2 KB -
SKILL.md11 KB -
metadata.json632 B
Alternatives to angular-ui-patterns
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
angular-ui-patterns: common questions
When should a loading indicator be shown in Angular?
The skill says to show a loading indicator only when there is no data to display. Showing a spinner when data already exists can cause a flash on refetch.
Which Angular features does this skill use?
The examples use signals with input and output, the @if, @for and @defer control flow blocks, standalone components and reactive forms.
Which related skills does it reference?
It names angular-state-management for signal stores, angular for modern patterns such as Signals and @defer, and testing-patterns for testing UI states.
How do I install angular-ui-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is angular-ui-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is angular-ui-patterns safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. 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 angular-ui-patterns?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
