CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/golang-github-com-google-go-github

Go client library for accessing the GitHub API v3

65

1.14x
Quality

Pending

Does it follow best practices?

Impact

65%

1.14x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "context": "Evaluates whether the solution boots a go-github client correctly for public and Enterprise hosts, wiring authentication, headers, and upload handling through the library's provided helpers. Focus is on using the SDK's construction and request builders rather than manual HTTP wiring.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client setup",
      "description": "Constructs the client with github.NewClient and appropriate options, honoring a provided http.Client and setting defaults for public GitHub when no host override is given.",
      "max_score": 25
    },
    {
      "name": "Token wiring",
      "description": "Applies github.WithAuthToken or equivalent oauth2 transport so Authorization headers are injected by the client rather than manually added per request.",
      "max_score": 20
    },
    {
      "name": "Enterprise hosts",
      "description": "Uses github.WithEnterpriseURLs (or WithBaseURL/WithUploadURL pair) to target supplied API and upload hosts, ensuring both REST and upload requests resolve against those URLs.",
      "max_score": 20
    },
    {
      "name": "Headers",
      "description": "Sets custom User-Agent on the github.Client and applies github.WithVersion to emit the configured API version header on outgoing requests.",
      "max_score": 20
    },
    {
      "name": "Upload requests",
      "description": "Builds upload requests through github.NewUploadRequest (or equivalent helper) so uploads use the configured upload host while preserving auth and header configuration.",
      "max_score": 15
    }
  ]
}

tile.json