Jamdesk Documentation logo

Cursor

Cursor-IDE für Jamdesk-Dokumentation einrichten: MDX-Formatierungsregeln, Komponenten-Autovervollständigung und MCP-Server-Zugriff für Live-Doku-Kontext.

Cursor ist ein KI-Code-Editor auf Basis von VS Code. Die Inline-Bearbeitung (Cmd+K) und der Chat (Cmd+L) eignen sich gut für das schrittweise Schreiben von MDX: Markieren Sie einen Absatz, beschreiben Sie die gewünschte Änderung, und Cursor schreibt ihn direkt an Ort und Stelle neu.

Schnelle Einrichtung

1
Docs-Projekt öffnen

Öffnen Sie Ihr Jamdesk-Docs-Verzeichnis in Cursor.

2
Cursor-Regeln hinzufügen

Erstellen Sie .cursor/rules/jamdesk-docs.mdc mit Ihren Dokumentationsstandards. Die KI von Cursor orientiert sich an den darin festgelegten Konventionen.

3
MCP-Server verbinden

Fügen Sie Ihren Docs-MCP-Endpunkt in .cursor/mcp.json hinzu. Cursor kann dann in Ihrer veröffentlichten Dokumentation suchen.

Vorlage für Cursor-Regeln

Erstellen Sie .cursor/rules/jamdesk-docs.mdc im Stammverzeichnis Ihres Projekts:

.cursor/rules/jamdesk-docs.mdc
---
description: Rules for writing Jamdesk documentation in MDX
globs: "**/*.mdx"
---

# Jamdesk MDX Rules

## Page Structure

Every page follows this pattern — no exceptions:

1. Frontmatter with `title` and `description`
2. Opening paragraph (no heading before it)
3. Content sections with ## headings
4. "What's Next?" section at the end with Card links inside Columns

## Components

Only use these — do not invent others:

Layout: Card, Columns, Tabs, Tab, Accordion, AccordionGroup, Steps, Step, Expandable, Frame, CodeGroup
Callouts: Note, Info, Warning, Tip, Check, Danger

| Use | For |
|-----|-----|
| Tabs | Mutually exclusive choices (npm/yarn, OS variants) |
| Steps | Ordered procedures the reader follows |
| Accordion | Optional detail that would clutter the page |
| Card + Columns | Navigation links and feature grids |
| Note/Tip/Warning | Important context — use sparingly |

Cards always go inside Columns: `<Columns cols={2}><Card ... /></Columns>`
Icons are Font Awesome Light names: "rocket", "code", "terminal", "book-open"

## Style

- Active voice: "Run this command" not "This command should be run"
- Start with why, then how
- One idea per paragraph
- Code examples must be complete and copy-pasteable
- Write like a person — no filler ("It's important to note"), no hedging ("you might want to consider"). If it sounds like a chatbot, rewrite it shorter.

## Common Mistakes

- `<CodeBlock>`, `<Alert>`, `<Section>` don't exist — use the components listed above
- `<Card>` without `<Columns>` wrapper won't render correctly
- Missing `description` in frontmatter breaks search and link previews
- Raw HTML tags should be MDX components instead

## New Pages

When creating a page, add it to `docs.json` navigation. Without this, the page won't appear in the sidebar. Read `docs.json` first to understand the group structure.

MCP-Konfiguration

Erstellen Sie .cursor/mcp.json, um Ihre veröffentlichte Dokumentation anzubinden:

.cursor/mcp.json
{
  "mcpServers": {
    "my-docs": {
      "url": "https://your-project.jamdesk.app/_mcp"
    }
  }
}

Ersetzen Sie your-project durch Ihre Jamdesk-Subdomain. Wenn eine eigene Domain aktiv ist, verwenden Sie stattdessen diese: "url": "https://docs.acme.com/_mcp". Details zu den Endpunkten finden Sie unter MCP-Server.

Workflows

Markieren Sie Text in einer MDX-Datei und drücken Sie Cmd+K, um die gewünschte Änderung zu beschreiben. Gut geeignet für:

  • Umformulieren eines Abschnitts für mehr Klarheit
  • Hinzufügen eines Codebeispiels
  • Umwandeln von Text in eine Komponente (z. B. Schritte in <Steps> einbetten)

Der Skill /update-jamdesk

Installieren Sie den Skill /update-jamdesk, um die Dokumentation bei Code-Änderungen automatisch zu aktualisieren:

npx skills add jamdesk/skills --skill update-jamdesk -a cursor

Den vollständigen Leitfaden finden Sie unter Automatisierte Aktualisierungen.

Wie geht es weiter?

Claude Code

CLAUDE.md-Vorlage und Workflows mit vollständigem Projektkontext

Schreiben mit KI

Prompts, Review-Checklisten und häufige Fallstricke