agentleFS
kirodotdevkirodotdev/KiroCrew/website/AGENTS.md

KiroCrew / website

AGENTS.md4.3k starsChanged 3 months agoApache-2.0View on GitHub

This file is a ROUTER, not a manual. It carries only the rules whose violation causes damage before a pointer could be read. Everything else is a link you MUST open before touching that area. The backend router is ../AGENTS.md. React + TypeScript + Vite SPA for the Kiro Crew dashboard. Built assets go to dist/ and are staged into ../src/kiro_crew/static/dist/ so the gateway serves them. Everything under website/docs/ is indexed by its README. - The localStorage test polyfill must…

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 9 mentionsSep 2026: 11 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the kirodotdev/KiroCrew repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about kirodotdev/KiroCrew

The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 22

Talked about on GitHub and Hacker News (22 times).

On GitHub · 19

14 more on GitHub

On Hacker News · 3

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository11 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Animation is Framer Motion: Do not add new CSS @keyframes.

    line 81
  2. Very specific:

    Accessibility: use <Clickable> rather than <div onClick>.

    line 95
  3. Very specific:

    Compose from src/components/ui.tsx: Never hand-roll a panel section header.

    line 99

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Kiro Crew Website — Agent Guidelines

This file is a ROUTER, not a manual. It carries only the rules whose violation causes damage before a pointer could be read. Everything else is a link you MUST open before touching that area. The backend router is ../AGENTS.md.

React + TypeScript + Vite SPA for the Kiro Crew dashboard. Built assets go to dist/ and are staged into ../src/kiro_crew/static/dist/ so the gateway serves them.

Read before you touch

If you are touching…Read first
layout of a page, panels, headerspage-layout
narrow screens, gutters, page zoom, touch gesturesnarrow-viewport
themes, colors, CSS vars, stable class hookstheming-contract
Tailwind: a new utility for a token, src/tailwind-theme.css, src/index.css's Tailwind header, safe-area utilitiesfrontend-conventions § Styling
shared components, a11y, URL sanitization, data fetching, the stack, adding a dependencyfrontend-conventions
any user-facing string, date, number, or sort orderi18n-catalog + i18n gates
src/extensions.ts, edition composition, registriesextension-seams
tests (vitest, MSW, Playwright, Electron), or a test that fails only in CItesting
the Electron desktop shellelectron/README.md
anything backend, or a whole-system question../AGENTS.md

Everything under website/docs/ is indexed by its README.

Build and test: a gotcha that produces a silent false green

  • The localStorage test polyfill must stay on Storage.prototype. Assigning it elsewhere makes the mock silently miss.

npm run test runs the website vitest suite AND the Electron node:test suite, and a pretest jscpd duplication check runs first, so npm test can fail on copy-paste before a single test executes. Commands and layers: testing.

This is a public OSS fork: don't reintroduce internal couplings

The public build is plain npm + Vite, src/rum.ts is an inert no-op stub that stays inert, and a downstream edition re-adds a removed surface additively through the extension seams, never by editing core. The full list — build and infra, identity and telemetry, the removed product surfaces, and the Channels / Board divergences an upstream sync must not restore — is oss-fork-boundaries, gated by the internal-content-scan check.

AUTOSDE.yaml in this directory is live and authoritative. The frontend review rules it declares are read by the claude-review, codex-review, code-review, fork-gpt-review, and fork-opus-review workflows, and a blocking: true rule there outranks a reviewer's own prompt. Read it before changing frontend code; never treat it as historical.

Rules that must not wait for a pointer

  • Settings primitives: pass configKey on every new SettingsToggle/SettingsField that writes a config path, or the <SettingRef configKey="..."> chip silently degrades to a CLI popover even though a toggle exists. Backend drift guards catch bad keys, not missing ones, so this rule is the only gate for the missing case.
  • Icons: use lucide-react; use className="lucide-inline" when a glyph sits inline with text. Never use an emoji or hand-rolled SVG as an icon. Size props are valid for standalone glyphs. Enforced by AUTOSDE.yaml (use-lucide-icons, no-emoji-as-icons).
  • Errors shown to the user render through ErrorNotice, never a hand-written <div className="text-danger">{err}</div>. Turn on askAgent wherever the hand-off cannot lose anything. Next to an unsaved draft, leave it off and name that draft in a {/* No hand-off: … */} comment. Inside a Radix menu, leave it off and render a sibling ErrorNoticeMenuItem; its describedBy must point to the passive notice's id, so the hand-off is a real menu focus stop rather than a nested button. Enforced by AUTOSDE.yaml (errors-use-error-notice).
  • Security: every dangerouslySetInnerHTML goes through DOMPurify via md() / sanitize() / esc() in src/api/helpers.ts. A bypass is an XSS bug, so there is no acceptable pointer for this one.
  • Never format a date, number, or sort order without naming a locale. Route through the src/i18n/format.ts seam; naming a locale explicitly IS the opt-out. CI-gated, and the failure (a Chinese UI rendering 7/30/2026) ships silently.
  • Never hardcode a user-facing English string. The dashboard ships in 12 languages; add a catalog key. CI-gated.
  • Data fetching is React Query, never useState + useEffect. Follow the existing query-key convention.
  • Animation is Framer Motion. Do not add new CSS @keyframes.
  • A persistent element that changes form or place stays one element. When a user action or a state flip minimizes, collapses, relocates or replaces something the user already has on screen, animate that one element between the two states (layoutId / layout, a landing spot the eye can follow, text that stays continuous, restore as the reverse). Never a hard swap of two components (flag ? <Chip/> : <Card/>): the user reads it as "that vanished and something else appeared" and no label repairs it. prefers-reduced-motion drops the motion, not the continuity. Loading/empty/error → content transitions are not this rule. Evidence for such a change is a recording, not a screenshot. Gated by the UX Review lane (lens 13) — a hard swap with no stated reason is a BLOCK.
  • Styling uses design tokens (var(--bg), var(--text), …), never a literal color.
  • Typography: no text-xs, and no text below 10px.
  • Accessibility: use <Clickable> rather than <div onClick>; give every icon-only button an aria-label; use <Btn> / <SendBtn> rather than a raw <button>; announce streaming regions with aria-live; honor the modal focus-trap contract.
  • Compose from src/components/ui.tsx. Never hand-roll a panel section header; use PanelSectionHeader.
  • src/extensions.ts is core-owned and must register nothing. Core registrations belong in the seed maps.
  • Edition composition is fail-closed: it needs KIROCREW_EDITION_DIR and KIROCREW_ALLOW_EDITION=1. Never set the latter in a release or publish job. A contaminated public wheel cannot be unpublished.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.