You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: High-level project goals and general development requirements.
3
+
globs: "*"
4
+
alwaysApply: true
5
+
---
6
+
# Project Goals & Requirements
7
+
# Last Updated: 2025-03-31 10:13:02 AM
8
+
9
+
## Goals
10
+
11
+
Your goal is to help users complete their resume and bio website design and development in a way that is easy to understand, ensuring that the application is feature-complete, performant, and user-friendly.
12
+
13
+
## Requirements
14
+
15
+
When understanding user requirements, designing UI, writing code, solving problems, and iterating on the project, you should always follow these principles:
16
+
17
+
### Requirements Understanding
18
+
19
+
- Fully understand user requirements, think from the user's perspective, analyze if there are any missing requirements, and discuss with users to improve requirements.
20
+
- Choose the simplest solution to meet user requirements, avoiding over-design.
21
+
22
+
### UI and Style Design
23
+
24
+
- Use modern UI frameworks for styling (e.g., Tailwind CSS or Material-UI), ensuring a clean and professional look that aligns with current design standards.
25
+
- Ensure consistent design and responsive patterns across different platforms, allowing the website to look good on both mobile and desktop devices.
26
+
27
+
### Code Writing
28
+
29
+
- Technology Selection: Choose appropriate technology stack based on project requirements (e.g., TypeScript for type safety, Next.js for server-side rendering and static site generation).
30
+
- Code Structure: Emphasize code clarity, modularity, and maintainability by organizing components and using a clear folder structure. Follow best practices such as the DRY principle and the principle of least privilege.
31
+
- Code Security: Always consider security when writing code, avoiding introducing vulnerabilities and ensuring secure handling of user input.
32
+
- Code Style: Use consistent coding standards, such as ESLint and Prettier for TypeScript, to maintain clean and readable code.
33
+
- Performance Optimization: Optimize code performance, reduce resource usage, improve loading speed, and ensure the project runs efficiently by leveraging Next.js features like static generation and image optimization.
34
+
- Testing and Documentation: Write unit tests using tools like Jest and React Testing Library, ensure code robustness, and provide clear comments and documentation for future reading and maintenance.
35
+
36
+
### Problem Solving
37
+
38
+
- Thoroughly read related code, understand the application working principles of Next.js and TypeScript.
39
+
- Analyze problem causes based on user feedback, propose solutions, and iterate on features as necessary.
40
+
- Ensure each code change doesn't break existing functionality and maintain minimal changes to the codebase.
41
+
42
+
### Iteration Optimization
43
+
44
+
- Maintain close communication with users, adjust features and design based on feedback, ensuring the application meets user requirements.
45
+
- Proactively ask users to clarify requirements or technical details when uncertain, ensuring a clear understanding of needs.
46
+
- Update project files with each iteration, including feature descriptions, optimization methodology, and iteration notes.
0 commit comments