zuar-portal-mcp: Skill for Claude Code

.claude/skills/portal-responsive/SKILL.md

portal-responsive is a skill for Claude Code from patrickdeanfox/zuar-portal-mcp. It costs 53 tokens per session (908 once invoked), scanned A, original, MIT.

A set of project-specific rules for making Zuar Portal blocks work on narrow and wide screens. It uses the block’s own width to choose layout changes, so it fits its container rather than only the whole browser window.

In plain words
What is it for?
Use it when adding mobile-friendly behavior, fixing small-screen layout problems, or defining breakpoint changes for a Zuar Portal block.
Why use it?
It prevents overflow and broken layouts when a block becomes narrow inside the portal grid. It also keeps responsive changes consistent with the project’s design and block-authoring rules.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is patrickdeanfox/zuar-portal-mcp's own configuration. It tells Claude Code how to work on zuar-portal-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zuar-portal-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to patrickdeanfox/zuar-portal-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/patrickdeanfox/zuar-portal-mcp/main/.claude/skills/portal-responsive/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/patrickdeanfox/zuar-portal-mcp

Made for: Claude Code.

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 portal-responsive

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive/github.svg)](https://agentmods.dev/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive)
Your own site
<a href="https://agentmods.dev/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive"><img src="https://agentmods.dev/badge/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive/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 portal-responsive

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive"><img src="https://agentmods.dev/badge/skills/patrickdeanfox/zuar-portal-mcp/portal-responsive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 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.00053 $0.00908
Opus 5 $0.00026 $0.00454
Sonnet 5 $0.00011 $0.00182
Haiku 4.5 $0.00005 $0.00091

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

Security

Grade A, and why

portal-responsive 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 11d 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.

.claude/skills/portal-responsive/SKILL.md · 55 lines

How it starts

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

Portal responsive (repo recipes)

Make a block behave at every width without breaking its data or design. The collapse recipes are spec, not taste — they live in assets/design.md (read it; don't work from memory). This skill is the thin orchestration; the responsive agent that applies it is portal-responsive-specialist (.claude/agents/). The block-authoring rules that still bind while you add breakpoints are in assets/conventions.md (CSS in the css field, every selector scoped under .wrapper, theme tokens via var(--token, fallback), no loading states), and the block data/structure model is the global zportal skill.

The grid reality — work width-first, not viewport-first

A block lives inside the portal layout grid (which has its own lg / md / sm breakpoints) and is sized to its own container's width, often far narrower than the viewport (a KPI block in a 4-column cell is ~25% of the page). So a @media (max-width:…) viewport query fires at the wrong time — the screen can be wide while the block is narrow.

  • Prefer CSS container queries (@container) keyed on the block's own width. Set container-type: inline-size on the block's own .wrapper (or an inner shell — never a global selector), then size children with @container rules / cqi units.
  • Otherwise use width-scoped rules under .wrapper. If you fall back to @media, treat the breakpoint as "the block is probably this wide," not "the screen is." The design.md numbers (1100px, 640px) are block-content widths to collapse at.
  • Keep everything scoped under .wrapper so breakpoint CSS can't leak to sibling blocks.

The collapse recipes (match assets/design.md exactly)

  • KPI grid: repeat(6, 1fr)3-up ≤1100px2-up ≤640px. Keep the 14px gap; let cards reflow — don't shrink type below the scale.
  • Chart cards: a side-by-side pair stacks to one column when narrow. Preserve each canvas min-height (~200px) so charts don't collapse to zero height. (Chart redraw on resize is a ResizeObserver concern for the builder/debugger — you provide the box, not the JS.)
  • Tables: wrap in overflow-x:auto so wide tables scroll horizontally instead of clipping or forcing a page-wide block; keep the sticky header working and numeric columns right-aligned.
  • Touch / a11y: interactive targets ≥ 44px; keep :focus-visible rings; keep hover affordances, just make them tap-friendly.
  • Overflow / clipping: no horizontal page scroll caused by the block; long labels wrap or truncate with ellipsis (min-width:0 on flex/grid children that hold ellipsis text); nothing escapes the card radius.
  • Motion: respect prefers-reduced-motion; keep transitions ~.12–.2s ease.

Read the full file on GitHub · 55 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. 11d ago First seen · 55 lines · 53 tokens per session scan A 820832ef3e73

Subscribe to this mod's changes

portal-responsive is a skill published in the GitHub repository patrickdeanfox/zuar-portal-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 908 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens