Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/agent-ecosystem/skill-validator
/ types & classes
Types & classes
56 in github.com/agent-ecosystem/skill-validator
⨍
Functions
624
◇
Types & classes
56
↓ 2 callers
TypeAlias
CheckGroup
CheckGroup identifies a category of checks that can be enabled or disabled.
orchestrate/orchestrate.go:23
↓ 1 callers
TypeAlias
Level
Level represents the severity of a validation result.
types/types.go:7
Struct
AllowedTools
AllowedTools handles the type ambiguity in the allowed-tools field. The spec defines it as a space-delimited string, but many skills use a YAML list i
skill/skill.go:30
Struct
CachedResult
CachedResult holds a scoring result with metadata for cache storage.
judge/cache.go:16
Struct
ClientOptions
ClientOptions holds configuration for creating an LLM client.
judge/client.go:35
Struct
ContaminationReport
ContaminationReport holds cross-language contamination metrics.
types/types.go:69
Struct
ContentReport
ContentReport holds content quality metrics computed by the content analyzer.
types/types.go:52
Struct
DimensionScore
DimensionScore holds a single scoring dimension's display name and value.
types/types.go:139
Struct
EvalJSONOutput
--- JSON output --- EvalJSONOutput is the top-level JSON envelope.
report/eval.go:107
Struct
EvalJSONRef
EvalJSONRef is one reference file entry in JSON output.
report/eval.go:120
Struct
EvalJSONSkill
EvalJSONSkill is one skill entry in JSON output.
report/eval.go:112
Struct
Frontmatter
Frontmatter represents the parsed YAML frontmatter of a SKILL.md file.
skill/skill.go:18
Interface
LLMClient
LLMClient is the interface for making LLM API calls.
judge/client.go:25
Struct
MultiReport
MultiReport holds aggregated results from validating multiple skills.
types/types.go:132
Struct
Options
Options controls what gets scored.
evaluate/evaluate.go:43
Struct
Options
Options configures which checks Validate runs.
structure/validate.go:13
Struct
Options
Options controls which checks RunAllChecks performs.
orchestrate/orchestrate.go:47
FuncType
ProgressFunc
ProgressFunc receives progress events during evaluation. event identifies the kind of event (e.g. "scoring", "cached", "warning", "error"). detail pro
evaluate/evaluate.go:26
Struct
RefResult
RefResult holds scoring output for a single reference file.
evaluate/evaluate.go:37
Struct
RefScores
RefScores holds the LLM judge scores for a reference file.
judge/judge.go:37
Struct
ReferenceFileReport
ReferenceFileReport holds per-file content and contamination analysis for a single reference file.
types/types.go:84
Struct
Report
Report holds all validation results and token counts.
types/types.go:91
Struct
Result
Result represents a single validation finding.
types/types.go:37
Struct
Result
Result holds the complete scoring output for one skill.
evaluate/evaluate.go:29
Struct
ResultContext
ResultContext is a builder that sets Category and a default File once, so individual results inherit location context automatically.
types/context.go:7
Interface
Scored
Scored is the interface implemented by both SkillScores and RefScores. It allows formatting code to iterate dimensions generically.
types/types.go:146
Struct
Skill
Skill represents a parsed skill package.
skill/skill.go:62
TypeAlias
SkillMode
SkillMode indicates what kind of skill directory was detected.
types/types.go:120
Struct
SkillScores
SkillScores holds the LLM judge scores for a SKILL.md file.
judge/judge.go:24
Struct
TokenCount
TokenCount holds the token count for a single file.
types/types.go:46
Struct
anthropicClient
--- Anthropic client ---
judge/client.go:98
Struct
anthropicMessage
judge/client.go:115
Struct
anthropicRequest
judge/client.go:108
Struct
anthropicResponse
judge/client.go:120
Struct
capturedCall
--- capturingMockClient records arguments for each call ---
judge/judge_test.go:1104
Struct
capturingMockClient
judge/judge_test.go:1109
Struct
claudeCLIClient
--- Claude CLI client --- claudeCLIClient invokes the "claude" CLI for completions. This is useful when the CLI is already authenticated (e.g. via a c
judge/client.go:343
Struct
exitCodeError
exitCodeError is a sentinel error that carries a non-zero exit code. It is returned by output helpers and handled by Execute().
cmd/exitcode.go:15
Struct
exitOpts
exitOpts controls how validation results map to exit codes.
cmd/exitcode.go:24
Struct
jsonCheck
orchestrate/orchestrate_test.go:656
Struct
jsonMultiReport
report/json.go:49
Struct
jsonReferenceFileReport
report/json.go:25
Struct
jsonReport
report/json.go:10
Struct
jsonResult
report/json.go:31
Struct
jsonTokenCount
report/json.go:44
Struct
jsonTokenCounts
report/json.go:39
Struct
linkResult
links/check.go:12
Struct
mockClient
--- Mock client for integration-style tests ---
judge/judge_test.go:407
Struct
mockLLMClient
--- Mock LLM client ---
evaluate/evaluate_test.go:80
Struct
openaiClient
--- OpenAI-compatible client ---
judge/client.go:186
Struct
openaiMessage
judge/client.go:234
Struct
openaiRequest
judge/client.go:211
Struct
openaiResponse
judge/client.go:239
Struct
queueItem
queueItem represents a text body to scan during the BFS reachability walk.
structure/orphans.go:18
Struct
rewriteTransport
rewriteTransport rewrites requests to a different target URL while preserving the original Host header for testing.
judge/client_test.go:305
Struct
sequentialMockClient
--- sequentialMockClient ---
judge/judge_test.go:1075