Install
$ agentstack add skill-kumaran-is-claude-code-onboarding-angular-ui-patterns ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Iron Law
LOAD angular-spa FIRST for daisyUI component classes and TailwindCSS 4.x tokens. This skill provides UI state doctrine — use angular-spa reference files for the actual component HTML/CSS.
When to Use This Skill
Load this skill when:
- Building any Angular component that fetches async data
- Adding loading, error, or empty states to a list or page
- Implementing form validation with inline field errors
- Adding button loading states or disabling during async operations
- Building confirmation dialogs or modals
- Reviewing a component for missing UI state coverage
Five Non-Negotiable Principles
- Never show stale UI — Loading states only when actually loading, never over existing data
- Always surface errors — Users must know when something fails; never swallow silently
- Optimistic updates — Make the UI feel instant; roll back on failure
- Progressive disclosure — Use
@deferto show content as available - Graceful degradation — Partial data is better than no data
Pattern Selector
What are you building?
- Async list/page → load
reference/loading-control-flow.md - Error handling → load
reference/error-handling.md - Button with loading → load
reference/button-empty-states.md - Form with validation → load
reference/form-dialog-patterns.md - Reviewing for mistakes → load
reference/anti-patterns.md
Reference Files
| Reference | Load When | |-----------|-----------| | [reference/index.md](reference/index.md) | Any time — navigation | | [reference/loading-control-flow.md](reference/loading-control-flow.md) | Building async list or page | | [reference/error-handling.md](reference/error-handling.md) | Adding error handling | | [reference/button-empty-states.md](reference/button-empty-states.md) | Buttons or collections | | [reference/form-dialog-patterns.md](reference/form-dialog-patterns.md) | Forms or confirmation dialogs | | [reference/anti-patterns.md](reference/anti-patterns.md) | Reviewing a component |
UI State Checklist
Before completing any UI component:
UI States
- [ ] Error state handled and shown to user
- [ ] Loading state shown only when no data exists
- [ ] Empty state provided for collections (
@emptyblock) - [ ] Buttons disabled during async operations
- [ ] Buttons show loading indicator when appropriate
Data & Mutations
- [ ] All async operations have error handling
- [ ] All user actions have feedback (toast/visual)
- [ ] Optimistic updates rollback on failure
Accessibility
- [ ] Loading states announced to screen readers
- [ ] Error messages linked to form fields
- [ ] Focus management after state changes
daisyUI Integration
This skill provides the doctrine. Use these daisyUI classes from angular-spa skill:
- Loading:
class="loading loading-spinner loading-lg" - Alert:
class="alert alert-error"/class="alert alert-success" - Button loading:
class="btn btn-primary loading" - Skeleton:
class="skeleton h-4 w-full" - Empty state:
class="hero min-h-32"
Related Skills
angular-spa— workspace skill: daisyUI components, TailwindCSS tokens, conventionsangular— core API reference for signals and control flowangular-best-practices— performance rules that complement these UI patterns
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: kumaran-is
- Source: kumaran-is/claude-code-onboarding
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.