Skip to content

Add AGENTS.md with Cursor Cloud development environment instructions#262

Merged
boojack merged 2 commits intomainfrom
cursor/development-environment-setup-5860
Apr 7, 2026
Merged

Add AGENTS.md with Cursor Cloud development environment instructions#262
boojack merged 2 commits intomainfrom
cursor/development-environment-setup-5860

Conversation

@boojack
Copy link
Copy Markdown
Member

@boojack boojack commented Apr 7, 2026

Summary

Adds AGENTS.md with Cursor Cloud specific instructions for future cloud agents, and updates auto-generated OpenAPI specs from upstream.

Changes

  • AGENTS.md: New file with development environment context including:
    • Service overview (single Next.js dev server, no external dependencies)
    • Quick reference for key commands (lint, format, build, dev)
    • Gotchas discovered during setup (postinstall network dependency, build script warnings, no test suite, auto-generated .source/ directory)
  • openapi/latest.yaml + API docs: Updated auto-generated OpenAPI spec and MDX docs from upstream (adds BatchDeleteAttachments and BatchGetUsers endpoints)

Environment Setup Verification

All checks passed on Node.js v22.22.1 with pnpm 10.32.1:

Check Command Result
Install pnpm install Passed (306 pages generated)
Lint pnpm lint Passed (130 files, no issues)
Build pnpm build Passed (306 static pages)
Dev server pnpm dev Running on port 3000

Demo

demo_memos_site_walkthrough.mp4

Walkthrough showing homepage, features page, scratchpad note creation, and documentation page all working correctly.

Homepage
Scratchpad with hello world note

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • New Features

    • Added batch delete attachments API endpoint
    • Added batch get users API endpoint
    • Extended user notifications with memo mention support
    • Added motion media field support for attachments
  • Documentation

    • Added API documentation pages for new batch operations
    • Added setup and configuration guide

Co-authored-by: boojack <stevenlgtm@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 7, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The pull request adds two new API endpoints (POST /api/v1/attachments:batchDelete and POST /api/v1/users:batchGet) to the OpenAPI specification, extends existing schemas with new fields (motionMedia for Attachment, senderUser and memoMention for UserNotification), creates corresponding documentation pages, updates service navigation metadata, and introduces a Cursor Cloud agent configuration file.

Changes

Cohort / File(s) Summary
Configuration & Setup
AGENTS.md
Added Cursor Cloud agent configuration documentation specifying Next.js 16 static site setup, build/dev scripts, postinstall OpenAPI spec generation, and auto-generated source folder guidance.
API Documentation Pages
content/docs/api/latest/attachmentservice/BatchDeleteAttachments.mdx, content/docs/api/latest/userservice/BatchGetUsers.mdx
Added two new MDX documentation pages for batch API operations, each rendering an APIPage component wired to the OpenAPI specification.
Documentation Navigation
content/docs/api/latest/attachmentservice/meta.json, content/docs/api/latest/userservice/meta.json
Updated metadata manifests to register the new BatchDeleteAttachments and BatchGetUsers pages in their respective service documentation sections.
OpenAPI Specification
openapi/latest.yaml
Added two new POST endpoints (batch delete attachments, batch get users), introduced four new schemas (BatchDeleteAttachmentsRequest, BatchGetUsersRequest, BatchGetUsersResponse, MotionMedia), and extended Attachment and UserNotification schemas with new fields and enum values.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Whiskers twitching with glee,
Two endpoints hop into the tree,
Batch operations, swift and true,
Schemas sprouting fresh and new,
Documentation gardens grow! 🌿

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately reflects the primary addition of AGENTS.md with development environment instructions, though it understates the secondary updates to the OpenAPI spec and API documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/development-environment-setup-5860

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: boojack <stevenlgtm@gmail.com>
@boojack boojack closed this Apr 7, 2026
@boojack boojack reopened this Apr 7, 2026
@boojack boojack marked this pull request as ready for review April 7, 2026 10:24
@boojack boojack merged commit 8973148 into main Apr 7, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants