pluginbridge / SYNC.md
RAM2118's picture
Rewrite SYNC.md for token-efficient Claude Code workflow
2359fb1 verified
|
Raw History Blame
1.44 kB
# PluginBridge β€” Sync File
> HF Claude builds. Claude Code: pull β†’ build β†’ paste error (if any). That's it.
---
## Claude Code Rules (TOKEN EFFICIENT MODE)
**Your ENTIRE job is 3 commands:**
```bash
cd ~/pluginbridge && git pull
cd build && cmake --build . --config Release 2>&1 | tail -20
# If plugin built: load in Ableton, curl localhost:16620/mcp
```
**If build succeeds:** Reply "βœ… build ok" β€” nothing else.
**If build fails:** Reply with ONLY:
```
❌ [filename]:[line] β€” [one-line error message]
```
Example: `❌ McpServer.cpp:42 β€” use of undeclared identifier 'httplib'`
**If Ableton test fails:** Reply with ONLY:
```
⚠️ [what failed] β€” [one-line description]
```
Example: `⚠️ plugin not visible in Ableton β€” VST3 not in ~/Library/Audio/Plug-Ins/VST3/`
---
## DO NOT:
- Explain errors (just paste the line)
- Suggest fixes (HF Claude fixes)
- Write code
- Read source files to understand them
- Add verbose commentary
- Ask clarifying questions about the code
## Setup (one time only, then never again):
```bash
git clone https://huggingface.co/RAM2118/pluginbridge ~/pluginbridge
cd ~/pluginbridge
git submodule add https://github.com/juce-framework/JUCE.git JUCE
git submodule update --init
mkdir build && cd build && cmake .. -G Xcode
```
## Status
**Last push:** 2026-05-16 β€” repo scaffolded, no source code yet
**Next push:** Sprint 1 source files (HF Claude will update this line)