setup-design-system-6d7929 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited setup-design-system-6d7929 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Initialize or extend the project's design system with properly accessible, consistent UI components using Tailwind CSS and shadcn/ui.
Ensure we are on a feature branch based on the latest main:
git fetch origin mainIf on main, create a new feature branch:
git checkout -b feature/design-system origin/mainIf already on a feature branch, rebase onto latest origin/main:
git status --porcelainIf the working tree is dirty, stash before rebasing:
git stash push -m "setup-design-system: stash before rebase"
git rebase origin/main
git stash popIf the working tree is clean, rebase directly:
git rebase origin/mainCheck if a design system already exists:
packages/ui/ directory structurecomponents.json)src/index.css for @theme directives in v4, or tailwind.config.* for v3)Ask the user:
If initializing the design system or making significant structural changes, activate a Product Council subset:
Model Selection: See the Model Selection section in README.md for mapping agent model specs to Task tool parameters.
Invoke /ui-design:design-system-setup for initialization guidance.
Set up the foundation:
Design Tokens
Tailwind Configuration Using /frontend-mobile-development:tailwind-design-system:
Component Structure
packages/ui/src/
├── components/
│ ├── primitives/ # Button, Input, Badge, Label, Switch
│ ├── layout/ # Container, Grid, Stack, Spacer, Divider
│ ├── navigation/ # Navbar, Sidebar, Breadcrumb, Tabs
│ ├── feedback/ # Alert, Toast, Modal, Dialog, Skeleton
│ ├── data-display/ # Card, Table, List, Avatar, Tooltip
│ └── forms/ # Form, FormField, Select, Checkbox, Radio
├── tokens/ # Design token definitions
├── hooks/ # Shared UI hooks (useMediaQuery, useTheme)
└── utils/ # UI utilities (cn, cva variants)Read the existing patterns and conventions before adding new components. Match the established API patterns.
For each component needed, follow this process:
Invoke /ui-design:create-component for guided component creation.
Define the component API:
Build each component with:
any types)React.forwardRef for ref forwardingclassName prop merged with cn() utility for style overridesEvery component must include:
For each component, write:
After all components are built, run a comprehensive accessibility audit:
Invoke /ui-design:accessibility-audit on all new/modified components.
Check for:
prefers-reduced-motion media queryInvoke /ui-design:design-review to review the overall design system for:
Address any findings from the review.
Document the design system:
Commit with conventional commit format:
For new design system:
feat(ui): initialize design system with core componentsFor new components:
feat(ui): add <component-name> componentFor design token changes:
feat(ui): update design tokens for <change-description>[!CAUTION] This skill's work is done. Do NOT proceed to create a pull request, push to remote, or run a code review. Those are separate skills with their own workflows and checkpoints.
Present the next step to the user:
/review-code for multi-perspective quality and accessibility review before submitting/build-feature to implement the feature, then run /review-code/review-code → /submit-pr[!TIP] Pipeline:/plan-feature→/build-featureor/build-api→/review-code→/submit-pr
>
`/setup-design-system` can be run at any point in the pipeline or independently. You are here — proceed to /review-code when ready.Do not push the branch, create a PR, or invoke `/submit-pr` from within this skill.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.