- Clojure
- HTMX
- Tailwind 4 (no .js config, just resources/public/app.css)
- Always use
clojure-mcpmcp to write clojure code. - When you change .clj files, ask to re-evaluate repl and check.
- If writing comments in code (source and tests), you MUST use english.
- Please every step of the way just give me a high level explanation of what changes you made
- Make every task and code change you do as simple as possible. We want to avoid making any massive or complex changes. Every change should impact as little code as possible. Everything is about simplicity.
- Prefer small functions.
- In hiccup, always use :class instead of "[:sometag.someclass-a.someclass-b]"
- Use Tailwind utility classes for consistent styling, with custom CSS only for special cases, do not use app.css if not necessary
- Organize classes logically (layout, spacing, color, typography)
- Use responsive and state variants (for example, sm:, md:, lg:, hover:, focus:, dark:) in markup
- Make sure you understand what tailwind v4 is and all its differences between v3. Read the doc https://tailwindcss.com/docs.
- Embrace Tailwind v4 features like container queries and CSS variables
- Rely on Tailwind classes rather than inline styles or external CSS files for a unified design language
- note that tailwind is compiled by
make tailwindwith watch flag.
Run:
make test
make test-single TEST=<test-ns>/<deftest-name>
For example:
make test-single TEST=proto.search.chained-int-test/test-has-with-subselect-optimization
You can run all tests in one namespace, for example:
make test-single TEST=proto.search.chained-int-test
- Prefer
rgfor searching overfindorgrep - NEVER write markdown files unless asked!