[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79ZVHMFE0XPZPQK33T7ZXC3":3,"skill-same:01M79ZVHMFE0XPZPQK33T7ZXC3":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79ZVHMFE0XPZPQK33T7ZXC3","go-code-review",null,"Use when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code changes, even if the user doesn't explicitly request a style review. Does not cover language-specific syntax — delegates to specialized skills.","kongnakornna\u002Fgolangapi","kongnakornna","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10528904?v=4","01M79Z5JQPPV5CWQHXS235Q9MD","Kongnakorn Jantakun","01M79Z5JRHJJJ6PR2DGQS4P985",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-code-review\ndescription: Use when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code changes, even if the user doesn't explicitly request a style review. Does not cover language-specific syntax — delegates to specialized skills.\nallowed-tools: Bash(bash:*)\n---\n\n# Go Code Review Checklist\n\n> Compatibility: `references\u002FWEB-SERVER.md` uses `log\u002Fslog` examples that require Go 1.21+.\n\n## Resource Routing\n\n- `assets\u002Freview-template.md` - Use when formatting review output with Must Fix, Should Fix, and Nits sections.\n- `scripts\u002Fpre-review.sh` - Run before manual review to collect gofmt, go vet, and golangci-lint results.\n- `references\u002FWEB-SERVER.md` - Read when reviewing an HTTP server that combines concurrency, context, logging, error handling, and shutdown behavior.\n\n## Review Procedure\n\n> Use `assets\u002Freview-template.md` when formatting the output of a code review to ensure consistent structure with Must Fix \u002F Should Fix \u002F Nits severity grouping.\n\n1. Run `gofmt -d .` and `go vet .\u002F...` to catch mechanical issues first\n2. Read the diff file-by-file; for each file, check the categories below in order\n3. Flag issues with specific line references and the rule name\n4. After reviewing all files, re-read flagged items to verify they're genuine issues\n5. Summarize findings grouped by severity (must-fix, should-fix, nit)\n\n> **Validation**: After completing the review, re-read the diff once more to verify every flagged issue is real. Remove any finding you cannot justify with a specific line reference.\n\n---\n\n## Formatting\n\n- [ ] **gofmt**: Code is formatted with `gofmt` or `goimports` → [go-linting](..\u002Fgo-linting\u002FSKILL.md)\n\n---\n\n## Documentation\n\n- [ ] **Comment sentences**: Comments are full sentences starting with the name being described, ending with a period → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Doc comments**: All exported names have doc comments; non-trivial unexported declarations too → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Package comments**: Package comment appears adjacent to package clause with no blank line → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Named result parameters**: Only used when they clarify meaning (e.g., multiple same-type returns), not just to enable naked returns → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n\n---\n\n## Error Handling\n\n- [ ] **Handle errors**: No discarded errors with `_`; handle, return, or (exceptionally) panic → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **Error strings**: Lowercase, no punctuation (unless starting with proper noun\u002Facronym) → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **In-band errors**: No magic values (-1, \"\", nil); use multiple returns with error or ok bool → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **Indent error flow**: Handle errors first and return; keep normal path at minimal indentation → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n\n---\n\n## Naming\n\n- [ ] **MixedCaps**: Use `MixedCaps` or `mixedCaps`, never underscores; unexported is `maxLength` not `MAX_LENGTH` → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Initialisms**: Keep consistent case: `URL`\u002F`url`, `ID`\u002F`id`, `HTTP`\u002F`http` (e.g., `ServeHTTP`, `xmlHTTPRequest`) → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Variable names**: Short names for limited scope (`i`, `r`, `c`); longer names for wider scope → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Receiver names**: One or two letter abbreviation of type (`c` for `Client`); no `this`, `self`, `me`; consistent across methods → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Package names**: No stuttering (use `chubby.File` not `chubby.ChubbyFile`); avoid `util`, `common`, `misc` → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Avoid built-in names**: Don't shadow `error`, `string`, `len`, `cap`, `append`, `copy`, `new`, `make` → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n\n---\n\n## Concurrency\n\n- [ ] **Goroutine lifetimes**: Clear when\u002Fwhether goroutines exit; document if not obvious → [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md)\n- [ ] **Synchronous functions**: Prefer sync over async; let callers add concurrency if needed → [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md)\n- [ ] **Contexts**: First parameter; not in structs; no custom Context types; pass even if you think you don't need to → [go-context](..\u002Fgo-context\u002FSKILL.md)\n\n---\n\n## Interfaces\n\n- [ ] **Interface location**: Define in consumer package, not implementor; return concrete types from producers → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n- [ ] **No premature interfaces**: Don't define before used; don't define \"for mocking\" on implementor side → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n- [ ] **Receiver type**: Use pointer if mutating, has sync fields, or is large; value for small immutable types; don't mix → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n\n---\n\n## Data Structures\n\n- [ ] **Empty slices**: Prefer `var t []string` (nil) over `t := []string{}` (non-nil zero-length) → [go-data-structures](..\u002Fgo-data-structures\u002FSKILL.md)\n- [ ] **Copying**: Be careful copying structs with pointer\u002Fslice fields; don't copy `*T` methods' receivers by value → [go-data-structures](..\u002Fgo-data-structures\u002FSKILL.md)\n\n---\n\n## Security\n\n- [ ] **Crypto rand**: Use `crypto\u002Frand` for keys, not `math\u002Frand` → [go-defensive](..\u002Fgo-defensive\u002FSKILL.md)\n- [ ] **Don't panic**: Use error returns for normal error handling; panic only for truly exceptional cases → [go-defensive](..\u002Fgo-defensive\u002FSKILL.md)\n\n---\n\n## Declarations and Initialization\n\n- [ ] **Group similar**: Related `var`\u002F`const`\u002F`type` in parenthesized blocks; separate unrelated → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **var vs :=**: Use `var` for intentional zero values; `:=` for explicit assignments → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Reduce scope**: Move declarations close to usage; use if-init to limit variable scope → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Struct init**: Always use field names; omit zero fields; `var` for zero structs → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Use `any`**: Prefer `any` over `interface{}` in new code → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n\n---\n\n## Functions\n\n- [ ] **File ordering**: Types → constructors → exported methods → unexported → utilities → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Signature formatting**: All args on own lines with trailing comma when wrapping → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Naked parameters**: Add `\u002F* name *\u002F` comments for ambiguous bool\u002Fint args, or use custom types → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Printf naming**: Functions accepting format strings end in `f` for `go vet` → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n\n---\n\n## Style\n\n- [ ] **Line length**: No rigid limit, but avoid uncomfortably long lines; break by semantics, not arbitrary length → [go-style-core](..\u002Fgo-style-core\u002FSKILL.md)\n- [ ] **Naked returns**: Only in short functions; explicit returns in medium\u002Flarge functions → [go-style-core](..\u002Fgo-style-core\u002FSKILL.md)\n- [ ] **Pass values**: Don't use pointers just to save bytes; pass `string` not `*string` for small fixed-size types → [go-performance](..\u002Fgo-performance\u002FSKILL.md)\n- [ ] **String concatenation**: `+` for simple; `fmt.Sprintf` for formatting; `strings.Builder` for loops → [go-performance](..\u002Fgo-performance\u002FSKILL.md)\n\n---\n\n## Logging\n\n- [ ] **Use slog**: New code uses `log\u002Fslog`, not `log` or `fmt.Println` for operational logging → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **Structured fields**: Log messages use static strings with key-value attributes, not fmt.Sprintf → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **Appropriate levels**: Debug for developer tracing, Info for notable events, Warn for recoverable issues, Error for failures → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **No secrets in logs**: PII, credentials, and tokens are never logged → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n\n---\n\n## Imports\n\n- [ ] **Import groups**: Standard library first, then blank line, then external packages → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import renaming**: Avoid unless collision; rename local\u002Fproject-specific import on collision → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import blank**: `import _ \"pkg\"` only in main package or tests → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import dot**: Only for circular dependency workarounds in tests → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n\n---\n\n## Generics\n\n- [ ] **When to use**: Only when multiple types share identical logic and interfaces don't suffice → [go-generics](..\u002Fgo-generics\u002FSKILL.md)\n- [ ] **Type aliases**: Use definitions for new types; aliases only for package migration → [go-generics](..\u002Fgo-generics\u002FSKILL.md)\n\n---\n\n## Testing\n\n- [ ] **Examples**: Include runnable `Example` functions or tests demonstrating usage → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Useful test failures**: Messages include what was wrong, inputs, got, and want; order is `got != want` → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n- [ ] **TestMain**: Use only when all tests need common setup with teardown; prefer scoped helpers first → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n- [ ] **Real transports**: Prefer `httptest.NewServer` + real client over mocking HTTP → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n\n---\n\n## Automated Checks\n\nRun automated pre-review checks:\n\n```bash\nbash scripts\u002Fpre-review.sh .\u002F...         # text output\nbash scripts\u002Fpre-review.sh --json .\u002F...  # structured JSON output\n```\n\nOr manually: `gofmt -l \u003Cpath> && go vet .\u002F... && golangci-lint run .\u002F...`\n\nFix any issues before proceeding to the checklist above. For linter setup and configuration, see [go-linting](..\u002Fgo-linting\u002FSKILL.md).\n\n---\n\n## Related Skills\n\n- **Style foundations**: See [go-style-core](..\u002Fgo-style-core\u002FSKILL.md) when resolving formatting debates or applying the clarity > simplicity > concision priority\n- **Linting setup**: See [go-linting](..\u002Fgo-linting\u002FSKILL.md) when configuring golangci-lint or adding automated checks to CI\n- **Error strategy**: See [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md) when reviewing error wrapping, sentinel errors, or the handle-once pattern\n- **Naming conventions**: See [go-naming](..\u002Fgo-naming\u002FSKILL.md) when evaluating identifier names, receiver names, or package-symbol stuttering\n- **Testing patterns**: See [go-testing](..\u002Fgo-testing\u002FSKILL.md) when reviewing test code for table-driven structure, failure messages, or helper usage\n- **Concurrency safety**: See [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md) when reviewing goroutine lifetimes, channel usage, or mutex placement\n- **Logging practices**: See [go-logging](..\u002Fgo-logging\u002FSKILL.md) when reviewing log usage, structured logging, or slog configuration\n","# Go Code Review Checklist\n\n> Compatibility: `references\u002FWEB-SERVER.md` uses `log\u002Fslog` examples that require Go 1.21+.\n\n## Resource Routing\n\n- `assets\u002Freview-template.md` - Use when formatting review output with Must Fix, Should Fix, and Nits sections.\n- `scripts\u002Fpre-review.sh` - Run before manual review to collect gofmt, go vet, and golangci-lint results.\n- `references\u002FWEB-SERVER.md` - Read when reviewing an HTTP server that combines concurrency, context, logging, error handling, and shutdown behavior.\n\n## Review Procedure\n\n> Use `assets\u002Freview-template.md` when formatting the output of a code review to ensure consistent structure with Must Fix \u002F Should Fix \u002F Nits severity grouping.\n\n1. Run `gofmt -d .` and `go vet .\u002F...` to catch mechanical issues first\n2. Read the diff file-by-file; for each file, check the categories below in order\n3. Flag issues with specific line references and the rule name\n4. After reviewing all files, re-read flagged items to verify they're genuine issues\n5. Summarize findings grouped by severity (must-fix, should-fix, nit)\n\n> **Validation**: After completing the review, re-read the diff once more to verify every flagged issue is real. Remove any finding you cannot justify with a specific line reference.\n\n---\n\n## Formatting\n\n- [ ] **gofmt**: Code is formatted with `gofmt` or `goimports` → [go-linting](..\u002Fgo-linting\u002FSKILL.md)\n\n---\n\n## Documentation\n\n- [ ] **Comment sentences**: Comments are full sentences starting with the name being described, ending with a period → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Doc comments**: All exported names have doc comments; non-trivial unexported declarations too → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Package comments**: Package comment appears adjacent to package clause with no blank line → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Named result parameters**: Only used when they clarify meaning (e.g., multiple same-type returns), not just to enable naked returns → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n\n---\n\n## Error Handling\n\n- [ ] **Handle errors**: No discarded errors with `_`; handle, return, or (exceptionally) panic → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **Error strings**: Lowercase, no punctuation (unless starting with proper noun\u002Facronym) → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **In-band errors**: No magic values (-1, \"\", nil); use multiple returns with error or ok bool → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n- [ ] **Indent error flow**: Handle errors first and return; keep normal path at minimal indentation → [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md)\n\n---\n\n## Naming\n\n- [ ] **MixedCaps**: Use `MixedCaps` or `mixedCaps`, never underscores; unexported is `maxLength` not `MAX_LENGTH` → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Initialisms**: Keep consistent case: `URL`\u002F`url`, `ID`\u002F`id`, `HTTP`\u002F`http` (e.g., `ServeHTTP`, `xmlHTTPRequest`) → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Variable names**: Short names for limited scope (`i`, `r`, `c`); longer names for wider scope → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Receiver names**: One or two letter abbreviation of type (`c` for `Client`); no `this`, `self`, `me`; consistent across methods → [go-naming](..\u002Fgo-naming\u002FSKILL.md)\n- [ ] **Package names**: No stuttering (use `chubby.File` not `chubby.ChubbyFile`); avoid `util`, `common`, `misc` → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Avoid built-in names**: Don't shadow `error`, `string`, `len`, `cap`, `append`, `copy`, `new`, `make` → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n\n---\n\n## Concurrency\n\n- [ ] **Goroutine lifetimes**: Clear when\u002Fwhether goroutines exit; document if not obvious → [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md)\n- [ ] **Synchronous functions**: Prefer sync over async; let callers add concurrency if needed → [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md)\n- [ ] **Contexts**: First parameter; not in structs; no custom Context types; pass even if you think you don't need to → [go-context](..\u002Fgo-context\u002FSKILL.md)\n\n---\n\n## Interfaces\n\n- [ ] **Interface location**: Define in consumer package, not implementor; return concrete types from producers → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n- [ ] **No premature interfaces**: Don't define before used; don't define \"for mocking\" on implementor side → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n- [ ] **Receiver type**: Use pointer if mutating, has sync fields, or is large; value for small immutable types; don't mix → [go-interfaces](..\u002Fgo-interfaces\u002FSKILL.md)\n\n---\n\n## Data Structures\n\n- [ ] **Empty slices**: Prefer `var t []string` (nil) over `t := []string{}` (non-nil zero-length) → [go-data-structures](..\u002Fgo-data-structures\u002FSKILL.md)\n- [ ] **Copying**: Be careful copying structs with pointer\u002Fslice fields; don't copy `*T` methods' receivers by value → [go-data-structures](..\u002Fgo-data-structures\u002FSKILL.md)\n\n---\n\n## Security\n\n- [ ] **Crypto rand**: Use `crypto\u002Frand` for keys, not `math\u002Frand` → [go-defensive](..\u002Fgo-defensive\u002FSKILL.md)\n- [ ] **Don't panic**: Use error returns for normal error handling; panic only for truly exceptional cases → [go-defensive](..\u002Fgo-defensive\u002FSKILL.md)\n\n---\n\n## Declarations and Initialization\n\n- [ ] **Group similar**: Related `var`\u002F`const`\u002F`type` in parenthesized blocks; separate unrelated → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **var vs :=**: Use `var` for intentional zero values; `:=` for explicit assignments → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Reduce scope**: Move declarations close to usage; use if-init to limit variable scope → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Struct init**: Always use field names; omit zero fields; `var` for zero structs → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n- [ ] **Use `any`**: Prefer `any` over `interface{}` in new code → [go-declarations](..\u002Fgo-declarations\u002FSKILL.md)\n\n---\n\n## Functions\n\n- [ ] **File ordering**: Types → constructors → exported methods → unexported → utilities → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Signature formatting**: All args on own lines with trailing comma when wrapping → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Naked parameters**: Add `\u002F* name *\u002F` comments for ambiguous bool\u002Fint args, or use custom types → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n- [ ] **Printf naming**: Functions accepting format strings end in `f` for `go vet` → [go-functions](..\u002Fgo-functions\u002FSKILL.md)\n\n---\n\n## Style\n\n- [ ] **Line length**: No rigid limit, but avoid uncomfortably long lines; break by semantics, not arbitrary length → [go-style-core](..\u002Fgo-style-core\u002FSKILL.md)\n- [ ] **Naked returns**: Only in short functions; explicit returns in medium\u002Flarge functions → [go-style-core](..\u002Fgo-style-core\u002FSKILL.md)\n- [ ] **Pass values**: Don't use pointers just to save bytes; pass `string` not `*string` for small fixed-size types → [go-performance](..\u002Fgo-performance\u002FSKILL.md)\n- [ ] **String concatenation**: `+` for simple; `fmt.Sprintf` for formatting; `strings.Builder` for loops → [go-performance](..\u002Fgo-performance\u002FSKILL.md)\n\n---\n\n## Logging\n\n- [ ] **Use slog**: New code uses `log\u002Fslog`, not `log` or `fmt.Println` for operational logging → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **Structured fields**: Log messages use static strings with key-value attributes, not fmt.Sprintf → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **Appropriate levels**: Debug for developer tracing, Info for notable events, Warn for recoverable issues, Error for failures → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n- [ ] **No secrets in logs**: PII, credentials, and tokens are never logged → [go-logging](..\u002Fgo-logging\u002FSKILL.md)\n\n---\n\n## Imports\n\n- [ ] **Import groups**: Standard library first, then blank line, then external packages → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import renaming**: Avoid unless collision; rename local\u002Fproject-specific import on collision → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import blank**: `import _ \"pkg\"` only in main package or tests → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n- [ ] **Import dot**: Only for circular dependency workarounds in tests → [go-packages](..\u002Fgo-packages\u002FSKILL.md)\n\n---\n\n## Generics\n\n- [ ] **When to use**: Only when multiple types share identical logic and interfaces don't suffice → [go-generics](..\u002Fgo-generics\u002FSKILL.md)\n- [ ] **Type aliases**: Use definitions for new types; aliases only for package migration → [go-generics](..\u002Fgo-generics\u002FSKILL.md)\n\n---\n\n## Testing\n\n- [ ] **Examples**: Include runnable `Example` functions or tests demonstrating usage → [go-documentation](..\u002Fgo-documentation\u002FSKILL.md)\n- [ ] **Useful test failures**: Messages include what was wrong, inputs, got, and want; order is `got != want` → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n- [ ] **TestMain**: Use only when all tests need common setup with teardown; prefer scoped helpers first → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n- [ ] **Real transports**: Prefer `httptest.NewServer` + real client over mocking HTTP → [go-testing](..\u002Fgo-testing\u002FSKILL.md)\n\n---\n\n## Automated Checks\n\nRun automated pre-review checks:\n\n```bash\nbash scripts\u002Fpre-review.sh .\u002F...         # text output\nbash scripts\u002Fpre-review.sh --json .\u002F...  # structured JSON output\n```\n\nOr manually: `gofmt -l \u003Cpath> && go vet .\u002F... && golangci-lint run .\u002F...`\n\nFix any issues before proceeding to the checklist above. For linter setup and configuration, see [go-linting](..\u002Fgo-linting\u002FSKILL.md).\n\n---\n\n## Related Skills\n\n- **Style foundations**: See [go-style-core](..\u002Fgo-style-core\u002FSKILL.md) when resolving formatting debates or applying the clarity > simplicity > concision priority\n- **Linting setup**: See [go-linting](..\u002Fgo-linting\u002FSKILL.md) when configuring golangci-lint or adding automated checks to CI\n- **Error strategy**: See [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md) when reviewing error wrapping, sentinel errors, or the handle-once pattern\n- **Naming conventions**: See [go-naming](..\u002Fgo-naming\u002FSKILL.md) when evaluating identifier names, receiver names, or package-symbol stuttering\n- **Testing patterns**: See [go-testing](..\u002Fgo-testing\u002FSKILL.md) when reviewing test code for table-driven structure, failure messages, or helper usage\n- **Concurrency safety**: See [go-concurrency](..\u002Fgo-concurrency\u002FSKILL.md) when reviewing goroutine lifetimes, channel usage, or mutex placement\n- **Logging practices**: See [go-logging](..\u002Fgo-logging\u002FSKILL.md) when reviewing log usage, structured logging, or slog configuration\n",{"name":5,"description":7,"allowed-tools":24},"Bash(bash:*)","main","19f4d52a98d557f3a645a2cfbbeb5bd54f28831d",".github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi","https:\u002F\u002Fgithub.com\u002Fkongnakornna","http:\u002F\u002Fcmoniot.trueddns.com:52160","Technical Skills and Expertise\r\nLanguages and Frameworks\r\nFrontend: HTML, JavaScript, TypeScript, React, Vue, Angular, Next.js\r\nBackend: Node.js,Python,Golang","2026-10-06 23:01:46",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add kongnakornna\u002Fgolangapi --skill go-code-review",{"tool":39,"command":40},"bunx","bunx skills add kongnakornna\u002Fgolangapi --skill go-code-review",{"tool":42,"command":43},"pnpm","pnpm dlx skills add kongnakornna\u002Fgolangapi --skill go-code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review\u002FSKILL.md",true,[47,53,59],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"assets\u002Freview-template.md","ASSET","资产文件",464,"https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review\u002Fassets\u002Freview-template.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002FWEB-SERVER.md","REFERENCE","参考文档",4164,"https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review\u002Freferences\u002FWEB-SERVER.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fpre-review.sh","SCRIPT","脚本",7282,"https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-skills\u002Fskills\u002Fgo-code-review\u002Fscripts\u002Fpre-review.sh",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7A0M9RJJ3383VEFYKABWV15","tb-writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-writing-plans\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7A0M4JKY4DEDRP1CBHT00WV","tb-using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-using-git-worktrees\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7A0KZ5HRAQAAT2KXR6146Q7","tb-test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-test-driven-development\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7A0KW92W3F18E2MRP8H62P2","tb-subagent-driven-development","Use when executing implementation plans with independent tasks in the current session","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-subagent-driven-development\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7A0KKYQCHYYRHA5J5BAP24M","tb-scrutinize","Outsider-perspective end-to-end review of a plan, PR, or code change. First questions intent and whether a simpler\u002Fmore elegant approach would achieve the same goal, then traces the actual code path (not just the diff) to verify the change does what it claims. Output is concise, actionable, and every call carries its rationale. Trigger on \u002Ftb-scrutinize and proactively whenever the user asks to review, audit, sanity-check, or get a second opinion on a plan, PR, diff, design doc, or proposed code change.","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-scrutinize\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7A0KFDR1V3RW7SW1XNHP82P","tb-requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-requesting-code-review\u002FSKILL.md",[],[]]