stack

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

A command that provides setup and development guidance for supported technology stacks, including HTML with Tailwind, React with Next.js, Vue with Nuxt, uni-app, React Native, and Svelte. A technology stack is the set of frameworks and tools used to build an application.

In plain words
What is it for?
It helps choose a stack, start a project, build common components, apply shared design values, review performance, or onboard new team members.
Why use it?
It gathers project structure, configuration, component, design-token, performance, and validation guidance in one response instead of requiring separate reference checks.

Command for Claude Code

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

Good fit It helps choose a stack, start a project, build common components, apply shared design values, review performance, or onboard new team members.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/stack"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/stack.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 625 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.00625
Opus 5.5 $0.00000 $0.00250
Sonnet 5.5 $0.00000 $0.00125
Haiku 4.5 $0.00000 $0.00063

Measured 1mo ago against content hash ea26057340b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stack 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 1mo 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/stack.md · 121 lines

What it actually says

stack — 技术栈最佳实践

输出指定技术栈的完整最佳实践:项目结构、初始化、配置、组件、Token 应用、性能、验证。

用法

stack <name> [--topic setup|components|tokenization|performance|all]

支持的栈

html-tailwind / react-nextjs / vue-nuxt / uniapp / react-native / svelte

参数

参数 说明 默认
<name> 必填,技术栈 —
--topic 主题 all

流程

1. 加载栈文档

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

2. 输出(按 topic)

setup:项目结构、初始化、配置文件 components:基础组件、布局、路由 tokenization:如何接入 foundry Token performance:优化清单 all:综合方案

输出格式

# 技术栈方案 — <name>

> 主题:all

---

## 项目结构

project/ ├── ...


## 初始化

```bash
npx ...

配置文件

// tailwind.config.ts
...

基础组件

<!-- components/ui/Button.vue -->
...

Token 接入

  1. 复制 templates/tokens.css.tpl 到 src/styles/tokens.css
  2. 引入到 main.ts / App.vue
  3. 替换 tailwind.config.ts 的 colors 段
  4. ...

性能优化

  • 图片: 自动优化
  • 字体:next/font
  • 代码分割:自动
  • 预取:

验证清单

  • ...
  • ...

## 用途

- 选型阶段:对比不同栈
- 启动阶段:按模板快速搭建
- 升级阶段:检查是否跟上最佳实践
- 培训:作为新成员 onboarding 资料

## 示例

```bash
# Next.js 完整方案
stack react-nextjs

# 只看 Token 接入
stack react-nextjs --topic tokenization

# uniapp 性能优化
stack uniapp --topic performance

# 对比 React 与 Vue
stack react-nextjs
stack vue-nuxt

与其他子命令协同

  • stack <name> 提供栈方案 → forge <scenario> --stack <name> 实际生成
  • optimize 自动检测栈 → 用 stack 输出验证
  • audit 评审 → 用 stack 输出最佳实践
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. 1mo ago First seen · 121 lines · 0 tokens per session scan A ea26057340b0

Subscribe to this mod's changes

stack is a command published in the GitHub repository jiushiwon/wg-skills (121 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 625 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.