Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
50a41a39
Commit
50a41a39
authored
Jun 30, 2025
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak instructions
parent
98d12386
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
5 deletions
+44
-5
copilot-instructions.md
.github/copilot-instructions.md
+44
-0
claude.prompt.md
.github/prompts/claude.prompt.md
+0
-5
No files found.
.github/copilot-instructions.md
0 → 100644
View file @
50a41a39
# Memos Project - AI Assistant Instructions
## Frontend Refactoring Goal
**PRIORITY**
: Replace all MUI Joy UI (@mui/joy) and @usememos/mui components with shadcn/ui + Tailwind CSS v4
## Key Rules
1.
**Replace all MUI components**
with shadcn/ui + Tailwind v4
2.
**Never modify generated shadcn/ui files**
from
`pnpm dlx shadcn@latest add`
3.
**Use https://tweakcn.com/ for custom variants**
when standard components need customization
## Setup Commands
```
bash
# Initialize shadcn/ui
pnpm dlx shadcn@latest init
# Add components
pnpm dlx shadcn@latest add
[
component]
```
## Migration Pattern
```
typescript
// OLD
import
{
Button
,
Card
,
Input
}
from
"@mui/joy"
;
// NEW
import
{
Button
}
from
"@/components/ui/button"
;
import
{
Card
}
from
"@/components/ui/card"
;
import
{
Input
}
from
"@/components/ui/input"
;
```
## When Suggesting Changes
-
Include
`pnpm dlx shadcn@latest add [component]`
commands
-
Use Tailwind classes for styling
-
Mention https://tweakcn.com/ for custom variants
-
Preserve TypeScript types and accessibility
## Target Files
Files containing
`@mui/joy`
or
`@usememos/mui`
imports
.github/prompts/claude.prompt.md
deleted
100644 → 0
View file @
98d12386
---
mode
:
agent
---
Please follow
`./CLAUDE.md`
for the basic structure and development guidelines of the Memos project.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment