package-script-writer

Generate and execute Umbraco CMS installation scripts via the psw CLI.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill package-script-writer-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: package-script-writer
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/package-script-writer
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill package-script-writer-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the manual, error-prone setup of installing Umbraco CMS by generating a complete unattended installation script and running it automatically.

Core Features & Use Cases

  • CLI-driven script generation: Produces the full installation script using the Package Script Writer (psw) CLI instead of only generating a runnable project stub.
  • Unattended installation: Applies unattended defaults with configurable database type and admin credentials.
  • Optional package installation: Adds specified packages (optionally with versions) such as uSync and Umbraco.Forms during the install.
  • Use Case: Standing up a local or test Umbraco CMS environment in a consistent way for demo environments, validation runs, or reproducible CI-style setups.

Quick Start

Run the psw unattended install command with the required -d flag and include --auto-run to generate and execute the installation script for your target database type.

Frequently Asked Questions about package-script-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate an Umbraco CMS installation for a local test environment?

You can automate an Umbraco CMS installation by generating an unattended setup script with the Package Script Writer CLI, applying configurable database types and admin credentials for a predictable local test environment.

Can I install Umbraco packages like uSync during an unattended setup?

Yes, unattended Umbraco setup supports optional package installation, allowing you to specify and include packages such as uSync and Umbraco.Forms directly within the generated installation script.

What is unattended Umbraco installation and when do I need it?

Unattended Umbraco installation is a CLI-driven process that generates and executes setup scripts without manual interaction, needed for reproducible CI-style setups, validation runs, and consistent demo environments.

Does the Package Script Writer require specific .NET tools or flags to generate an install script?

Yes, generating an Umbraco install script requires the psw CLI resolved in your PATH, correct .NET tools resolution, and the mandatory -d default generation flag to produce the setup script.

How do I handle admin credentials safely when generating Umbraco install scripts?

Safe handling of admin credentials during Umbraco script generation involves passing the admin email and password inputs securely through the psw CLI to provision the default administrator account.