원클릭으로
rust-review
Rust code review guidelines for Coglet
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rust code review guidelines for Coglet
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guide and automate the Cog release process
Use this skill when updating, reviewing, or creating architecture documentation in the architecture/ directory. This includes after refactors, feature additions, component changes, or when auditing docs for accuracy. Use it any time code changes affect how Cog's internals work -- new packages, changed IPC protocols, modified build pipeline, runtime behavior changes. Also use it proactively when reviewing PRs that touch core systems to check whether the architecture docs need updating.
Go code review guidelines for the Cog codebase
Python code review guidelines for the Cog SDK
Cog architecture and cross-cutting review guidelines
| name | rust-review |
| description | Rust code review guidelines for Coglet |
This project uses Rust for Coglet (crates/), the prediction server that runs
inside Cog containers. It handles HTTP requests, worker process management, and
prediction execution.
clippy runs in CI. cargo-deny audits dependencies for license/advisory issues. Don't flag issues these would catch.
Error handling
thiserror for typed errors in library code, anyhow for application errors.unwrap() or .expect() in non-test code unless the invariant is documented.context() or .with_context() from anyhow, not bare ?Ownership and lifetimes
Async (tokio)
spawn_blocking).await on futures (compiler catches some, but not all logical issues)Safety
unsafe block needs justification and a safety commentArchitecture
crates/coglet/ is the core: HTTP server, worker orchestration, IPCcrates/coglet-python/ is PyO3 bindings for Python predictor integrationinsta -- check if snapshots need updatingDependencies
crates/deny.toml audits them