Blueprint Skill
The hathor-blueprint skill gives your LLM domain-specific guidance for creating, reviewing, and debugging Hathor nano contract blueprints written in Python.
For installation, see the LLM Integration overview.
tip
New to nano contracts? Start with the Nano Contracts documentation before using this skill.
warning
Code samples in this article are conservative drafts. Verify Blueprint SDK imports, decorators, Context fields, persistent container support, and token action APIs against the official SDK reference and validation tooling before production use.
Prerequisites
- The
hathor-blueprintskill installed (install guide) - Python development environment
- Access to the official Nano Contracts documentation and Blueprint SDK reference
- A local validation workflow such as Hathor Forge for testing
Activate the skill
Invoke explicitly:
/hathor-blueprint
Or let Claude Code activate it when your request mentions blueprints, nano contracts, @public, @view, @export, Context, NCFail, deposits, withdrawals, or self.syscall.
Verify it's working:
/hathor-blueprint
Help me design a simple token vault blueprint.
Do not write code yet — give me the persistent fields, public methods, and validation risks.
Standard workflow
- Describe the contract behavior you want to enforce.
- Ask the LLM to identify state, public methods, view methods, and failure cases.
- Ask for a design before code — get validation risks before generating anything.
- Ask for a minimal implementation.
- Ask for a self-review against blueprint rules.
- Ask for test scenarios before deploying or connecting to a wallet flow.