Documentation
¶
Overview ¶
Package apistyle provides an omniskill Skill for API style specification linting and evaluation.
This package exposes the core api-style-spec functionality as MCP tools:
- lint: Lint an OpenAPI spec against style rules
- evaluate: LLM-based semantic evaluation
- analyze: Combined lint + evaluate with GO/NO-GO decision
- list_rules: List all rules from a profile
- list_profiles: List available style profiles
- explain_rule: Get detailed explanation of a rule
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Skill)
Option configures the Skill.
func WithAnthropicAPIKey ¶
WithAnthropicAPIKey sets the Anthropic API key for LLM evaluation.
type Skill ¶
type Skill struct {
// contains filtered or unexported fields
}
Skill provides API style specification tools.
func (*Skill) Description ¶
Description returns what this skill does.
func (*Skill) MarshalJSON ¶
MarshalJSON implements json.Marshaler for Skill metadata.
Click to show internal directories.
Click to hide internal directories.