Skip to content
Back to skills

600 Reference Feb4f276

ASecurity

This skill includes detailed reference files for specific topics. Consult these when you need in-depth guidance.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
documentationtypescriptgogitdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add tools-only/X-Skills --skill 600-reference_feb4f276 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 600 Reference Feb4f276?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 600 Reference Feb4f276
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-600-reference-feb4f276/badge)](https://www.skillsdirectory.com/skills/tools-only-600-reference-feb4f276)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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/)

Files in this skill

  • README.md965 B
  • skill.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.