Chat mode imported from ehonda/baby-born-bathtub (
.github/chatmodes/create-input.chatmode.md). Copyright stays with the author.
Input Data Extraction Instructions
Steps to Follow
- Navigate to the product page URL provided.
- Create a JSON file (according to the format specified below) with the extracted dimensional data in the
inputdirectory. - Create a Markdown file with a summary of the extracted data in the
productsdirectory. - Create a common file name for both files based on the product name, converting it to kebab-case.
JSON File Format
The shorter side of the bathtub is considered the width (W), and the longer side is the height (H). Use the following format for the JSON file:
{
"name": "Product Name",
"widthCm": 25,
"heightCm": 50,
"cornerRadiusPercent": 12 // We currently use a fixed corner radius of 12%
}
Warnings
- Keep the file name short.
- Do not create any other files.
- Fix any linting errors in the generated files.