Template guide omits the required managed token marker
While checking our template instructions this week, I noticed that our public “Build a template” guide and our authoring contract disagree about the design-token stylesheet.
The guide currently presents this as an optional convention:
<link rel="stylesheet" href="design-tokens.css" />
But .codex/skills/ipollowork-template-generation/references/template-generation-contract.md says the entry must contain exactly one managed link, after inline style blocks:
<link rel="stylesheet" href="design-tokens.css" data-ipw-design-tokens>
This matters for us because someone following the public example can build a package that looks valid at first but does not identify its managed token layer the way our theme-switching and authoring workflow expects.
A quick way to check it:
- Follow
packages/docs/start-here/do-work-with-it/build-a-template.mdxand copy its design-template HTML example. - Declare editable
--ipw-*variables in the manifest and stylesheet. - Compare the resulting entry with the shared template-generation contract (or run the product validator).
- The documented link has no
data-ipw-design-tokensmarker, and the guide never says there must be exactly one marked link.
We should update the English and Chinese guides to use the marked link, explain its placement/cardinality, and add this detail to the release checklist. It would also be useful to add a docs/example assertion so the public snippet cannot drift from the validator contract again.
The issue has been fixed. Please download our new product release.