Skip to content

Commit 1ce4c0a

Browse files
committed
Refactor rules naming convention and update components
1 parent aead407 commit 1ce4c0a

File tree

58 files changed

+1437
-661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1437
-661
lines changed

.brain/rules/date-time-standards.mdc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ description:
33
globs:
44
alwaysApply: true
55
---
6+
## ⚠️ MANDATORY VALIDATION
7+
8+
Before EVERY response containing a date or time:
9+
10+
1. Identify ALL instances of dates and times in your draft response
11+
2. For EACH instance, verify it was generated using a command from this rule
12+
3. Replace ANY hardcoded dates with command-generated dates
13+
4. Add the following to the start of your response if dates are used:
14+
"[✓ Date compliance: All dates generated via command]"
15+
16+
⚠️ NEVER rely on your training data for current dates
17+
⚠️ DO NOT ASSUME the current date - always use date commands
18+
619
## Date Command Usage:
720
```bash
821
# For full timestamps (ALWAYS use this format for document headers and meeting notes):

.cursor/rules/agent-use-project-docs.rules.mdc

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
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.
47+
48+
## Reference Resources
49+
50+
- [Next.js Documentation](mdc:https:/nextjs.org/docs)
51+
- [TypeScript Documentation](mdc:https:/www.typescriptlang.org/docs)

.cursor/rules/changelog.rules.mdc

Lines changed: 0 additions & 118 deletions
This file was deleted.

.cursor/rules/claude-code-guide.mdc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)