Author and debug Handlebars response templates for WireMock stubs. Use when the user needs help writing or fixing response templates with formatJson, arrayJoin, state helpers, pagination, or brace collision issues.
This skill requires the WireMock Cloud MCP server to be configured and running. If it is unavailable, stop and inform the user before proceeding.
Read these references before authoring templates:
{{state}}, {{listState}}, {{jsonMerge}}) and SET value templatesdata.items{{arrayJoin}}The target mock API is: $ARGUMENTS
If $ARGUMENTS is empty, ask the user which mock API to work with.
search_my_mock_apis.search_stub_mappings and test them with make_http_request to reproduce the issue.{{#formatJson}} to wrap JSON output{{~#arrayJoin}} with tilde whitespace trimming for arrays{{replace}} for generating structural JSON characters{{val}} and {{math}}update_stub_mapping.make_http_request and check the request journal for errors.