-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrulesync.mdc
More file actions
93 lines (69 loc) · 2.49 KB
/
rulesync.mdc
File metadata and controls
93 lines (69 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
description: 這對處理 CSS 檔案很有幫助
name: global
globs: **.css
---
# Basic AI Rules
## General Instructions
- Respond in a clear, concise manner
- Provide accurate information based on your knowledge
- When unsure, acknowledge limitations rather than guessing
- Maintain a helpful and respectful tone
## Code Generation
- Follow best practices for the requested programming language
- Include comments for complex sections
- Prioritize readability over clever solutions
- Ensure code is secure and follows modern standards
## Content Guidelines
- Do not generate harmful, illegal, or unethical content
- Respect user privacy and confidentiality
- Avoid politically charged language
- Focus on being helpful rather than entertaining
---
description: 這對處理 CSS 檔案很有幫助
globs: **.css
name: stylesheet
---
## Content Guidelines
- Do not generate harmful, illegal, or unethical content
- Respect user privacy and confidentiality
- Avoid politically charged language
- Focus on being helpful rather than entertaining
---
# Demo New Rules
These are some new rules to demonstrate the append functionality.
## Rule 1
Always use TypeScript for new projects.
## Rule 2
Prefer functional programming patterns when possible.
---
id: cmdvsbo0t0001ju04wa4afq0a
name: Directory Conversiono
description:
author: Caedman Ziwen Lan
updatedAt: "2025-08-03T14:36:45.319Z"
applyType: always
tags: []
---
# Directory Conversiono
## Rule Content
-# Core System Components
- The main application logic is in src/core.
- Shared utilities and helpers are in src/utils.
- Feature flags and configuration settings are in src/config.
# Cascade
- Cascade's backend logic is in server/cascade_engine.
- All API request handlers for Cascade are in server/cascade_api.
- Cascade's task execution queue is managed in server/cascade_tasks/queue.py.
# Frontend Code Structure
- The UI components for the assistant are in frontend/components/assistant.
- The AI command panel logic is handled in frontend/components/command_panel.tsx.
- Styles for the AI interface are in frontend/styles/assistant.css.
# Data & Storage
- Vector embeddings are stored in server/data/vector_store.
- User session history is saved in server/data/sessions.
- Logs and analytics are collected in server/logs/usage_tracking.log.
# Testing & Debugging
- End-to-end tests for Cascade are in tests/e2e/cascade_tests.
- Mock API responses for local testing are in tests/mocks/api_mocks.py.
- Debugging scripts are located in scripts/debugging_tools.