contamination

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package contamination detects cross-language and cross-technology contamination in skill content. It analyzes code block languages, technology references, and multi-interface tool usage to compute a contamination score indicating how likely a skill is to confuse an agent by mixing unrelated languages or domains.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(name, content string, codeLanguages []string) *types.ContaminationReport

Analyze computes contamination metrics for a skill. name is the skill name, content is the SKILL.md content, codeLanguages are the language identifiers extracted from code blocks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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