battle-tested-engineer
Engineering judgment for code write/refactor/test and frontend UI. Trigger on code review, legacy cleanup, tests, UI with data,…
Checklist for validating Go TCP server infrastructure for reliability - goroutine safety, panic recovery, connection lifecycle, framing, resource limits, graceful shutdown, and reliability tests. Use when building, modifying, or reviewing TCP server code.
Claude Code
$ npx -y skills add sayeed1999/agent-skills --skill go-tcp-server-reliability --agent claude-code
Codex
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a codex -y
Cursor
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a cursor -y
Gemini CLI
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a gemini-cli -y
GitHub Copilot
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a github-copilot -y
OpenCode
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a opencode -y
Windsurf
$ npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability -a windsurf -y
name: go-tcp-server-reliability description: Checklist for validating Go TCP server infrastructure for reliability - goroutine safety, panic recovery, connection lifecycle, framing, resource limits, graceful shutdown, and reliability tests. Use when building, modifying, or reviewing TCP server code.
Validate TCP server infrastructure against every item below. Scope is infrastructure only (accept loop, connections, framing, lifecycle, shutdown). Do not evaluate business logic or protocol business rules.
1. Read the whole server package before answering (for example the TCP server, handler, and decoder/encoder code). 2. Answer every item. Do not skip or merge items. 3. Mark each item `PASS`, `FAIL`, or `N/A`. 4. `PASS` needs evidence: the function, type, or config field name that satisfies it. No note. 5. `N/A` needs a reason. `FAIL` needs what is missing and where it should be fixed. 6. If evidence cannot be found, mark `FAIL`. Do not assume. 7. When building or modifying code, treat this checklist as the definition of done.
ID | Result | Checklist Item | Evidence / Note GS-1 | PASS | Does each per-connection goroutine have its own deferred recover()? | serve: deferred recover() GS-2 | FAIL | Does a recovered panic log the panic value and debug.Stack()? | Missing stack trace logging in serve()
End with a summary: counts of PASS / FAIL / N/A, and the list of FAIL IDs. Any FAIL means the review fails.
Engineering judgment for code write/refactor/test and frontend UI. Trigger on code review, legacy cleanup, tests, UI with data,…
Checklist for validating Go HTTP server reliability, covering application goroutines, server configuration, request lifecycle,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.