ui-guidance

ui-guidance is a skill for Claude Code, Codex from n-n-code/n-n-code-skills. It costs 54 tokens per session (868 once invoked), scanned A, original, MIT.

Baseline guidance for routine graphical-interface and frontend changes that keep an existing design style.

In plain words
What is it for?
Use it for ordinary UI implementation or review, alongside relevant coding guidance; use stronger design guidance for major redesigns or deep UX reviews.
Why use it?
It helps make small visual, accessibility, interaction, spacing, label, and responsive changes consistently without treating every task as a redesign.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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.

agentmods
npx agentmods add skills/n-n-code/n-n-code-skills/ui-guidance
Any agent
npx skills add n-n-code/n-n-code-skills --skill ui-guidance
Clone the repo
git clone --depth 1 https://github.com/n-n-code/n-n-code-skills

Made for: Claude Code, Codex.

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 ui-guidance

README.md
[![agentmods](https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/ui-guidance.svg)](https://agentmods.dev/skills/n-n-code/n-n-code-skills/ui-guidance)
Your own site
<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/ui-guidance"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/ui-guidance.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00054 $0.00868
Opus 5 $0.00027 $0.00434
Sonnet 5 $0.00011 $0.00174
Haiku 4.5 $0.00005 $0.00087

Measured today against content hash b27f587246df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ui-guidance 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 today.

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.

.agents/skills/ui-guidance/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/Frontend Guidance

This is a composable overlay, not a standalone workflow. Use alongside the matching principle skill (for example, coding-guidance-cpp) when the change touches UI or frontend code. Add project-core-dev only when repository-specific completion checks still need to be discovered or reported.

Choose the activity before applying the rules below:

  • for implementation, make only the requested UI changes and validate them
  • for review, inspect and report prioritized findings with evidence; do not edit files or require findings to be fixed unless the user also asks for remediation

Use this as the thin default overlay for ordinary UI work. If the task is redesign-heavy, frontend-polish heavy, or needs a stronger UX review checklist, prefer ui-design-guidance.

Routing examples:

  • add a small control that matches nearby components -> use this skill
  • fix spacing, labels, or responsive behavior within the existing visual language -> use this skill
  • redesign a page, introduce a new visual direction, or perform a UX-heavy release review -> use ui-design-guidance
  • product-security or permission-sensitive UI flows -> use security first when the main risk is trust, identity, or authorization rather than presentation; add security-identity-access when the security scope centers on identity, sessions, recovery, or tenant authorization

When to use

The repo includes graphical UI or web frontend code — web views, desktop UI, embedded panels, or rendering layers.

Not for

Terminal UIs belong to their framework's guidance, including coding-guidance-go-tui for Bubble Tea. Pure data visualization or plotting without product-interface work is also out of scope.

Rules

  • Preserve the existing design language unless the task explicitly calls for redesign. Do not introduce new color palettes, spacing systems, or component patterns without justification.
  • Accessibility, layout stability, and responsive behavior are part of done — not follow-up work.
  • UI changes must not bypass the repo's test and build hygiene.
  • Verify visual output manually or with snapshot tests if the repo supports them.
  • If the repo does not document breakpoints, design tokens, or visual test tooling, derive them from nearby UI code and record the fallback evidence in any implementation or review note you produce.

Read the full file on GitHub · 94 lines

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. today Changed b27f587246df
  2. 5d ago First seen · 94 lines · 54 tokens per session scan A 281127e388da

Subscribe to this mod's changes

ui-guidance is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 868 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".

gtrabanco/agentic-workflow · 71 tokens

design-feature

Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".

gtrabanco/agentic-workflow · 51 tokens

plan-feature

Route designed features or issues into engineering planning and roadmap registration; undesigned work stops at design-feature. Supports --next, --from-issue, and --scaffold. Triggers: "plan-feature", "plan a feature", "plan the next roadmap feature", "create SPEC and TASKS".

gtrabanco/agentic-workflow · 66 tokens

product-audit

Audit the whole product across code, quality, process, docs, roadmap, and tooling. Persist one severity-ranked, F-numbered report with proposals; never fix or file work. Triggers: "product-audit", "audit the product", "full health check", "are we product-ready", "CTO review".

gtrabanco/agentic-workflow · 69 tokens

audit-docs

Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations — and reports them…

gtrabanco/agentic-workflow · 188 tokens

init-workspace

Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook, and overwrite needs explicit consent. Triggers: "init-workspace", "set up agentic workflow", "upgrade workflow scaffold".

gtrabanco/agentic-workflow · 54 tokens