resume/.cursor/rules/project-guidelines.mdc

24 lines
1016 B
Plaintext

# Project Guidelines
## Core Principles
- Use the `./build-test-deploy.sh` script for all build, test, and deployment operations
- Never use interactive CLI prompts in any scripts or processes
- Avoid creating duplicate files - use git for version control instead
- Don't modify Docker files unless absolutely necessary, especially production Dockerfiles
## File Structure
- Main resume content is in `docker/resume/index.html`
- Styles are in `docker/resume/styles.css`
- Server configuration is in `docker/resume/Caddyfile`
## Security Requirements
- All JS and CSS assets must have integrity hashes in HTML and CSP headers
- The Caddyfile must include proper Content-Security-Policy headers
- Use `update-csp-hashes.sh` to update security hashes
## Testing Standards
- All changes require passing tests before deployment
- Tests must pass for both mobile and desktop viewports
- Maintain Lighthouse scores: 100/100 for accessibility and SEO
- Tests must be meaningful with actual assertions, not placeholders