PHPackages                             underscoretw/scaffold - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. underscoretw/scaffold

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

underscoretw/scaffold
=====================

Generates starter themes from underscoretw.com via WP-CLI.

v1.0.2(2mo ago)27↓90%MITPHP

Since Mar 26Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/underscoretw/scaffold)[ Packagist](https://packagist.org/packages/underscoretw/scaffold)[ Docs](https://github.com/underscoretw/scaffold)[ RSS](/packages/underscoretw-scaffold/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

underscoretw/scaffold
=====================

[](#underscoretwscaffold)

A WP-CLI package that generates starter themes from [underscoretw.com](https://underscoretw.com/).

Installation
------------

[](#installation)

After [installing WP-CLI](https://wp-cli.org/#installing), please run:

```
wp package install underscoretw/scaffold
```

Usage
-----

[](#usage)

Run the command without a slug to launch the interactive wizard:

```
wp scaffold _tw
```

LLMs or automated processes can generate themes using arguments:

```
wp scaffold _tw [] [--theme_name=] [--prefix=]
    [--theme_uri=] [--author=] [--author_uri=]
    [--description=] [--activate] [--enable-network] [--force]

```

All of the above arguments also work with the interactive wizard.

`wp scaffold underscoretw` is available as an alias.

### Interactive Wizard

[](#interactive-wizard)

The wizard will prompt for:

1. **Theme name** (required)
2. **Theme slug** (derived from the name by default)
3. **Function prefix** (derived from the slug by default)
4. **Author**, **author URI**, **theme URI**, and **description** (all optional)

After collecting your inputs, the wizard displays a summary and asks for confirmation before generating the theme.

### Options

[](#options)

OptionDescription``The slug for the new theme. If omitted, the interactive wizard is launched.`--theme_name=`Theme name. Derived from the slug when not set.`--prefix=`Function prefix for the theme. Derived from the slug when not set.`--theme_uri=`Theme URI header value.`--author=`Author header value.`--author_uri=`Author URI header value.`--description=`Description header value.`--activate`Activate the theme after generating it.`--enable-network`Enable the theme for the entire network after generating it.`--force`Overwrite the theme directory if it already exists.### Examples

[](#examples)

Generate a theme using the interactive wizard:

```
wp scaffold _tw
```

Generate a theme with default settings:

```
wp scaffold _tw my-theme
```

Generate a theme with custom options:

```
wp scaffold _tw my-theme --theme_name="My Theme" --author="Jane Doe" --description="A custom theme"
```

Generate and activate:

```
wp scaffold _tw my-theme --theme_name="My Theme" --activate
```

Overwrite an existing theme:

```
wp scaffold _tw my-theme --force
```

Credits
-------

[](#credits)

This package began as a fork of [`wp-cli/scaffold-command`](https://github.com/wp-cli/scaffold-command). Its wizard was inspired by `npm init`.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance84

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

80d ago

Major Versions

v0.9.0 → v1.0.02026-04-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/1abce209234ea7bde97d1bb79258e6a126fb553586be87ca792576867d2ac297?d=identicon)[gregsullivan](/maintainers/gregsullivan)

---

Top Contributors

[![gregsullivan](https://avatars.githubusercontent.com/u/2412655?v=4)](https://github.com/gregsullivan "gregsullivan (17 commits)")

### Embed Badge

![Health badge](/badges/underscoretw-scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/underscoretw-scaffold/health.svg)](https://phpackages.com/packages/underscoretw-scaffold)
```

###  Alternatives

[wp-cli/scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.

1728.2M20](/packages/wp-cli-scaffold-command)[wp-cli/core-command

Downloads, installs, updates, and manages a WordPress installation.

5210.9M26](/packages/wp-cli-core-command)[wp-cli/entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.

1059.5M77](/packages/wp-cli-entity-command)[wp-cli/i18n-command

Provides internationalization tools for WordPress projects.

11711.2M61](/packages/wp-cli-i18n-command)[wp-cli/extension-command

Manages plugins and themes, including installs, activations, and updates.

909.7M75](/packages/wp-cli-extension-command)[wp-cli/checksum-command

Verifies file integrity by comparing to published checksums.

338.1M12](/packages/wp-cli-checksum-command)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
