ソース情報
- リポジトリ
- replicate/cog
- ソースの最終更新活動
- 2026年4月24日 19:38
- 検出された SKILL.md の言語
- 英語
- スター
- 9,459
- フォーク
- 694
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/replicate/cog --skill rust-reviewコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| 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