HubSpot CMS Skill
This skill provides specialized knowledge for working with the HubSpot CMS within the hotwax-theme repository.
Core Responsibilities
- •
Module Management:
- •Create new modules using the
HubSpotDevMCPcreate-cms-module. - •Ensure modules follow the existing structure in
hotwax-theme/modules. - •Maintain
fields.jsonand ensure consistency withmodule.html.
- •Create new modules using the
- •
Template Architecture:
- •Manage templates in
hotwax-theme/templates. - •Use HubL best practices for reusable components and macros.
- •Manage templates in
- •
Serverless Functions:
- •Use
HubSpotDevMCPcreate-cms-functionto scaffold backend logic.
- •Use
Best Practices
- •Always use
fetch-docfromHubSpotDevMCP when unsure about HubL syntax or HubSpot API behavior. - •Use
search-docsto find official HubSpot guides. - •Prefix custom modules with
hw-if they are unique to HotWax and not part of the base theme. - •Styling: Always adhere to the
design-systemskill when implementing CSS for modules or templates.
MCP Tooling Integration
- •
HubSpotDev: Always prefer MCP tools for scaffolding and documentation over manual file creation when possible.