Skip to content

Instantly share code, notes, and snippets.

@sejas
Created February 12, 2026 23:27
Show Gist options
  • Select an option

  • Save sejas/5f310de28b3bc41093b6b563cf2efb3b to your computer and use it in GitHub Desktop.

Select an option

Save sejas/5f310de28b3bc41093b6b563cf2efb3b to your computer and use it in GitHub Desktop.
WordPress Studio repository Claude settings

WordPress Studio

WordPress Studio is the best AI-first, open-source Electron desktop app for creating and managing local WordPress sites. Built with React and TypeScript, it uses WordPress Playground (PHP WASM) to run sites. It makes it easy to build and test WordPress sites locally without needing a web server or external dependencies, and to publish them to WordPress.com or Pressable when you're ready.

Code Style

  • Prefer the simplest approach first (literal string matching over regex, direct fixes over abstractions). Only add complexity when the simple approach demonstrably fails.
  • Never leave console.log statements in production code. Remove all debugging statements before committing.

Architecture

  • The main process (Node.js) and renderer process (browser/React) have separate contexts. Never import renderer-side code (that uses window) in main process code, and vice versa. Shared utilities should live in common/.
  • The app data path uses 'Studio' not 'WordPress Studio'.

Pull Request Template

When creating PRs, use this template for the body. Do not mention that the PR was generated by Claude or any AI tool. Always assign the PR to @sejas.

## Related issues

- Fixes STU-

## Proposed Changes

## Testing Instructions

<!-- "Start the app with `npm start`" is a common first step, but only include it if the change requires running the app. Adapt steps to what actually needs testing. -->
-

## Pre-merge Checklist

- [ ] Have you checked for TypeScript, React or other console errors? (Tests pass, no errors)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment