daisyui workspace.instructions.md

Project instructions for daisyUI, a library of ready-made interface styles for Tailwind CSS. They describe the project’s Bun workspace, packages, technology stack, and development commands.

In plain words
What is it for?
Use them to understand the daisyUI monorepo, start development, build the package, and work with its documentation, playground, and related packages.
Why use it?
They help contributors work in the correct package and follow the repository’s rules, including asking before adding dependencies.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/saadeghi/daisyui/workspace
Clone the repo
git clone --depth 1 https://github.com/saadeghi/daisyui

Made for: GitHub Copilot.

Per session 381 This file is loaded in full into every session.
When invoked 381 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00381 $0.00381
Opus 5 $0.00191 $0.00191
Sonnet 5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured 2d ago against content hash 17951e9bf8c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

daisyui workspace.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/instructions/workspace.instructions.md · 37 lines

What it actually says

Workspace Rules

  • This project is a monorepo managed by Bun Workspaces.
  • Each package has its own folder within the packages directory.

Our Stack

  • We use Bun.js as the runtime environment and package manager
  • We use JavaScript ESM
  • We use latest stable versions of all packages, languages, and libraries
  • This project is a monorepo managed by Bun Workspaces
  • Do not add any new package or dependency without asking first

Packages

  • packages/daisyui: The main daisyUI package
  • packages/docs: The daisyUI website built with SvelteKit and Svelte 5
  • packages/bundle: This directory contains generated bundle files. Do not read nor write code here.
  • packages/logs: This directory contains generated log files for performance analysis. Do not read nor write code here.
  • packages/playground: This directory is an Astro project used for testing and experimenting with daisyUI components. It is not part of the main application.

Commands

Run these commands from the root of the repository

  • bun run dev: Builds daisyUI package and starts the development server for daisyUI docs site on http://localhost:3000
  • bun run build: Builds the daisyUI package
  • bun run build:docs: Builds the daisyUI docs site for production
  • bun run format: Formats all files in the repository using Prettier
  • bun run lint: Lints all files in the repository using OXLint
  • bun run test: Runs tests for all packages using Bun test runner
  • bun run dev:localapi: Runs the local API server for daisyUI API and then runs the docs site with the local API at the same time
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 37 lines · 381 tokens per session scan A 17951e9bf8c9

Subscribe to this mod's changes

daisyui workspace.instructions.md is an instructions file published in the GitHub repository saadeghi/daisyui (42,247 stars, last pushed 9d ago), licensed MIT. It adds 381 tokens to every session, about $0.0019 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.