Rust Hygiene Audit
tsz-org/tsz
Run a deep DRY + code-hygiene audit of the Rust workspace and turn the findings into verified, deduplicated, hierarchical GitHub tech-debt issues.
Axone contract structure and Abstract SDK patterns. An agent skill from axone-protocol/contracts.
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install axone-protocol/contracts cosmwasm-contract --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .claude/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .claude/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contractType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install axone-protocol/contracts cosmwasm-contract --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .agents/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .agents/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install axone-protocol/contracts cosmwasm-contract --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .cursor/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .cursor/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/axone-protocol/contracts.git --path .agents/skills/cosmwasm-contract--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install axone-protocol/contracts cosmwasm-contract --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .gemini/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .gemini/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install axone-protocol/contracts cosmwasm-contractInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .github/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .github/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add axone-protocol/contracts --skill cosmwasm-contract -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install axone-protocol/contracts cosmwasm-contract --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/cosmwasm-contract .opencode/skills/cosmwasm-contract && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cosmwasm-contract" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/cosmwasm-contract into .opencode/skills/cosmwasm-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cosmwasm-contract", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cosmwasm-contractAxone contract structure and Abstract SDK patterns. An agent skill from axone-protocol/contracts.
Cosmwasm Contract is an agent skill from axone-protocol/contracts. Axone contract structure and Abstract SDK patterns. Use when scaffolding or refactoring contracts, deciding layer boundaries, wiring AppContract entrypoints, or adding module metadata and replies.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Project scaffolding and Refactoring. It works with Rust and WebAssembly. The repository describes itself as: 📜 Smart contracts for the Axone protocol. The licence is BSD-3-Clause.
Read from SKILL.md and the folder at commit 6d65fea. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cosmwasm Contract loads about 1.2k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 396 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from axone-protocol/contracts at commit 6d65fea, republished under its BSD-3-Clause licence (© axone-protocol). 396 words, ~1,232 tokens.
.claude/skills/cosmwasm-contract/SKILL.md (or your agent's skills folder).Use rust-contract-domain-modeling for invariant-heavy domain design, api-design for message surfaces, api-doc-comments for schema-facing documentation, rust-testing for tests, and rust-quality-gates for validation gates.
The repository has:
Makefile.toml for shared tasksMakefile.toml in each contract for local helperscontracts/Start from this minimal shape:
contracts/<contract-name>/
├── Cargo.toml
├── Makefile.toml
├── README.md
├── metadata.json
├── src/
│ ├── lib.rs
│ ├── contract.rs
│ ├── msg.rs
│ ├── state.rs
│ ├── error.rs
│ ├── handlers/
│ │ ├── mod.rs
│ │ ├── instantiate.rs
│ │ ├── execute.rs
│ │ ├── query.rs
│ │ └── migrate.rs
│ └── bin/
│ ├── schema.rs
│ ├── publish.rs
│ └── install.rs
└── tests/
└── integration.rsAdd extra layers only when they clarify boundaries.
Current repository layers include:
domain/ for explicit business concepts and invariantsservices/ for orchestration and environment-aware compositiongateway/ for external module interaction and protocol I/Oqueries/ for query string / payload buildersreplies/ for reply handlersaxone-gov is the reference example for the richer layered shape.
msg.rs defines the public contract surface.contract.rs wires the AppContract entrypoints and module metadata.handlers/ should stay thin: decode messages, call domain/services, build responses.domain/ should own invariants and canonical representations.services/ should coordinate enriched flows or external calls without becoming a second handler layer.gateway/ should isolate external query / module plumbing.state.rs should persist and reconstruct values, not silently redefine business rules.lib.rs PatternKeep module identity constants explicit:
pub const AXONE_NAMESPACE: &str = "axone";
pub const CONTRACT_NAME: &str = "my-contract";
pub const CONTRACT_ID: &str = const_format::concatcp!(AXONE_NAMESPACE, ":", CONTRACT_NAME);
pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION");contract.rs PatternThe baseline AppContract wiring looks like this:
use abstract_app::AppContract;
pub type MyContract = AppContract<
MyContractError,
MyContractInstantiateMsg,
MyContractExecuteMsg,
MyContractQueryMsg,
MyContractMigrateMsg,
>;
const APP: MyContract = MyContract::new(CONTRACT_ID, APP_VERSION, None)
.with_instantiate(handlers::instantiate_handler)
.with_execute(handlers::execute_handler)
.with_query(handlers::query_handler)
.with_migrate(handlers::migrate_handler)
.with_dependencies(&[]);
#[cfg(feature = "export")]
abstract_app::export_endpoints!(APP, MyContract);
abstract_app::cw_orch_interface!(APP, MyContract, MyContractInterface);Repository-specific refinements:
Some(APP_METADATA_URL) when the contract publishes metadata from a tagged GitHub URL..with_replies(...) when the contract has reply-driven flows..with_dependencies(&[]) explicit unless real module dependencies exist.DependencyCreation impl when the interface needs the standard installation path used in this repo.Use abstract_app::app_msg_types!(...) in msg.rs when following the repository's Abstract app pattern.
Keep message docs and response typing aligned with:
api-designapi-doc-commentsError enums should include the standard conversion layers used by the contract and then domain-specific errors.
Do not hide domain invariants in generic StdError messages if a dedicated error variant would make the failure explicit.
Two patterns matter in this repository:
metadata.json is part of the contract deliverable and should stay aligned with the module identity.Treat both as first-class contract structure, not optional afterthoughts.
new, try_new, or from_state.© axone-protocol, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/cosmwasm-contract of axone-protocol/contracts.
Open the folder on GitHubat commit 6d65fea
Cosmwasm Contract next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cosmwasm Contract this skillaxone-protocol/contracts | 123 | — | ~1.2k | Automated safety check: Pass | BSD-3-Clause | |
| Rust Hygiene Audittsz-org/tsz | 577 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Migrate Core Code to Submodulestinyhumansai/openhuman | 42k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | |
| PonytailDavidObando/gsharp | 565 | 7 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Rust Best Practicesfarm-fe/farm | 5.6k | 3 repos | ~1.1k | Automated safety check: Pass | MIT | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 |
tsz-org/tsz
Run a deep DRY + code-hygiene audit of the Rust workspace and turn the findings into verified, deduplicated, hierarchical GitHub tech-debt issues.
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
DavidObando/gsharp
Forces the laziest solution that actually works, simplest, shortest, most minimal.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
rtk-ai/rtk
Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.
rtk-ai/rtk
Reviews RTK's Rust code for over-engineering and verbose patterns, applying idioms like iterator chains and early returns while protecting a specific list of constraints from being simplified away.
axone-protocol/contracts
Guide for writing conventional commit messages. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Patterns for Rust testing in Axone CosmWasm contracts. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Repository quality gates for Rust and generated artifacts. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Best practices for designing CosmWasm smart contract APIs. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Guide for writing Rust doc comments that produce accurate generated contract documentation.
axone-protocol/contracts
Axone deployment workflows with cargo-make, cw-orch, and Abstract.
Works with
Categories
Axone contract structure and Abstract SDK patterns. An agent skill from axone-protocol/contracts. Cosmwasm Contract is an agent skill from axone-protocol/contracts. Axone contract structure and Abstract SDK patterns.
Cosmwasm Contract fits situations like: refactoring contracts; deciding layer boundaries; wiring AppContract entrypoints; adding module metadata and replies.
Run `npx skills add axone-protocol/contracts --skill cosmwasm-contract -a claude-code`. Or copy the skill folder (.agents/skills/cosmwasm-contract in axone-protocol/contracts) into .claude/skills/cosmwasm-contract in your project. Claude Code loads it when a task matches its description.
Run `npx skills add axone-protocol/contracts --skill cosmwasm-contract -a codex`. Or copy the skill folder (.agents/skills/cosmwasm-contract in axone-protocol/contracts) into .agents/skills/cosmwasm-contract in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add axone-protocol/contracts --skill cosmwasm-contract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cosmwasm-contract, .gemini/skills/cosmwasm-contract, .github/skills/cosmwasm-contract and .opencode/skills/cosmwasm-contract in your project.
SKILL.md names no scripts, command-line tools or credentials: Cosmwasm Contract is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cosmwasm Contract is published under the BSD-3-Clause licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cosmwasm Contract: Rust Hygiene Audit (tsz-org/tsz, 577 stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Ponytail (DavidObando/gsharp, 565 stars) and Rust Best Practices (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
axone-protocol (a GitHub organization) maintains it in axone-protocol/contracts, which has 123 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 9, 2026.
Source: axone-protocol/contracts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.