Skip to content

Add CLI troubleshooting instructions to STUDIO.md - #3020

Merged
bcotrim merged 1 commit into
trunkfrom
stu-1483-cli-debug-instructions
Apr 9, 2026
Merged

Add CLI troubleshooting instructions to STUDIO.md#3020
bcotrim merged 1 commit into
trunkfrom
stu-1483-cli-debug-instructions

Conversation

@bcotrim

@bcotrim bcotrim commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

AI was used to draft the debugging instructions and create the PR.

Proposed Changes

  • Add a "studio command not found" troubleshooting entry to the Debugging section of STUDIO.md, instructing AI agents to guide users to enable the CLI toggle in Studio settings when the studio command is unavailable.

Testing Instructions

  1. Build and run the app with npm start
  2. Start a site so the updated STUDIO.md gets deployed to the site directory
  3. Uninstall the CLI from Settings → Studio CLI for terminal
  4. Open a new terminal at the site path and confirm studio returns "command not found"
  5. Use an AI agent (e.g. Claude Code) in that site directory — it should pick up the new instructions and guide you to re-enable the CLI toggle

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@bcotrim bcotrim self-assigned this Apr 9, 2026
@bcotrim
bcotrim requested a review from a team April 9, 2026 08:11

@fredrikekelund fredrikekelund left a comment

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.

To test this properly, I had to also run npm install to trigger the scripts/download-agent-skills.ts script. After doing that, this works just as expected 👍

@bcotrim
bcotrim merged commit 415bd32 into trunk Apr 9, 2026
10 checks passed
@bcotrim
bcotrim deleted the stu-1483-cli-debug-instructions branch April 9, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants