RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/K-Mistele/opensearch

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

94/100

Scores the file, not the repository.

Length

255 words

5 headings · 0 code blocks

Repository

30

— · pushed 395 days ago

Last changed

3 days ago

First indexed 3 days ago.
K-Mistele/opensearch/AGENTS.mdRawGitHub
1# Agent Guidelines for OpenSearch Project
2 
3## Build/Test Commands
4- **Run dev**: `bun run dev` (watches src/index.ts)
5- **Run CLI**: `bun run cli` (starts interactive CLI)
6- **Run tests**: `bun test` (runs all tests)
7- **Run single test**: `bun test <test-file>` (e.g., `bun test test/generate-query.test.ts`)
8- **Format/Lint**: Use Biome via `bunx biome format .` and `bunx biome lint .`
9 
10## Code Style & Conventions
11- **Runtime**: Use Bun instead of Node.js/npm/pnpm (see .cursor/rules)
12- **Formatting**: Tabs for indentation, single quotes for strings (biome.json)
13- **Imports**: Organize imports enabled, use path aliases `@/*` for src, `@baml-client` for BAML
14- **Types**: Strict TypeScript, interfaces for data structures, explicit return types
15- **Naming**: PascalCase for React components/BAML functions, camelCase for variables/functions
16- **Files**: .tsx for React components, .ts for utilities, .baml for BAML functions
17 
18## BAML Integration
19- **Source files**: Only edit files in `baml_src/` directory (*.baml files)
20- **Generated code**: `baml_client/` is auto-generated from `baml_src/` - never edit directly
21- **Functions**: Import and call via `import { b } from '@baml-client'; await b.SomeFunction(...)`
22- **Types**: All classes/enums exported from `@baml-client` (e.g., `import { SearchResult } from '@baml-client'`)
23- **Naming**: BAML functions use PascalCase (e.g., `GenerateQuery`, `Reflect`)
24- **Prompts**: Include `{{ ctx.output_format }}` and `{{ _.role("user") }}` for user inputs
25- **Schema**: Prefer enums over confidence numbers, use classes for structured outputs
26 
27## Error Handling & Testing
28- Use Bun's built-in test framework with `import { test, expect } from "bun:test"`
29- Async/await for BAML function calls and API interactions
30- Type-safe error handling with proper TypeScript types

Commands it names

  • bun run dev
  • bun run cli
  • bun test
  • bun test <test-file>
  • bun test test/generate-query.test.ts
  • bunx biome format .
  • bunx biome lint .

Sections

  • Agent Guidelines for OpenSearch Project
  • Build/Test Commands
  • Code Style & Conventions
  • BAML Integration
  • Error Handling & Testing

What it covers

buildtestlint-formatcode-styledo-notagent-behaviour

Stack — with the evidence

typescript

(1.00)

bun

(0.85)

react

(0.70)

javascript

(0.60)

biome

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
K-Mistele
Language
—
License
—
Archived
no

All configs in this repo

Also in K-Mistele/opensearch

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
K-Mistele/opensearch.cursor/rules/baml.mdc · 30Cursor rulestypescriptreact+3style44/1003 days ago
K-Mistele/opensearch.cursor/rules/default.mdc · 30Cursor rulestypescriptbun+3buildtestlint-formatstyle+294/1003 days ago
K-Mistele/opensearch.cursor/rules/opensearch-project-structure.mdc · 30Cursor rulestypescriptbun+3setupteststylearch+481/1003 days ago
K-Mistele/opensearch.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc · 30Cursor rulestypescriptbun+4setupteststyle73/1003 days ago
Diff against .cursor/rules/baml.mdc Diff against .cursor/rules/default.mdc Diff against .cursor/rules/opensearch-project-structure.mdc Diff against .cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+2100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack