Validate Starter

Validate Starter is a command for Claude Code from YuDefine/nuxt-supabase-starter. It costs 29 tokens per session (842 once invoked), scanned C, original, MIT.

A validation command for maintainers of a starter project template, checking that its files, documentation, scripts, and generated project scaffolds are complete and consistent.

In plain words
What is it for?
Use it to validate demo or clean starter modes, test every preset, inspect generated scaffold output, and check that template-only files do not leak into user projects.
Why use it?
It catches missing structure, inconsistent documentation, broken package scripts, and problems that appear when the starter creates new projects.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/validate-starter.sh # auto 偵測 demo / clean 模式.

Good fit Use it to validate demo or clean starter modes, test every preset, inspect generated scaffold output, and check that template-only files do not leak into user projects.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter
agentmods
npx agentmods add commands/yudefine/nuxt-supabase-starter/validate-starter

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 Validate Starter

README.md
[![agentmods](https://agentmods.dev/badge/commands/yudefine/nuxt-supabase-starter/validate-starter/github.svg)](https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter)
Your own site
<a href="https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter"><img src="https://agentmods.dev/badge/commands/yudefine/nuxt-supabase-starter/validate-starter/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 Validate Starter

Your own site · 80×15
<a href="https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter"><img src="https://agentmods.dev/badge/commands/yudefine/nuxt-supabase-starter/validate-starter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 842 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00029 $0.00842
Opus 5.5 $0.00012 $0.00337
Sonnet 5.5 $0.00006 $0.00168
Haiku 4.5 $0.00003 $0.00084

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

Security

Grade C, and why

Validate Starter scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf template/temp/validate-starter
.claude/commands/validate-starter.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.

Validate Starter Template

此 command 屬 root meta 維護層,只給 starter 維護者使用。scaffold 出去的使用者專案不會拿到它 (見 .claude/rules/starter-hygiene.md § L3 Commands Hygiene)。

驗證對象是本 repo 的 template/ starter seed,而不是當前 repo root。

Instructions

Phase 1: 結構與文件基線(root script)

bash scripts/validate-starter.sh          # auto 偵測 demo / clean 模式
bash scripts/validate-starter.sh clean    # 指定驗證 clean 模式
bash scripts/validate-starter.sh demo     # 指定驗證 demo 模式

該 script 以 template/ 為 root,涵蓋:

  • Phase 1 結構檢查(.claude/、app/、server/、docs/decisions/)
  • Phase 2 package.json scripts 完備性
  • Phase 3 文件關鍵字一致性
  • Phase 3b 退役 spec 工具鏈殘留檢查(openspec/spectra 不得存在)
  • Phase 4 mode-specific 檢查

Phase 3b 一律要求退役工具鏈缺席;任何 openspec/spectra 路徑出現即 FAIL。

Phase 2: Scaffold 模擬(preset 全覆蓋)

cd template && node ../scripts/validate-starter-scaffold.mjs

scripts/validate-starter-scaffold.mjs 會對每個 preset(baseline / d-pattern-audit / nuxthub-ai / none)跑 scaffold simulation,把輸出落在 template/temp/validate-starter/, 並驗證 strip manifest 與 audit signal。

Phase 3: Public hygiene

bash scripts/audit-template-hygiene.sh    # starter pollution 檢查
node scripts/audit-public-hygiene.mjs     # L3 commands / skills allowlist 檢查

Phase 4: 手動一致性抽查

比對 template/docs/QUICK_START.md、template/README.md、template/docs/CLAUDE_CODE_GUIDE.md 內描述的目錄樹與實際結構:

grep -n "├──\|└──" template/docs/QUICK_START.md template/docs/CLAUDE_CODE_GUIDE.md template/README.md

Phase 5: Tech Stack 對照

從 template/README.md 的 Tech Stack 章節解析 [Name](url) 連結,與 template/package.json 的 dependencies 比對,確認 README 宣稱的技術都實際安裝。

Output

輸出驗證報告:

## Starter Validation Report

**來源 Commit**: <git rev-parse --short HEAD>

| 階段                        | 狀態  | 備註 |
| --------------------------- | ----- | ---- |
| validate-starter.sh         | ✅/❌ |      |
| validate-starter-scaffold   | ✅/❌ |      |
| audit-template-hygiene      | ✅/❌ |      |
| audit-public-hygiene        | ✅/❌ |      |
| 文件一致性                  | ✅/❌ |      |
| Tech Stack                  | ✅/❌ |      |

## 總結: **PASS** / **FAIL**

### 發現的問題(如有)

1. ...

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. 1mo ago Changed · -1 lines 38171f838c1b
  2. 1mo ago Changed 607b0a402fe0
  3. 3mo ago First seen · 95 lines · 29 tokens per session scan C 74cd3bde2e88

Subscribe to this mod's changes

Validate Starter is a command published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 842 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Validate Starter compared with commands from other repositories

Validate Starter next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Validate StarterYuDefine/nuxt-supabase-starterCommand452d agoMITC29Claude Code
bugfixnWave-ai/nWaveCommand63611d agoMITA18Claude Code
go-testraja21068/AutoResearchCommand26mo agoMITA8Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code