t-init

t-init is a skill for Claude Code, Codex from timzaak/web-dev-skills. It costs 34 tokens per session (5,388 once invoked), scanned A, original, Apache-2.0.

A project initializer creates a full-stack application skeleton with a Rust backend and a React frontend. The backend uses Axum, SeaORM, and Redis; the frontend uses TypeScript, TanStack, and Tailwind.

In plain words
What is it for?
Use `/t-init <project-name>` when starting a new project that needs both a Rust server and a React web interface.
Why use it?
It removes the repeated setup work needed to create the folders, configuration, and starting structure for a new full-stack project.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the t-tools plugin — 27 skills, 31 agents shipped together

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.

agentmods
npx agentmods add skills/timzaak/web-dev-skills/t-init
Any agent
npx skills add timzaak/web-dev-skills --skill t-init
Clone the repo
git clone --depth 1 https://github.com/timzaak/web-dev-skills

Made for: Claude Code, Codex.

Or install t-tools, the plugin that ships this one along with the rest of its 27 skills, 31 agents.

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 t-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-init.svg)](https://agentmods.dev/skills/timzaak/web-dev-skills/t-init)
Your own site
<a href="https://agentmods.dev/skills/timzaak/web-dev-skills/t-init"><img src="https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.05388
Opus 5 $0.00017 $0.02694
Sonnet 5 $0.00007 $0.01078
Haiku 4.5 $0.00003 $0.00539

Measured 4d ago against content hash 75cae9a1d64b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

t-init 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 4d 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.

skills/t-init/SKILL.md · 504 lines

How it starts

The opening of the file, as written. The whole thing — 504 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目初始化

初始化一个全栈项目骨架:Rust 后端 (Axum + Sea-ORM + Redis) + React 前端 (TypeScript + TanStack + Tailwind)。

适用范围

仅在以下场景使用:

  • 用户明确执行 /t-init <project-name>
  • 用户要求创建新项目、初始化全栈项目骨架
  • 用户提到 "搭建项目""新建项目""项目初始化"

不要用于:

  • 已有项目的增量开发
  • 代码修改或重构
  • 单纯的前端或后端初始化(如果明确只做一侧,提示用户本 skill 生成完整全栈)

参数

  • $ARGUMENTS = 项目名称(必须)
  • 仅允许英文、数字、连字符、下划线
  • 拒绝 ../\
  • 长度限制 1-50 字符

如果参数不合法,终止并提示: 请提供合法的项目名称。例如:/t-init my-project

占位符

整个流程中使用以下占位符:

  • {{PROJECT_NAME}} — 项目名称(kebab-case,如 my-project
  • {{PROJECT_NAME_PASCAL}} — PascalCase(如 MyProject
  • {{PROJECT_NAME_SNAKE}} — snake_case(如 my_project

生成流程

Step 1: 验证参数(主 Agent)

  • 校验 $ARGUMENTS 非空且合法
  • 检查目标目录是否已存在同名目录
  • 如果目录已存在且非空,询问用户是否覆盖
  • 创建所有目录结构:
<project-name>/
├── backend/
│   ├── .cargo/
│   │   └── config.toml
│   ├── .config/
│   │   └── nextest.toml
│   ├── core/
│   │   └── src/
│   │       ├── domain/
│   │       └── infrastructure/
│   ├── api/
│   │   └── src/
│   │       └── application/
│   │           └── http/
│   ├── app/
│   │   └── src/
│   └── migrations/
├── frontend/
│   └── src/
│       ├── routes/
│       ├── components/ui/
│       └── lib/
├── demo/
│   └── e2e/
│       ├── fixtures/
│       ├── helpers/
│       └── pages/
└── scripts/
    └── lib/

Step 2: 查询文档(主 Agent)

使用 Context7 查询关键依赖的最新文档,确保生成的代码使用当前最佳实践。

必查依赖(按顺序)

  • Axum — 路由、状态共享、中间件写法

    • mcp__context7__resolve-library-id → query: "axum web framework"
    • mcp__context7__query-docs → query: "router, state sharing, middleware, serve static files"
  • Sea-ORM — 数据库连接和实体定义

    • mcp__context7__resolve-library-id → query: "sea-orm rust database"
    • mcp__context7__query-docs → query: "database connection, entity generation, migration"
  • utoipa — OpenAPI 文档生成

    • mcp__context7__resolve-library-id → query: "utoipa rust openapi"
    • mcp__context7__query-docs → query: "OpenApi derive, swagger ui, axum integration"
  • TanStack Router — 前端文件路由

    • mcp__context7__resolve-library-id → query: "tanstack router react"
    • mcp__context7__query-docs → query: "file-based routing setup, vite plugin, createRouter"

Read the full file on GitHub · 504 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 504 lines · 34 tokens per session scan A 75cae9a1d64b

Subscribe to this mod's changes

t-init is a skill published in the GitHub repository timzaak/web-dev-skills (69 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 5,388 once invoked, about $0.0002 per session on Opus 5. 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.

Related

Other skills, from other repositories

drizzle-migrations

How to safely add, edit, and verify Drizzle migrations in the skills-observability backend (PostgreSQL + Drizzle ORM). Covers the schema-first generation flow, the strict monotonicity invariant of journal.json when timestamps (whose violation has silently skipped migrations in production), idempotent SQL patterns, and…

PackmindHub/skillsight · 227 tokens

database-safety

规则: 每个 migration 必须配 down 方法(回滚路径);对行数超过百万的表加列或建索引,必须评估锁表风险,使用在线 DDL 工具(pt-online-schema-change、gh-ost 或数据库自带的 ALGORITHM=INPLACE)而非直接 ALTER TABLE。.

Wade-DevCode/awesome-coding-skills-cn · 30 tokens

creating-oracle-to-postgres-master-migration-plan

Discovers all projects in a .NET solution, classifies each for Oracle-to-PostgreSQL migration eligibility, and produces a persistent master migration plan. Use when starting a multi-project Oracle-to-PostgreSQL migration, creating a migration inventory, or assessing which .NET projects contain Oracle dependencies.

boshi-xixixi/TraeSkill · 71 tokens

creating-oracle-to-postgres-migration-bug-report

Creates structured bug reports for defects found during Oracle-to-PostgreSQL migration. Use when documenting behavioral differences between Oracle and PostgreSQL as actionable bug reports with severity, root cause, and remediation steps.

boshi-xixixi/TraeSkill · 52 tokens

creating-oracle-to-postgres-migration-integration-tests

Creates integration test cases for .NET data access artifacts during Oracle-to-PostgreSQL database migrations. Generates DB-agnostic xUnit tests with deterministic seed data that validate behavior consistency across both database systems. Use when creating integration tests for a migrated project, generating test…

boshi-xixixi/TraeSkill · 83 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens