Skip to content
Development
Skill

/scaffold-project

Scaffold a new Sui project with the right stack and write build-context.md. Use when the user wants to start, init, bootstrap, set up, or create a new Sui project, workspace, or template, in any phrasing.

From plugin
suiperpower
1360 skills1 MCP

Claude Code

$ npx -y skills add pivyme/suiperpower --skill scaffold-project --agent claude-code

SKILL.md

scaffold-project.SKILL.md
name: scaffold-project
description: Scaffold a new Sui project with the right stack and write build-context.md. Use when the user wants to start, init, bootstrap, set up, or create a new Sui project, workspace, or template, in any phrasing.

Preamble (run first)

# Suiperpower telemetry. Routes through the CLI so projects.json + Convex stay in sync.
# Silent on failure so the skill never blocks. Opt out: SUIPERPOWER_TELEMETRY=off.
#
# AGENT NOTE: when this skill finishes, run the matching completion command:
#   suiperpower track scaffold-project build completed
# Or use "failed" / "aborted" if it ended that way.
command -v suiperpower >/dev/null 2>&1 && suiperpower track scaffold-project build started >/dev/null 2>&1 &
true

If `TEL_PROMPTED` is `no`, before doing real work, ask the user:

> Help suiperpower get better. We track which skills get used and how long they take. No code, no file paths, no PII. Change anytime in `~/.suiperpower/config.json`. > > A) Sure, anonymous > B) No thanks

Write the answer to `~/.suiperpower/config.json` `telemetryTier` field and create `~/.suiperpower/.telemetry-prompted`. Then continue.

What this skill does

Bootstraps a fresh Sui project on disk. Picks a template based on the project intent (Move-only package, frontend dapp, full-stack with backend), wires the standard Sui dependencies, generates `Move.toml` and `package.json`, and writes the canonical `.suiperpower/build-context.md` so subsequent skills know where the project lives and what stack it uses.

When to use it

  • Starting a new Sui project from scratch.
  • Adding a Sui Move package to an existing repo that does not have one yet.
  • Migrating an EVM or Solana scaffold to Sui shape.

When NOT to use it

  • If the user has not picked an idea yet, use `find-next-sui-idea` first.
  • If the user already has a working project and wants to extend it, use `build-with-move` or the relevant build skill.
  • For deploys, use `deploy-to-testnet`.

If you activated this and the user actually wants something else, consult `skills/SKILL_ROUTER.md` and hand off.

Inputs

  • A target directory (default: current working directory).
  • Optional: `.suiperpower/idea-context.md` from `find-next-sui-idea`. Read it if present to derive project shape.
  • The intended deployment target (testnet first, then mainnet).

If unclear, interview the user for:

  • Move-only, frontend-only, or full-stack?
  • TS frontend (Next.js, Vite, plain Node) or Rust client?
  • Will Walrus, DeepBook, Scallop, or zkLogin be load-bearing? Default these in if so.
  • Which package manager (pnpm preferred)?

Outputs

  • A directory with: `move/<package>/Move.toml`, `move/<package>/sources/`, `move/<package>/tests/`, optional `web/`, optional `cli/`, `.suiperpower/build-context.md`, `.gitignore`, `README.md`.
  • Initial `.suiperpower/build-context.md` containing:
  ## scaffold-project session, <timestamp>
  - project name: <name>
  - stack: <move-only | frontend | full-stack>
  - frontend: <none | next | vite>
  - default sponsor integrations: <walrus | deepbook | scallop | none>
  - Move package name: <name>
  - target network: testnet
  - open issues: <list>
  • A working `sui move build` and (if frontend) `pnpm install + pnpm build`.

The skill never deletes files outside the scaffolded directory without explicit user confirmation.

Workflow

1. **Context gathering**

  • Read `.suiperpower/idea-context.md` if present.
  • Confirm project name, stack shape, sponsor integrations.

2. **Pick the template**

  • Move-only: a single Move package skeleton.
  • Frontend dapp: Next.js + dapp-kit + a Move package.
  • Full-stack: as above plus a backend service shell.

3. **Generate the directory tree**

  • Create directories.
  • Write `Move.toml` with pinned framework rev.
  • Write a placeholder Move module so `sui move build` succeeds.
  • Write a starter test for the placeholder module.

4. **Frontend setup (if applicable)**

  • Scaffold Next.js or Vite.
  • Install `@mysten/sui`, `@mysten/dapp-kit-core`, and `@mysten/dapp-kit-react`. The legacy `@mysten/dapp-kit` package is deprecated and does not support gRPC or GraphQL.
  • Write a starter page that connects to a wallet and reads the user's address.

5. **Sponsor defaults (if applicable)**

  • Add `@mysten/walrus` (or HTTP path) for Walrus.
  • Add `@mysten/deepbook-v3` for DeepBook.
  • Add `@scallop-io/sui-scallop-sdk` for Scallop.
  • Note: do not add unless the user actually plans to use them. Default off.

6. **Quality verification**

  • Run `sui move build`. Confirm zero errors.
  • Run `pnpm install` and a build for frontend, if applicable.

7. **Write build-context.md**

  • Capture stack decisions for downstream skills.

8. **Hand off**

  • Recommend `object-model-design` next if the project has non-trivial state.
  • Recommend `build-with-move` for direct Move authoring.

9. **Closing handoff**

  • If `.suiperpower/intent.md` exists and the scaffold was non-trivial (new sponsor integration wired in, multi-package layout, custom upgrade authority), recommend `verify-against-intent` as the next step so the generated tree is checked against recorded intent before code lands on top.
  • If no `intent.md` exists and the scaffold was non-trivial, surface that gap once: offer `clarify-intent` to backfill, do not force it.

Quality gate (anti-slop)

Before reporting done, the skill asks itself the following and refuses to declare success if any answer is no:

  • Does `sui move build` succeed in the scaffolded directory with zero errors?
  • Does the frontend (if scaffolded) run `pnpm build` without errors?
  • Is `Move.toml` pinned to a specific framework rev or tag, not `main`?
  • Is `.suiperpower/build-context.md` written with the stack decisions?
  • Does the placeholder Move module include at least one passing test?
  • Are sponsor defaults only added when the user explicitly opted in, not "just in case"?

If any answer is

Read more
@pivyme
Ships withsuiperpower

Build something meaningful, on Sui. A superpower for AI coding agents to ship real products on Sui. Your AI coding agent has never written Move before. Suiperpower fixes that.

1360 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
13
Star history of pivyme/suiperpower on GitHub, a chart by star-history.com

Other skills on suiperpower.

brand-design

brand-design

Pick a brand name, color palette, or typography for a Sui product. Use when the user wants to name or brand a Sui project.

@pivyme@pivymeInstall Skill
build-ai-agent

build-ai-agent

Build an AI agent that signs Sui transactions or runs onchain actions. Use when the user wants an AI agent on Sui.

@pivyme@pivymeInstall Skill
build-data-pipeline

build-data-pipeline

Build a Sui data indexer or analytics pipeline. Use when the user wants to index Sui events, build a pipeline, or query Sui RPC…

@pivyme@pivymeInstall Skill
build-mobile-sui

build-mobile-sui

Build a mobile Sui app with React Native or the Sui Mobile SDK. Use when the user wants iOS, Android, or mobile Sui flows.

@pivyme@pivymeInstall Skill
build-with-claude

build-with-claude

Pair with a coding agent to build a Sui MVP step by step. Use when the user wants to build the MVP iteratively with an agent.

@pivyme@pivymeInstall Skill
build-with-move

build-with-move

Author Sui Move modules and packages with a senior Move dev as your pair. Use when the user wants to write, build, author, add,…

@pivyme@pivymeInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about scaffold-project.

Which coding agents can use scaffold-project?
scaffold-project installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.