Documentation
¶
Index ¶
- func CheckDefaultOutput(m manifest.Manifest) ([]report.Diagnostic, []facts.OutputFact)
- func CheckNaming(m manifest.Manifest, allow NamingAllowlist) []report.Diagnostic
- func CheckReferences(m manifest.Manifest, examples []skillscan.Example) ([]report.Diagnostic, []facts.SkillFact)
- func CheckReferencesWithPolicy(m manifest.Manifest, examples []skillscan.Example, policy ReferencePolicy) ([]report.Diagnostic, []facts.SkillFact)
- func CheckSkillQuality(docs []SkillDoc) ([]report.Diagnostic, []facts.SkillQualityFact)
- func CollectErrorFacts(path, src string, boundaries BoundaryIndex) ([]facts.ErrorFact, []report.Diagnostic)
- func CollectErrorFactsWithStructuredHelpers(path, src string, boundaries BoundaryIndex, ...) ([]facts.ErrorFact, []report.Diagnostic)
- func CollectRepoErrorFacts(repo string, changedFiles []string, changedOnly bool) ([]facts.ErrorFact, []report.Diagnostic, error)
- func HintActionCount(hint string) int
- func LegacyCommandCandidates(m manifest.Manifest) []string
- func LegacyFlagCandidates(m manifest.Manifest) []string
- func Run(ctx context.Context, opts Options) ([]report.Diagnostic, facts.Facts, error)
- func RunDryRuns(ctx context.Context, cliBin string, m manifest.Manifest, ...) ([]report.Diagnostic, []facts.CommandExample)
- type Allowlist
- type BoundaryIndex
- type NamingAllowlist
- type Options
- type ParsedExample
- type ReferencePolicy
- type SkillDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDefaultOutput ¶
func CheckDefaultOutput(m manifest.Manifest) ([]report.Diagnostic, []facts.OutputFact)
func CheckNaming ¶
func CheckNaming(m manifest.Manifest, allow NamingAllowlist) []report.Diagnostic
func CheckReferences ¶
func CheckReferencesWithPolicy ¶
func CheckReferencesWithPolicy(m manifest.Manifest, examples []skillscan.Example, policy ReferencePolicy) ([]report.Diagnostic, []facts.SkillFact)
func CheckSkillQuality ¶
func CheckSkillQuality(docs []SkillDoc) ([]report.Diagnostic, []facts.SkillQualityFact)
func CollectErrorFacts ¶
func CollectErrorFacts(path, src string, boundaries BoundaryIndex) ([]facts.ErrorFact, []report.Diagnostic)
func CollectErrorFactsWithStructuredHelpers ¶
func CollectErrorFactsWithStructuredHelpers(path, src string, boundaries BoundaryIndex, packageStructuredHelpers map[string]bool) ([]facts.ErrorFact, []report.Diagnostic)
func CollectRepoErrorFacts ¶
func HintActionCount ¶
func LegacyCommandCandidates ¶
func LegacyFlagCandidates ¶
func RunDryRuns ¶
Types ¶
type BoundaryIndex ¶
func BuildErrorBoundaryIndex ¶
func BuildErrorBoundaryIndex(path, src string) BoundaryIndex
func BuildErrorBoundaryIndexWithStructuredHelpers ¶
func BuildErrorBoundaryIndexWithStructuredHelpers(path, src string, packageStructuredHelpers map[string]bool) BoundaryIndex
type NamingAllowlist ¶
func LoadNamingAllowlist ¶
func LoadNamingAllowlist(repo string) (NamingAllowlist, []report.Diagnostic, error)
type ParsedExample ¶
type ReferencePolicy ¶
Click to show internal directories.
Click to hide internal directories.