スキル一覧に戻る
moonbit-community

portable-safe-skills

by moonbit-community

WASI Preview 1 implementation for moonbit

11🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: portable-safe-skills description: Create portable, safe Codex skills focused on file or I/O operations under WASIp1 constraints. Use when authoring skills that must be portable across environments and avoid unsafe assumptions about paths, preopens, or stdio.

Portable and Safe Skills

Use skill-creator

  • Follow the skill-creator workflow for skill structure, naming, and packaging.
  • Keep SKILL.md short and move detailed content to references/ or assets/.

Required dependency

  • Use mbt-wasip1-tools for concrete CLI patterns (echo, wc, read/write) and example project structure.

Constraints to document

  • WASIp1 path resolution uses longest-prefix matching against preopen names. No cwd. No fallback.
  • Absolute paths only work if a preopen named / (or starting with /) exists.
  • Stdio is unified: @wasi/stdio values implement both sync and async reader/writer traits.

Minimal workflow

  1. Start from an assets/ example in mbt-wasip1-tools.
  2. Keep logic simple and deterministic; only I/O is async.
  3. Document the required wasmtime run --dir host::guest usage and expected preopens.
  4. Add a README to each example with build/run commands.
  5. Package the skill using the skill-creator guidelines when done.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です