brand_enrich_skill
Injects missing governance content from .brand/governance/ YAML into auto-generated SKILL.md, appending cited sections without rewriting existing content. Requires at least one governance file.
Instructions
Take a Claude Design-style auto-generated SKILL.md, diff it against this project's .brand/governance/ YAML (narrative-library, valid-proof-points, anti-patterns, application-rules, taste-codes), and return an enriched SKILL.md with missing governance content injected, cited by governance ID, and grouped into canonical sections. Additive only — never rewrites existing content. Requires a .brand/ directory with at least one governance file. The typical flow: Claude Design auto-generates a SKILL.md during onboarding → pass it to this tool → replace the original with the enriched version → every subsequent generation grounds on governed narratives, Active/Watch proof points, hard-rule anti-patterns, and taste signals. This is the low-friction wedge for putting Brandcode governance into any Anthropic-product generation surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill_md | Yes | The auto-generated SKILL.md content to enrich. Paste the full file (including frontmatter) as a single string. Maximum 128 KB. | |
| include_application_rules | No | Include the Application rules section summarizing content-type → framework routing. Default: true. | |
| max_per_section | No | Cap injected bullets per governance section. Default 12, max 24. Raise for dense libraries; lower for minimal enrichment. |