resuke/q123 icon
public
Published on 5/14/2025
myCoder

Rules
Models
Context
relace Relace Instant Apply model icon

Relace Instant Apply

relace

anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage voyage-code-3 model icon

voyage-code-3

voyage

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

openai OpenAI GPT-4o model icon

OpenAI GPT-4o

OpenAI

128kinput·16.384koutput
- Follow React patterns
- Avoid prop drilling
## 基础设置
- 尽量 respond in 中文,在中文不能很好表达意思时再使用英文
- 如果你没有搞清楚问题,请诚实的说你不知道,哪里不清楚和我二次确认,可以拒绝我的需求
- 再写代码时遵循最小改动原则,避免影响原先的功能
- 每次我提需求时,先理解需求,再做技术设计,说明你的思路打算怎么做,然后再写代码
- 修复 bug 时,先去理解当前代码逻辑,定位问题,优先改造现有的代码能否解决问题,而不是直接新增代码补丁
- 修复 bug 和编辑器报错时,一定要理解当前的功能和样式,不要为了修改问题而影响了原有的功能和样式
- 即使识别到历史问题也不要自行优化,可以先告知我问题描述和对当前需求的影响,不要直接改跟本次需求无关的代码
- 代码要简单、优雅、容易维护
- 使用 TypeScript 类型定义
- 使用 ESLint 和 Prettier 进行代码格式化
- 遵循项目现有的命名规范
- 优先使用 `@qunhe/muya-ui` 组件库。可以通过读取本地目录 node_modules/@qunhe/muya-ui 理解组件库包含的实际代码内容
- 当涉及到名称为 @qunhe/ 开头的 npm 包时,去 node_modules 下查阅代码理解这个包,而不是靠联网查询或猜测其用法和 api
- 对于复杂的自定义组件,应遵循组件库的设计语言
- 中文和英文、中文和数字之间需要有 1 个空格分割
- 具体的依赖在 [package.json]中,请一定要记住项目的依赖项
Continuehttps://docs.continue.dev
Reacthttps://react.dev/reference/
React Testing Library Docshttps://testing-library.com/docs/react-testing-library/intro/

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace

No Data configured

MCP Servers

Learn more

No MCP Servers configured