Skip to content

Add Cursor and Antigravity IDE support#1

Open
moegon with Copilot wants to merge 1 commit into
mainfrom
copilot/update-project-for-cursor-and-anti-gravity
Open

Add Cursor and Antigravity IDE support#1
moegon with Copilot wants to merge 1 commit into
mainfrom
copilot/update-project-for-cursor-and-anti-gravity

Conversation

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown

The BMAD Agent extension only supported VS Code. Since Cursor and Google Antigravity are VS Code forks that run extensions natively, adding their respective AI agent config files makes the project immediately usable in all three IDEs.

Cursor IDE (.cursor/rules/*.mdc)

  • .cursorrules — root-level project context
  • bmad-architecture.mdc — module map and data flow (glob-scoped to src/**/*.ts)
  • bmad-coding-standards.mdc — TS/VSCode API conventions (always-on)
  • bmad-testing.mdc — test structure and patterns (scoped to test files)

Google Antigravity (.agents/rules/*.md, .agents/workflows/*.md)

  • bmad-agent-development.md — project structure and architecture
  • bmad-agent-quality.md — security, quality, and PR standards
  • build-and-release.md — build workflow for agent orchestration

Scaffolding generates IDE configs

scaffolding.ts now emits Cursor and Antigravity config files alongside the existing bmad/ artifacts, injecting the user's BMAD answers as project context:

// New artifacts generated alongside BMAD_PLAN.md, bmad-context.json, TASKS.todo.md
{ uri: cursorRulesUri, contents: generateCursorRules(answers) },
{ uri: agentsRulesUri, contents: generateAntigravityRules(answers) }

Housekeeping

  • Version bump to 0.0.3
  • README: IDE support matrix, usage guides for Cursor and Antigravity
  • Applied non-breaking npm audit fix for dev dependencies

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 389b219ca5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/scaffolding.ts
Comment on lines +64 to +66
"# BMAD Project Context",
"",
"This project was scaffolded using the BMAD-METHOD (Brainstorm → Map → Assemble → Deploy).",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add MDC frontmatter to generated Cursor context rule

generateCursorRules() builds bmad-project-context.mdc as plain markdown starting with a heading, but Cursor project rules in .cursor/rules/*.mdc are metadata-driven and need frontmatter (description/globs/alwaysApply) to be auto-attached. In the current form, projects that run BMAD: Generate Scaffolding can end up with a context file that Cursor does not automatically apply, so the new “inject BMAD answers into Cursor context” workflow silently degrades unless users manually reference the file.

Useful? React with 👍 / 👎.

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