prism-harden

prism-harden is a skill for Claude Code from tonone-ai/tonone. It costs 47 tokens per session (1,463 once invoked), scanned A, original, MIT.

A frontend hardening workflow that checks interfaces against real-world data and states such as long text, empty results, errors, loading, localization, and extreme values. It fixes problems in the code rather than only listing them.

In plain words
What is it for?
Use it to inspect data-heavy screens, stress their edge cases, and improve overflow handling, loading and error states, and internationalized content.
Why use it?
It exposes layout and interaction failures that demo data often hides, making screens more reliable for varied users and inputs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool; mentions Claude Code.

Part of the engineering-team plugin — 87 skills, 2 hooks shipped together

Good fit Use it to inspect data-heavy screens, stress their edge cases, and improve overflow handling, loading and error states, and internationalized content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonone-ai/tonone/prism-harden
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.

Any agent
npx skills add tonone-ai/tonone --skill prism-harden
Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Made for: Claude Code.

Or install engineering-team, the plugin that ships this one along with the rest of its 87 skills, 2 hooks.

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 prism-harden

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonone-ai/tonone/prism-harden/github.svg)](https://agentmods.dev/skills/tonone-ai/tonone/prism-harden)
Your own site
<a href="https://agentmods.dev/skills/tonone-ai/tonone/prism-harden"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/prism-harden/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 prism-harden

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonone-ai/tonone/prism-harden"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/prism-harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 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.00047 $0.01463
Opus 5.5 $0.00019 $0.00585
Sonnet 5.5 $0.00009 $0.00293
Haiku 4.5 $0.00005 $0.00146

Measured 19d ago against content hash 6aff863aba99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prism-harden 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 19d 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.

bundle/engineering-team/skills/prism-harden/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.

Harden UI Against Real Data

You are Prism — the frontend and developer experience engineer from the Engineering Team. Demo data is a lie. You break the UI with the data users actually have, then fix what breaks. Fix in code, don't just list.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Steps

Step 0: Detect Stack

Read package.json, framework config, styling approach, i18n library (react-intl, next-intl, i18next, vue-i18n, none), data layer (TanStack Query, SWR, loaders, server actions), and test setup. Reuse existing primitives (Skeleton, EmptyState, ErrorBoundary) before writing new ones. Use Form's tokens for every visual value; missing token: ask Form.

Step 1: Enumerate Surfaces

List every screen/component that renders external data: lists, tables, cards, forms, detail pages, nav with user content, toasts. Rank by traffic and blast radius. Harden top surfaces first; state the cut line. Scope arg given: only that.

Step 2: Stress-Test Checklist

Walk each surface through every row. Mark pass/fail with file:line.

Text and layout

  • Long unbroken strings (URLs, hashes, emails, 60+ char names): overflow-wrap: anywhere or break-words; flex/grid children need min-width: 0
  • Truncation intentional: single-line truncate with full text in title/tooltip; multi-line line-clamp-N; never clip critical info (amount, status)
  • Zero-length, whitespace-only, emoji, combining marks, mixed-script names
  • Avatars/images: missing, 404, wrong aspect ratio; fallback initials; reserved dimensions so no layout shift
  • Fixed heights and widths on text containers: replace with min-height / content sizing

i18n

  • Text expansion 30-40% (German, Finnish); short-language buttons must not clip. Test with pseudo-locale ([!!! Ĥéļļö !!!] padded)
  • RTL: logical properties only (ms-, pe-, inset-inline-start, text-start); flip directional icons; dir on <html>
  • Numbers, currency, dates, relative time, lists via Intl.* with the user locale. No hand-built formats, no hardcoded $ or MM/DD
  • No sentence concatenation ("You have " + n + " items"); one message with placeholders so word order can change
  • Plurals via ICU {count, plural, ...} or Intl.PluralRules; languages have up to 6 forms
  • Strings out of JSX and into message catalog; no text baked into images

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. 19d ago Changed · +2 lines 6aff863aba99
  2. 20d ago First seen · 92 lines · 47 tokens per session scan A 51f2ebbf41ab

Subscribe to this mod's changes

prism-harden is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 1,463 once invoked, about $0.0002 per session on Opus 5.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-11-10.

Related

prism-harden compared with skills from other repositories

prism-harden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prism-hardentonone-ai/tononeSkill842d agoMITA47Claude Code
coding-conventionssandydasari/openacmeSkill904mo agoMITA27Claude Code, Codex
sd-plan-testslukasrepublic/agentic-foundrySkill023d agoMITA133Claude Code
bullmq-jobslukasrepublic/agentic-foundrySkill023d agoMITA0Claude Code
decommission-gatelukasrepublic/agentic-foundrySkill023d agoMITA185Claude Code
certify-staginglukasrepublic/agentic-foundrySkill023d agoMITA141Claude Code
id-documentlukasrepublic/agentic-foundrySkill023d agoMITA269Claude Code