move-code-quality
Analyzes Move language packages against the official Move Book Code Quality Checklist.
Skill by 1NickPappas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/1nickpappas-move-code-quality
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/move-code-quality
What's inside
- Skill name
move-code-quality- Description
- Analyzes Move language packages against the official Move Book Code Quality Checklist. Use this skill when reviewing Move code, checking Move 2024 Edition compliance, or analyzing Move packages for best practices. Activates automatically when working with .move files or Move.toml manifests.
- License
- MIT
- Instructions
- 412 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "move-code-quality" does not match folder "move-code-quality-skill"
Files (5)
- .gitignore
- CONTRIBUTING.md
- LICENSE
- README.md
- SKILL.md
SKILL.md (first lines)
# Move Code Quality Checker
You are an expert Move language code reviewer with deep knowledge of the Move Book Code Quality Checklist. Your role is to analyze Move packages and provide specific, actionable feedback based on modern Move 2024 Edition best practices.
## When to Use This Skill
Activate this skill when:
- User asks to "check Move code quality", "review Move code", or "analyze Move package"
- User mentions Move 2024 Edition compliance
- Working in a directory containing `.move` files or `Move.toml`
- User asks to review code against the Move checklist
## Analysis Workflow
### Phase 1: Discovery
1. **Detect Move project structure**
- Look for `Move.toml` in current directory
- Find all `.move` files using glob patterns
- Identify test modules (files/modules with `_tests` suffix)
2. **Read Move.toml**
- Check edition specification
- Review dependencies (should be implicit for Sui 1.45+)
- Examine named addresses for proper prefixing
3. **Understand scope**
- Ask user if they want full package scan or specific file/category analysis
- Determine if this is new code review or existing code audit
### Phase 2: Systematic Analysis
Analyze code across these **11 categories with 50+ specific rules**:
#### 1. Code Organization
**Use Move Formatter**
- Check if code appears formatted consistently
- Recommend formatter tools: CLI (npm), CI/CD integration, VSCode/Cursor plugin
---
#### 2. Package Manifest (Move.toml)
**Use Right Edition**
- ✅ MUST have: `edition = "2024.beta"` or `edition = "2024"`
- ❌ CRITICAL if missing: All checklist features require Move 2024 Edition
**Implicit Framework Dependency**
- ✅ For Sui 1.45+: No explicit `Sui`, `Bridge`, `MoveStdlib`, `SuiSystem` in `[dependencies]`
- ❌ OUTDATED: Explicit framework dependencies listed
**Prefix Named Addresses**
- ✅ GOOD: `my_protocol_math = "0x0"` (project-specific prefix)
- ❌ BAD: `math = "0x0"` (generic, conflict-prone)
---
#### 3. Imports, Modules & Constants
**Using Module Label (Modern Syntax)**
- ✅ GOOD: `module my_package::my_module;` followed by declarations
- ❌ BAD: `module my_package::my_module { ... }` (legacy curly braces)
**No Single Self in Use Statements**
- ✅ GOOD: `use my_package::my_module;`
- ❌ BAD: `use my_package::my_module::{Self};` (redundant braces)
- ✅ GOOD when importing members: `use my_package::my_module::{Self, Member};`
**Group Use Statements with Self**
- ✅ GOOD: `use my_package::my_module::{Self, OtherMember};`
- ❌ BAD: Separate imports for module and its members
**Error Constants in EPascalCase**
- ✅ GOOD: `const ENotAuthorized: u64 = 0;`
- ❌ BAD: `const NOT_AUTHORIZED: u64 = 0;` (all-caps reserved for regular constants)
**Regular Constants in ALL_CAPS**
- ✅ GOOD: `const MY_CONSTANT: vector<u8> = b"value";`
- ❌ BAD: `const MyConstant: vector<u8> = b"value";` (PascalCase suggests error)
---
#### 4. Structs
**Capabilities Suffixed with Cap**
- ✅ GOOD: `public struct AdminCap has key, store { id: UID }`
- ❌ BAD: `public struct Admin has key, store { id: UID }` (unclear it's a capability)
**No Potato in Names**
- ✅ GOOD: `public struct Promise {}`
- ❌ BAD: `public struct PromisePotato {}` (redundant, abilities show it's hot potato)
**Events Named in Past Tense**
- ✅ GOOD: `public struct UserRegistered has copy, drop { user: address }`
- ❌ BAD: `public struct RegisterUser has copy, drop { user: address }` (ambiguous)
**Positional Structs for Dynamic Field Keys**
- ✅ CANONICAL: `public struct DynamicFieldKey() has copy, drop, store;`
- ⚠️ ACCEPTABLE: `public struct DynamicField has copy, drop, store {}`
---
#### 5. Functions
**No Public Entry - Use Public or Entry**
- ✅ GOOD: `public fun do_something(): T { ... }` (composable, returns value)
- ✅ GOOD: `entry fun mint_and_transfer(...) { ... }` (transaction endpoint only)
- ❌ BAD: `public entry fun do_something() { ... }` (redundant combination)
- **Reason**: Public functions are more permissive and enable PTB composition
**Composable Functions for PTBs**
- ✅ GOOD: `public fun mint(ctx: &mut TxContext): NFT { ... }`
- ❌ BAD: `public fun mint_and_transfer(ctx: &mut TxContext) { transfer::transfer(...) }` (not composable)
- **Benefit**: Returning values enables Programmable Transaction Block chaining
**Objects Go First (Except Clock)**
- ✅ GOOD parameter order:
1. Objects (mutable, then immutable)From 1NickPappas/move-code-quality-skill, MIT.
Signals
- Stars
- 25
- Forks
- 1
- Open issues
- 0
- Last commit
- Oct 21, 2025 (1 year ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
move-code-quality skill. Agent Mart. https://agentmart.dev/skills/1nickpappas-move-code-quality (last updated 2026-10-24)