Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lov-dev-to-prod

БесплатноЗапускает вложенные скриптыНе проверен

将开发态项目收敛为可验证的生产构建与本地安装成果:适用于“把 dev 转成 prod” “生产就绪检查”或 “turn this dev app into a production build”,覆盖配置、构建、签名、安装和发布交接边界。

lovstudioот lovstudio★ 72 звезды на GitHub

Об этом скилле

生产就绪助手 · Production Readiness

将一个仍以开发命令、调试配置或本机服务为中心的项目,收敛成可复查的生产制品。 它先确定交付范围,再修复阻塞项,最后用真实构建、签名或安装证据确认结果;外部发布始终是显式的下一步,而非默认副作用。

Product contract

  • 输入:目标项目、预期交付范围(本地安装、可分发制品或外部发布前准备)、目标平台,以及已有的构建/签名配置。
  • 输出:生产就绪报告、最小必要的项目改动、实际构建与验证结果,以及在明确授权时的本地安装证据。
  • 不承诺:没有真实构建和运行验证时,不称为“生产就绪”;未获明确授权时,不创建发布、标签、上传或商店提交。

Triggers

Activate when

  • 用户说“把这个项目从 dev 转成 prod”“帮我做生产就绪检查”“打一个可安装的正式包”或“把开发态应用装到本机应用程序”。
  • User asks to “turn this dev app into a production build”, “prepare this project for production”, or “make a verified local desktop install”.
  • 用户已有 Tauri、Electron、原生桌面或 Web 项目,需要确认开发服务器、环境变量、构建命令、签名与安装边界后再交给发布流程。

Do not activate when

  • 用户要把版本公开发布到 GitHub、官网、商店或 CI/CD;交给 lov-app-release 或 lov-release-via-cicd,由它们拥有远端状态与发布回读。
  • 用户只要诊断普通功能错误、单项 UI 修改或代码重构;交给相应的修复、设计或重构 Skill。
  • 用户的目标是性能、内存或后台任务优化而不是生产构建;交给 lov-app-optimizer。

User Profile (cross-session)

Every generated Skill is connected to the shared user-profile/v1 contract in skill.yaml. Read the shared user, brand, workspace, preferences, and this Skill's skills.<skill_id> namespace at the start of every run. Keep the source portable: resolved personal values belong in the shared profile, never here.

When the user directly states a durable preference or brand fact, persist it through scripts/profile_store.py and report the saved profile path. Put Skill-specific values under records.<field>; use brand.<field> or user.<field> for shared values. Do not persist inferred secrets or credentials. See references/user-profile.md for the complete contract.

Skill Group Composition

Read references/skill-composition.md before deciding whether to invoke or extend any adjacent capability. The record distinguishes optional upstream and downstream handoffs from embedded Kit modules. Do not silently depend on a sibling Skill that is not shipped with this source.

Workflow (MANDATORY)

You MUST follow these steps in order.

Step 0: Resolve skill root, dependencies, and runtime context

  • Read skill.yaml and resolve the shared Profile before inspecting the project.
  • Use SKILL_DIR when provided; otherwise infer this installed Skill root from the active runtime.
  • Read the composition record and the production checklist before deciding scope.
  • Verify that scripts/production_audit.py, references/production-readiness.md, and the target project rules are available. If a required local resource is missing, name its relative path and stop before producing a partial result.

When running scripts manually:

export SKILL_DIR="$(pwd)"

Resolve context.profile on every invocation. The precedence is current request, project context, Skill-specific profile records, shared preferences, shared brand/user profile, then safe defaults. A direct user statement about a durable preference or brand fact should be saved with scripts/profile_store.py record using --confirm, followed by a concise saved-path report.

Step 1: Freeze the production target and authority

  • Separate three scopes: local production install, signed distributable artifact, and external public release. Never infer the third from the first two.
  • Read the target repository's instructions, build configuration, version sources, package manager, and current worktree. Preserve unrelated changes.
  • Confirm only the missing user-facing choice that changes the outcome: platform, intended destination, or whether external publication is authorized.
  • State the acceptance condition before editing. Examples: a macOS .app passes signature and Gatekeeper checks; a Windows installer has a signed executable; a Web build is created from the production command and its deployment remains out of scope.

Step 1.5: Analyze nearby Skills before implementation

  • Inspect related local and installed Skills by routing contract and concrete input/output, not by filename alone.
  • Record upstream, core, downstream, overlap, and not-composed decisions in references/skill-composition.md.
  • Keep sibling Skills optional and artifact-based. When stages require hard coupling for one outcome, create a self-contained Kit instead.

Step 2: Map the development-to-production boundary

Run the deterministic baseline first:

python3 "$SKILL_DIR/scripts/production_audit.py" --root . --format markdown

Use it to locate version sources, development and production commands, packaging configuration, explicit updater settings, and obvious placeholder configuration. The report is an audit aid, not proof that a product is ready.

Then inspect the concrete boundary:

  1. Development server URLs, debug flags, mock backends, dev-only tooling, logging, and unsafe local assumptions.
  2. Production command, bundle identifiers, version alignment, packaged assets, environment-variable delivery, and platform permissions.
  3. Signing, notarization, code-signing identity, upda
Полный SKILL.md на GitHub

Установить lov-dev-to-prod в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash

Вложенные файлы

.gitignoreCHANGELOG.mdLICENSEREADME.mdcases/cases.jsonpricing-card.yamlreferences/production-readiness.mdreferences/skill-card-standard.mdreferences/skill-composition.mdreferences/user-profile.mdscripts/production_audit.pyscripts/profile_store.pyscripts/validate_skill.pyskill-card.mdskill-card.yamlskill.yaml

FAQ

Что делает скилл lov-dev-to-prod?

将开发态项目收敛为可验证的生产构建与本地安装成果:适用于“把 dev 转成 prod” “生产就绪检查”或 “turn this dev app into a production build”,覆盖配置、构建、签名、安装和发布交接边界。

Как установить скилл lov-dev-to-prod?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lov-dev-to-prod запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить lov-dev-to-prod с