Awesome-omni-skill wash
Expert in wasmCloud Shell (wash) CLI tool for building, running, and managing WebAssembly components and wasmCloud applications. Use this skill when working with wasmCloud, WebAssembly components, WIT (WebAssembly Interface Types) definitions, or wash commands.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cli-automation/wash" ~/.claude/skills/diegosouzapw-awesome-omni-skill-wash && rm -rf "$T"
manifest:
skills/cli-automation/wash/SKILL.mdsource content
wash - wasmCloud Shell
This skill provides expertise in using the wasmCloud Shell (wash) CLI tool for developing and managing WebAssembly components and wasmCloud applications.
Prerequisites
version 2.0.0 or later (including release candidates like 2.0.0-rc.X)wash- Verify version with:
wash --version
Important Notes
Do not use
commands (like cargo component
cargo component build) when working with wasmCloud projects. Always use wash commands instead:
- Use
orwash build
for building componentswash dev - For plugins, build with
(since wasmcloud:wash interface isn't published)wash build --skip-fetch
Core Commands
wash dev
Use
wash dev for local development and build loop. This command:
- Automatically rebuilds your component on file changes
- Provides a fast iteration cycle during development
- Watches for changes and recompiles as needed
Example:
wash dev
wash wit update
Use
wash wit update when there are mismatched WIT (WebAssembly Interface Types) definitions. This command:
- Updates WIT dependencies to resolve conflicts
- Synchronizes WIT definitions across your project
- Fixes version mismatches in component interfaces
Example:
wash wit update
Common Workflows
Starting a New Project
- Initialize your project with
wash new https://github.com/cosmonic-labs/<TEMPLATE> --name my-project cd my-project- Run
to build the codewash build - Make changes to your code
Fixing WIT Definition Conflicts
If you encounter errors about mismatched WIT definitions:
- Run
to synchronize definitionswash wit update - Review the updated WIT files
- Continue with
wash build
Additional Resources
- wash is the primary CLI tool for the wasmCloud ecosystem
- It handles component building, testing, and deployment
- Supports both local development and production workflows