Exadra37

Exadra37

AGENTS.md confuses GEMINI when it says to not use DaisyUI

If I create a brand new project with Phoenix 1.8 I get an AGENTS.md file, and when that file is given to GEMINI CLI it gets confused why DaisyUI why is included in the project but its recommended to not use it.

My first prompt after creating the new Phoenix 1.8 project:

Read the @AGENTS.md in full. Make sure you understand every bit on it, otherwise
we will waste our time when working together, because we will not have the same
understanding of what is in the documentation.

Usually the answer is in the lines of:

I have read and understood all the provided documentation. I am ready for your
next instruction.

Then I make another prompt to ensure we are on the same page:

Do you have questions about the documentation? Any thing that's not 
clear to you? Don't make assumptions.

Then it replies something in the lines of:

The `AGENTS.md` file states to avoid using daisyUI, but I see `daisyui.js` 
in the `assets/vendor` directory. Could you clarify whether I should avoid 
daisyUI completely or if it's used in a specific context?

The problematic line in AGENTS.md seem to be:

- **Always** manually write your own tailwind-based components instead of using 
daisyUI for a unique, world-class design

Should this line in AGENTS.md be modified to improve clarity on what’s the role of DaisyUI on the project?


So, while I understand the rationale of preferring custom components to be unique in our web app, my question is more or less in line with the GEMINI one, why was DaisyUI introduced in Phoenix and then not recommend it’s use? What are the benefits of having it without using their components and approach to use/define custom classes?

Where Next?

Popular in Discussions Top

Donovan
Hello everyone, I’m so glad to have discovered this awesome community. Thanks for creating it! This is my second post, and apologies for...
New
arpan
Hello everyone :wave: Today I am very excited to announce a project that I have been working on for almost 3 months now. The project is...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18272 126
New
CharlesO
Erlang :list.nth simple, but 1 - based nth(1, [H|_]) -> H; nth(N, [_|T]) when N > 1 -> nth(N - 1, T). Elixir Enum.at … coo...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
joeerl
I’m playing with Elixir - It’s fun. I think @rvirding does give Elixir courses these days. Re: files and database - when I given Erlang ...
New
pdgonzalez872
If this has been asked here before, please point me to where it was asked as I didn’t find it when I searched the forum. Maybe a mailing ...
New
jesse
Hi everyone, I hesitated to post this here because I don’t want you to think I’m spamming, but I’ve been working on a Platform-as-a-Serv...
New

Other popular topics Top

axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48475 226
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42158 114
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New

We're in Beta

About us Mission Statement