원클릭으로
cosmos-patterns
Cosmos SDK module development patterns and conventions for Celestia
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Cosmos SDK module development patterns and conventions for Celestia
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | cosmos-patterns |
| description | Cosmos SDK module development patterns and conventions for Celestia |
Reference guide for Cosmos SDK module development patterns used in Celestia.
See module-structure.md for standard layout.
See proto-conventions.md for protobuf patterns.
See keeper-patterns.md for keeper implementation.
Always design proto definitions before implementing Go code. The proto defines the API contract.
Always use EmitTypedEvent instead of legacy EmitEvent. This ensures type safety and better tooling support.
Define keeper interfaces in types/expected_keepers.go to decouple modules and enable testing.
Use CamelCase for test function names (no underscores): TestBurnSuccess not TestBurn_Success.
Add godoc comments to all exported types, functions, and packages.
# Generate proto files
make proto-gen
# Run tests
go test ./x/[module]/...
# Run linter
golangci-lint run ./x/[module]/...
# Build
go build ./...