Skip to content

aiskillstore/marketplace / skills/89jobrien/golang-testing

golang-testing

Verified

Comprehensive Go testing patterns including table-driven tests, mocking, integration testing, benchmarks, and test organization.

FileKindSize
SKILL.mdskill md9.7 KB
skill-report.jsonconfig38.7 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-05T12:37:50.582Z",
    "slug": "89jobrien-golang-testing",
    "source_url": "https://github.com/89jobrien/steve/tree/main/steve/skills/golang-testing",
    "source_ref": "main",
    "model": "codex",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "a994bbc8d146d2c34c94086ac0589f011141ab60e489c53ce29d627792964a2e",
    "tree_hash": "48a6dad1de93349a68a14586ea5e70e2aa54f15dbcd53603c4be663c1aa55edd",
    "provenance": {
      "model_effective": "codex",
      "fallback_chain": [
        {
          "agent": "codex",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "golang-testing",
    "description": "Comprehensive guidance for Go testing with table-driven tests, mocks, integration tests, benchmarks, fixtures, coverage, and organization patterns.",
    "summary": "Guides Go developers through unit, integration, mock, benchmark, and coverage testing patterns.",
    "icon": "📦",
    "version": "1.0.2",
    "author": "Joseph OBrien",
    "license": "MIT",
    "tags": [
      "go",
      "testing",
      "unit-tests",
      "benchmarks",
      "integration-tests"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "scripts",
      "external_commands"
    ],
    "category": "coding"
  },
  "security_audit": {
    "risk_level": "safe",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "The static findings are false positives from Markdown code fences, Go import blocks, example identifiers, and documented Go test commands. The skill is instructional content only, with no executable installer, secret access, data exfiltration, or prompt injection evidence.",
    "remediation": [],
    "risk_factor_evidence": [
      {
        "factor": "scripts",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 174,
            "line_end": 178
          },
          {
            "file": "SKILL.md",
            "line_start": 199,
            "line_end": 204
          }
        ]
      },
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 30,
            "line_end": 52
          },
          {
            "file": "SKILL.md",
            "line_start": 52,
            "line_end": 56
          },
          {
            "file": "SKILL.md",
            "line_start": 56,
            "line_end": 93
          },
          {
            "file": "SKILL.md",
            "line_start": 93,
            "line_end": 99
          },
          {
            "file": "SKILL.md",
            "line_start": 99,
            "line_end": 109
          },
          {
            "file": "SKILL.md",
            "line_start": 109,
            "line_end": 113
          },
          {
            "file": "SKILL.md",
            "line_start": 113,
            "line_end": 133
          },
          {
            "file": "SKILL.md",
            "line_start": 133,
            "line_end": 137
          },
          {
            "file": "SKILL.md",
            "line_start": 137,
            "line_end": 169
          },
          {
            "file": "SKILL.md",
            "line_start": 169,
            "line_end": 173
          },
          {
            "file": "SKILL.md",
            "line_start": 173,
            "line_end": 194
          },
          {
            "file": "SKILL.md",
            "line_start": 194,
            "line_end": 198
          },
          {
            "file": "SKILL.md",
            "line_start": 198,
            "line_end": 248
          },
          {
            "file": "SKILL.md",
            "line_start": 248,
            "line_end": 254
          },
          {
            "file": "SKILL.md",
            "line_start": 254,
            "line_end": 274
          },
          {
            "file": "SKILL.md",
            "line_start": 274,
            "line_end": 278
          },
          {
            "file": "SKILL.md",
            "line_start": 278,
            "line_end": 299
          },
          {
            "file": "SKILL.md",
            "line_start": 299,
            "line_end": 303
          },
          {
            "file": "SKILL.md",
            "line_start": 303,
            "line_end": 333
          },
          {
            "file": "SKILL.md",
            "line_start": 333,
            "line_end": 337
          },
          {
            "file": "SKILL.md",
            "line_start": 337,
            "line_end": 375
          },
          {
            "file": "SKILL.md",
            "line_start": 375,
            "line_end": 381
          },
          {
            "file": "SKILL.md",
            "line_start": 381,
            "line_end": 389
          },
          {
            "file": "SKILL.md",
            "line_start": 389,
            "line_end": 393
          },
          {
            "file": "SKILL.md",
            "line_start": 393,
            "line_end": 401
          },
          {
            "file": "SKILL.md",
            "line_start": 401,
            "line_end": 403
          },
          {
            "file": "SKILL.md",
            "line_start": 403,
            "line_end": 407
          },
          {
            "file": "SKILL.md",
            "line_start": 407,
            "line_end": 416
          },
          {
            "file": "SKILL.md",
            "line_start": 416,
            "line_end": 423
          },
          {
            "file": "SKILL.md",
            "line_start": 423,
            "line_end": 424
          },
          {
            "file": "SKILL.md",
            "line_start": 424,
            "line_end": 426
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "scripts:SKILL.md:174:dynamic-import-expression",
        "category": "scripts",
        "severity": "medium",
        "pattern": "Dynamic import() expression",
        "file": "SKILL.md",
        "line_start": 174,
        "line_end": 178,
        "snippet": "import ("
      },
      {
        "id": "scripts:SKILL.md:199:dynamic-import-expression",
        "category": "scripts",
        "severity": "medium",
        "pattern": "Dynamic import() expression",
        "file": "SKILL.md",
        "line_start": 199,
        "line_end": 204,
        "snippet": "import ("
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 30,
        "line_end": 52,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 52,
        "line_end": 56,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 56,
        "line_end": 93,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:93:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 93,
        "line_end": 99,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:99:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 99,
        "line_end": 109,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:109:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 109,
        "line_end": 113,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:113:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 113,
        "line_end": 133,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 133,
        "line_end": 137,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:137:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 137,
        "line_end": 169,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:169:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 169,
        "line_end": 173,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:173:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 173,
        "line_end": 194,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:194:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 194,
        "line_end": 198,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:198:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 198,
        "line_end": 248,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 248,
        "line_end": 254,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:254:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 254,
        "line_end": 274,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:274:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 274,
        "line_end": 278,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:278:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 278,
        "line_end": 299,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:299:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 299,
        "line_end": 303,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:303:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 303,
        "line_end": 333,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:333:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 333,
        "line_end": 337,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:337:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 337,
        "line_end": 375,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:375:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 375,
        "line_end": 381,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:381:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 381,
        "line_end": 389,
        "snippet": "```text"
      },
      {
        "id": "external_commands:SKILL.md:389:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 389,
        "line_end": 393,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:393:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 393,
        "line_end": 401,
        "snippet": "```go"
      },
      {
        "id": "external_commands:SKILL.md:401:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 401,
        "line_end": 403,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:403:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 403,
        "line_end": 407,
        "snippet": "Run with: `go test -tags=integration ./...`"
      },
      {
        "id": "external_commands:SKILL.md:407:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 407,
        "line_end": 416,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:416:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 416,
        "line_end": 423,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:423:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 423,
        "line_end": 424,
        "snippet": "4. **Parallel tests** - Use `t.Parallel()` for independent tests"
      },
      {
        "id": "external_commands:SKILL.md:424:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 424,
        "line_end": 426,
        "snippet": "5. **Descriptive names** - `TestUserService_CreateUser_WithInvalidEmail`"
      },
      {
        "id": "blocker:SKILL.md:65:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 65,
        "line_end": 65,
        "snippet": "{\"valid division\", 10, 2, 5, false, \"\"},"
      },
      {
        "id": "blocker:SKILL.md:102:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 102,
        "line_end": 102,
        "snippet": "FindByID(ctx context.Context, id string) (*User, error)"
      },
      {
        "id": "blocker:SKILL.md:116:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 116,
        "line_end": 116,
        "snippet": "FindByIDFunc func(ctx context.Context, id string) (*User, error)"
      },
      {
        "id": "blocker:SKILL.md:120:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 120,
        "line_end": 120,
        "snippet": "func (m *MockUserRepository) FindByID(ctx context.Context, id string) (*User, error) {"
      },
      {
        "id": "blocker:SKILL.md:142:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 142,
        "line_end": 142,
        "snippet": "FindByIDFunc: func(ctx context.Context, id string) (*User, error) {"
      },
      {
        "id": "blocker:SKILL.md:143:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 143,
        "line_end": 143,
        "snippet": "if id == \"123\" {"
      },
      {
        "id": "blocker:SKILL.md:341:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 341,
        "line_end": 341,
        "snippet": "GetUserFunc: func(ctx context.Context, id string) (*User, error) {"
      },
      {
        "id": "blocker:SKILL.md:363:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 363,
        "line_end": 363,
        "snippet": "service.GetUserFunc = func(ctx context.Context, id string) (*User, error) {"
      },
      {
        "id": "blocker:SKILL.md:427:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 427,
        "line_end": 427,
        "snippet": "8. **Avoid test pollution** - Each test should be independent"
      }
    ],
    "finding_verdicts": [
      {
        "id": "scripts:SKILL.md:174:dynamic-import-expression",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Go import block inside a Markdown code example, not a JavaScript dynamic import expression. The skill does not execute this content or load code dynamically."
      },
      {
        "id": "scripts:SKILL.md:199:dynamic-import-expression",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Go import block inside a Markdown code example, not a JavaScript dynamic import expression. The skill does not execute this content or load code dynamically."
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:93:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:99:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:109:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:113:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:137:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:169:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:173:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:194:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:198:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:254:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:274:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:278:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:299:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:303:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:333:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:337:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:375:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:381:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:389:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:393:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:401:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown code fence around illustrative Go testing content. It is not Ruby backtick execution and the skill has no runnable script path."
      },
      {
        "id": "external_commands:SKILL.md:403:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "This line documents a standard go test command for running integration tests. It is not auto-executed by the skill and contains no untrusted interpolation."
      },
      {
        "id": "external_commands:SKILL.md:407:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "This Markdown bash fence introduces standard Go coverage commands for users to run manually. The skill does not execute commands or construct shell strings."
      },
      {
        "id": "external_commands:SKILL.md:416:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is the closing Markdown fence for the coverage command block. It is not Ruby backtick execution or executable skill logic."
      },
      {
        "id": "external_commands:SKILL.md:423:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This line contains inline Markdown code formatting for a Go testing practice, not shell execution. No command is executed and no input is interpolated."
      },
      {
        "id": "external_commands:SKILL.md:424:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This line contains inline Markdown code formatting for a Go testing practice, not shell execution. No command is executed and no input is interpolated."
      },
      {
        "id": "blocker:SKILL.md:65:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:102:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:116:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:120:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:142:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:143:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:341:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:363:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      },
      {
        "id": "blocker:SKILL.md:427:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "The line is sample Go test data, a mock method, or a testing practice note. It does not inspect the host, enumerate users, or perform system reconnaissance."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [],
    "high_findings": [],
    "medium_findings": [],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 1,
    "total_lines": 428,
    "audit_model": "codex",
    "audited_at": "2026-07-05T12:37:50.582Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Build Better Go Tests",
    "value_statement": "Go teams need consistent tests across units, integrations, mocks, benchmarks, and coverage. This skill provides practical Go testing patterns that Claude, Codex, and Claude Code can apply during development.",
    "seo_keywords": [
      "Claude Go testing",
      "Codex Go tests",
      "Claude Code Go testing",
      "Golang testing patterns",
      "table driven tests",
      "Go unit testing",
      "Go integration tests",
      "testcontainers Go",
      "Go benchmarks",
      "Go coverage"
    ],
    "actual_capabilities": [
      "Explains table-driven unit tests with error cases and subtests.",
      "Shows interface-based mocking patterns for repositories and services.",
      "Demonstrates integration tests with Testcontainers and PostgreSQL examples.",
      "Covers setup, teardown, fixtures, HTTP handler tests, and coverage commands.",
      "Describes benchmark patterns, sub-benchmarks, and parallel benchmarks."
    ],
    "limitations": [
      "Provides guidance and examples, not a complete generated test suite by itself.",
      "Assumes the project already uses Go and the standard testing package.",
      "Testcontainers examples require Docker or a compatible container runtime.",
      "Does not replace project-specific review of dependencies, data, or concurrency risks."
    ],
    "use_cases": [
      {
        "title": "Write Service Tests",
        "description": "Create table-driven unit tests and interface mocks for Go service logic.",
        "target_user": "Backend developer"
      },
      {
        "title": "Validate Integration Flows",
        "description": "Plan integration tests with containers, fixtures, setup, and teardown steps.",
        "target_user": "Platform engineer"
      },
      {
        "title": "Standardize Test Practices",
        "description": "Align a team on Go testing structure, benchmark style, and coverage workflow.",
        "target_user": "Technical lead"
      }
    ],
    "prompt_templates": [
      {
        "title": "Create a Table-Driven Test",
        "scenario": "Beginner unit test creation",
        "prompt": "Use the golang-testing skill to create a table-driven unit test for this Go function. Include success and error cases."
      },
      {
        "title": "Add Interface Mocks",
        "scenario": "Intermediate service testing",
        "prompt": "Use the golang-testing skill to design interface-based mocks for this service dependency. Show the test cases I should cover."
      },
      {
        "title": "Plan Integration Tests",
        "scenario": "Advanced database or service workflow",
        "prompt": "Use the golang-testing skill to plan integration tests for this Go package. Include setup, teardown, fixtures, and short-mode behavior."
      },
      {
        "title": "Review Test Architecture",
        "scenario": "Advanced test suite improvement",
        "prompt": "Use the golang-testing skill to review this Go test suite. Identify gaps in organization, mocking, benchmarks, coverage, and reliability."
      }
    ],
    "output_examples": [
      {
        "input": "A Go function needs unit tests for normal input, empty input, and invalid input.",
        "output": "A table-driven test plan with named cases, expected results, error expectations, and subtest structure."
      },
      {
        "input": "A service depends on a repository and an email sender.",
        "output": "A mock design that isolates the service, plus success, not found, and dependency failure scenarios."
      },
      {
        "input": "A repository must be tested against PostgreSQL.",
        "output": "An integration test outline with container setup, migration steps, cleanup, and a separate run command."
      }
    ],
    "best_practices": [
      "Start with table-driven tests for pure functions and small service methods.",
      "Keep integration tests behind build tags or short-mode skips.",
      "Use helpers and fixtures to reduce setup noise while preserving readability."
    ],
    "anti_patterns": [
      "Copying examples without adapting assertions to domain behavior.",
      "Running slow container tests as part of every quick unit test loop.",
      "Testing private implementation details instead of observable outcomes."
    ],
    "faq": [
      {
        "question": "Does this skill generate runnable Go tests?",
        "answer": "It provides patterns and examples that an assistant can adapt. Generated tests still need project context and validation."
      },
      {
        "question": "Does it require third-party packages?",
        "answer": "Core patterns use Go testing. Some examples use Testify and Testcontainers when those tools fit the project."
      },
      {
        "question": "Can it help with legacy Go code?",
        "answer": "Yes. It can suggest interface boundaries, focused tests, and safe ways to cover existing behavior."
      },
      {
        "question": "Does it cover benchmarks?",
        "answer": "Yes. It includes basic benchmarks, parallel benchmarks, and sub-benchmark organization."
      },
      {
        "question": "How should integration tests be run?",
        "answer": "Use build tags, short-mode skips, or separate commands so slow tests do not block fast unit test loops."
      },
      {
        "question": "Can Claude Code or Codex use this skill?",
        "answer": "Yes. The skill is marked for Claude, Codex, and Claude Code compatibility."
      }
    ]
  },
  "file_structure": [
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 428
    }
  ]
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall