Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cursor/skills/local-handbook/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
.claude/
.remember/
47 changes: 47 additions & 0 deletions .cursor/skills/local-handbook/SKILL.md
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.
Comment on lines +1 to +47

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.

25 changes: 25 additions & 0 deletions .cursor/skills/local-handbook/config/README.md
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 .cursor/skills/local-handbook/config/cursor-user-settings.json
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
}
3 changes: 3 additions & 0 deletions .cursor/skills/local-handbook/config/mcp.extra-servers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"mcpServers": {}
}
Loading