publish.my

Docs / Prompt structure

Prompt structure

You talk to your AI agent in plain language — but a little structure helps it publish exactly what you intend.

The canonical prompt

Everything works from one phrase:

PromptPublish this project with https://publish.my

The https://publish.my URL is the trigger. When your agent sees it, it fetches llms.txt and follows the publishing steps. You don't need to remember any commands or endpoints.

The anatomy of a good prompt

A reliable request has three parts:

[ what to do ] + [ which files ] + with https://publish.my

Ready-to-use examples

GoalPrompt
Publish the current projectPublish this project with https://publish.my
Publish a specific folderPublish the ./site folder with https://publish.my
Build, then publish outputBuild the project, then publish the dist/ folder with https://publish.my
Update an existing siteMake the headline bigger and publish again to https://publish.my
Start a brand-new sitePublish this as a new site with https://publish.my

Tips for clean results

What the agent does behind the scenes

You never have to run these yourself, but if you're curious: the agent packs your folder into a tarball, uploads it to the deploy endpoint, shows you the staged URL, waits for you to confirm by email, then collects a key it saves for future updates. The full machine-readable guide lives at publish.my/llms.txt.

Now put it to work — see real walkthroughs under Example projects.