Skip to content

chore(cursor): add deslop command#2722

Merged
ericallam merged 1 commit intomainfrom
ea-branch-104
Dec 4, 2025
Merged

chore(cursor): add deslop command#2722
ericallam merged 1 commit intomainfrom
ea-branch-104

Conversation

@ericallam
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Dec 2, 2025

⚠️ No Changeset found

Latest commit: 6f891b6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 2, 2025

Walkthrough

A new documentation file .cursor/commands/deslop.md was added to provide guidelines for removing AI-generated artifacts from code. The file defines what constitutes "slop" (extra comments, defensive checks, unsafe type casts, inconsistent style) and instructs users to compare changes against the main branch and provide a concise summary of modifications. No code changes or public APIs were affected.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Documentation-only addition with no code logic or public API changes
  • Review primarily involves verifying the guidance content is reasonable and clearly written

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is empty, missing all required template sections including Testing, Changelog, Checklist items, and the issue reference. Add a complete PR description following the template with Testing steps, Changelog entry, completed Checklist, and issue reference (Closes #).
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(cursor): add deslop command' clearly and specifically describes the main change: adding a deslop command file to the .cursor/commands directory.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ea-branch-104

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
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
.cursor/commands/deslop.md (1)

3-3: Use hyphen to join compound modifier: "AI-generated" instead of "AI generated".

Line 3 uses "AI generated" (unhyphenated), while line 6 correctly uses "AI-generated" (hyphenated). Standardize to use the hyphenated form for consistency and correct grammar.

-Check the diff against main, and remove all AI generated slop introduced in this branch.
+Check the diff against main, and remove all AI-generated slop introduced in this branch.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3c326a4 and 6f891b6.

📒 Files selected for processing (1)
  • .cursor/commands/deslop.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.cursor/commands/deslop.md

[grammar] ~3-~3: Use a hyphen to join words.
Context: ...the diff against main, and remove all AI generated slop introduced in this branch...

(QB_NEW_EN_HYPHEN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (23)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (8, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (5, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (6, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (7, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (4, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (2, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (1, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (3, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (4, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (5, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (8, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (6, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (7, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (1, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (2, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (3, 8)
  • GitHub Check: e2e / 🧪 CLI v3 tests (windows-latest - pnpm)
  • GitHub Check: units / packages / 🧪 Unit Tests: Packages (1, 1)
  • GitHub Check: e2e / 🧪 CLI v3 tests (windows-latest - npm)
  • GitHub Check: e2e / 🧪 CLI v3 tests (ubuntu-latest - pnpm)
  • GitHub Check: e2e / 🧪 CLI v3 tests (ubuntu-latest - npm)
  • GitHub Check: typecheck / typecheck
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (1)
.cursor/commands/deslop.md (1)

1-11: Documentation is clear and well-structured.

The guidelines effectively define slop and provide actionable instructions for users. The bulleted list (lines 5–9) covers the key scenarios, and the reporting requirement (line 11) encourages conciseness.

@ericallam ericallam merged commit 6ae3b69 into main Dec 4, 2025
31 checks passed
@ericallam ericallam deleted the ea-branch-104 branch December 4, 2025 10:24
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

Comments