Search

PythonReactSEOPDF
GitHub Skill

use-algokit-cli

AlgoKit CLI commands for building, testing, and deploying Algorand applications. Use when building or compiling smart contracts, running test suites, deploying to localnet, managing local Algorand network, or understanding the development workflow. Strong triggers include "build the contract", "run the tests", "start localnet", "deploy to localnet", "algokit project run", "localnet status".

gabrielkuettel☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

AlgoKit Commands

Standard commands for Algorand development with AlgoKit CLI.

Overview / Core Workflow

  1. Write contract code
  2. Build: algokit project run build
  3. Write tests using generated clients
  4. Test: algokit project run test
  5. Deploy: algokit project deploy localnet

How to proceed

  1. Build contracts:

    algokit project run build
    

    This compiles contracts via Puya, generates ARC56 specs, and creates typed clients.

  2. Run tests:

    algokit project run test
    

    Executes the test suite using Vitest.

  3. Start localnet (if needed):

    algokit localnet start
    
  4. Deploy to localnet:

    algokit project deploy localnet
    
  5. Check build artifacts:

    • artifacts/ — Compiled contracts, ARC56 specs
    • Generated client files for TypeScript/Python

Important Rules / Guidelines

  • Always build before testing — Tests use generated clients
  • Only deploy when explicitly requested — Don't auto-deploy
  • Check localnet status before deployment operations
  • Reset localnet if you need a clean state

Common Variations / Edge Cases

Scenario Command
Start local network algokit localnet start
Stop local network algokit localnet stop
Reset network state algokit localnet reset
Check network status algokit localnet status
Build fails Check Puya compiler errors, fix contract code
Tests fail Check test assertions, fix contract or test code

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)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!