От прототипа к продакшену

Доводит рабочий прототип до продакшена по списку правок с приоритетами, без переписывания:обработка ошибок, валидация, конфиг через env, логи, тесты основных сценариев, проверки доступа, закреплённые зависимости и заметки по деплою. Используйте, когда демо или вайбкод-приложение нужно выпускать в прод.

ВайбкодингПак: Вайбкодинг69 строкprototype-to-production

Установка

Выполните одну команду — она сохранит SKILL.md в папку скиллов агента. Перезапустите агента, и он подхватит скилл сам.

Claude Code — macOS, Linux
mkdir -p ~/.claude/skills/prototype-to-production && curl -fsSL https://anymodel.org/en/skills/vibe-coding/prototype-to-production/SKILL.md -o ~/.claude/skills/prototype-to-production/SKILL.md
Codex, Cursor — macOS, Linux
mkdir -p ~/.agents/skills/prototype-to-production && curl -fsSL https://anymodel.org/en/skills/vibe-coding/prototype-to-production/SKILL.md -o ~/.agents/skills/prototype-to-production/SKILL.md
Claude Code — Windows PowerShell
New-Item -ItemType Directory -Force "$HOME\.claude\skills\prototype-to-production" | Out-Null; Invoke-WebRequest https://anymodel.org/en/skills/vibe-coding/prototype-to-production/SKILL.md -UseBasicParsing -OutFile "$HOME\.claude\skills\prototype-to-production\SKILL.md"
Codex, Cursor — Windows PowerShell
New-Item -ItemType Directory -Force "$HOME\.agents\skills\prototype-to-production" | Out-Null; Invoke-WebRequest https://anymodel.org/en/skills/vibe-coding/prototype-to-production/SKILL.md -UseBasicParsing -OutFile "$HOME\.agents\skills\prototype-to-production\SKILL.md"

Другой агент: сохраните файл в его папку скиллов или дайте ему ссылку на файл: https://anymodel.org/en/skills/vibe-coding/prototype-to-production/SKILL.md

SKILL.md

Исходник

Prototype to Production

A prototype that works is an asset. Do not rewrite it. Find the gaps that can hurt real users, rank them, and close them in small commits, riskiest first.

Workflow

  1. Run the app and its tests once to learn the baseline. Note what the app does and what data it holds. Do not change anything yet.
  2. Audit against the checklist below. For each item record: present, missing or partial, with a file reference.
  3. Produce a prioritized list (format below) and show it to the user. Get agreement on the scope before editing; the user may not want all of it.
  4. Fix items one at a time, each as its own small change with a check and a commit. Keep behavior the same unless the item is a bug.
  5. Finish with deploy notes and a list of what you deliberately left out.

Audit checklist

Security and data (highest priority)

  • Secrets: no keys, tokens or passwords in code or git history; all read from environment variables; .env is ignored by git; a .env.example lists names only. If a secret was committed, tell the user to rotate it; do not rewrite history yourself.
  • Auth: every non-public route checks identity on the server, not just in the UI. Check that users can only read and change their own records (try another user's id).
  • Input validation: all request bodies, query params, file uploads and webhooks are validated for type, size and range at the boundary. Database queries use parameters, never string concatenation.
  • Output: user-provided text is escaped when rendered; no stack traces or internal errors returned to clients.
  • CORS, cookies (HttpOnly, Secure, SameSite) and rate limits on login and expensive endpoints.

Reliability

  • Error handling: external calls (network, database, third-party APIs) have timeouts and handled failures. No empty catch blocks. User-facing errors are clear.
  • Unhandled exceptions are caught at the top level and logged without crashing the whole process silently.
  • Data: migrations exist instead of ad-hoc schema edits; a backup plan exists for the database; destructive operations ask for confirmation.
  • Idempotency for payment, email and webhook handlers.

Operability

  • Config: ports, URLs, feature flags come from environment with sane defaults; fails fast with a clear message if a required variable is missing.
  • Logging: structured or at least consistent lines with timestamps and request ids; no secrets or personal data in logs; levels are used.
  • A health endpoint and a documented start command.

Quality

  • Tests for the core flows (sign up, the main create/read action, payment if present), not for every function. They run with one command.
  • Dependencies: lockfile committed, versions pinned, npm audit or pip-audit style check run and findings triaged.
  • Lint or type check passes; dead code and debug leftovers (console logs, test routes, default admin password) removed.

Priority format

P0 (before any real user)
1. <issue>  where: file:line  fix: <one line>  effort: S/M/L
P1 (first week)
...
P2 (later)
...
Left out on purpose: ...

P0 means a user could lose data, see someone else's data, or an attacker could take control.

Deploy notes to write

Required environment variables (names, purpose, example format), build and start commands, the port, persistent storage paths, how to run migrations, how to roll back to the previous version, and what to watch after release.

Pitfalls

  • Rewriting in a "better" framework. Out of scope unless the user asks.
  • Adding layers (queues, caches, microservices) with no measured need.
  • Fixing everything at once in one huge commit.
  • Breaking behavior while adding validation: run the main flow by hand after each change.
  • Running audit commands against a production database or real third-party accounts. Use local or test data and ask first.

Source: AnyModel skills catalog · License: CC BY 4.0

Подключить через AnyModel API

Скилл работает на той модели, которую использует агент. Подключите Claude Code, Codex или Cursor к AnyModel и запускайте его на Claude, GPT, Gemini и других моделях по одному ключу — оплата за токены, без подписки.

Ещё из пака Вайбкодинг

Спецификация перед кодом

Превращает расплывчатую идею в одностраничную спецификацию и пошаговый план до написания кода, задавая только вопросы, которые меняют дизайн. Используйте, когда пользователь описывает новый проект, фичу или идею приложения и хочет начать разработку.

Разработка маленькими шагами

Строит ПО небольшими проверяемыми шагами – одно изменение, запуск, commit, дальше – держит приложение рабочим на каждом шаге и аккуратно восстанавливается, когда шаг что-то ломает. Используйте при многошаговой реализации фичи или приложения вместе с агентом.

Карта незнакомого репозитория

Быстро составляет карту незнакомого репозитория и выдаёт короткий документ-ориентир: точки входа, команды сборки, запуска и тестов, роли директорий, поток запросов и данных, ключевые абстракции и подводные камни, со ссылками на файлы. Используйте, когда пользователь впервые видит репозиторий или спрашивает, как устроен код.

Полировка интерфейса

Исправляет типичные проблемы интерфейсов, собранных ИИ: неровные отступы, отсутствующие состояния «пусто», «загрузка» и «ошибка», поломанную вёрстку на телефоне, слабый фокус и контраст, вылезающий за границы текст, разнобой в кнопках; проверяет скриншотами на 390px и 1440px. Используйте, когда UI работает, но выглядит сыро.

Безопасный рефакторинг

Рефакторит код без изменения поведения: сначала фиксирует поведение тестами, делает мелкие механические шаги, гоняет тесты после каждого, держит refactor-коммиты отдельно от изменений поведения и останавливается, если объём растёт. Используйте, когда просят почистить, перестроить, переименовать или упростить код.