# Compare Move Package Revisions

Move package upgrades can change who can call a function or how data is stored. Compare two local revisions and trace each reported change to the supplied evidence.

## Install

```bash
npx skillstore add flint-research/move-diff
```

## Metadata

- Status: approved
- Slug: flint-research-move-diff
- Skillstore revision: r1
- Version status: missing
- Tree hash: c12c5a0070fe8744dbbd9d67de66a0048b37082a427f6e0e14b7102cecfb370c
- Author: flint-research
- GitHub username: flint-research
- Repository: https://github.com/flint-research/skills/tree/b739665d19cd1d924d41c680722e1372867a1bff/auditing/move-audit/skills/move-diff
- Ref: d715043e3196bdd213a9eb9e5f78632e50554733
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 64
- Public page: https://skillstore.pages.dev/skills/flint-research-move-diff
- Manifest: https://skillstore.pages.dev/api/skills/flint-research-move-diff/manifest

## Capabilities

- Compare matching scopes in local Move source modules, ABI exports, or both.
- Identify changes to function visibility, entry status, parameters, and generic type constraints.
- Compare field layout and order, type abilities, and friend declarations.
- Compare named address declarations and flag address differences that limit the comparison.
- Link changes to both revisions and identify potentially affected callers and stored resources or objects.
- Summarize compatibility risks, migration needs, and gaps in the supplied evidence.

## Use Cases

- Review changes that affect callers: Compare a development revision with a baseline to see which entry functions or public signatures changed.
- Assess stored data changes: Review reordered fields or changed abilities and identify resources or objects that may need migration review.
- Document release evidence gaps: Record which changes are supported by the local artifacts and which modules need additional evidence before release.

## Prompt Templates

### Compare one module

```
Compare the supplied local revisions of this Sui Move module. List changes to public and entry functions, with evidence from both revisions.
```

### Review caller compatibility

```
Compare the matching Aptos Move modules in these local ABI exports. Flag changes to visibility, parameters, and type constraints that could affect callers.
```

### Review layout and migration risks

```
Compare both revisions of this Sui package for field order and ability changes. Identify affected stored objects and separate confirmed changes from migration questions.
```

### Prepare a scoped upgrade review

```
Compare the supplied source and ABI evidence for these matching Move modules. Check named addresses and friend declarations. Separate verified differences, compatibility concerns, and evidence gaps.
```

## Limitations

- Both revisions must be authorized local copies of the same package in the same Move dialect.
- The comparison requires Python 3.11 or later and a helper outside the reviewed skill bundle.
- ABI format, address differences, and incomplete source coverage can limit the comparison.
- The comparison does not establish deployment provenance, upgrade authority, or policy compliance.

## Best Practices

- Confirm both local revisions are authorized, identify the baseline and candidate, and select matching module scopes.
- Verify the Python helper's source and provenance before running it.
- Check reported changes against both revisions and record upgrade policy or migration questions separately.

## Anti Patterns

- Do not compare Sui and Aptos packages as if they were revisions of one package.
- Do not treat missing source or ABI coverage as evidence that a module is unchanged.
- Do not use a local comparison as proof that an on-chain upgrade is authorized.

## Security Audit

- Audited at: 2026-11-29T12:07:37.691\+00:00
- Summary: The backticks format a command name, the URL is a reference link, and the fixed parent path is not a data-driven traversal. The skill asks the agent to run a Python helper outside the reviewed skill directory. No evidence was found that the helper was included in the reviewed files or checked before execution.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
