create-project
Bootstraps production-ready AlgoKit projects for Algorand dApps and smart contracts. Use when initializing new Algorand smart contract projects, setting up development environments from scratch, or scaffolding dApps with pre-configured tooling. Strong triggers include "create a new project", "initialize a new Algorand app", "start a new smart contract", "set up AlgoKit", "scaffold a dApp", "algokit init".
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
AlgoKit Project Initialization
Create new Algorand projects using AlgoKit's official templates.
Overview / Core Workflow
- Confirm project details with user (name, template, customizations)
- Run
algokit initwith appropriate flags - Handle any initialization errors
- Provide next steps for building/testing
How to proceed
-
Confirm project details with user:
- Project name (directory name)
- Template choice (TypeScript or Python)
- Any customizations (
--no-git,--no-bootstrap, author name) - For TypeScript: confirm Production preset for production projects
-
Run initialization command:
TypeScript (Production Preset):
algokit init -n <project-name> -t typescript --answer preset "Production" --answer author_name "<name>" --defaultsTypeScript (Starter Preset):
algokit init -n <project-name> -t typescript --answer author_name "<name>" --defaultsPython (Production Preset):
algokit init -n <project-name> -t python --answer preset "Production" --answer author_name "<name>" --defaultsPython (Starter Preset):
algokit init -n <project-name> -t python --answer author_name "<name>" --defaultsWith custom options (no git, no bootstrap):
algokit init -n <project-name> -t typescript --no-git --no-bootstrap --defaults -
Handle errors:
- Check if project directory already exists
- Verify AlgoKit is installed:
algokit --version - Ensure target directory is writable
- Valid templates:
typescript,python,tealscript,react,fullstack,base
-
Provide next steps:
-
cd <project-name> -
algokit project run build— Compile contracts -
algokit project run test— Run test suite -
algokit localnet start— Start local network (if deploying) -
algokit project run deploy— Deploy contracts to local network
-
Important Rules / Guidelines
-
Always confirm with user before executing — Never run
algokit initwithout explicit confirmation - Default to TypeScript — Recommended for production applications
- Use Production preset — For any project because it includes testing framework and deployment scripts
-
Include author name — Pass
--answer author_name "<name>"for attribution -
Use
--defaults— Accepts all other default values for non-interactive mode
Common Variations / Edge Cases
| Scenario | Approach |
|---|---|
| Python with TypeScript deployment | --answer deployment_language "typescript" |
| Existing directory | Check and warn if directory already exists |
| No Git initialization | Use --no-git flag |
| No dependency installation | Use --no-bootstrap flag |
| Custom author name | --answer author_name "Your Name" |
| Fullstack (frontend + contracts) | Use -t fullstack template |
| React frontend only | Use -t react template |
| Standalone (no workspace) | Use --no-workspace flag |
| Initialize from example | Use algokit init example subcommand |
References / Further Reading
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!