Skip to content

Build your own features

Use an AI coding tool to plan and edit VoxelSite source code. Keep changes scoped, back up your files and test the result.

Updated October 23, 2026 8 min read

VoxelSite includes the source code for its Studio and generated websites. Use an AI coding tool to plan a change, edit a local copy and test it before deployment. You still need to review the code and its effect on the site.

Choose which files to change

Start by deciding which files need to change. The source overview separates Studio code from generated pages and assets. A change to the editor and a change to the website are different tasks. For ordinary website work, Studio MCP supplies private draft reads, exact change reviews and separate publication without editing the application source. Follow the setup guide for Codex, Claude Code or another client.

Check existing development work

An extension needs testing and maintenance after the first implementation. Check feature requests and pricing for the project's contribution and paid-work channels before taking on a change yourself.

Review proposed code

AI coding tools can propose edits from a written request. Treat the proposal as code to review: confirm which files change, run the relevant checks and test the user flow.

The tools

Use a tool that can work with your local source files and show you a diff. The links below lead to the tools referenced in this guide; check their current documentation and terms before choosing one.

Cursor

The setup example below uses Cursor. Open a copy of the project and review proposed file changes before accepting them.

Windsurf

If you use Windsurf, apply the same workflow: inspect the relevant code, ask for a plan, then test the changes.

Google Antigravity

For Google Antigravity, consult its documentation for setup. Keep each task scoped to the files you intend to change.

Claude Code

If you use Claude Code, review the commands and file changes it proposes as part of your development workflow.

Claude Code Desktop and OpenAI Codex

The planning and review prompts below also apply when you use Claude Code Desktop or OpenAI Codex. Confirm the project folder and scope before allowing edits.

What they cost

Check each tool's current pricing and usage limits. These tools have their own accounts and charges, separate from VoxelSite and the AI key configured in Studio.

Which AI model to use

Choose a model supported by your coding tool. Evaluate it on a small change you can test; the result and the diff are more useful than a general model ranking.

Getting started

Step 1. get the source code

Clone the repository to get the VoxelSite source:

git clone https://github.com/NowSquare/VoxelSite.git

No shell access on your machine? Download a release archive from GitHub and extract it instead. Either way you end up with the full codebase in a folder.

If you haven't installed VoxelSite on a server yet, follow the Installation guide first. You need PHP hosting to run it. See Requirements for what works. Use a separate development copy for Studio extensions. For website content, use the private draft through Studio or Studio MCP; direct edits to published files can conflict with the next publication.

Step 2. install an AI IDE

We'll use Cursor for this walkthrough, but the same process works in Windsurf, Antigravity, or any AI IDE described above.

Download from cursor.com and install it. Open Cursor. Then: File → Open Folder → select your VoxelSite directory.

Use the file tree to confirm you opened the intended copy of the project.

Step 3. open the chat panel

Open the AI chat panel and describe the task. Ask the tool to inspect the relevant files before proposing edits.

Review each proposed change and test the result before moving on.

The prompts that work

The examples below separate understanding the existing code, planning a change and checking the result. Replace bracketed placeholders with your task.

Read the repository instructions

Start a new coding session by asking the tool to read the repository instructions and inspect the relevant code:

Read the repository instructions, then inspect the files relevant to
[this task]. Trace the existing behavior and identify the files that
would change. Explain your findings before proposing edits.

Wait for the response. Read it. If anything sounds wrong, correct it before going further. An AI that misunderstands the architecture makes confident mistakes. Confirm the file paths and behavior it describes against the source.

Planning a new feature

Ask for a plan before implementation.

I want to add [describe the feature in plain language].

Before writing any code, explain how you would implement this given 
the existing architecture. Which files would you touch? What are the 
risks? What edge cases should I know about? What approach would you 
recommend?

Read the plan. If it sounds reasonable and doesn't involve touching files you weren't expecting, say:

That approach looks right. Implement it step by step. After each 
significant step, tell me what you did, what you changed, 
and what comes next.

The step-by-step instruction matters. It keeps the AI from making ten changes at once and leaving you unable to track what happened.

A real example

For example, suppose you want a banner that stores a visitor's dismissal choice. Ask the tool to identify the relevant template, JavaScript and CSS first. Review its plan, apply the change to your local copy, then test both the first visit and a return visit. This example describes an interface change, not a compliance assessment.

Fixing something broken

[Describe what's broken]. Here's what I see: [paste the error message 
or describe the visual problem exactly].

Read the relevant files and diagnose the issue before making any 
changes. Tell me what you think is wrong and why.

Review the diagnosis. If it sounds right:

That makes sense. Fix it. Don't touch anything outside the files 
directly involved in this issue.

Keep the scope instruction when adapting this example. Without it, AI tools sometimes "improve" things you didn't ask about and introduce new problems while solving the original one.

Making visual changes

For quick visual tweaks, VoxelSite's built-in Visual Editor lets you click-and-edit elements directly in the preview - no external IDE needed. The approach below is for deeper structural changes or modifications to the source code itself.

I want to change [describe the visual element - be specific: which page, 
which section, what it looks like now, what you want instead].

Keep changes isolated to the relevant CSS and template files. 
Do not modify any PHP logic. Show me exactly what you plan 
to change before applying it.

Name the page, element and change. "Make the header look better" produces worse results than "make the header background dark navy, increase the logo size by 20%, and add a 1px white border at the bottom."

Replacing branding across the whole codebase

Find every instance of [old brand name / color value / logo filename] 
across all files. List every occurrence with the file name and line 
number. Do not change anything yet.

Review the list. Confirm it looks complete. Then:

Replace all of those with [new value]. List every file you 
modified when done.

Compare the changed files with the list before deploying.

Understanding something before touching it

Explain how [specific feature or behavior] works in this codebase. 
Trace it from the user action all the way through to the output file. 
Do not change anything.

Use this whenever you're unsure. Check the explanation against the source before making changes.

After every change, verify

What did you change, exactly? List every file modified and describe 
what changed in each one. Did you introduce any new dependencies? 
What should I test before considering this done?

Run the relevant checks yourself and inspect the diff before deploying.

Working with AI agents well

Keep the task scope and the acceptance checks in the same conversation.

One thing at a time. Several unrelated changes are harder to review in one diff. Finish one change, verify it, then move to the next.

Scope every instruction. Phrases like "don't touch files outside of X" and "don't modify any PHP logic" are your guardrails. Use them. An AI with unlimited scope will sometimes wander into territory you didn't intend.

Read the plan before approving. Ask the tool to explain its approach before writing code. Read it. If the plan touches files you weren't expecting, ask why before approving. Resolve questions about scope before applying the change.

Keep a backup. Copy the working folder before editing Studio source. A snapshot saves website files, not the Studio application or its database.

Know what updates touch. When VoxelSite releases a new version, it updates the Studio engine but preserves your published pages, settings, images, and data. The updater preserves generated website files; back them up before updating. System prompts have a separate override system that updates preserve. Other Studio source changes can be overwritten.

Test locally first. Make changes to a local copy of your files. Verify they work. Then upload to your live server. Never experiment on production.

When it goes wrong, be specific. "That broke the mobile navigation. On screens under 768px the menu doesn't open when I tap the hamburger icon. Revert only that change and try a different approach." The more precisely you describe the problem, the faster it gets resolved.

Push back when the plan seems off. If the AI proposes modifying ten files for something that should touch two, ask it to explain why. Sometimes the scope is necessary. Sometimes it's overcomplicating. Ask for the reason each file must change; get a code review when you cannot verify the effect.

What you can realistically build

Start with a small change you can inspect: a color, label, layout or static page. Features involving authentication, payments, external services or shared data require broader testing and may need an experienced developer.

Many page edits already have controls in Chat, the Visual Editor or the Code Editor. Use those where they fit. Use System Prompts for supported prompt overrides.

A note on the VoxelSite codebase

VoxelSite uses PHP and SQLite, with bundled Composer dependencies. Studio frontend changes require rebuilding its compiled assets. See Tech Stack, The AI Engine and Design System for the file structure and generation flow.

Name the target in your request: the Studio interface in _studio/, or the generated website. For Studio changes, follow Customizing the Studio. For page edits, the built-in Code Editor also offers inline AI editing through Cmd+K.

Before you start

Before starting, make a backup and choose one change with a visible result. Ask the tool to explain the relevant files, review its plan and test the change on a local copy.

Found a mistake in these instructions? Open an issue.

Download VoxelSite