RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/thangaram611/second-brain

AGENTS.md

packages/types/AGENTS.md
AGENTS.md

Quality

48/100

Scores the file, not the repository.

Length

189 words

5 headings · 0 code blocks

Repository

0

— · pushed 32 days ago

Last changed

3 days ago

First indexed 3 days ago.
thangaram611/second-brain/packages/types/AGENTS.mdRawGitHub
1# @second-brain/types — Agent Instructions
2 
3Shared TypeScript type definitions for the entire monorepo. No runtime code — types only.
4 
5## Key Files
6 
7| File | Contents |
8|------|----------|
9| `src/entity.ts` | `Entity` type, `ENTITY_TYPES` array (15 types), `EntityType` union |
10| `src/relation.ts` | `Relation` type, `RELATION_TYPES` array (20 types), `RelationType` union |
11| `src/search.ts` | `SearchResult`, `SearchOptions`, `FusedSearchOptions` |
12| `src/temporal.ts` | `BitemporalRecord`, `TemporalQuery`, `HistoryEntry` |
13| `src/sync.ts` | `SyncState`, `SyncMessage`, `SyncConfig` |
14| `src/namespace.ts` | `Namespace` type, validation helpers |
15| `src/author.ts` | `Author` type for attribution |
16| `src/branch-context.ts` | `BranchContext` for git-aware operations |
17| `src/index.ts` | Re-exports everything |
18 
19## Adding a New Entity Type
20 
211. Add to `ENTITY_TYPES` array in `src/entity.ts`
222. The `EntityType` union auto-derives from the array
233. Downstream: update FTS triggers in `packages/core` if needed
24 
25## Adding a New Relation Type
26 
271. Add to `RELATION_TYPES` array in `src/relation.ts`
282. The `RelationType` union auto-derives from the array
29 
30## Conventions
31 
32- All types use `as const` arrays with derived union types
33- Every entity/relation carries `namespace`, `eventTime`, `ingestTime`
34- Confidence is `0..1` float, decayed read-side only
35- Observations are `string[]` — atomic facts
36 

Sections

  • @second-brain/types — Agent Instructions
  • Key Files
  • Adding a New Entity Type
  • Adding a New Relation Type
  • Conventions

What it covers

code-styletypesagent-behaviour

Stack — with the evidence

typescript

(1.00)

node

(1.00)

turborepo

(1.00)

eslint

(1.00)

monorepo

(0.85)

react

(0.70)

express

(0.70)

drizzle

(0.70)

tailwind

(0.70)

vite

(0.70)

vitest

(0.70)

javascript

(0.60)

pnpm

(0.60)

github-actions

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

All configs in this repo

Also in thangaram611/second-brain

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
thangaram611/second-brain.clinerules/01-project.md · 0Cline rulestypescriptnode+12setuptestmonorepodo-not65/1003 days ago
thangaram611/second-brain.clinerules/02-conventions.md · 0Cline rulestypescriptnode+12teststyledo-not40/1003 days ago
thangaram611/second-brain.clinerules/03-backend.md · 0Cline rulestypescriptnode+12styledatabase37/1003 days ago
thangaram611/second-brain.clinerules/04-frontend.md · 0Cline rulestypescriptnode+12style28/1003 days ago
thangaram611/second-brain.clinerules/05-testing.md · 0Cline rulestypescriptnode+12testdo-not35/1003 days ago
thangaram611/second-brain.clinerules/06-data-model.md · 0Cline rulestypescriptnode+12types25/1003 days ago
thangaram611/second-brain.cursor/rules/backend.mdc · 0Cursor rulestypescriptnode+12do-not31/1003 days ago
thangaram611/second-brain.cursor/rules/data-model.mdc · 0Cursor rulestypescriptnode+12types30/1003 days ago
thangaram611/second-brain.cursor/rules/frontend.mdc · 0Cursor rulestypescriptnode+12do-not31/1003 days ago
thangaram611/second-brain.cursor/rules/project.mdc · 0Cursor rulestypescriptnode+12testdo-notagent-behaviour50/1003 days ago
thangaram611/second-brain.cursor/rules/testing.mdc · 0Cursor rulestypescriptnode+12testdo-not27/1003 days ago
thangaram611/second-brain.github/copilot-instructions.md · 0Copilot instructionstypescriptnode+12setupteststylearch+496/1003 days ago
thangaram611/second-brain.windsurfrules · 0Windsurf rulestypescriptnode+12setupteststylearch+475/1003 days ago
thangaram611/second-brainAGENTS.md · 0AGENTS.mdtypescriptnode+12setupteststyletypes+374/1003 days ago
thangaram611/second-brainCLAUDE.md · 0CLAUDE.mdtypescriptnode+12agent-behaviour16/1003 days ago
thangaram611/second-brainapps/relay/AGENTS.md · 0AGENTS.mdtypescriptnode+12monorepoagent-behaviour33/1003 days ago
thangaram611/second-brainapps/server/AGENTS.md · 0AGENTS.mdtypescriptnode+12styleapimonorepoagent-behaviour56/1003 days ago
thangaram611/second-brainapps/ui/AGENTS.md · 0AGENTS.mdtypescriptnode+12styleuimonorepoagent-behaviour56/1003 days ago
thangaram611/second-brainpackages/collectors/AGENTS.md · 0AGENTS.mdtypescriptnode+12agent-behaviour52/1003 days ago
thangaram611/second-brainpackages/core/AGENTS.md · 0AGENTS.mdtypescriptnode+12testtypesdatabaseagent-behaviour62/1003 days ago
Diff against .clinerules/01-project.md Diff against .clinerules/02-conventions.md Diff against .clinerules/03-backend.md Diff against .clinerules/04-frontend.md Diff against .clinerules/05-testing.md Diff against .clinerules/06-data-model.md Diff against .cursor/rules/backend.mdc Diff against .cursor/rules/data-model.mdc Diff against .cursor/rules/frontend.mdc Diff against .cursor/rules/project.mdc Diff against .cursor/rules/testing.mdc Diff against .github/copilot-instructions.md Diff against .windsurfrules Diff against AGENTS.md Diff against CLAUDE.md Diff against apps/relay/AGENTS.md Diff against apps/server/AGENTS.md Diff against apps/ui/AGENTS.md Diff against packages/collectors/AGENTS.md Diff against packages/core/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 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
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 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