ソース情報
- リポジトリ
- 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 go-reviewコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
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.
Python code review guidelines for the Cog SDK
SOC 職業分類に基づく
| name | go-review |
| description | Go code review guidelines for the Cog codebase |
This project uses Go for the CLI (cmd/cog/, pkg/) and support tooling (tools/).
golangci-lint runs errcheck, gocritic, gosec, govet, ineffassign, misspell, revive, staticcheck, and unused. Don't flag issues these would catch.
Error handling
pkg/errors.CodedError with error codesfmt.Errorf("failed") with no %w)Imports
github.com/replicate/cog/pkg/...)Testing
testify/require for fatal assertions and testify/assert for non-fatalif checks with t.Fatal/t.ErrorfEqual, Contains, NoError) over True/FalseConcurrency
Docker/container patterns
pkg/dockerfile/ -- template injection risksArchitecture
pkg/cli/, business logic in pkg/pkg/config/