Skip to main content

codemod-rust-workspace

Use when working on Codemod's Rust workspace, including workflow engine crates, models, state, runners, scheduler, CLI-adjacent Rust crates, schema generation, Cargo features, Rust tests, clippy, rustfmt, or CI parity.

소스 정보

저장소
tomevault-io/tomes
최근 소스 활동
2026년 7월 23일 21:48
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
codemod-rust-workspace
description
Use when working on Codemod's Rust workspace, including workflow engine crates, models, state, runners, scheduler, CLI-adjacent Rust crates, schema generation, Cargo features, Rust tests, clippy, rustfmt, or CI parity.
metadata
{"author":"codemod"}
# Codemod Rust Workspace ## Start Here 1. Read the nearest `AGENTS.md` for the crate you are changing. 2. Identify the crate role before editing: - `butterflow-models`: workflow schema/data contracts. - `butterflow-core`: execution engine, step execution, reports, git/file operations. - `butterflow-state`: state adapters. - `butterflow-runners`: Docker/Podman/direct runner abstractions. - `butterflow-scheduler`: task scheduling and WASM package logic. - `codemod`: CLI command surface and TUI. - `codemod-sandbox`: JSSG runtime and sandbox. - `testing-utils`: shared test helpers. 3. Prefer workspace dependencies in root `Cargo.toml`. ## Implementation Rules - Keep model contracts in `crates/models`; avoid duplicate public structs in higher-level crates. - Preserve async cancellation and error propagation. - Avoid logging-only failures for user-visible workflow behavior. - Do not write directly to stdout/stderr from non-CLI crates. Return structured data, errors, events, reports, or log records and let `crates/cli` choose text, TUI, JSONL, or task-log routing. - Keep feature gates meaningful, especially `docker`, `podman`, `wasm`, `native`, and `real-fs`. - For schema-affecting model changes, run `cargo xtask schema` and review generated diffs. ## Validation - Focused crate: `cargo test -p <crate>` - Workspace: `cargo test` - Format: `cargo fmt --check` - Lint: `cargo clippy --tests --no-deps -- -D warnings` - CI parity for terminal dependencies: `bash ./scripts/check-single-crossterm.sh` --- > Source: [codemod/codemod](https://github.com/codemod/codemod) — distributed by [TomeVault](https://tomevault.io). <!-- tomevault:4.0:skill_md:2026-07-20 -->
GitHub에서 보기