~/wiki / interfeis-i-sayty / kak-sozdat-sayt-tolko-cherez-promty

Как создать сайт через промпты: пошаговый сценарий под прод

◷ 5 min read 2/13/2026

Main chat

A chat for vibe coders: news, guides, live cases, marketplace, and finding executors.

$ cd section/ $ join vibe dev
Как создать сайт через промпты: пошаговый сценарий под прод - обложка

Короткий ответ

Сайт через промпты реально собрать быстро, если не пропускать технические этапы: структура, контент, мета-теги, мобильная проверка и деплой. Большинство провалов случается не на генерации, а на этапе проверки качества. Рабочий подход — маленькие релизы с измеримым результатом после каждого шага.

  • Сначала каркас и контент, потом дизайн и анимации.
  • До релиза: canonical, robots, sitemap и мобильная проверка.
  • После релиза: переобход и контроль метрик в Метрике/Вебмастере.

The short answer

The site through the prompts really collect quickly, if you do not miss the technical stages: structure, content, meta tags, mobile verification and deploy. Most failures occur not at the generation, but at the quality check stage. The working approach is small releases with measurable results after each step.

  • First frame and content, then design and animation.
  • Prior to release: canonical, robots, sitemap and mobile verification.
  • After release: bypassing and controlling metrics in Metric/Webmaster.

You will learn how to make a site (Next.js, Astro, Vite, HTML – any) ** only prompts in Codex App**. Codex will create a repository on GitHub, configure Cloudflare Pages, and enable automatic deployment.

Skill is called Cloudflare Deploy. It operates through wrangler and does not have a separate field for the token. Authentication is done once.

Step 1. Create tokens (once)

GitHub Personal Access Token

  1. github.com → Settings → Developer settings → Personal access tokens → Tokens (classic)
  2. Generate new token (classic)
  3. Title: Codex Deploy
  4. Checks: repo, workflow, delete_repo
  5. Copy the token (it will appear only once).

Cloudflare API Token*

  1. cloudflare.com → My Profile → API Tokens
  2. Create Token → Use template → Edit Cloudflare Workers and Pages
  3. Permissions:
    • Account → Cloudflare Pages → Edit
    • Account: Workers → Edit
  4. Account Resources > Your Account
  5. Create Token → copy the string (starts with cf-).

Step 2. First Skill Launch (Once, 30-60 Seconds)

Open the Codex App and write:

Prepare Cloudflare Deploy skill. Cloudflare API Token: cf-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX I have GitHub PAT: ghp_XXXXXXXXXXXXXXXX Run a wrangler login with this token and save authentication.

Codex:

  • keep tokens in a secure skill environment
  • perform wrangler whoami
  • confirm that everything works

From this point on, the skill will work automatically with each next prompt.

Step 3. Create a website (one prompt)

We're writing a new project

Create a modern one-page portfolio site on Next.js 15. Dark theme, neon accents cyan and magenta. Hero with animated glowing cube, sections About Me, Projects (3 cards), Contacts. Use Tailwind + Framer Motion. Add README.md and .gitignore.

Codex will create a project and run it locally.

Step 4. GitHub

Prompt:

Initialize git. Create a мой-сайт public repository on GitHub. Make the first commit "Initial commit by Codex" and start.

Codex will do it all by itself.

Step 5. Deployment on Cloudflare Pages + Automatic Deployment

The main prompt (most important):

Use Consolidated Cloudflare Deploy skill. Deploy this Next.js project on Cloudflare Pages. Name the project мой-сайт. Connect the GitHub repository you just created. Turn on the automatic deploy at each push to the main. Use the right settings for Next.js (build command and output directory). Launch the first depot.

Codex:

  • create a Pages Project
  • plug-in
  • builder
  • make the first

In 40-90 seconds, it will give the link https://мой-сайт.pages.dev.

Step 6. Further work (complete automation)

Now it works like this:

Write one prompt → Codex:

  1. Changing the code
  2. Makes a commit
  3. Fly into the main
  4. Cloudflare will automatically redesign the site

Examples of prompts:

  • “Make the glowing cube in hero rotate and change color from cyan to magenta.”
  • “Add a feedback form that sends a message to Telegram”
  • “Add a dark/light theme with saving”

If you ask for escalated permissions

Sometimes there is a message:

The deploy needs escalated network access. Want me to proceed?

Answer: Yes, do it with escalated permissions.

Что читать дальше

$ cd ../ ← back to Interface and sites