Package io.github.duckasteroid.agentdocs.publish.validation
package io.github.duckasteroid.agentdocs.publish.validation
-
ClassDescriptionContract for a skill validation rule.Flags an author-provided
assets/sourcesentry in the docs root, becauseagent-docs-resolve-gradle-pluginreserves that exact path: when a consumer enablesincludeSources, it unpacks the dependency's sources jar there, overwriting whatever the author shipped without warning.Ensures the configured docs directory exists.Forjava-gradle-pluginprojects, ensures the docs root contains exactly one bundle subdirectory per declared plugin id and nothing else - no stray entries, and no top-levelSKILL.mdof its own.Validates optionaldescriptionfrontmatter length.Ensures exactly oneSKILL.mdexists at docs root.EnsuresSKILL.mdfrontmatter, when present, is well-formed.Warns when publisher-providednameis present because resolver naming is authoritative.Ensures standard optional skill directories are directories when present.Shared state and file-system access helpers for validation rules.Result of evaluating a single validation rule.Severity emitted by a validation rule.