AI coding assistants work best with TinaCMS when you stay in control. This guide shows how to collaborate with AI as a partner, not a pilot.
Set up an environment where your AI assistant can shine:
Use a modern IDE that supports inline AI assistance.
We recommend Visual Studio Code paired with GitHub Copilot or another inline AI tool such as Cursor.
Before generating any code, create a clean folder where your project will live. This helps AI understand where new files should go and keeps your workspace organized.
AI works best when it has context. Having the template gives it some code to model itself on. Follow along with our official guide or ask your assistant to do it for you:
Please set up a TinaCMS starter template using the command: npx create-tina-app@latest

Once installed, explore the generated files so you understand how TinaCMS is wired together. Your AI assistant will reference this structure automatically in later prompts, so the more you know your starting point, the more precise your direction will be.
Tip: Check out SSW's Rules to Better AI Development
AI works best when given small, focused tasks. Instead of asking for “the whole project”, break your work into manageable, self-contained steps that can be tested and refined one at a time.
This approach helps your assistant maintain context, reduces the chance of errors, and makes debugging much easier.

Rather than prompting your assistant to “build a blog site”, start with a single feature or component. If you know what you want, use something like:
Please create a component that allows commenting on a blog post. It should use Giscus, and config settings should be stored in a global config
file so they can be reused across all comment blocks.
This defines scope and structure, helping AI produce accurate, context-aware code.
Once one component or schema works, move on to the next logical piece. By building one feature at a time, your AI assistant learns your project’s structure progressively and builds on a solid foundation.
If you’re not sure what you need yet, ask your assistant to help brainstorm possible content structures or reusable blocks.
For example:
Suggest five useful blocks for a long-form article layout in TinaCMS.
After each feature, run your development server and verify that components render and work correctly.
The earlier you validate, the less time you’ll spend debugging larger combined changes later.
AI is fast and confident, sometimes a bit too much. It may:
To stay safe:
This protects your momentum. If the AI derails, you can reset instead of untangling chaos.
Your job isn’t to accept suggestions blindly, it’s to steer.
AI will often get you close, but rarely perfect on the first try. Treat every output as a draft.
This is using TinaCMS, follow its component patterns.Even debugging can be a collaboration. Instead of staring at an error alone, share it with your AI assistant:
After those changes to the comment system, the block no longer renders.
Here's the error: {{error}}
What's likely causing this, and how can I fix it?
AI won’t always nail the fix, but it will usually point you in the right direction. Use that feedback to keep momentum instead of getting stuck.
If AI starts repeating or drifting off-track, reset the prompt.
To reset:
That single line of clarity is often all it needs to snap back into alignment.
AI won’t build your site for you but it will build with you.
Your job is to keep it aimed in the right direction by understanding Tina’s patterns, give clear prompts, and stay hands-on.\
Build small. Commit often. Iterate confidently.