algorand-typescript
Installation
SKILL.md
Algorand TypeScript Rules
Critical syntax rules for Algorand TypeScript (PuyaTs) that prevent compiler errors and runtime failures.
File Extension: Contract files must use .algo.ts extension (e.g., Counter.algo.ts).
Overview / Core Workflow
- Identify the syntax issue or pattern needed
- Apply the correct AVM-compatible pattern
- Use
clone()for complex types - Verify no union types or JavaScript
number
How to proceed
- Check the most critical rules below
- Consult detailed reference files for specific topics
- Apply the correct pattern with proper AVM types
- Build to verify:
algokit project run build