blocky-ui
AGENTS.md132 starsChanged 2 months agoMITView on GitHub
Blocky UI is a dashboard for the Blocky DNS proxy. Use Bun for package management and scripts. Changes to a query log provider or shared log code must preserve compatibility across all supported providers. For every such change, run the full log test suite with bun run test src/server/logs, including the integration tests in src/server/logs/__tests__/. The integration suite uses testcontainers with real databases and requires Docker or Podman. Verify that the change works across providers, including those you did not…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- generate-changesetSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
After code changes, run bun run verify and resolve failures introduced by the change.
- Very specific: line 8
Run the tests relevant to changed behavior with bun run test <path>.
- Very specific: line 18
Prefer inferred types. Use unknown instead of any when the type is unknown.
- Very specific: line 19
Do not use non-null assertions (!) or type casting to bypass errors.
- Distinctive: line 20
Use Tailwind classes for styling.
- Distinctive: line 21
Prefer Drizzle query builders.
- Very specific: line 25
Ask before editing existing components in src/components/ui/.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Blocky UI
Blocky UI is a dashboard for the Blocky DNS proxy. Use Bun for package management and scripts.
Checks
- After code changes, run
bun run verifyand resolve failures introduced by the change. - Run the tests relevant to changed behavior with
bun run test <path>. This runs Vitest.
Provider compatibility
Changes to a query log provider or shared log code must preserve compatibility across all supported providers. For every such change, run the full log test suite with bun run test src/server/logs, including the integration tests in src/server/logs/__tests__/.
The integration suite uses testcontainers with real databases and requires Docker or Podman. Verify that the change works across providers, including those you did not modify.
Conventions
- Prefer inferred types. Use
unknowninstead ofanywhen the type is unknown. - Do not use non-null assertions (
!) or type casting to bypass errors. Fix the types or narrow values instead. - Use Tailwind classes for styling.
- Prefer Drizzle query builders; use raw SQL only when necessary.
Shared UI components
Ask before editing existing components in src/components/ui/. When shadcn provides a component, add it with the shadcn CLI. Preserve local customizations when adding or updating components.
Task references
- Configuration changes: read blocky-ui.example.yml and src/env.js.
- Changesets: follow .agents/skills/generate-changeset/SKILL.md.
<!-- BEGIN:nextjs-agent-rules -->This is NOT the Next.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices.
This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
<!-- END:nextjs-agent-rules -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

