✨
简介
Scaffold
原始描述
Generate complete project from PRD + stack template — directory structure, configs, CLAUDE.md, git repo, and GitHub push. Use when user says "scaffold projec...
技能正文
description: "Start a new web project or app in the sandbox with the standard stack. Use when asked to build a site, app, dashboard, or landing page from scratch."
Scaffold — starting a project right
Default stack (deviate only if the brief demands it)
Next.js (App Router) + TypeScript + Tailwind. Scaffold non-interactively:
npx create-next-app@latest <name> --ts --tailwind --eslint --app --no-src-dir --import-alias "@/*" --yes
Work inside /workspace/<name>. If the client's repo already exists, clone it
instead (git credentials are brokered — plain git clone works for permitted
hosts; tokens are never visible to you).
First moves after scaffolding
npm run devas a long-lived process → confirm it serves.- Screenshot
http://localhost:3000— verify the scaffold renders before writing any feature code (catches broken scaffolds in one step). - Commit the clean scaffold as the first commit (see the git-discipline skill) so every later diff is meaningful.
Structure conventions
- One feature per file/component; pages thin, components extracted.
- Keep styling in Tailwind classes; add a design-token block in
globals.cssonly when the brief specifies brand colors. - No new dependency without a reason you could defend in review — prefer the platform (Next.js, Tailwind) over utility packages.
When the brief includes services
Databases, auth, payments and similar external services are provisioned through the project's existing connections/integrations — check what tools you have (Vercel connection, GitHub tools) before hand-rolling anything, and record the choice with the architecture-notes skill.
其他来源收录
同一技能在不同目录的原始页面:
标签
同类 Skill
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
Self-Improving + Proactive Agent
Self-Improving + Proactive Agent
下载 177.1k
✨
Gog
Gog
下载 165k