SKILLEMALL.ai

AF golang-samber-do

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container.

ClawHub Agent Skills author: Samuel Berthe v1.3.0 MIT-0 5 files body ≈ 2 038 tokens Open the sourceclawhub.ai analyzed 3 d ago

As a process F 52/100 · Will not run — References files that are not bundled: injector, i

ProcedureGitHubSoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
A
92/100
safety, quality, tests
Safety 60%
100
Quality 40%
79
Run on models
none yet
Process rating
F
52/100
Will not run
References files that are not bundled: injector, i
Tools and files w 18
0
Result and completion w 14
0
Inputs and preconditions w 11
0
the three weakest of ten parameters · all ten

How to improve

  1. The text references files that are not there: add them or drop the references.
For the model run — optional
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 0

✓ No critical or high findings

Files scanned: 4. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning missing-ref reference to a missing file: injector
  • warning missing-ref reference to a missing file: i
  • note frontmatter-key unknown frontmatter key "paths"

Process rating: all ten parameters 52/100

Will not run. References files that are not bundled: injector, i
  • 0Tools and files. 2 referenced file(s) missing: injector, i
  • 0Result and completion. Does not say what the result is
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 0Progress reporting. Says nothing while it works
  • 30Running it twice. 6 mutating operations with no state check
  • 100Steps. 16 steps
  • 100When it triggers. States when to use and when not to
  • 100Failures and branches. 1 branches, has a failure section
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 2038 tokens
  • medium 11 test cases, all positive: not one "should refuse" or "should ask first"

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • +2Single-language instructions
  • +3Description length 342: enough signal without eating the budget
  • +4Structure: 18 headings
  • +3Step-by-step instructions: 16 items
  • +4Has examples (10 code blocks)
  • +4Reference files are cited in the instructions (2 of 2)
  • +1License stated

Quality base 70; lint remarks subtract, signals add up to 100. Result: 79.

External checks

ClawHub: clean
This skill provides coherent Go dependency-injection guidance for samber/do without hidden installation steps, persistence, credential handling, or unrelated behavior.
LLM: benign (high) · VirusTotal: · 22 Aug 2026