0xmiden/agent-tools/masm-file-structure
Claude Code and agent skill by 0xmiden/agent-tools
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Enforce file structure, module-tree declaration, and section ordering for Miden Assembly (.masm) files. Use when editing, reviewing, or creating .masm files.
Install
npx vskill@latest install 0xmiden/agent-tools/masm-file-structureSKILL.md
MASM File Structure
MASM files must follow a fixed section order. Use section headers with the long separator line:
Section Order
- Imports –
usestatements only; no section header - Type aliases –
typedefinitions - Constants – see the masm-constants skill for organization (non-error constants first, then errors)
- Public interface –
pub procprocedures that form the module API - Helper procedures –
proc(non-pub) procedures used internally
Example Structure
Guidelines
- Imports: One
useper line; group by module. No blank lines between imports. - Type aliases: Define shared types (e.g.
DoubleWord,MemoryAddress) before constants or procedures. - Constants: Follow the masm-constants skill.
- Public interface: Only
pub proc; these are the module’s API. Order by importance or call flow. - Helper procedures: Non-pub procedures that support the public interface. May include
pub prochelpers (e.g.get_leaf_value) if they are used internally or re-exported, or used for unit tests.
When Sections Are Omitted
- No imports → start with type aliases or constants
- No type aliases → constants follow imports
- No helpers → public interface is the last section
Validation Checklist
- [ ] Imports at top (if any)
- [ ] Type aliases before constants and procedures
- [ ] Constants before procedures; errors subsection after non-error constants
- [ ] Public interface (
pub proc) before helper procedures - [ ] Section headers use
# SECTION NAMEand# ===...separator
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/masm-file-structure/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 3
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0xmiden/agent-tools/masm-file-structure)