Interface AgentDocsValidationRule

All Known Implementing Classes:
DocsDirectoryExistsRule, SkillCompatibilityRule, SkillDescriptionRule, SkillEntrypointRule, SkillFrontmatterStructureRule, SkillNameRule, StandardDirectoriesRule

public interface AgentDocsValidationRule
Contract for a skill validation rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Stable rule identifier used for opt-out configuration.
    Validates the docs using the provided context.
  • Method Details

    • id

      String id()
      Stable rule identifier used for opt-out configuration.
      Returns:
      rule ID
    • validate

      Validates the docs using the provided context.
      Parameters:
      context - validation context
      Returns:
      validation result including rule ID and any failure details