Join the Webstudio community

Updated 4 weeks ago

Claude

Hey, I'm not code savvy and rely on Claude for coding for the site. When I'm working with system variables though, Claude doesn't understand my words and can't provide me working code.

One example I had was with multiple slugs based on dynamic pages. The code needed to fetch data from the API, and I had to work with Webstudios system variables to achieve this.

I've solved that specific issue, but I stumble across this problem a lot. Often I need code and AI doesn't seem to understand the special syntax of Webstudio.

What do you suggest I prompt the AI for this kind of stuff? Is there some sort of coding template or key phrases I should use when asking about Webstudio specific features? Any tips would be really helpful!​​​​​​​​​​​​​​​​
O
c
2 comments
Click inspect on system variable, copy that object, tell Claude you have this object, ask it to build js template string using variables from system

Syntax is standard js, nothing special

It just doesn't know about that object, just like it wouldn't know about any other code you want to rely on if you don't provide it
Ok, I will try that
Add a reply
Sign up and join the conversation on Discord