components/auth-wizard`)
- Named exports for all components
- TypeScript: `interface` on the backend, `type` on the frontend — this is the project convention and overrides any general "prefer interfaces" guidance
- Blank line before
Steady3 mentions in 2 weeks
No other project uses it yet
40k6d agoReviewMountCreate a free account to mount
Simple agents that handle specific tasks:
- File structure: `agent/main.py` or `agent/index.js`
- Direct communication with frontend
- Good for focused use cases
### Multi-Agent (Coagents) Pattern
Complex systems with multiple cooperating agents
Steady3 mentions in 2 weeks
No other project uses it yet
39k16d agoReviewMountCreate a free account to mount
examples/) and typically follow this pattern:
- `agent/` or `agent-py/` - Backend agent implementation
- `ui/` - Frontend Next.js application
- `README.md` - Setup and usage instructions
## Development Workflow
- Examples use the local packages
Steady3 mentions in 2 weeks
No other project uses it yet
39k16d agoReviewMountCreate a free account to mount
Code workspace settings
- **[examples/shared/](mdc:examples/shared)** - Shared utilities and templates
## Common Patterns
1. **Frontend**: Next.js app with CopilotProvider and CopilotChat
2. **Backend**: Python or Node.js agent with actions and state
Steady3 mentions in 2 weeks
No other project uses it yet
39k16d agoReviewMountCreate a free account to mount
globs: ["**/*.ts", "**/*.tsx"]
alwaysApply: false
---
Never write strings in the frontend directly, always write to and reference the relevant translations file
No other project uses it yet
37k13mo agoReviewMountCreate a free account to mount
external modules or partial function arguments, referencing the usage guidelines in the TypeScript section.
- Frontend react code does not need unit tests
### Test Coverage
- Test critical business logic and edge
18k17mo agoReviewMountCreate a free account to mount
base folders without approval.
- Do not change the application's dependencies without approval.
## Frontend Bundling
- If the user doesn't see a frontend change reflected in the UI, it could
No other project uses it yet
17k6mo agoReviewMountCreate a free account to mount
DataFrame Serialization
All DataFrame-to-records conversion for API responses, streaming events, or
frontend-visible data MUST use the centralized helpers in
`data_formulator.datalake.parquet_utils`:
| Source type | Helper |
|---|---|
| `pd.DataFrame
No other project uses it yet
17k7mo agoReviewMountCreate a free account to mount
Offline-Ready:** Core functionality MUST work without an internet connection.
- **Separation of Concerns:** Strict frontend-backend separation.
- **Clean code:** Clean, testable, maintainable code, follows best practices of python
Steady3 mentions in 2 weeks
No other project uses it yet
14k16mo agoReviewMountCreate a free account to mount
description:
globs:
alwaysApply: true
---
---
description: Rules for writing frontend code at Keep (React + Typescript)
globs: keep-ui/**/*.tsx, keep-ui/**/*.ts
---
You are an expert in TypeScript, React, Next.js
No other project uses it yet
13k20mo agoReviewMountCreate a free account to mount
guidelines for writing and running React tests
globs: *.spec.tsx, *.test.tsx, *.test.ts, *.spec.ts
---
# Writing frontend tests
Place tests in __tests__ folder in the module, e.g. tests for file `/features/workflows/model/useWorkflows.tsx` should
No other project uses it yet
13k20mo agoReviewMountCreate a free account to mount