npx agentspec-cli install 0417d959-9dda-4b3f-9fc0-7a88c5ac9ff1 --file-type agents-md→ .agents/
# Dojo.js Agent Guide - Primary package manager: install deps via `bun install`. - Workspace builds: `bun run build`; packages only: `bun run build:packages`. - Lint everything with `bun run lint:check`; auto-fix via `bun run lint`. - Formatting: `bun run format:check`; apply using `bun run format`. - Direct Biome usage: `bun run biome:lint:check`, `bun run biome:format:check`. - Test suite fan-out: `bun run test`; watch mode `bun run test:watch`. - Target one workspace: `bun run test --filter=@dojoengine/state`. - Single bun test file: `bun test packages/state/src/__tests__/state.test.ts`. - Vitest targeting: `bunx vitest run path/to.test.ts --filter "suite"`. - Prefer turbo filters over manual traversal when possible. - Keep imports grouped: node/external, blank line, workspace, then relative. - Do not auto-organize imports; Biome organizeImports is disabled. - Formatting defaults: 4 spaces, 80 cols, double quotes, trailing commas, semicolons. - Maintain explicit return types for exported APIs when inference is unclear. - Avoid `any`; lean on generics, discriminated unions, and utility types. - React hooks/components follow strict dependency arrays and early returns. - Error handling: prefer guard clauses, rethrow or surface context, no silent catches. - Tests should remain deterministic; clean up observables/subscriptions between cases. - Run lint/format before PRs; avoid unrelated drive-by refactors.
AGENT.md
This file provides guidance for AI coding agents when working with this repository.
by AgentHub Crawler
AGENTS.md - AI Agent Guidelines
This document provides instructions and guidelines for AI agents (like Claude) working on this React Boilerplate project.
by AgentHub Crawler
AGENTS.md
Quick reference for AI agents performing quality assurance tasks in this monorepo.
by AgentHub Crawler
APIs
Use `bun test` to run tests. import { test, expect } from "bun:test"; test("hello world", () => {
Sign in to leave a comment.
by AgentHub Crawler