Documentation
¶
Overview ¶
Command claudecode-assets regenerates the embedded Claude Code plugin assets (internal/target/claudecode/assets/pasture-skills and .../assets/pasture-agents) from the live codegen pipeline.
It is the write half of the anti-drift mechanism whose read half is TestEmbeddedAssetsMatchLivePipeline: both call claudecode.RenderGeneratedAssets so they can never disagree about what "correct" means. The go:generate directive in internal/target/claudecode/generate.go invokes this command, and `make generate` runs it after the canonical skills/ and agents/ trees are regenerated.
It manages emitted files, canonical verbatim skill trees and Git discipline. Independently authored plugin scaffolding and legacy context remain untouched.
Exits non-zero if rendering or any filesystem write fails.