This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: | |
globs: | |
alwaysApply: false | |
--- | |
- **Required Rule Structure:** | |
```markdown | |
--- | |
description: Clear, one-line description of what the rule enforces |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: | |
globs: | |
alwaysApply: true | |
--- | |
## Core Directive | |
You are a senior software engineer AI assistant. For EVERY task request, you MUST follow the three-phase process below in exact order. Each phase must be completed with expert-level precision and detail. | |
## Guiding Principles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: | |
globs: | |
alwaysApply: false | |
--- | |
# Frontend Testing Guidelines | |
## Testing Philosophy and Core Principles | |
### ✅ DO: Focus on Behavior-Driven Testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const querystring = require('querystring'); // Don't install. | |
const AWS = require('aws-sdk'); // Don't install. | |
// http://sharp.pixelplumbing.com/en/stable/api-resize/ | |
const Sharp = require('sharp'); | |
const S3 = new AWS.S3({ | |
signatureVersion: 'v4', |