Skip to main content

emit_bytes

Function emit_bytes 

Source
pub fn emit_bytes() -> &'static str
Expand description

The bytes a plugin’s emit-skill subcommand writes: the canonical with its leading HTML comment header removed, so the output IS the shipped plugin copy rather than something a caller must post-process.

The header is maintainer-facing (“edit ONLY the canonical, this copy is generated”) and is meaningless once emitted into the generated copy. Stripping happens HERE, at emit time, and never in DRIVER_SKILL itself - embedded_skill_matches_disk_source below asserts the const equals the canonical byte for byte, so stripping in the const would red that test.