Skip to content

Commit c97e84e

Browse files
committed
instructions
1 parent 6853553 commit c97e84e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/instructions/code_generation.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ applyTo: "**"
5656
- We use Bun test runner for testing. Read Bun docs for more info: https://bun.sh/docs/cli/test
5757
- For tests, use the available Bun test features and syntax, if you need to install an addional package, ask first
5858
- Always write testable code
59-
- After generating new code, write a temporary test file at `/tmp/FILENAME.test.js` to check the functionality of the generated code. `tmp` folder is ignored in git and you don't need to remove the remove the test file after you're done
59+
- After generating new code, write a temporary test file at `/tmp/FILENAME.test.js` to check the functionality of the generated code. `tmp` folder is ignored in git and you don't need to remove the test file after you're done
6060
- If you're asked to write a permanent test file, write the test file within the project structure, do not write it in `/tmp`
6161

6262
## Debugging

.github/instructions/packages.daisyui.instructions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ applyTo: "packages/daisyui/src/**,packages/daisyui/functions/**"
1111
- Avoid repetition if possible
1212
- Do not use `!important` at all costs
1313
- daisyUI themes use OKLCH color space by default
14+
15+
## Files
16+
17+
- daisyUI components: `packages/daisyui/src/components`
18+
- daisyUI base styles: `packages/daisyui/src/components`
19+
- daisyUI utilities: `packages/daisyui/src/utilities`
20+
- daisyUI themes: `packages/daisyui/src/themes`
21+
- daisyUI build functions and tests: `packages/daisyui/functions`
22+
23+
## Fixing daisyUI issues
24+
25+
1. Read the issue carefully
26+
2. If the issue is not clear, ask for more information
27+
3. Find the CSS file or JS files that may be causing the issue
28+
4. Provide one or more logical solutions to the issue and let us decide which one to implement
29+
5. Implement the chosen solution
30+
6. Apply the solution without breaking existing functionality or changing other parts of the code

0 commit comments

Comments
 (0)