troubleshoot-errors
Installation
SKILL.md
Troubleshoot Errors Skill
Quick Triage Workflow
Step 1: Identify Error Category
- Compilation error → Check syntax, types, abilities
- Linker error → Check dependencies, named addresses
- Runtime abort (ABORTED) → Check error code, find failed assertion
- Object error → See Object-Related Errors section below (CRITICAL)
- Test error → Check assertions, expected failures
- Type error → Check generic types, type conversions
Step 2: Top 10 Common Errors (Quick Fixes)
- "object does not exist" → Verify seed/creator address for named objects
- "RESOURCE_NOT_FOUND" → Add
acquiresclause to function - "Type mismatch" → Use
object::address_to_object<T>()to convert address to Object - "Ability constraint not satisfied" → Add required ability (key, drop, copy, store)
Related skills
More from iskysun96/aptos-agent-skills
generate-tests
Creates comprehensive test suites for Move contracts with 100% coverage requirement. Triggers on: 'generate tests',
38write-contracts
Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and
35security-audit
Audits Move contracts for security vulnerabilities before deployment using 7-category checklist. Triggers on: 'audit
32deploy-contracts
Safely deploys Move contracts to Aptos networks (devnet, testnet, mainnet) with pre-deployment verification. Triggers
32search-aptos-examples
Searches aptos-core and daily-move for reference implementations before writing contracts. Triggers on: 'search
31analyze-gas-optimization
Analyze and optimize Aptos Move contracts for gas efficiency, identifying expensive operations and suggesting
31