skillcheck

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package skillcheck provides skill detection and reference analysis operations. Type definitions (Level, Result, Report, etc.) live in the types package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeReferences

func AnalyzeReferences(dir string, rpt *types.Report)

AnalyzeReferences runs content and contamination analysis on reference markdown files. It populates the aggregate ReferencesContentReport, ReferencesContaminationReport, and per-file ReferenceReports on the given report.

func DetectSkills

func DetectSkills(dir string) (types.SkillMode, []string)

DetectSkills determines whether dir is a single skill, a multi-skill parent, or contains no skills. It follows symlinks when checking subdirectories.

func ReadReferencesMarkdownFiles

func ReadReferencesMarkdownFiles(dir string) map[string]string

ReadReferencesMarkdownFiles reads all .md files from <dir>/references/ and returns a map from filename to content. Returns nil if no references dir or no .md files are found.

func ReadSkillRaw

func ReadSkillRaw(dir string) string

ReadSkillRaw reads the raw SKILL.md content from a directory without parsing frontmatter. This is used as a fallback for content/contamination analysis when frontmatter parsing fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL