Skip to content

Add cursor as a supported integration#57

Merged
hawkeyexl merged 3 commits intomainfrom
copilot/add-cursor-integration
Feb 27, 2026
Merged

Add cursor as a supported integration#57
hawkeyexl merged 3 commits intomainfrom
copilot/add-cursor-integration

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

  • Understand the codebase structure
  • Add cursor to INTEGRATION_MAP in index.js mapping to @cursor $PROMPT
  • Update action.yml integrations description to include cursor in supported values
  • Fix build: rebuild dist/index.js with npm dependencies installed (previous build was missing bundled dependencies)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Summary by CodeRabbit

  • New Features
    • Added support for "cursor" as a valid integration option. Users can now configure and utilize cursor integration alongside other available integrations.

Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Copilot AI changed the title [WIP] Add cursor as a supported integration Add cursor as a supported integration Feb 27, 2026
@hawkeyexl
Copy link
Contributor

@copilot You clearly botched the build. Fix it.

Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 27, 2026

@copilot You clearly botched the build. Fix it.

Fixed in 1a64ef0. The previous build was run without node_modules installed, so ncc couldn't bundle the @actions/* dependencies — producing a broken 427-line file instead of the full ~32k-line bundle. Ran npm install first, then rebuilt properly.

@hawkeyexl hawkeyexl marked this pull request as ready for review February 27, 2026 04:12
Copilot AI review requested due to automatic review settings February 27, 2026 04:12
@hawkeyexl
Copy link
Contributor

@CodeRabbit review

@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between adac115 and 1a64ef0.

⛔ Files ignored due to path filters (2)
  • dist/index.js is excluded by !**/dist/**
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • action.yml
  • index.js

Walkthrough

This pull request adds support for the "cursor" integration by updating the configuration file and integration map. The change enables "cursor" to be recognized as a valid integration option alongside existing integrations.

Changes

Cohort / File(s) Summary
Cursor Integration Support
action.yml, index.js
Added "cursor" as a valid integration option in the configuration schema and integrated it into the INTEGRATION_MAP for processing and validation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A whisker-twitch, a hop, hooray!
Cursor joins the fray today—
One line here, one line there,
Integration flowing everywhere! ✨

🚥 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 title accurately and concisely summarizes the main change: adding 'cursor' as a supported integration, which matches the changes in both action.yml and index.js.
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 docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch copilot/add-cursor-integration

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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for the "cursor" integration to the Doc Detective GitHub Action, enabling users to notify the Cursor AI assistant when documentation test failures occur.

Changes:

  • Added cursor integration mapping to INTEGRATION_MAP with the format @cursor $PROMPT
  • Updated action.yml documentation to include cursor in the list of supported integrations
  • Rebuilt the bundled dist/index.js file to include the new integration

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
index.js Added cursor entry to INTEGRATION_MAP with the pattern @cursor $PROMPT
dist/index.js Rebuilt bundle includes the cursor integration mapping
action.yml Updated integrations input description to list cursor as a supported value
package-lock.json Added fsevents as an optional dependency (pulled in by chokidar/nodemon dependencies)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@promptless
Copy link

promptless bot commented Feb 27, 2026

📝 Documentation updates detected!

New suggestion: Add cursor as a supported integration


Tip: Adjust how proactive or focused Promptless is in Agent Settings ⚙️

@hawkeyexl hawkeyexl merged commit d08940f into main Feb 27, 2026
11 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.

3 participants