This skill includes detailed reference files for specific topics. Consult these when you need in-depth guidance.
Scanned 6/1/2026
Install via CLI
openskills install tools-only/X-Skills# Algorand TypeScript Reference Index
This skill includes detailed reference files for specific topics. Consult these when you need in-depth guidance.
## Reference Files
| File | Topics Covered |
|------|----------------|
| [types-and-values.md](./types-and-values.md) | AVM types, `uint64`, `bytes`, `clone()`, value semantics |
| [storage.md](./storage.md) | GlobalState, LocalState, BoxMap, Box, MBR funding |
| [methods-and-abi.md](./methods-and-abi.md) | Decorators, lifecycle methods, visibility, return types |
| [transactions.md](./transactions.md) | Group transactions (gtxn), inner transactions (itxn) |
## Quick Reference
### Types
| AVM Type | TypeScript | Creation |
|----------|------------|----------|
| uint64 | `uint64` | `Uint64(n)` |
| bytes | `bytes` | `Bytes('...')` |
| string | `string` | Native string |
| bool | `boolean` | Native boolean |
| biguint | `biguint` | `BigUint(n)` |
### Storage
| Type | Scope | Use Case |
|------|-------|----------|
| GlobalState | App-wide | Single values, app config |
| LocalState | Per-account | User-specific data |
| BoxMap | App-wide | Key-value storage, large data |
| Box | App-wide | Single large value |
### Method Decorators
| Decorator | Purpose |
|-----------|---------|
| `@abimethod()` | ABI-callable method |
| `@abimethod({ readonly: true })` | Read-only method |
| `@baremethod({ onCreate: 'require' })` | Create handler |
| `@baremethod({ onUpdate: 'require' })` | Update handler |
### Clone Rules
```typescript
// Always clone when:
const value = clone(this.storage.value) // Reading from storage
this.storage.value = clone(updated) // Writing to storage
for (const item of clone(array)) { } // Iterating arrays
const copy = clone(original) // Copying complex types
```
## External Documentation
- [Algorand TypeScript Documentation](https://dev.algorand.co/docs/get-started/algokit/typescript)
- [Puya Compiler](https://github.com/algorandfoundation/puya-ts)
- [AVM Specification](https://developer.algorand.org/docs/get-details/dapps/avm/)
No comments yet. Be the first to comment!
Create Mermaid diagrams for flowcharts, sequences, ERDs, and
Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.
Explain how claude-mem captures observations, when memory injection kicks in, and where data lives. Use when the user asks "how does claude-mem work?" or "what is this thing doing?".
Review a pull request or contribution deeply, explain it tutorial-style for a maintainer, and produce a polished report artifact such as HTML or Markdown. Use when asked to analyze a PR, explain a contributor's design decisions, compare it with similar systems, or prepare a merge recommendation.
Generate the stable Paperclip release changelog at releases/vYYYY.MDD.P.md by reading commits, changesets, and merged PR context since the last stable tag.