pn-aesthetics-baseline

pn-aesthetics-baseline is a cursor rule for Cursor from perniemann/pnCore. It costs 447 tokens per session, scanned A, original, MIT.

A baseline for designing user-facing screens and visuals, including websites, app interfaces, forms, loading states, and diagrams. It uses project-specific design guidance when available and sets general rules to avoid repetitive-looking interfaces.

In plain words
What is it for?
Use it before styling a user-facing surface to check design guidance, define a cohesive visual direction, handle motion accessibly, and preview standalone HTML.
Why use it?
It gives visual work a consistent starting point and helps prevent generic layouts, arbitrary fonts, and excessive decoration.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it before styling a user-facing surface to check design guidance, define a cohesive visual direction, handle motion accessibly, and preview standalone HTML.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/perniemann/pncore/pn-aesthetics-baseline
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/perniemann/pnCore

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 pn-aesthetics-baseline

README.md
[![agentmods](https://agentmods.dev/badge/rules/perniemann/pncore/pn-aesthetics-baseline/github.svg)](https://agentmods.dev/rules/perniemann/pncore/pn-aesthetics-baseline)
Your own site
<a href="https://agentmods.dev/rules/perniemann/pncore/pn-aesthetics-baseline"><img src="https://agentmods.dev/badge/rules/perniemann/pncore/pn-aesthetics-baseline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pn-aesthetics-baseline

Your own site · 80×15
<a href="https://agentmods.dev/rules/perniemann/pncore/pn-aesthetics-baseline"><img src="https://agentmods.dev/badge/rules/perniemann/pncore/pn-aesthetics-baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 447 This file is loaded in full into every session.
When invoked 447 The same file — it is already loaded in full.
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.00447 $0.00447
Opus 5 $0.00224 $0.00224
Sonnet 5 $0.00089 $0.00089
Haiku 4.5 $0.00045 $0.00045

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

Security

Grade A, and why

pn-aesthetics-baseline 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 8d 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/pn-core-mcp/content/rules/pn-aesthetics-baseline.mdc · 15 lines

What it actually says

Aesthetics baseline (always)

Applies to user-facing visuals: marketing pages, app UI, auth screens, empty/loading/error states, embedded HTML, static HTML demos, and diagrams (Mermaid in docs or editorial HTML/SVG).

  1. Project truth: Before styling, read .pncore-design.md in the project root when it exists. House philosophy and Primary reference URL there override generic habits.
  2. Cross-project floor: When pn-core MCP is available, load pn-core://reference/aesthetics-baseline.md (or get_rule("pn-aesthetics-baseline") for this file) and follow it together with get_skill("pn-frontend-design") for implementation detail.
  3. No MCP: Avoid template slop (generic fonts, purple-gradient clichés, identical card grids, center-everything). Use CSS variables, cohesive palette, distinctive typography, orchestrated load motion where appropriate, and respect prefers-reduced-motion.
  4. Standalone HTML: When the deliverable is a self-contained HTML file, wrap markup in a fenced ```html block, then run get_skill("pn-html-preview") (or follow that command’s save-and-open steps) so the result is checked in a browser.
  5. Workflows: Full UI build → pn-design or workflow_step("design", …). Bounded visual change → pn-visual-tweak. Quality pass → pn-frontend-audit. Explore directions → pn-design-variants. Architecture / flowchart / sequence / state / loop / quadrant / layers / process / data-flow / org-chart diagrams → pn-diagram or get_skill("pn-diagram-design") and pn-core://reference/diagram-baseline.md.
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. 8d ago First seen · 15 lines · 447 tokens per session scan A 14fd231e04a5

Subscribe to this mod's changes

pn-aesthetics-baseline is a cursor rule published in the GitHub repository perniemann/pnCore (0 stars, last pushed 3d ago), licensed MIT. It adds 447 tokens to every session, about $0.0022 per session on Opus 5. 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-08-31.