agentleFS
MicrosoftKnown publishermicrosoft/data-formulator/.cursor/rules/dev-guides-first.mdc

data-formulator / rules

Cursor rule18k starsChanged 7 months agoMITView on GitHub

Require reading dev-guides before development and keeping docs in sync

Trending

Steady talk.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/data-formulator repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/data-formulator

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

See all 31

Talked about on Bluesky, GitHub and Hacker News (31 times).

On Bluesky · 22

17 more on Bluesky

On GitHub · 7

2 more on GitHub

The file

We split this dev-guides-first.mdc into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Before implementing or designing a new feature, module, or significant change, always read the relevant documents in docs/dev-guides/ to …

    line 11
  2. Distinctive:

    When your work establishes a new development pattern, convention, or architectural decision, you MUST update documentation before …

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
dev-guides-first.mdc
---
description: Require reading dev-guides before development and keeping docs in sync
globs:
alwaysApply: true
---

# Dev Guides First

## Before Starting Any Development

Before implementing or designing a new feature, module, or significant change, **always
read the relevant documents in `docs/dev-guides/`** to understand existing conventions:

| Guide | When to Read |
|-------|-------------|
| `docs/dev-guides/1-streaming-protocol.md` | Any work on streaming endpoints or NDJSON protocol |
| `docs/dev-guides/2-log-sanitization.md` | Any work involving logging, credentials, external services, or DataLoaders |
| `docs/dev-guides/3-data-loader-development.md` | Any work on ExternalDataLoader, DataConnector, or connector routes |
| `docs/dev-guides/4-authentication-oidc-tokenstore.md` | Any work on OIDC, TokenStore, AUTH_MODE, or SSO flows |
| `docs/dev-guides/6-i18n-language-injection.md` | Any work on Agent prompts, Agent routes, backend user-visible messages, or frontend i18n |
| `docs/dev-guides/7-unified-error-handling.md` | Any work on API errors, frontend API calls, streaming error events, or error tests |
| `docs/dev-guides/8-path-safety.md` | Any work on backend file access, downloads, Workspace paths, Agent tools, DataLoaders, or sandbox config |
| `docs/dev-guides/10-agent-knowledge-reasoning-log.md` | Any work on Agent knowledge injection, KnowledgeStore, reasoning logs, or experience distillation |
| `docs/dev-guides/11-catalog-metadata-sync.md` | Any work on catalog sync, catalog_cache, catalog_annotations, metadata merge, Agent catalog tools, or frontend catalog browsing |
| `docs/dev-guides/12-sandbox-session.md` | Any work on sandbox execution, Agent tool-calling loops, explore/execute_python code execution, or namespace management |
| `docs/dev-guides/13-unified-row-limits.md` | Any work on row limits, data loading size caps, frontendRowLimit, MAX_IMPORT_ROWS, or DataLoader size parameter |
| `docs/dev-guides/14-model-capability-runtime-degradation.md` | Any work on LLM Client calls, Agent LLM invocations, model capability checks, reasoning_effort, or image/vision degradation |
| `docs/dev-guides/15-dataframe-serialization.md` | Any work on DataFrame→JSON serialization, Agent result rows, DataLoader sample_rows, or table API responses |
| `.cursor/rules/i18n-no-hardcoded-strings.mdc` | Any work adding or changing user-visible strings in `src/` |

Also check `.cursor/rules/` and `.cursor/skills/` for related coding conventions.

## After Introducing New Conventions

When your work establishes a new development pattern, convention, or architectural
decision, you MUST update documentation before considering the task complete:

1. **Update existing dev-guide** — if your change extends an existing convention
   (e.g. new sensitive key type → update `2-log-sanitization.md`)

2. **Create new dev-guide** — if your change introduces a new cross-cutting convention
   that future developers must follow. Place in `docs/dev-guides/` with the next number prefix.

3. **Update existing SKILL** — if your change affects how an existing skill works
   (e.g. new error handling pattern → update `error-handling/SKILL.md`)

4. **Create new SKILL** — if your change introduces a reusable development workflow
   that AI agents should follow. Place in `.cursor/skills/<name>/SKILL.md`.

5. **Update existing Rule** — if your change adds constraints to an existing rule
   (e.g. new banned pattern → update the relevant `.mdc` file)

6. **Create new Rule** — if your change introduces file-scoped coding conventions
   that should be enforced automatically. Place in `.cursor/rules/<name>.mdc`.

## Documentation Sync Checklist

For every PR that introduces new patterns:

- [ ] Searched `docs/dev-guides/` for related existing docs
- [ ] Updated or created dev-guide if introducing cross-cutting conventions
- [ ] Updated or created `.cursor/skills/` if introducing reusable workflows
- [ ] Updated or created `.cursor/rules/` if introducing file-scoped constraints
- [ ] New dev-guide includes a "New Module Checklist" section (if applicable)

## File Naming Conventions

- **dev-guides**: `<number>-<kebab-case-topic>.md` (e.g. `3-data-loader-development.md`)
- **skills**: `.cursor/skills/<topic>/SKILL.md`
- **rules**: `.cursor/rules/<kebab-case-topic>.mdc`

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.