daisyui: Instructions file for GitHub Copilot

.github/instructions/workspace.instructions.md

daisyui workspace.instructions.md is an instructions file for GitHub Copilot from saadeghi/daisyui. It costs 381 tokens per session, scanned A, original, MIT.

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

Written for GitHub Copilot: a Copilot instructions file.

This is saadeghi/daisyui's own configuration. It tells GitHub Copilot how to work on daisyui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything daisyui configures →

About the project

daisyUI is a library of ready-made interface components built for Tailwind CSS, a utility-based system for styling web pages. It helps web developers assemble consistent buttons, forms, navigation, and other UI elements. The catalogue entries provide add-ons for working with this component library.

saadeghi/daisyui · 43,069 stars · on GitHub · daisyui.com

Reuse

Borrowing it

Nothing to install: this file belongs to saadeghi/daisyui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saadeghi/daisyui/master/.github/instructions/workspace.instructions.md
Clone the repo
git clone --depth 1 https://github.com/saadeghi/daisyui

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for daisyui workspace.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/saadeghi/daisyui/workspace/github.svg)](https://agentmods.dev/instructions/saadeghi/daisyui/workspace)
Your own site
<a href="https://agentmods.dev/instructions/saadeghi/daisyui/workspace"><img src="https://agentmods.dev/badge/instructions/saadeghi/daisyui/workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for daisyui workspace.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/saadeghi/daisyui/workspace"><img src="https://agentmods.dev/badge/instructions/saadeghi/daisyui/workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00381 $0.00381
Opus 5.5 $0.00152 $0.00152
Sonnet 5.5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured 3mo ago against content hash 17951e9bf8c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (43,069 stars, last pushed 6d ago), licensed MIT. It adds 381 tokens to every session, about $0.0015 per session on Opus 5.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.

Related

daisyui workspace.instructions.md compared with instructions from other repositories

daisyui workspace.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
daisyui workspace.instructions.mdsaadeghi/daisyuiInstructions file43k6d agoMITA381GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot