Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

storybook-pentest

Skill by saschb2b

Pentests Storybook components for breakage and fitness for purpose. It writes each confirmed finding to an OKF bundle with screenshots, severity and a reproducible URL, for design system and frontend teams.

  • Score 70
  • 57 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install storybook-pentest

Built from the published package, never by AI.

git clone --depth 1 https://github.com/saschb2b/okf-studio /tmp/okf-studio && mkdir -p ~/.claude/skills && cp -r /tmp/okf-studio/.claude/skills/storybook-pentest ~/.claude/skills/storybook-pentest

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install storybook-pentest in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill audits Storybook stories in two passes. The attack pass checks whether components break under extreme text, empty or overloaded data, keyboard use, zoom, RTL, dark mode, forced colors and broken media. The value pass checks whether a component does its job, judging clarity, label specificity, error message usefulness and whether its name's promise is kept.

It detects which integration layer the target offers, then uses the highest one available: Storybook MCP, the story index, iframe URLs, Playwright or CLI test runners. Findings are graded by severity and given a confidence level. They are stored in a findings bundle at ui-pentest/ in the target repo, so later runs can diff against earlier ones. It is aimed at teams maintaining Storybook or design systems who want edge cases and UX issues found.

Written from the project's SKILL.md and checked against it.

What it can do

  • sweepPentests the whole Storybook using a sampled, WCAG-EM style approach and records what was skipped.
  • componentRuns an exhaustive pentest on one component, covering every story and applicable axis.
  • groupLimits the pentest to a title-prefix scope such as Design System/Forms.
  • axisRuns one attack or value axis across a scope, for example only accessibility or only RTL.
  • valueRuns only the value pass to check whether a component does its job.
  • gapsCompares existing stories against the required state matrix and flags missing states.
  • reportRebuilds the findings bundle and retests open findings by their stored repro URLs.
  • triageRanks open findings by severity and spread and proposes a fix order.
  • wireScaffolds project-side auto-triggering so design system changes get pentested.

What you need

  • A running Storybook instance, 6.4 or later for the story index
  • Storybook 9.1.16 or later with Vite for the MCP layer
  • Playwright for screenshots, keyboard and emulation probes
  • Vitest addon or test-storybook runner for CLI test suites

Try asking

  • Pentest the whole Storybook and write findings to ui-pentest/
  • Run a storybook-pentest component pass on the Button component
  • Run only the value pass on the Design System/Forms group

Good to know

  • Automated scanning catches only part of WCAG issues, so the skill relies on simulation and value checks too.
  • Storybook MCP gives no screenshots, no arg mutation and no raw enumeration.
  • URL args accept only alphanumerics, space, underscore and dash, so hostile payloads need play functions or Playwright.
  • Value findings flagged as needs-review are questions for a human, not confirmed defects.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/storybook-pentest/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to storybook-pentest

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

storybook-pentest: common questions

What is the difference between the attack pass and the value pass?

The attack pass checks whether a component breaks under stress, such as long text, RTL or forced colors. The value pass checks whether the component does its job, such as clear controls and useful error messages.

Where are the findings saved?

Findings are written to an OKF bundle at ui-pentest/ in the target repository. Each finding has a stable id, severity, confidence and a reproducible URL.

Does it work with static Storybook builds?

The story index at /index.json works on any Storybook 6.4 or later, including static builds. The MCP layer needs Storybook 9.1.16 or later with Vite.

How do I install storybook-pentest?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is storybook-pentest free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is storybook-pentest safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to storybook-pentest?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

storybook-pentest Install

Add to stack

Loading.