| name | validate-bsv-script |
| description | This skill should be used when the user asks to "validate BSV script", "analyze locking script", "parse unlocking script", "check script opcodes", or needs to validate and analyze Bitcoin scripts using @bsv/sdk. |
| allowed-tools | Bash(bun:*) |
Validate BSV Script
Validate and analyze BSV scripts for correctness, identify script types, and check for security issues.
When to Use
- Validate a locking or unlocking script
- Identify script type (P2PKH, P2PK, multisig, etc.)
- Analyze script opcodes
- Check for potential security issues
Usage
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex>
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --type locking
bun run skills/validate-bsv-script/scripts/validate.ts <script-hex> --json
bun run skills/validate-bsv-script/scripts/validate.ts --help
Status
Complete - All tests passing, ready for use