Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

fix: add cursor-dev-path.sh for VS Code tasks; link deploy docs - #5

Merged
adrianstanca1 merged 6 commits into
mainfrom
cursor/cursor-dev-path-7e04
Apr 23, 2026
Merged

adrianstanca1 merged 6 commits into
mainfrom
cursor/cursor-dev-path-7e04

Conversation

@adrianstanca1

@adrianstanca1 adrianstanca1 commented Apr 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add scripts/cursor-dev-path.sh, which prepends common Bun install locations to PATH and execs the remaining arguments. This matches what .vscode/tasks.json and docs/deploy.md already reference so Run Task works when the IDE starts with a minimal PATH.
  • Document the helper in AGENTS.md (environment + commands table) and restore README links to docs/deploy.md for discoverability.

Impact

  • User-facing: VS Code / Cursor palette tasks (smoke, tests, deploy pack/link) can find bun without manual shell PATH fixes on typical macOS layouts.
  • Maintainer: One small script to maintain; no change to CI workflows.

Testing

  • bun run build
  • bun run smoke
  • bash -n scripts/cursor-dev-path.sh and scripts/cursor-dev-path.sh true (this environment has no Bun)

Notes

  • Paths covered: ~/.bun/bin, Homebrew (/opt/homebrew/bin, /usr/local/bin), mise shims. Contributors on Linux can still rely on a normal login shell or extend the script in a follow-up if needed.
Open in Web Open in Cursor 

Summary by CodeRabbit

Release Notes

  • New Features

    • Added local development handbook for Cursor with best practices, tooling guidance, and verification checklists.
    • Added Model Context Protocol (MCP) server configuration and deployment automation.
  • Documentation

    • Added comprehensive deployment and installation guide with multiple install methods.
    • Updated developer guidance in AGENTS.md.
  • Chores

    • Updated core dependencies to latest patch and minor versions.
    • Added react-dom as a project dependency.

Co-authored-by: adrian stanca <adrianstanca1@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Apr 21, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6991e460-6ec5-49e5-a704-911c9953d971

📥 Commits

Reviewing files that changed from the base of the PR and between 9d4c7ca and e2303ed.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (14)
  • .cursor/skills/local-handbook/.gitignore
  • .cursor/skills/local-handbook/SKILL.md
  • .cursor/skills/local-handbook/config/README.md
  • .cursor/skills/local-handbook/config/cursor-user-settings.json
  • .cursor/skills/local-handbook/config/mcp.extra-servers.json
  • .cursor/skills/local-handbook/config/mcp.json
  • .cursor/skills/local-handbook/config/zsh-path.fragment.sh
  • .cursor/skills/local-handbook/logic.md
  • .cursor/skills/local-handbook/memory.md
  • .cursor/skills/local-handbook/scripts/apply-machine-config.sh
  • AGENTS.md
  • README.md
  • package.json
  • scripts/cursor-dev-path.sh

📝 Walkthrough

Walkthrough

The PR introduces a new Cursor local-handbook skill with philosophy, methodology, and memory documentation; adds MCP and editor configuration templates with deployment automation; updates development environment path handling; and refreshes package dependencies with documentation navigation links.

Changes

Cohort / File(s) Summary
Cursor Local Handbook Skill
.cursor/skills/local-handbook/SKILL.md, .cursor/skills/local-handbook/logic.md, .cursor/skills/local-handbook/memory.md, .cursor/skills/local-handbook/.gitignore
Establishes personal handbook skill with boot checklist, 5-step engineering workflow, development principles, and durable operational facts.
MCP & Editor Configuration
.cursor/skills/local-handbook/config/mcp.json, .cursor/skills/local-handbook/config/mcp.extra-servers.json, .cursor/skills/local-handbook/config/cursor-user-settings.json, .cursor/skills/local-handbook/config/zsh-path.fragment.sh, .cursor/skills/local-handbook/config/README.md
Defines Model Context Protocol server configurations (with token/URL environment placeholders and operational limits) and comprehensive Cursor editor settings (Python interpreter, UI behavior, telemetry/updates, file watchers, formatters).
Configuration Deployment Scripts
.cursor/skills/local-handbook/scripts/apply-machine-config.sh, scripts/cursor-dev-path.sh
Introduces bash utilities to deploy MCP configs to ~/.claude and symlink Cursor's MCP configuration, plus path wrapper that prepends Bun, Homebrew, and mise directories for VS Code/Cursor tasks.
Documentation & Dependencies
AGENTS.md, README.md, package.json
Updates navigation with Deploy/install section, adds deploy checklist option with bun run deploy:* pattern, pins @grpc/grpc-js, bumps OpenTelemetry/React/axios/fuse.js/lru-cache/turndown packages, and adds react-dom@19.2.5.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 A handbook hops into view,
MCP servers lined up just right,
Paths prepended with care anew,
Config synced from dawn to night,
Cursor and logic take flight! 🚀

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/cursor-dev-path-7e04

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.

Adrian Stanca and others added 5 commits April 22, 2026 13:39
- axios, react, react-dom, @types/bun, lru-cache, turndown, fuse.js,
  @mendable/firecrawl-js to latest compatible releases within semver.
- Verified with bun run smoke.

Made-with: Cursor
Bump @opentelemetry/* packages to 2.7.0, @grpc/grpc-js to 1.14.3, and
@types/node to 25.6.0 so optional telemetry paths resolve cleanly.
Verified with bun run smoke.

Made-with: Cursor
Include apply-machine-config.sh, config mirrors, and ignore machine-only
.claude/.remember paths under the skill directory.

Made-with: Cursor
@adrianstanca1
adrianstanca1 marked this pull request as ready for review April 23, 2026 19:19
@adrianstanca1
adrianstanca1 merged commit e6c9ec3 into main Apr 23, 2026
0 of 2 checks passed
@adrianstanca1
adrianstanca1 deleted the cursor/cursor-dev-path-7e04 branch April 23, 2026 19:20

@devin-ai-integration devin-ai-integration 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.

Devin Review found 2 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

Comment on lines +1 to +47
---
name: local-handbook
description: >-
Personal playbook (handbook v2, 2026-04). Before substantial edits, debugging,
ambiguous scope, or multi-step work: read logic.md then memory.md. User’s
explicit Cursor instructions override this skill when they conflict. Append
memory.md when the user states a durable preference or corrects a mistake
that should persist.
---

# Local handbook

Companion files turn generic model behavior into **repeatable, verifiable** work on this machine and in mirrored repos.

## Files

| File | Read for |
|------|-----------|
| `logic.md` | Reasoning, verification gates, safety, git/MCP habits. |
| `memory.md` | Facts that should survive across sessions (paths, remotes, prefs). |
| `config/` | Versioned **MCP** + **Cursor** settings snapshots; see `config/README.md`. |
| `scripts/apply-machine-config.sh` | Copies `config/mcp*.json` to `~/.claude` and refreshes `~/.cursor/mcp.json` symlink. |

## When this skill applies

- Implementing or refactoring **non-trivial** behavior.
- Debugging failures, flaky tests, or unclear stack traces.
- Touching **auth, payments, migrations, deploy**, or anything irreversible without an explicit green light.
- The user’s ask is **ambiguous** — clarify briefly, then proceed with stated assumptions.

## Boot checklist (do in order)

1. Skim **`memory.md`** for this scope (global vs repo section).
2. If the repo has **`AGENTS.md`**, **`CLAUDE.md`**, or **`SESSION.md`**, read the relevant one before large edits.
3. Choose the **narrowest** verify command that matches the change (see repo `memory.md` where listed).
4. After edits, **run** that command; report failures with evidence, not guesses.

## Progressive disclosure

- **Project rules win** over this handbook when they conflict.
- Prefer **existing patterns** in the codebase over new abstractions unless the task requires them.
- Use **MCP tools** when configured and they reduce ambiguity (docs, tickets, CI); handle tool errors without pretending success.

## Maintenance

- Keep `memory.md` **short** (bullets, not essays). Move long narratives to project `CLAUDE.md` / `AGENTS.md`.
- Keep `logic.md` about **process**, not secrets or one-off ticket dumps.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 PR ships .cursor/ editor-only tree, violating AGENTS.md mandatory rule

AGENTS.md (line 54) contains a mandatory rule: "This repository does not ship editor-only trees (for example .cursor/ or team-local MCP pins) on main. Keep personal or team agent configuration outside the repo or in your fork only, so the upstream tree stays neutral for all contributors." This PR adds the entire .cursor/skills/local-handbook/ directory (10 files including SKILL.md, logic.md, memory.md, MCP configs, Cursor settings, and shell scripts), which is exactly the kind of .cursor/ editor-only tree the rule prohibits. The directory also contains hardcoded personal machine paths (/Users/adrianstanca/Desktop, /Users/adrianstanca/cortexbuild-ultimate, etc. in mcp.json:52-56), personal Cursor settings with user-specific PATH entries (cursor-user-settings.json:48), and session-specific notes in memory.md — none of which belong in a shared upstream tree.

Prompt for agents
The entire .cursor/skills/local-handbook/ directory must be removed from this PR to comply with the AGENTS.md rule at line 54 which states: 'This repository does not ship editor-only trees (for example .cursor/ or team-local MCP pins) on main. Keep personal or team agent configuration outside the repo or in your fork only, so the upstream tree stays neutral for all contributors.' All 10 files under .cursor/skills/local-handbook/ should be deleted from version control. Consider adding .cursor/ to the root .gitignore to prevent accidental future commits. The personal handbook can live in a separate private repo (the memory.md already references https://github.com/adrianstanca1/cursor-local-handbook.git for this purpose).
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +47 to +57
"filesystem": {
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/adrianstanca/Desktop",
"/Users/adrianstanca/cortexbuild-ultimate",
"/Users/adrianstanca/autoresearch-trio",
"/Users/adrianstanca/Desktop/openclaude-main",
"/Users/adrianstanca/skills"
],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 MCP config commits hardcoded personal filesystem paths exposing user's directory structure

.cursor/skills/local-handbook/config/mcp.json lines 52–56 hardcode the filesystem MCP server with access scoped to personal directories: /Users/adrianstanca/Desktop, /Users/adrianstanca/cortexbuild-ultimate, /Users/adrianstanca/autoresearch-trio, /Users/adrianstanca/Desktop/openclaude-main, /Users/adrianstanca/skills. Similarly, cursor-user-settings.json:48 hardcodes /Users/adrianstanca/.local/bin in the terminal PATH. These machine-specific paths are useless for any other contributor and expose the author's local directory layout in a public repository. This compounds the AGENTS.md violation — these are personal/team-local MCP pins that should not be in the repo.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants