RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/hashintel/hash

AGENTS.md

libs/@hashintel/ds-helpers/AGENTS.md
AGENTS.md

Quality

62/100

Scores the file, not the repository.

Length

348 words

8 headings · 4 code blocks

Repository

1.6k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
hashintel/hash/libs/@hashintel/ds-helpers/AGENTS.mdRawGitHub
1# @hashintel/ds-helpers - Agent Context
2 
3## Purpose
4 
5`@hashintel/ds-helpers` is now a thin generated artifact package.
6 
7It should only contain:
8 
9- `styled-system/**` generated by Panda
10- minimal publish/package metadata (for example `package.json`, README, and licenses)
11 
12It should not own:
13 
14- Panda config
15- preset source
16- stories or Ladle config
17- Playwright tests
18- token generation scripts
19 
20The source package is `@hashintel/ds-components`, which writes into `ds-helpers/styled-system` via Panda `outdir`.
21 
22## Architecture
23 
24```
25ds-components preset/scripts/demo source
26 │
27 │ panda codegen (outdir)
28 ▼
29 ds-helpers/styled-system
30 │
31 ▼
32css(), cva(), token(), jsx runtime for consumers
33```
34 
35Boundary rules:
36 
37- never add a runtime or package-manager dependency edge from `ds-helpers` back to `ds-components`
38- build orchestration may invoke `ds-components` codegen to materialize `styled-system/**`, but `ds-components` remains the source owner
39- never move source-of-truth token or preset code into this package
40- if you need to regenerate this package, run `yarn workspace @hashintel/ds-components codegen`
41 
42### Generated Output
43 
44The `styled-system/` directory is generated by Panda CSS codegen and exported as the package's public API:
45 
46| Export | Description |
47| -------------------------------- | ---------------------------------------------- |
48| `@hashintel/ds-helpers/css` | `css()`, `cva()`, `sva()` utility functions |
49| `@hashintel/ds-helpers/tokens` | `token()` function and token type definitions |
50| `@hashintel/ds-helpers/types` | TypeScript types for style properties |
51| `@hashintel/ds-helpers/patterns` | Layout patterns (stack, flex, grid, etc.) |
52| `@hashintel/ds-helpers/jsx` | Styled JSX components (Box, Flex, Stack, etc.) |
53 
54### Usage in ds-components
55 
56Components in `@hashintel/ds-components` import utilities from this package:
57 
58```tsx
59import { css, cva } from "@hashintel/ds-helpers/css";
60import { token } from "@hashintel/ds-helpers/tokens";
61import { Box, Flex } from "@hashintel/ds-helpers/jsx";
62```
63 
64## Regeneration
65 
66Run regeneration from the source package, not here:
67 
68```bash
69cd libs/@hashintel/ds-components
70yarn codegen
71```
72 
73`ds-helpers` itself intentionally has no local codegen or demo workflow now.
74 
75## File Structure
76 
77```
78libs/@hashintel/ds-helpers/
79├── styled-system/ # Panda CSS generated output (committed)
80│ ├── css/ # css(), cva(), sva() functions
81│ ├── jsx/ # Styled JSX components
82│ ├── patterns/ # Layout patterns
83│ ├── tokens/ # Token utilities
84│ └── types/ # TypeScript types
85└── package.json
86```
87 
88## Related Packages
89 
90- **ds-components**: source-owning design-system package that generates this artifact (`libs/@hashintel/ds-components`)
91 

Commands it names

  • yarn codegen
  • yarn workspace @hashintel/ds-components codegen

Sections

  • @hashintel/ds-helpers - Agent Context
  • Purpose
  • Architecture
  • Generated Output
  • Usage in ds-components
  • Regeneration
  • File Structure
  • Related Packages

What it covers

architecturedependenciesagent-behaviour

Stack — with the evidence

typescript

(1.00)

rust

(1.00)

monorepo

(0.85)

node

(0.70)

react

(0.70)

nextjs

(0.70)

express

(0.70)

fastapi

(0.70)

llamaindex

(0.70)

vitest

(0.70)

pytest

(0.70)

eslint

(0.70)

vercel

(0.70)

aws

(0.70)

javascript

(0.60)

turborepo

(0.60)

github-actions

(0.60)

python

(0.50)

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
hashintel
Language
—
License
—
Archived
no

All configs in this repo

Also in hashintel/hash

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
hashintel/hash.cursor/rules/ai-assistant-guidelines.mdc · 1.6kCursor rulestypescriptrust+16do-not51/1003 days ago
hashintel/hash.cursor/rules/rust-documentation.mdc · 1.6kCursor rulestypescriptrust+16docs33/1003 days ago
hashintel/hash.cursor/rules/git-commit-conventions.mdc · 1.6kCursor rulestypescriptrust+16lint-formatstylegitdo-not51/1003 days ago
hashintel/hash.cursor/rules/meaningful-identifiers.mdc · 1.6kCursor rulestypescriptrust+16do-not32/1003 days ago
hashintel/hash.cursor/rules/rust-coding-style.mdc · 1.6kCursor rulestypescriptrust+16lint-formatstyletypesdependencies+269/1003 days ago
hashintel/hash.cursor/rules/rust-error-handling.mdc · 1.6kCursor rulestypescriptrust+16no sections31/1003 days ago
hashintel/hash.cursor/rules/rust-testing-strategy.mdc · 1.6kCursor rulestypescriptrust+16testlint-formatstyletesting-strategy81/1003 days ago
hashintel/hash.cursor/rules/rust-tracing-practices.mdc · 1.6kCursor rulestypescriptrust+16no sections45/1003 days ago
hashintel/hash.cursor/rules/typescript-coding-guidelines.mdc · 1.6kCursor rulestypescriptrust+16styletypesdo-not65/1003 days ago
hashintel/hash.cursor/rules/update-rules.mdc · 1.6kCursor rulestypescriptrust+16no sections4/1003 days ago
hashintel/hash.github/instructions/code-review.instructions.md · 1.6kCopilot instructionstypescriptrust+16lint-formatstylegitdo-not+178/1003 days ago
hashintel/hash.github/instructions/rust-review.instructions.md · 1.6kCopilot instructionstypescriptrust+16lint-formatstylegitdo-not73/1003 days ago
hashintel/hash.github/instructions/typescript-review.instructions.md · 1.6kCopilot instructionstypescriptrust+16testlint-formatstyletypes+266/1003 days ago
hashintel/hashAGENTS.md · 1.6kAGENTS.mdtypescriptrust+16testlint-formatarchtypes+493/1003 days ago
hashintel/hashlibs/@hashintel/ds-components/AGENTS.md · 1.6kAGENTS.mdtypescriptrust+18buildtestlint-formatstyle+597/1003 days ago
hashintel/hashlibs/@hashintel/petrinaut/AGENTS.md · 1.6kAGENTS.mdtypescriptrust+17buildtestlint-formatstyle80/1003 days ago
Diff against .cursor/rules/ai-assistant-guidelines.mdc Diff against .cursor/rules/rust-documentation.mdc Diff against .cursor/rules/git-commit-conventions.mdc Diff against .cursor/rules/meaningful-identifiers.mdc Diff against .cursor/rules/rust-coding-style.mdc Diff against .cursor/rules/rust-error-handling.mdc Diff against .cursor/rules/rust-testing-strategy.mdc Diff against .cursor/rules/rust-tracing-practices.mdc Diff against .cursor/rules/typescript-coding-guidelines.mdc Diff against .cursor/rules/update-rules.mdc Diff against .github/instructions/code-review.instructions.md Diff against .github/instructions/rust-review.instructions.md Diff against .github/instructions/typescript-review.instructions.md Diff against AGENTS.md Diff against libs/@hashintel/ds-components/AGENTS.md Diff against libs/@hashintel/petrinaut/AGENTS.md

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
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/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