Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require.
安装
npx skills add samber/cc-skills-golang --skill golang-stretchr-testifynpx skills add samber/cc-skills-golang --skill golang-stretchr-testify -a claude-code -gnpx skills add samber/cc-skills-golang --skill golang-stretchr-testify -a codex -ggemini skills install https://github.com/samber/cc-skills-golang.git --path skills/golang-stretchr-testifygh skill install samber/cc-skills-golang golang-stretchr-testifygit clone --depth 1 https://github.com/samber/cc-skills-golang /tmp/samber__cc-skills-golang
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/samber__cc-skills-golang/skills/golang-stretchr-testify ~/.claude/skills/golang-stretchr-testify # Claude Code
cp -R /tmp/samber__cc-skills-golang/skills/golang-stretchr-testify ~/.agents/skills/golang-stretchr-testify # Codex, Cursor, Gemini CLI, Copilot, OpenCode