scenario

scenario is a command for Claude Code from jiushiwon/wg-skills. It costs 0 tokens per session (857 once invoked), scanned A, original, Apache-2.0.

A command that describes a complete design starting point for a chosen interface situation, such as a mobile site, company website, admin dashboard, documentation site, finance app, or 3D page. It covers layout, components, interactions, visual values, and suggested colours.

In plain words
What is it for?
Use it to get a detailed or high-level design baseline for one situation, or compare the needs of different interface situations.
Why use it?
It helps when you know what kind of interface you are building but need clear design decisions before writing the page.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to get a detailed or high-level design baseline for one situation, or compare the needs of different interface situations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jiushiwon/wg-skills/scenario
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.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

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 scenario

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/scenario"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/scenario.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 857 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.00000 $0.00857
Opus 5 $0.00000 $0.00428
Sonnet 5 $0.00000 $0.00171
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

scenario 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 10d 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.

vibeCoding/frontend/frontend-ui-foundry/references/commands/scenario.md · 146 lines

What it actually says

scenario — 场景方案

输出指定场景的完整设计基线(布局 / 组件 / 交互 / Token 偏向 / 推荐调色板)。

用法

scenario <type> [--depth overview|detailed] [--compare]

支持的场景

mobile-responsive / pc-corporate / admin-dashboard / landing-marketing / docs-site / fintech-app / mobile-native / threejs-3d

参数

参数 说明 默认
<type> 必填,场景名
--depth 输出详细度 detailed
--compare 与其他场景对比

流程

1. 加载场景基线

读取 references/scenarios/<type>.md,输出结构化方案。

2. 推荐品牌

按场景默认品牌映射:

场景 默认品牌 备选
mobile-responsive 冷调极简 原生移动
pc-corporate 赤琥金 创意广告
admin-dashboard 2B 灰蓝 数据深色
landing-marketing 暖色商务 创意广告
docs-site 文档清爽 冷调极简
fintech-app 金融稳重 2B 灰蓝
mobile-native 原生移动
threejs-3d 3D 沉浸 数据深色

3. 输出基线

输出格式

# 场景方案 — <type>

> 详细度:detailed

---

## 一句话定位

(场景描述 + 典型用途)

## 适用 / 不适用

**适用**:
- ...

**不适用**:
- ...

## 核心组件

| 组件 | 说明 |
|------|------|
| ... | ... |

## 布局基线

### 移动端 / 桌面 / 横屏

```css
.layout { ... }

关键 Token 偏向

--space-section: var(--space-16);  /* 64px */
--radius-button: var(--radius-md);
...

推荐调色板

  1. XX — 主推
  2. YY — 备选

关键交互

  • ...
  • ...

反模式

  • ❌ ...
  • ❌ ...

验证清单

  • ...
  • ...

## `--compare` 模式

对比 2-3 个场景的差异:

```markdown
# 场景对比

| 维度 | mobile-responsive | pc-corporate | admin-dashboard |
|------|-------------------|--------------|-----------------|
| 触摸目标 | ≥44pt | ≥44pt | ≥32px |
| 字号下限 | 16px | 14px | 12px |
| 圆角 | 12-16px | 8-12px | 2-4px |
| 阴影 | 弱 | 中 | 克制 |
| 动效 | 平台一致 | 戏剧 | 极简 |
| 主导航 | Bottom Nav | Top Nav | Sidebar |

用途

  • 决策阶段:评估哪个场景适合你的项目
  • 设计阶段:作为方案模板
  • 评审阶段:作为标准对比基线
  • 学习:了解不同场景的设计哲学

示例

# 查看营销落地页场景
scenario landing-marketing

# 详细查看管理端
scenario admin-dashboard --depth detailed

# 对比 3 个场景
scenario admin-dashboard pc-corporate mobile-responsive --compare
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. 10d ago First seen · 146 lines · 0 tokens per session scan A 7f0a0c36de2f

Subscribe to this mod's changes

scenario is a command published in the GitHub repository jiushiwon/wg-skills (98 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 857 tokens. 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-30.