Skip to content

Add Sui Move support to develop-secure-contracts#11

Merged
bidzyyys merged 9 commits into
mainfrom
feat/develop-secure-sui
Jul 15, 2026
Merged

Add Sui Move support to develop-secure-contracts#11
bidzyyys merged 9 commits into
mainfrom
feat/develop-secure-sui

Conversation

@bidzyyys

@bidzyyys bidzyyys commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Extends the cross-ecosystem develop-secure-contracts skill with Sui Move, delivering the library-integration capability for Sui (consistent with the other ecosystems — no separate skill).

What it adds

  • .move detection in the project file-glob search.
  • Dependency resolution from Move.toml r.mvr (installed source under ~/.move/ + the build mirror; sui move build --doc for code docs).
  • A Sui Move row in the repository/documentation lookup table.
  • A note that Sui is deliberately not in the fixed category grid — discover its (growing) package set from llms.txt → the package catalogs → each package's README.md/examples/.
  • A Sui Move Integration Notes section: no CLI generator for Sui (use pattern discovery + examples/), and route conventions to their sources of truth — ARCHITECTURE.md (capability-based access, owned/shared objects), STYLEGUIDE.md (Move 2024 idioms), the package README.md (exact r.mvr snippet + use path), the docs site / API reference (signatures/params/aborts), and the setup-sui-contracts skill (toolchain, Move.toml, dependency-conflict override, builds, testing) — rather than restating them.

Methodology-first and discovery-driven: anything that drifts (slugs, module lists, patterns) is read from the library's own metadata, not hardcoded.

Notes

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends the existing develop-secure-contracts skill to cover Sui Move integration using the same “pattern discovery from installed dependency source + docs/examples” methodology used for other ecosystems.

Changes:

  • Adds .move to the project contract-file search globs.
  • Documents Sui Move dependency resolution via Move.toml + MVR and local doc generation via sui move build --doc.
  • Adds Sui Move to the repository/documentation lookup table and introduces a Sui-specific integration notes section emphasizing examples/metadata-driven discovery.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/develop-secure-contracts/SKILL.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread skills/develop-secure-contracts/SKILL.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread skills/develop-secure-contracts/SKILL.md Outdated
Comment thread skills/develop-secure-contracts/SKILL.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread skills/develop-secure-contracts/SKILL.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ericnordelo ericnordelo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread skills/develop-secure-contracts/SKILL.md Outdated
Base automatically changed from feat/setup-sui-contracts to main July 15, 2026 09:33
bidzyyys added 4 commits July 15, 2026 11:46
Extend the cross-ecosystem develop-secure-contracts skill with Sui Move,
delivering the library-integration capability for Sui (no separate skill,
consistent with the other ecosystems).

- detect `.move` in the project file-glob search
- resolve dependencies from Move.toml `r.mvr` (source under ~/.move/ and the
  build mirror; `sui move build --doc` for code docs)
- add a Sui Move row to the repository/documentation lookup table
- note that Sui is deliberately not in the fixed category grid — discover its
  package set from llms.txt -> catalogs -> package READMEs/examples
- add a Sui Move Integration Notes section: no CLI generator (use pattern
  discovery + examples), and route conventions to their sources of truth
  (ARCHITECTURE.md, STYLEGUIDE.md, package README, docs site / API reference,
  and the setup-sui-contracts skill) rather than restating them

Methodology-first and discovery-driven: specifics that drift (slugs, module
lists, patterns) are read from the library's own metadata, not hardcoded.
Address PR review: make the Sui dependency-source and code-docs locations
precise and consistent with setup-sui-contracts — read exact signatures from
build/<pkg>/sources/dependencies/<move_package_name>/, and note dependency
docs land under build/<pkg>/docs/dependencies/<move_package_name>/.
…ate before finishing

- Use `--build-env <env>` (required whenever there are MVR deps) rather than
  enumerating `testnet|mainnet` (PR review).
- Note to run the project's full quality gate (build, test, prettier-move,
  lint) before finishing.
…rmatter to SSOT

Address PR review:
- Disambiguate `<pkg>`: use `<move_package_name>` for the Move.toml dependency
  key and `<project_package>` for the `build/.../` output directory.
- Quality-gate note no longer names a formatter; defer the exact commands and
  formatter to the setup-sui-contracts skill (single source of truth) instead
  of restating them.
bidzyyys added 2 commits July 15, 2026 11:47
…s link

Address PR review: drop the ambiguous `.../<major>.x/api/<package>` path
(the URL segment isn't the Move package name); route to the canonical API
reference through each package's catalog `Docs` link instead.
Fresh-subagent case: integrate OZ RBAC into an existing Sui Move module —
verifies discovery from library metadata/examples (no CLI generator), import
via MVR (not copy), and reading installed dependency source for signatures.
@bidzyyys
bidzyyys force-pushed the feat/develop-secure-sui branch from 8c42f12 to 2641623 Compare July 15, 2026 09:47
…xt pointer

Addresses review feedback that the Sui-specific notes were too verbose for a
shared multi-ecosystem skill and polluted context for non-Sui readers. Replace
the "Sui Move Integration Notes" section and the grid paragraph with one concise
note that routes to llms.txt (the single entry point) + the setup-sui-contracts
skill, and trim the Step 1 dependency-location bullet to match its peers.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread skills/develop-secure-contracts/SKILL.md
Comment thread dev/TESTING.md Outdated
… 3.6

The example omitted `--build-env`, which fails on MVR deps. The develop-secure
pattern-discovery path reads the installed source via the build mirror; the
`--doc` generation flow belongs to the setup-sui-contracts skill, so don't
duplicate it here.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread dev/TESTING.md Outdated
Genericize the concrete `@openzeppelin-move/access` slug to the
`@openzeppelin-move/<slug>` placeholder form used elsewhere in the skills, so
the scenario doesn't pin a specific registry slug that could drift.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread dev/TESTING.md

@ericglau ericglau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@bidzyyys
bidzyyys merged commit cd1a4e0 into main Jul 15, 2026
3 checks passed
@bidzyyys
bidzyyys deleted the feat/develop-secure-sui branch July 15, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

develop-secure-contracts: add Sui Move support

5 participants