원클릭으로
go-review
Go code review guidelines for the Cog codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Go code review guidelines for the Cog codebase
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.
Python code review guidelines for the Cog SDK
Rust code review guidelines for Coglet
Cog architecture and cross-cutting review guidelines
| 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/