wash
БесплатноБез исполняемых скриптовНе проверенExpert in wasmCloud Shell (wash) CLI tool for building, running, and managing WebAssembly components and wasmCloud applications. Use this skill when working…
Об этом скилле
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
washversion 2.0.0 or later- Verify version with:
wash --version
Important Notes
Do not use cargo component commands (like cargo component build) when working with wasmCloud projects. Always use wash commands instead:
- Use
wash buildorwash devfor building components - For plugins, build with
wash build --skip-fetch(since wasmcloud:wash interface isn't published)
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 using the HTTP Hello World template
wash new https://github.com/wasmCloud/wasmCloud.git --name http-hello-world --subfolder templates/http-hello-worldcd my-project- Run
wash buildto build the code - Make changes to your code
Expected Component Structure
A modern wash new Rust HTTP component can follow this structure:
|
|-- .wash/
| -- config.yaml
|-- manifests/
| -- workloaddeployment.yaml
|-- src/
| -- lib.rs
|-- wit/
| -- world.wit
|-- Cargo.toml
|-- Cargo.lock
|-- wkg.lock
|-- README.md
Fixing WIT Definition Conflicts
If you encounter errors about mismatched WIT definitions:
- Run
wash wit updateto synchronize definitions - 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
Установить wash в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл wash?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wash запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic