This repository was archived by the owner on Jul 18, 2026. It is now read-only.
forked from Twigpine/openclaude
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: add cursor-dev-path.sh for VS Code tasks; link deploy docs #5
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b5a87e2
fix: add cursor-dev-path.sh for VS Code tasks; link deploy docs
cursoragent 3656dd2
chore(deps): bump patch/minor runtime packages (OpenClaude)
d7f1e63
chore(deps): align OpenTelemetry core and Node types
9596f34
chore(handbook): add local-handbook with MCP and Cursor config snapshots
adrianstanca1 086768f
docs(handbook): sync memory for openclaude handbook rollout
adrianstanca1 e2303ed
docs(handbook): sync memory for cortex ollama compose note
adrianstanca1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .DS_Store | ||
| .claude/ | ||
| .remember/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,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. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Machine config snapshots | ||
|
|
||
| Versioned copies of MCP and Cursor user settings from this machine. Env values use `${VAR}` placeholders only; keep secrets in `~/.env.keys` or provider dashboards. | ||
|
|
||
| ## Restore MCP (and Cursor symlink) | ||
|
|
||
| From the repo root: | ||
|
|
||
| ```bash | ||
| bash scripts/apply-machine-config.sh | ||
| ``` | ||
|
|
||
| ## Cursor settings | ||
|
|
||
| `cursor-user-settings.json` is a full export for diffing or manual merge into `~/Library/Application Support/Cursor/User/settings.json`. Prefer merging selective keys in the editor over blind overwrite. | ||
|
|
||
| ## zsh PATH | ||
|
|
||
| Ensure Homebrew precedes user bins (matches live `~/.zshrc`): | ||
|
|
||
| ```sh | ||
| export PATH="/opt/homebrew/bin:$HOME/bin:$HOME/go/bin:$HOME/.local/bin:$HOME/Library/Python/3.9/bin:$PATH" | ||
| ``` | ||
|
|
||
| Place this in the Path block after the zsh-only guard at the top of `~/.zshrc`. |
124 changes: 124 additions & 0 deletions
124
.cursor/skills/local-handbook/config/cursor-user-settings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| { | ||
| "python.defaultInterpreterPath": "/opt/homebrew/bin/python3.12", | ||
| "window.autoDetectColorScheme": true, | ||
| "git.openRepositoryInParentFolders": "always", | ||
| "cursor.terminal.usePreviewBox": true, | ||
| "cursor.cpp.enablePartialAccepts": true, | ||
| "cursor.composer.shouldChimeAfterChatFinishes": true, | ||
| "cursor.general.glassShowWarningNotifications": true, | ||
| "remote.SSH.remotePlatform": { | ||
| "cortexvps": "linux" | ||
| }, | ||
| "cursor.mcp.enabled": true, | ||
| "cursor.tabs.enabled": true, | ||
| "cursor.sentiment.enabled": true, | ||
| "cursor.workspace.enabled": true, | ||
| "cursor.context.clearOnNewConversation": false, | ||
| "cursor.modelFactory.automatedTaskModel": "claude-4-sonnet", | ||
| "cursor.codeCompletion.enableCodeSnippets": true, | ||
| "cursor.docGeneration.enabled": true, | ||
| "cursor.docGeneration.includeReferences": true, | ||
| "editor.inlineSuggest.enabled": true, | ||
| "editor.fontSize": 13, | ||
| "editor.tabSize": 2, | ||
| "editor.formatOnSave": true, | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode", | ||
| "[typescript]": { | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode" | ||
| }, | ||
| "[typescriptreact]": { | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode" | ||
| }, | ||
| "[javascript]": { | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode" | ||
| }, | ||
| "security.workspace.trust.enabled": true, | ||
| "security.workspace.trust.startupPrompt": true, | ||
| "telemetry.telemetryLevel": "off", | ||
| "updates.check": false, | ||
| "git.enableSmartCommit": true, | ||
| "git.conflictDecoration": "dual", | ||
| "diffEditor.ignoreTrimWhitespace": true, | ||
| "files.associations": { | ||
| "*.env.local": "shellscript" | ||
| }, | ||
| "terminal.integrated.shellIntegration.enabled": true, | ||
| "terminal.integrated.env.osx": { | ||
| "FIG_NEW_SESSION": "0", | ||
| "PATH": "/opt/homebrew/bin:/opt/homebrew/sbin:/Users/adrianstanca/.local/bin:${env:PATH}" | ||
| }, | ||
| "files.watcherExclude": { | ||
| "**/.git/objects/**": true, | ||
| "**/.git/subtree-cache/**": true, | ||
| "**/node_modules/**": true, | ||
| "**/dist/**": true, | ||
| "**/.next/**": true, | ||
| "**/build/**": true, | ||
| "**/.venv/**": true, | ||
| "**/coverage/**": true, | ||
| "**/.turbo/**": true, | ||
| "**/.cache/**": true, | ||
| "**/.pnpm-store/**": true, | ||
| "**/target/**": true, | ||
| "**/.parcel-cache/**": true | ||
| }, | ||
| "search.exclude": { | ||
| "**/node_modules": true, | ||
| "**/dist": true, | ||
| "**/.next": true, | ||
| "**/build": true, | ||
| "**/.venv": true, | ||
| "**/coverage": true, | ||
| "**/.turbo": true, | ||
| "**/package-lock.json": true, | ||
| "**/pnpm-lock.yaml": true, | ||
| "**/yarn.lock": true, | ||
| "**/target": true, | ||
| "**/.pnpm-store": true, | ||
| "**/.parcel-cache": true | ||
| }, | ||
| "git.autorefresh": false, | ||
| "editor.minimap.enabled": false, | ||
| "editor.smoothScrolling": false, | ||
| "search.followSymlinks": false, | ||
| "search.smartCase": true, | ||
| "files.enableTrash": true, | ||
| "extensions.autoUpdate": false, | ||
| "extensions.autoCheckUpdates": false, | ||
| "workbench.reduceMotion": "on", | ||
| "editor.stickyScroll.enabled": true, | ||
| "editor.linkedEditing": true, | ||
| "editor.suggestSelection": "first", | ||
| "editor.acceptSuggestionOnCommitCharacter": true, | ||
| "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?", | ||
| "editor.accessibilitySupport": "off", | ||
| "editor.unicodeHighlight.ambiguousCharacters": false, | ||
| "editor.unicodeHighlight.invisibleCharacters": false, | ||
| "typescript.updateImportsOnFileMove.enabled": "always", | ||
| "javascript.updateImportsOnFileMove.enabled": "always", | ||
| "typescript.preferences.importModuleSpecifierEnding": "minimal", | ||
| "typescript.tsserver.maxTsServerMemory": 8192, | ||
| "workbench.editor.limit.enabled": true, | ||
| "workbench.editor.limit.value": 12, | ||
| "workbench.editor.limit.perEditorGroup": true, | ||
| "workbench.editor.closeEmptyGroups": true, | ||
| "workbench.editor.highlightModifiedTabs": true, | ||
| "explorer.autoReveal": false, | ||
| "explorer.confirmDragAndDrop": false, | ||
| "scm.diffDecorations": "all", | ||
| "search.quickOpen.includeSymbols": true, | ||
| "search.useIgnoreFiles": true, | ||
| "search.useGlobalIgnoreFiles": true, | ||
| "terminal.integrated.scrollback": 50000, | ||
| "terminal.integrated.fastScrollSensitivity": 5, | ||
| "terminal.integrated.macOptionIsMeta": true, | ||
| "terminal.integrated.copyOnSelection": false, | ||
| "problems.decorations.enabled": true, | ||
| "task.autoDetect": "on", | ||
| "files.insertFinalNewline": true, | ||
| "files.trimTrailingWhitespace": false, | ||
| "window.newWindowDimensions": "inherit", | ||
| "window.commandCenter": true, | ||
| "git.showInlineOpenFileAction": true, | ||
| "git.timeline.enabled": true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "mcpServers": {} | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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 ruleAGENTS.md (line 54) contains a mandatory rule: "This repository does not ship editor-only trees (for example
.cursor/or team-local MCP pins) onmain. 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 includingSKILL.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. inmcp.json:52-56), personal Cursor settings with user-specific PATH entries (cursor-user-settings.json:48), and session-specific notes inmemory.md— none of which belong in a shared upstream tree.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.