Agent skill

New Story

by luxury-yacht in luxury-yacht/app

Generate a Storybook story for a component using real components and project CSS classes

GPL-3.0Auto-check passedFrontend & Design

Install New Story

skills CLI
$ npx skills add luxury-yacht/app --skill new-story -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install luxury-yacht/app new-story --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/luxury-yacht/app.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/new-story .claude/skills/new-story && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-story
GitHub stars
444
Token cost
~466 tokens
SKILL.md length
129 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
GPL-3.0

At a glance

Generate a Storybook story for a component using real components and project CSS classes

  • Works in 7 steps: Render the real component. Wrapper… → Mock only data, never rendering:… → Before writing, read the component and… → …
  • Frontend & Design work in your project
  • SKILL.md covers Rules, Template and Verification
  • Calls mise

What it does

New Story is an agent skill from luxury-yacht/app. Generate a Storybook story for a component using real components and project CSS classes

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with Storybook. The repository describes itself as: Luxury Yacht - A cross-platform app for managing Kubernetes clusters and resources. The licence is GPL-3.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/new-story”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Render the real component. Wrapper markup uses the project's real CSS
  2. Mock only data, never rendering: realistic props, and Go backend calls via
  3. Before writing, read the component and every hook it uses to list the
  4. Reuse frontend/.storybook/decorators/: SidebarProvidersDecorator
  5. Reuse backend mocks in frontend/.storybook/mocks/ (wailsBackendApp.ts,
  6. Behavior and appearance changes belong in production code; stories only
  7. Cover the main states: default, loading, error, empty, and notable prop

What it can do on your machine

Read from SKILL.md and the folder at commit 09c8d2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mise

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Story loads about 466 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~466

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from luxury-yacht/app at commit 09c8d2d, republished under its GPL-3.0 licence (© luxury-yacht). 129 words, ~466 tokens.

Download SKILL.mdSave it as .claude/skills/new-story/SKILL.md (or your agent's skills folder).
name
new-story
description
Generate a Storybook story for a component using real components and project CSS classes

New Story

/new-story <ComponentPath> (e.g. frontend/src/ui/modals/MyModal.tsx) creates <ComponentName>.stories.tsx next to the component.

Rules

  1. Render the real component. Wrapper markup uses the project's real CSS classes; never approximate with inline styles.
  2. Mock only data, never rendering: realistic props, and Go backend calls via window.__storybookBackendOverrides (installed by frontend/.storybook/preview.ts).
  3. Before writing, read the component and every hook it uses to list the providers it needs instead of discovering them one crash at a time.
  4. Reuse frontend/.storybook/decorators/: SidebarProvidersDecorator (Kubeconfig + Namespace providers), AppearanceModeProviderDecorator, KeyboardProviderDecorator, KubeconfigProviderDecorator, ZoomProviderDecorator.
  5. Reuse backend mocks in frontend/.storybook/mocks/ (wailsBackendApp.ts, wailsBackendSettings.ts).
  6. Behavior and appearance changes belong in production code; stories only verify them.
  7. Cover the main states: default, loading, error, empty, and notable prop variations.

Template

tsx
/**
 * <file path>
 *
 * Storybook stories for the <ComponentName> component.
 */

import type { Meta, StoryObj } from '@storybook/react';
import <ComponentName> from './<ComponentName>';

const meta: Meta<typeof <ComponentName>> = {
  title: '<Category>/<ComponentName>',
  component: <ComponentName>,
  // decorators: [SidebarProvidersDecorator],
};

export default meta;
type Story = StoryObj<typeof <ComponentName>>;

/** Default state. */
export const Default: Story = {
  args: {
    // realistic props
  },
};

Verification

Run mise exec -- npm run typecheck --prefix frontend.

© luxury-yacht, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/new-story of luxury-yacht/app.

Open the folder on GitHubat commit 09c8d2d

Compare with similar skills

New Story next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Story compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Story this skillluxury-yacht/app444—~466Automated safety check: PassGPL-3.0
Gimi IllustrationGiMi-Xiaomi/gimi-illustration-skill703—~1.7kAutomated safety check: PassMIT
Phoenix FrontendArize-ai/phoenix12k—~709Automated safety check: PassCustom licence
Storybook Checkrstackjs/storybook-rsbuild156—~2.5kAutomated safety check: PassMIT
Phoenix StorybookArize-ai/phoenix12k—~1.9kAutomated safety check: PassCustom licence
Run Umbraco UIumbraco/Umbraco.UI152—~1.2kAutomated safety check: PassMIT

Similar skills

  • Gimi Illustration

    GiMi-Xiaomi/gimi-illustration-skill

    Multi-style illustrations from Chinese article text (配图 / illustration): quirky sketch, warm storybook, product proposal; OR custom IP enrollment (自定义 IP / 录入 IP / 上传形象 / 新建 IP).

    703 GitHub stars~1.7k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Phoenix Frontend

    Arize-ai/phoenix

    Frontend development guidelines for the Phoenix AI observability platform.

    12k GitHub stars~709 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Storybook Check

    rstackjs/storybook-rsbuild

    Audit ported storybook-rsbuild source files against the CURRENT upstream Storybook source, grouped by the local package that owns each port, independent of commit history.

    156 GitHub stars~2.5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Phoenix Storybook

    Arize-ai/phoenix

    Conventions for creating, modifying, and reviewing production-faithful Storybook stories in the Phoenix frontend (js/app/stories, js/app/.storybook).

    12k GitHub stars~1.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Run Umbraco UI

    umbraco/Umbraco.UI

    Build, run, and drive the Umbraco.UI (UUI) web-component library via its Storybook.

    152 GitHub stars~1.2k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Wonder Blocks

    Khan/wonder-blocks

    Implements user interfaces using the Wonder Blocks (WB) design system — Khan Academy's React component library.

    163 GitHub stars~3.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from luxury-yacht/app

All 17 skills in this repo
  • Improve Backend

    luxury-yacht/app

    A skill your agent uses when wanting to systematically improve the Go backend - scans for security vulnerabilities, stability risks, performance issues, and code simplification opportunities, then…

    444 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Improve Frontend

    luxury-yacht/app

    A skill your agent uses when wanting to systematically improve the React/TypeScript frontend - scans for security vulnerabilities, stability risks, performance issues, and code simplification…

    444 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Eliminate representable-but-invalid Luxury Yacht states with discriminated unions, required identity, typed status, validated constructors, or one boundary chokepoint; use for "make impossible…

    444 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Add Resource

    luxury-yacht/app

    Add or extend support for a Kubernetes resource kind across the required catalog, refresh, detail, object-panel, object-map, permission, documentation, and test surfaces

    444 GitHub stars~704 tokensUpdated today
    Auto-check passed
  • App Review

    luxury-yacht/app

    Audit broad Luxury Yacht systems or cross-cutting concerns for structural simplification, hardening, optimization, or refactoring; use for app-wide reviews and phased structural plans, not branch…

    444 GitHub stars~818 tokensUpdated today
    Auto-check passed
  • Browse Tables

    luxury-yacht/app

    Change cluster or namespace views, Browse/catalog surfaces, shared GridTable behavior, filters, pagination, large datasets, metrics columns, or refresh-backed resource tables

    444 GitHub stars~518 tokensUpdated today
    Auto-check passed

Works with

Questions about New Story

What does New Story do?

Generate a Storybook story for a component using real components and project CSS classes. New Story is an agent skill from luxury-yacht/app.

When should I use New Story?

New Story fits situations like: frontend & Design work in your project.

How do I install New Story in Claude Code?

Run `npx skills add luxury-yacht/app --skill new-story -a claude-code`. Or copy the skill folder (.agents/skills/new-story in luxury-yacht/app) into .claude/skills/new-story in your project. Claude Code loads it when a task matches its description.

How do I install New Story in Codex?

Run `npx skills add luxury-yacht/app --skill new-story -a codex`. Or copy the skill folder (.agents/skills/new-story in luxury-yacht/app) into .agents/skills/new-story in your project. Codex loads it when a task matches its description.

Can I use New Story in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add luxury-yacht/app --skill new-story -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-story, .gemini/skills/new-story, .github/skills/new-story and .opencode/skills/new-story in your project.

What does New Story need to run?

Going by SKILL.md and its folder, New Story needs the command-line tools its instructions call (mise).

Does New Story access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Story safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Story use?

New Story is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Story use?

About 466 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Story?

Skills that share tags, products or a category with New Story: Gimi Illustration (GiMi-Xiaomi/gimi-illustration-skill, 703 stars), Phoenix Frontend (Arize-ai/phoenix, 12k stars), Storybook Check (rstackjs/storybook-rsbuild, 156 stars) and Phoenix Storybook (Arize-ai/phoenix, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Story?

luxury-yacht (a GitHub organization) maintains it in luxury-yacht/app, which has 444 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 10, 2026.

Source: luxury-yacht/app on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.