원클릭으로
go-test-coverage
Analyzes Go test coverage and suggests improvements
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyzes Go test coverage and suggests improvements
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Validates Go concurrency patterns
Validates Go context.Context usage patterns
Validates Go error handling patterns
Reviews code for Hexagonal Architecture compliance
Validates Go interface design and abstractions
Performs security review on code changes
| name | go-test-coverage |
| description | Analyzes Go test coverage and suggests improvements |
Coverage numbers are a floor, not a ceiling. A test that executes code but asserts nothing is noise. Semantic coverage is what matters: do your tests catch real bugs? Mutation testing (Gremlins) validates this by introducing small bugs — if your tests pass, they are too weak.
1. [ ] Tests assert specific return values — not just `err == nil` 2. [ ] Table-driven tests for multiple scenarios using `t.Run` 3. [ ] Error branches tested explicitly 4. [ ] Edge cases: empty/nil input, zero values, boundary conditions 5. [ ] Tests deterministic — no `time.Now()`, no global state, no random without seed 6. [ ] Mocks implement port interfaces, not concrete types 7. [ ] Integration tests use `//go:build integration` tag 8. [ ] Coverage ≥80% on `internal/domain` and `internal/app` 9. [ ] Test file naming: `foo_test.go` alongside `foo.go` 10. [ ] `make ci` passes with all tests<mutation_testing>
Run make mutation-test-dry for a fast check. For critical domain code, run make mutation-test: