Create/Modify MIP Proposal

This skill assists in creating or updating a Maker Improvement Proposal (MIP) by handling boilerplate code, chain-specific address configuration, and naming conventions. It enforces correctness by requiring compilation and test verification before committing. Helpful for developers working on MIP-related smart contract changes.

Sby Skills Guide Bot
DevelopmentIntermediate
5702/28/2026
Claude CodeCursorWindsurf
#mip-proposals#solidity-smart-contracts#forge-testing#git-workflow#blockchain-development

Recommended for

Create/Modify MIP Proposal

Steps

  1. Ask user for: MIP number, target chain, reference proposal (if any)
  2. Run git branch --show-current — refuse to proceed if on main
  3. Check existing MIP naming pattern: ls src/proposals/
  4. Load chain addresses from config files (never hardcode addresses)
  5. After code changes, run forge build to verify compilation
  6. Run forge test --match-contract <MIPName> to verify tests pass
  7. Show diff summary before committing

Rules

  • Storage variables in build() must be initialized from chain config addresses
  • Duration calculations: always show math explicitly for user verification
  • Follow existing naming convention exactly
Related skills