agentleFS
ClineKnown publishercline/kanban/AGENTS.md

kanban

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

This file captures tribal knowledge-the nuanced, non-obvious patterns that make the difference between a quick fix and hours of debugging. When to add to this file: - User had to intervene, correct, or hand-hold - Multiple back-and-forth attempts were needed to get something working - You discovered something that required reading many files to understand - A change touched files you wouldn't have guessed - Something worked differently than you expected - User explicitly asks to add something Proactively suggest…

Trending

Quiet since August.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 3 mentionsApr 2026: 4 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 6 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the cline/kanban repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about cline/kanban

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

See all 15

Talked about on GitHub (15 times).

On GitHub · 15

10 more on GitHub
  • 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,736 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

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

22 rules. About 0 are common, 13 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When to add to this file:

    line 2
  2. Distinctive:

    No any types unless absolutely necessary.

    line 15
  3. Distinctive:

    Check node_modules for external API type definitions instead of guessing.

    line 16
  4. Very specific:

    Prefer SDK-provided types, schemas, helpers, and model metadata over local redefinitions.

    line 17
  5. Very specific:

    NEVER use inline imports. No await import("./foo.js"), no import("pkg").Type in type positions, and no dynamic imports for types.

    line 18
  6. Distinctive:

    NEVER remove or downgrade code to fix type errors from outdated dependencies.

    line 19
  7. Distinctive:

    Write production-quality code, not prototypes

    line 22
  8. Distinctive:

    Follow DRY principles and maintain clean architecture with clear separation of concerns.

    line 26
  9. Distinctive:

    Before adding custom utility code, evaluate whether a well-maintained third-party package can reduce complexity and long-term maintenance …

    line 28
  10. Distinctive:

    Avoid thin shell wrappers that only forward props or relocate JSX for a single call site.

    line 31
  11. Distinctive:

    Prefer extracting domain logic (state, effects, async orchestration) over presentation-only pass-through layers.

    line 32
  12. Distinctive:

    Do not optimize for line count alone.

    line 33
  13. Distinctive:

    NEVER commit unless user asks.

    line 36
  14. Distinctive:

    Always read all comments on the issue.

    line 40
  15. Very specific:

    Use this command to get everything in one call: gh issue view <number> --json title,body,comments,labels,state

    line 41
  16. Distinctive:

    When closing issues via commit:

    line 44
  17. Very specific:

    Use Tailwind utility classes as the primary styling system.

    line 53
  18. Very specific:

    Only use inline style={{}} for truly dynamic values (colors from props/variables, computed positions from drag-and-drop, runtime-dependent …

    line 55
  19. Very specific:

    Use lucide-react for all icons.

    line 76
  20. Very specific:

    Use Radix directly for headless behavior: @radix-ui/react-popover, @radix-ui/react-dropdown-menu, @radix-ui/react-checkbox, …

    line 81
  21. Very specific:

    Do NOT use Blueprint, Tailwind's light-mode defaults, or any dark: prefix.

    line 87
  22. Very specific:

    When Kanban runs on a headless remote Linux instance (for example over SSH+tunnel), native folder picker commands may be unavailable …

    line 93

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

This file captures tribal knowledge-the nuanced, non-obvious patterns that make the difference between a quick fix and hours of debugging. When to add to this file:

  • User had to intervene, correct, or hand-hold
  • Multiple back-and-forth attempts were needed to get something working
  • You discovered something that required reading many files to understand
  • A change touched files you wouldn't have guessed
  • Something worked differently than you expected
  • User explicitly asks to add something Proactively suggest additions when any of the above happen-don't wait to be asked. What NOT to add: Stuff you can figure out from reading a few files, obvious patterns, or standard practices. This file should be high-signal, not comprehensive.

TypeScript principles

  • No any types unless absolutely necessary.
  • Check node_modules for external API type definitions instead of guessing.
  • Prefer SDK-provided types, schemas, helpers, and model metadata over local redefinitions. For things like Cline SDK reasoning settings, use the SDK's source of truth whenever possible instead of recreating unions, support checks, or shapes in Kanban.
  • NEVER use inline imports. No await import("./foo.js"), no import("pkg").Type in type positions, and no dynamic imports for types. Always use standard top-level imports.
  • NEVER remove or downgrade code to fix type errors from outdated dependencies. Upgrade the dependency instead.

Code quality

  • Write production-quality code, not prototypes
  • Break components into small, single-responsibility files.
  • Extract shared logic into hooks and utilities.
  • Prioritize maintainability and clean architecture over speed.
  • Follow DRY principles and maintain clean architecture with clear separation of concerns.
  • In web-ui, prefer react-use hooks (via @/kanban/utils/react-use) whenever possible
  • Before adding custom utility code, evaluate whether a well-maintained third-party package can reduce complexity and long-term maintenance cost.

Architecture opinions

  • Avoid thin shell wrappers that only forward props or relocate JSX for a single call site.
  • Prefer extracting domain logic (state, effects, async orchestration) over presentation-only pass-through layers.
  • Do not optimize for line count alone. Optimize for codebase navigability and clarity.

Git guardrails

  • NEVER commit unless user asks.

GitHub issues When reading issues:

  • Always read all comments on the issue.
  • Use this command to get everything in one call: gh issue view <number> --json title,body,comments,labels,state

When closing issues via commit:

  • Include fixes #<number> or closes #<number> in the commit message. This automatically closes the issue when the commit is merged.

web-ui Stack

  • Kanban web-ui uses Tailwind CSS v4 for styling, Radix UI for accessible headless primitives, and Lucide React for icons.
  • Custom UI primitives live in src/components/ui/ (button, dialog, tooltip, kbd, spinner, cn utility).
  • Toast notifications use sonner. Import { toast } from "sonner" or use showAppToast from @/components/app-toaster.

Styling mental model

  • Use Tailwind utility classes as the primary styling system. Prefer className over inline style={{}}.
  • Prefer Tailwind classes over adding custom CSS in globals.css when possible. Conditional Tailwind classes via cn() are better than CSS overrides for state-driven styling (e.g. selected/active variants). Reserve globals.css for things Tailwind can't express: complex selectors (sibling combinators, attribute selectors), app-level layout glue, or styles that genuinely need to cascade.
  • Only use inline style={{}} for truly dynamic values (colors from props/variables, computed positions from drag-and-drop, runtime-dependent dimensions).
  • The design system tokens are defined in globals.css inside @theme { ... }. Use Tailwind utilities that reference them: bg-surface-0, text-text-primary, border-border, etc.

Design tokens (defined in globals.css @theme)

  • Surface hierarchy: surface-0 (#1F2428, app bg / columns), surface-1 (#24292E, navbar / project col / raised), surface-2 (#2D3339, cards/inputs), surface-3 (#353C43, hover), surface-4 (#3E464E, pressed/scrollbars)
  • Borders: border (#30363D, default), border-bright (#444C56, more visible), border-focus (#0084FF, focus rings)
  • Text: text-primary (#E6EDF3), text-secondary (#8B949E), text-tertiary (#6E7681)
  • Accent: accent (#0084FF), accent-hover (#339DFF)
  • Status: status-blue (#4C9AFF), status-green (#3FB950), status-orange (#D29922), status-red (#F85149), status-purple (#A371F7), status-gold (#D4A72C)
  • Border radius: rounded-sm (4px), rounded-md (6px), rounded-lg (8px), rounded-xl (12px)

UI primitives (src/components/ui/)

  • Button from @/components/ui/button: variant="default"|"primary"|"danger"|"ghost", size="sm"|"md", icon={<LucideIcon />}, fill, children for text content.
  • Dialog, DialogHeader, DialogBody, DialogFooter from @/components/ui/dialog: For modals. DialogHeader takes a title string.
  • AlertDialog, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel from @/components/ui/dialog: For destructive confirmations.
  • Tooltip from @/components/ui/tooltip: <Tooltip content="text"><trigger/></Tooltip>.
  • Spinner from @/components/ui/spinner: size (number), className.
  • Kbd from @/components/ui/kbd: Keyboard shortcut display.
  • cn from @/components/ui/cn: Utility for conditional className joining.

Icons

  • Use lucide-react for all icons. Import individual icons: import { Settings, Plus, Play } from "lucide-react".
  • Standard icon sizes: 14px for small buttons, 16px for default contexts.
  • Pass icons as JSX elements to button icon prop: icon={<Settings size={16} />}.

Radix UI primitives

  • Use Radix directly for headless behavior: @radix-ui/react-popover, @radix-ui/react-dropdown-menu, @radix-ui/react-checkbox, @radix-ui/react-switch, @radix-ui/react-collapsible, @radix-ui/react-select.
  • Style Radix components with Tailwind classes. Use data-[state=checked]: for state-driven styling.

Dark theme

  • The app is always in dark theme. Colors are set via CSS custom properties in globals.css.
  • Surface hierarchy: bg-surface-0 (app background) -> bg-surface-1 (raised panels) -> bg-surface-2 (cards/inputs) -> bg-surface-3 (hover) -> bg-surface-4 (pressed).
  • Do NOT use Blueprint, Tailwind's light-mode defaults, or any dark: prefix. The theme is always dark.

Misc. tribal knowledge

  • Kanban's native Cline agent is powered by the installed @clinebot/core and @clinebot/llms packages plus the local src/cline-sdk/ boundary layer, so when Cline behavior is unclear, inspect those packages and src/cline-sdk/ for the real implementation details.
  • Kanban is launched from the user's shell and inherits its environment. For agent detection and task-agent startup, prefer direct PATH checks and direct process launches over spawning an interactive shell. Avoid zsh -i, shell fallback command discovery, or "launch shell then type command into it" on hot paths. On setups with heavy shell init like conda or nvm, doing that per task can freeze the runtime and even make new Terminal.app windows feel hung when several tasks start at once. It's fine to use an actual interactive shell for explicit shell terminals, not for normal agent session work.
  • If CI hangs on Node 22 after tests seem to finish, suspect a live subprocess or SDK-host startup path before assuming a slow test body. Read .plan/docs/node22-ci-hanging-tests-investigation.md before repeating that investigation. test/runtime/cline-sdk/cline-task-session-service.test.ts was the big prior culprit because a unit-style suite was still booting the real Cline SDK host.
  • When Kanban runs on a headless remote Linux instance (for example over SSH+tunnel), native folder picker commands may be unavailable (zenity/kdialog). Treat this as a normal remote-runtime limitation and use manual path entry fallback instead of requiring desktop packages.

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.