Skip to content

Development environment setup#1051

Open
dzmitry-varabei wants to merge 1 commit intomainfrom
cursor/development-environment-setup-ba63
Open

Development environment setup#1051
dzmitry-varabei wants to merge 1 commit intomainfrom
cursor/development-environment-setup-ba63

Conversation

@dzmitry-varabei
Copy link
Copy Markdown
Member

@dzmitry-varabei dzmitry-varabei commented Feb 25, 2026

What type of PR is this? (select all that apply)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 🚧 Breaking Change
  • 🧑‍💻 Code Refactor
  • 📝 Documentation Update

Description

This PR introduces an AGENTS.md file to document the development environment setup for the rs-site project. It includes instructions for installing dependencies, managing .env files, and a specific note on disabling Husky git hooks, which is relevant for automated environments that may not adhere to strict branch naming conventions. The file also summarizes successful linting, testing, and dev server startup.

Related Tickets & Documents

  • Related Issue #
  • Closes #

Screenshots, Recordings

No UI changes are introduced by this PR.

Added/updated tests?

  • 👌 Yes
  • 🙅‍♂️ No, because they aren't needed
  • 🙋‍♂️ No, because I need help

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?


Open in Web Open in Cursor 

Summary by CodeRabbit

  • Documentation
    • Added comprehensive project documentation providing developers with setup instructions, development environment configuration, command reference, testing guidelines, and implementation notes for various deployment scenarios.

@cursor
Copy link
Copy Markdown

cursor bot commented Feb 25, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 25, 2026

📝 Walkthrough

Walkthrough

A new documentation file AGENTS.md is added to provide Cursor Cloud-specific development guidance for the RS Site project. It includes project overview, development commands, environment configuration, Git hooks caveats, and testing requirements.

Changes

Cohort / File(s) Summary
Documentation
AGENTS.md
New file with Cursor Cloud development instructions, including project setup, key commands, environment variables, Git hooks behavior, and testing notes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Development environment setup' directly aligns with the main change: introducing AGENTS.md to document development environment setup for the rs-site project.
Description check ✅ Passed The description follows the template structure, correctly marks this as a Documentation Update, provides clear context about the AGENTS.md file's purpose, and addresses all required sections with appropriate selections.
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
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/development-environment-setup-ba63

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
Copy Markdown
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: 1

🧹 Nitpick comments (1)
AGENTS.md (1)

29-29: Hardcoded test counts will drift.

51 test files / 258 tests is a point-in-time snapshot that will become stale as tests are added or removed. Consider dropping the exact numbers or replacing with a command readers can run themselves (e.g. npm run test).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@AGENTS.md` at line 29, The sentence in AGENTS.md that currently reads
"**Vitest** unit tests cover 51 test files / 258 tests; no external services
needed." contains hardcoded counts that will drift; update that line to remove
the exact numbers and either state a generic description (e.g., "Vitest unit
tests cover the codebase; no external services needed") or replace it with a
runnable command suggestion (e.g., "Run tests with `npm run test`") so readers
can obtain current counts themselves.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@AGENTS.md`:
- Around line 24-26: Update the fenced code block containing the command "git
config core.hooksPath /dev/null" to include a language specifier (e.g., shell or
bash) after the opening backticks so Markdownlint MD040 is satisfied; locate the
triple-backtick block in AGENTS.md that wraps that command and change "```" to
"```shell" (or "```bash").

---

Nitpick comments:
In `@AGENTS.md`:
- Line 29: The sentence in AGENTS.md that currently reads "**Vitest** unit tests
cover 51 test files / 258 tests; no external services needed." contains
hardcoded counts that will drift; update that line to remove the exact numbers
and either state a generic description (e.g., "Vitest unit tests cover the
codebase; no external services needed") or replace it with a runnable command
suggestion (e.g., "Run tests with `npm run test`") so readers can obtain current
counts themselves.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ba93f88 and 286c40f.

📒 Files selected for processing (1)
  • AGENTS.md

Comment thread AGENTS.md
Comment on lines +24 to +26
```
git config core.hooksPath /dev/null
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add a language specifier to the fenced code block.

Markdownlint (MD040) flags this block. shell or bash fits here.

📝 Proposed fix
-```
+```shell
 git config core.hooksPath /dev/null
</details>

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.21.0)</summary>

[warning] 24-24: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @AGENTS.md around lines 24 - 26, Update the fenced code block containing the
command "git config core.hooksPath /dev/null" to include a language specifier
(e.g., shell or bash) after the opening backticks so Markdownlint MD040 is
satisfied; locate the triple-backtick block in AGENTS.md that wraps that command
and change "" to "shell" (or "```bash").


</details>

<!-- fingerprinting:phantom:triton:churro -->

<!-- This is an auto-generated comment by CodeRabbit -->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants