init-project
Start a brand-new project from scratch - interview me about what it is and who it's for, help pick a name, scaffold it on my stack (bun, Next.js, Convex, Clerk, Vercel) in sandbox or dev, and set it up agent-native (AGENTS.md, vertical slices, project skills, verification). Use for /init-project or "start a new project". For an existing repo use /optimize.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- init-project
- description
- Start a brand-new project from scratch - interview me about what it is and who it's for, help pick a name, scaffold it on my stack (bun, Next.js, Convex, Clerk, Vercel) in sandbox or dev, and set it up agent-native (AGENTS.md, vertical slices, project skills, verification). Use for /init-project or "start a new project". For an existing repo use /optimize.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档agents/openai.yaml43 B
- 参考文档references/AGENTS.base.md3.9 KB
- 参考文档references/layout.md1.3 KB
- 参考文档references/naming.md527 B
- 参考文档references/stack.md1.5 KB
03 SKILL.md 正文
Init project
Create a new project with me, end to end. Interview first, build second. Nothing gets created until the interview is done and I've confirmed the summary.
0. Where you're starting from
My code lives in OneDrive:
C:\Users\kaust\OneDrive\Documents\dev\
<name>\ personal and public projects, one git repo each
sandbox\ experiments; sandbox\AGENTS.md has its rules and how promotion works
<name>\
I almost never have a folder yet when I run this. I start thinking or researching an idea in a T3 "No project" thread (its folder is a throwaway C:\Users\kaust\.t3\scratch\<date-slug>\) or in the sandbox project (dev\sandbox), and run /init-project in that same thread once the idea firms up.
- The folder you're in is not the project. Never scaffold into
.t3\scratch,.t3\projectsor the sandbox root. The project goes where its tier says (step 1), and you create that folder in step 3. - Read the thread so far and the current folder first. Research, notes, a name idea or decisions already made are interview answers; don't ask them again. Copy notes worth keeping into the new project's
docs/. - If the idea already has a folder in
dev\sandbox\, build on it: keep it there for an experiment, or promote it todev\(steps insandbox\AGENTS.md) for personal and public. Don't start a second folder for the same idea.
1. Interview
Use the grilling skill's format: rounds of numbered questions, each with your recommended answer, worded so "yes" accepts it. Ask only what changes what you build. Look up facts yourself (folders, GitHub, npm).
Round 1, always:
-
What is it? One or two sentences, and the one thing it must do well.
-
Who is it for? This sets the tier, which sets everything else:
Tier Who Where it lives Rigor Git experiment just me, testing an idea dev\sandbox\<name>README, short AGENTS.md, no CI commit to mainpersonal me and a few friends dev\<name>, private GitHub repo+ verify skill, tests on core logic, deployed worktree branches merge straight into main, no PRspublic other people use it, or it's published / open source dev\<name>, GitHub repo+ LICENSE, stricter lint, error tracking PRs with CI before main -
Surface: web app, desktop app, CLI, library, or several.
Later rounds, only what the answers so far leave open: backend and data, accounts and auth, AI features, payments, anything deployed or scheduled. Then the name (step 2).
End with a one-screen summary (name, tier, location, stack, first feature) and wait for my yes.
2. Name
Read references/naming.md. Offer 5-8 candidates. Check each before offering it:
- No folder with that name in
C:\Users\kaust\OneDrive\Documents\devordev\sandbox. gh repo view kausthubh-coder/<name>fails (name is free on my GitHub).- For public projects:
npm view <name>fails if it will ship as a package, and say whether<name>.vercel.applooks taken (open it).
3. Scaffold
Read references/stack.md. Use the official generators and CLIs (bun create next-app, bunx convex dev, the clerk-setup skill in ~/.skills-parked/clerk-setup/), not hand-written config. Use bun everywhere, never npm or npx.
Steps only I can do (signing in to Convex, Clerk keys, linking Vercel, creating the GitHub repo) are mine: list them as one numbered checklist with exact commands and links, do everything around them, and continue when I say they're done. Don't stall the rest of setup waiting on them.
4. Agent-native structure
- Lay out code by feature, following references/layout.md. The first feature gets its own folder from day one.
- Write
AGENTS.mdfrom references/AGENTS.base.md. Fill every{{...}}from what you just built; delete sections that don't apply yet. Keep it under about 100 lines. CLAUDE.mdis one line:@AGENTS.md.- Project skills go in
.agents/skills/. Link.claude/skillsto it so Claude Code and Codex read the same folder. On Windows:New-Item -ItemType Junction -Path .claude\skills -Target .agents\skills(a junction needs no admin rights). - Lint, strict types, and a test runner with one real behavior test, so
bun run checkworks from the first commit. Add the day-one items fromstack.md(.gitattributes,PORT, setup and doctor scripts). - Run
create-project-flowsto writeworktree-<name>andship-<name>(experiments can skip ship). Personal and public tiers: register the project in T3 Code (t3_project_createif available), and set setup as its worktree-create script the way that skill says.t3_project_updatescripts are silently ignored.
5. Verification
Once the app runs and shows its first real screen, run create-verification-skill to write .agents/skills/verify-<name>/. Experiments can skip this; personal and public can't. Tell me to run maintain-verification-skill after big feature changes.
6. Finish
git initand make the first commit onmain. Ask before creating the GitHub repo; after that, follow the tier's git flow.- Experiments: add the folder to "What's here now" in
dev\sandbox\AGENTS.md. - This thread is still bound to the folder it started in, so use absolute paths into the new project. For personal and public, tell me to open new threads in its T3 project from now on.
- Reply with: what exists, how to run it, my remaining checklist items, and the first three features you'd build next.
04 同仓库更多 Skills
writing-for-agents
Write docs that agents read (skills, AGENTS.md, CLAUDE.md). Use when creating or editing a skill, or changing AGENTS.md or CLAUDE.md.
unslop
Make prose sound human, not AI-written. Use whenever you write a PR description, commit message, doc, README, release note, post, email or UI copy, or when asked to unslop or de-AI text.
tutor
Run a study session from my exam plan and progress files in the study repo. Use when I say study, teach me, quiz me, practice for an exam, or check whether I really understand a topic.
threads
Start, steer and read T3 threads on my laptop or Mac mini from either machine. Use to move a thread to the Mac, get a Windows check from the laptop, manage threads on both, or answer a message from the other machine.
statechart
Check a TLA+ model and draw it as a Mermaid statechart, with the shortest path to each broken rule. Use for /statechart, to read a TLC result, or to show a bug as a path through states.
sol-loop
Review a change with GPT Sol in a loop until we both agree. Use when I say "sol loop".