AgentSkillsCN

spec_compliance

对照白皮书或 MIP(MultiversX 改进建议)验证代码。

SKILL.md
--- frontmatter
name: spec_compliance
description: Verifying code against Whitepapers or MIPs (MultiversX Improvement Proposals).

Specification Compliance

This skill ensures the implemented Smart Contract matches the intended design documents (Whitepaper, MIP, Spec).

1. Inputs

  • Code: The Rust implementation.
  • Spec: whitepaper.pdf, MIP-XX.md, or README.md.

2. Process

  1. Extract Claims: List every "MUST", "SHOULD", and formula in the Spec.
  2. Map to Code: Find the exact lines implementing each claim.
  3. Verify: Does the math match? Are the constraints enforced?

3. MultiversX Specifics

  • MIP Compliance: If the project claims to implement MIP-2 (Fractional NFT), verify it adheres to the SFT metadata standard defined in that MIP.
  • Economics: Verify tokenomics (inflation, burn rates) match the whitepaper exactly (BigUint precision matters!).