standard-front-end-ui-and-design-systems

standard-front-end-ui-and-design-systems is a cursor rule for Cursor from PackmindHub/packmind. It costs 0 tokens per session (294 once invoked), scanned A, original, Apache-2.0.

Frontend coding guidelines for building interfaces with the Packmind UI component library, which is based on Chakra UI. They require shared components, design tokens, and semantic styling instead of raw HTML and hardcoded colours.

In plain words
What is it for?
Use them when creating or changing frontend components, choosing UI components, setting sizes, or styling colours and borders.
Why use it?
They reduce inconsistent styling and make the interface easier to keep aligned with the application's design system.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them when creating or changing frontend components, choosing UI components, setting sizes, or styling colours and borders.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/packmindhub/packmind/standard-front-end-ui-and-design-systems
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/PackmindHub/packmind

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for standard-front-end-ui-and-design-systems

README.md
[![agentmods](https://agentmods.dev/badge/rules/packmindhub/packmind/standard-front-end-ui-and-design-systems.svg)](https://agentmods.dev/rules/packmindhub/packmind/standard-front-end-ui-and-design-systems)
Your own site
<a href="https://agentmods.dev/rules/packmindhub/packmind/standard-front-end-ui-and-design-systems"><img src="https://agentmods.dev/badge/rules/packmindhub/packmind/standard-front-end-ui-and-design-systems.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00294
Opus 5 $0.00000 $0.00147
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00029

Measured 4d ago against content hash d4da7063d613, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

standard-front-end-ui-and-design-systems scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/ui/.cursor/rules/packmind/standard-front-end-ui-and-design-systems.mdc · 13 lines

What it actually says

Standard: Front-end UI and Design Systems

This standard establishes guidelines for using Chakra UI v3 through the @packmind/ui design system to ensure consistent UI implementation across the frontend application. The @packmind/ui package prov... :

  • Never use vanilla HTML tags (div, span, button, input, etc.) in frontend component code; always use corresponding @packmind/ui components (PMBox, PMText, PMButton, PMInput, etc.) to ensure consistent styling and theming.
  • Prefer using the design token 'full' instead of the literal value '100%' for width or height properties in UI components to maintain consistency with the design system.
  • Use components imported from '@packmind/ui' instead of '@chakra-ui' packages to maintain a consistent UI abstraction layer, e.g., import { PMButton } from '@packmind/ui'; not import { Button } from '@chakra-ui/react';
  • Use only semantic tokens to customize @packmind/ui components, such as colorPalette for color schemes, background.primary/secondary/tertiary for backgrounds, text.primary/secondary/tertiary for text colors, and border.primary/secondary/tertiary for borders, rather than hardcoded color values.

Full standard is available here for further request: Front-end UI and Design Systems

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 13 lines · 0 tokens per session scan A d4da7063d613

Subscribe to this mod's changes

standard-front-end-ui-and-design-systems is a cursor rule published in the GitHub repository PackmindHub/packmind (309 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 294 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.