Skip to content

docs: TRAC-507 - add Handlebars v3 to v4 migration agent skill#1383

Merged
jairo-bc merged 1 commit into
bigcommerce:masterfrom
jairo-bc:publish/handlebars-v4-migration-skill
Jun 18, 2026
Merged

docs: TRAC-507 - add Handlebars v3 to v4 migration agent skill#1383
jairo-bc merged 1 commit into
bigcommerce:masterfrom
jairo-bc:publish/handlebars-v4-migration-skill

Conversation

@jairo-bc

@jairo-bc jairo-bc commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

What

Adds a publishable Agent Skill at skills/handlebars-v4-migration/SKILL.md that guides migrating a BigCommerce Stencil theme from Handlebars v3 to v4:

  1. Set "template_engine": "handlebars_v4" in config.json
  2. Fix ../ / @../ context depth inside conditional helpers (#if, #unless, #or, #and, #compare, #inArray, #any) that no longer create a context frame in v4, with an optional block-params refactor
  3. Regression-test (baseline vs candidate HTML snapshots + visual diff)
  4. Update the changelog

Why

This is the agent-skill deliverable for the Handlebars v3 deprecation effort. It moves the guide out of the internal plugin marketplace into a public home so any theme developer can use it.

How it's distributed

Placing it under a top-level skills/ directory makes it installable via the open skills CLI:

npx skills add bigcommerce/stencil-cli

which copies the skill into the consumer's agent config (e.g. .claude/skills/). It surfaces on the skills.sh directory automatically via install telemetry — no separate submission step.

Add a publishable Agent Skill (skills/handlebars-v4-migration) guiding
migration of a Stencil theme from Handlebars v3 to v4: config.json
template_engine flag, fixing ../ context depth in conditional helpers,
regression testing, and changelog. Installable via the skills CLI
(npx skills add bigcommerce/stencil-cli) and surfaced on skills.sh.

Refs TRAC-507
@jairo-bc jairo-bc force-pushed the publish/handlebars-v4-migration-skill branch from 8486546 to 941882b Compare June 17, 2026 19:34
@jairo-bc jairo-bc marked this pull request as ready for review June 17, 2026 21:15
@jairo-bc jairo-bc merged commit 2b7d04e into bigcommerce:master Jun 18, 2026
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants