← Back to Skills Marketplace
iskysun96

Create Aptos Project

by iskysun96 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
202
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install create-aptos-project
Description
Scaffolds new Aptos projects using npx create-aptos-dapp. Supports fullstack (Vite or Next.js) and contract-only templates with network selection and optiona...
README (SKILL.md)

Create Aptos Project Skill

Purpose

Scaffold new Aptos projects using npx create-aptos-dapp. This is the mandatory first step when a user wants to build any new Aptos app, dApp, or project — regardless of how they phrase it.

ALWAYS

  1. Use npx create-aptos-dapp to scaffold — NEVER create projects from scratch manually
  2. Ask the user about project type, framework, and network before scaffolding
  3. Verify .env is in .gitignore before any git operations
  4. Use the same network for both create-aptos-dapp and aptos init
  5. Follow the full Build a dApp workflow after scaffolding (contracts, tests, audit, deploy, frontend)

NEVER

  1. Skip scaffolding — even for "simple" projects, always start with create-aptos-dapp
  2. Create project structure manually — the boilerplate template handles this
  3. Display or read private keys — use "0x..." as placeholder
  4. Run git add . or git add -A without first verifying .env is in .gitignore

Decision Tree

Before running the scaffold command, gather these inputs from the user:

1. Project Name

Derive from the user's description or ask directly. Use kebab-case (e.g., habit-tracker, nft-marketplace).

2. Project Type

Option When to Use
Fullstack (default) User wants a frontend + smart contracts
Contract-only User only wants Move smart contracts (no frontend)

3. Framework (fullstack only)

Option When to Use
Vite (default) Default choice, lighter setup
Next.js User asks for Next.js or SSR

4. Network

Option When to Use
devnet (default) Development and testing
testnet Pre-production, user explicitly asks
mainnet Production, user explicitly asks

5. API Key (optional)

Ask if the user has a Geomi API key. It's optional for devnet but recommended for testnet/mainnet to avoid rate limits. Get one at https://geomi.dev (create project -> API Resource -> copy key).


Scaffolding Commands

# Fullstack dApp with Vite (frontend + contracts)
npx create-aptos-dapp \x3Cproject-name> \
  --project-type fullstack \
  --template boilerplate-template \
  --framework vite \
  --network \x3Cnetwork>

# Fullstack dApp with Next.js
npx create-aptos-dapp \x3Cproject-name> \
  --project-type fullstack \
  --template boilerplate-template \
  --framework nextjs \
  --network \x3Cnetwork>

# Contract-only (Move project)
npx create-aptos-dapp \x3Cproject-name> \
  --project-type move \
  --network \x3Cnetwork>

Optional flags:

  • --api-key \x3Ckey> — Pass a Geomi API key during scaffolding
  • --use-surf — Enable Surf for type-safe contract interactions

Post-Scaffold Checklist

After scaffolding, complete these steps in order:

  1. cd \x3Cproject-name>
  2. Verify .env is in .gitignore before any git operations
  3. Run aptos init --network \x3Cnetwork> --assume-yes (use the same network as above)
  4. Verify: npm run move:compile && npm run move:test
  5. git init && git add . && git commit -m "Initial commit"

Build a dApp Workflow

ALWAYS follow this workflow when the user wants to build a new Aptos app, dApp, or project. This applies regardless of how the user phrases it ("build me a ...", "create a ...", "make a ...", "I want to build ...").

  1. /create-aptos-project -> scaffold with npx create-aptos-dapp (this skill — NEVER skip)
  2. /write-contracts -> write Move modules
  3. /generate-tests -> create test suite, verify 100% coverage
  4. /security-audit -> audit before deployment
  5. /deploy-contracts -> deploy contract to specified network
  6. /use-ts-sdk -> orchestrates frontend integration (routes to ts-sdk-client, ts-sdk-transactions, ts-sdk-view-and-query, ts-sdk-wallet-adapter as needed)

What the Boilerplate Includes

Fullstack Template

  • contract/ — Move smart contract with Move.toml and starter module
  • frontend/ — React app with Aptos wallet adapter pre-configured
  • package.json — Scripts for move:compile, move:test, move:publish, dev, build
  • .env — Environment variables for network, API key, and publisher account

Contract-Only Template

  • contract/ — Move smart contract with Move.toml and starter module
  • package.json — Scripts for move:compile, move:test, move:publish
  • .env — Environment variables for network and publisher account

Troubleshooting

npx create-aptos-dapp command not found

# Auto-confirm the npx package install prompt
npx --yes create-aptos-dapp \x3Cproject-name> ...

If that still fails, verify Node.js and npm are installed (node -v && npm -v).

Compile failures after scaffold

  1. Check contract/Move.toml has correct named addresses
  2. Run aptos init --network \x3Cnetwork> --assume-yes if not done
  3. Verify my_addr is set to "_" in [addresses] section

Named address errors

The boilerplate uses my_addr = "_" which gets resolved from .env at compile time. Ensure VITE_MODULE_PUBLISHER_ACCOUNT_ADDRESS is set in .env (populated by aptos init).

Usage Guidance
This skill appears coherent for scaffolding Aptos projects, but take precautions before running its recommended commands: 1) npx create-aptos-dapp will download and execute code from npm — verify the package name, inspect the package contents (or prefer a specific, audited version) and the maintainer before running it; consider running the scaffold in an isolated environment or container. 2) Do not let the agent display or transmit private keys; aptos init may create keys — store them securely and never commit .env to git. 3) The skill metadata claims 'aptos-labs' but has no homepage/source: treat the author assertion as unverified. 4) Prefer to run scaffolding commands locally under your control (or inspect the npm package) rather than giving an agent the ability to execute them autonomously. If you need help verifying the npm package or modifying commands to use a pinned version or sandbox, ask before installing.
Capability Analysis
Type: OpenClaw Skill Name: create-aptos-project Version: 1.0.0 The skill bundle provides legitimate instructions for scaffolding Aptos blockchain projects using the standard 'npx create-aptos-dapp' utility. It incorporates security best practices, such as explicitly instructing the agent to verify that '.env' files are ignored by git and forbidding the handling of private keys. The referenced external service (geomi.dev) is a known infrastructure provider for the Aptos ecosystem, and no malicious execution or data exfiltration patterns were identified in SKILL.md or _meta.json.
Capability Assessment
Purpose & Capability
Name, description, and instructions are consistent: the skill is an instruction-only scaffold helper for Aptos projects. Minor oddity: metadata claims author 'aptos-labs' and 'priority: critical' but source/homepage are unknown — provenance is unclear and could be impersonation.
Instruction Scope
The SKILL.md tells the agent to run npx create-aptos-dapp and aptos init, initialize git, and manipulate .env/.gitignore. That is within scaffolding scope, but npx will fetch and execute remote npm package code at runtime (remote code execution risk). The doc also references handling of sensitive data (publisher account keys in .env) but does not provide strong guidance for safe key storage beyond checking .gitignore; aptos init may generate keys that must not be exposed — the agent must not display or transmit them.
Install Mechanism
No install spec in the skill itself, but the runtime instructions rely on npx to pull and run create-aptos-dapp from npm. That implicitly causes a network download and execution of third-party code. The skill does not require or lock to a known package version or provide a trusted source URL, increasing risk.
Credentials
The skill declares no required env vars, which matches its instruction-only nature. However, the templates create an .env that may contain API keys and the publisher account (sensitive private keys). The skill properly warns to ensure .env is in .gitignore, but it does not instruct how to securely create/store the publisher key or prevent accidental exposure beyond that check.
Persistence & Privilege
Skill is instruction-only, has no install, does not request persistent privileges, and always=false. It does not modify other skills or system-wide configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install create-aptos-project
  3. After installation, invoke the skill by name or use /create-aptos-project
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the create-aptos-project skill. - Scaffolds new Aptos projects using npx create-aptos-dapp, supporting fullstack (Vite or Next.js) and contract-only templates. - Guides users through project type, framework, network selection, and optional API key setup. - Enforces best practices: always scaffold with create-aptos-dapp, never create project structures manually, and never display private keys. - Includes a detailed workflow and checklist for initializing, testing, and committing new projects. - Covers troubleshooting and recommendations for a smooth project setup experience.
Metadata
Slug create-aptos-project
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Create Aptos Project?

Scaffolds new Aptos projects using npx create-aptos-dapp. Supports fullstack (Vite or Next.js) and contract-only templates with network selection and optiona... It is an AI Agent Skill for Claude Code / OpenClaw, with 202 downloads so far.

How do I install Create Aptos Project?

Run "/install create-aptos-project" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Create Aptos Project free?

Yes, Create Aptos Project is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Create Aptos Project support?

Create Aptos Project is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Create Aptos Project?

It is built and maintained by iskysun96 (@iskysun96); the current version is v1.0.0.

💬 Comments