clarity-patterns
Installation
SKILL.md
Clarity Patterns Skill
Canonical pattern library for Clarity smart contract development on Stacks. All patterns and templates are bundled in this skill — no external dependencies.
This is a doc-only skill. Agents read this file and the colocated reference files directly. The CLI interface documents the planned implementation.
bun run clarity-patterns/clarity-patterns.ts <subcommand> [options]
Subcommands
list [--category <category>]— List available patterns and templates (categories:code,registry,templates,testing)get --name <pattern-name>— Return a specific pattern with code and notestemplate --name <template-name>— Return a complete contract template with source, tests, and checklist