superpowers-sage:acorn-commands

Create custom Acorn CLI commands for WordPress automation with Laravel services.

13|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/hekivo/superpowers-sage --skill superpowers-sage-acorn-commands-hekivo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: superpowers-sage:acorn-commands
Source: https://github.com/hekivo/superpowers-sage/tree/main/skills/acorn-commands
Command: npx skills add https://github.com/hekivo/superpowers-sage --skill superpowers-sage-acorn-commands-hekivo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create and run artisan-style Acorn CLI commands for WordPress automation using Laravel container access and full WordPress API capabilities.

Core Features & Use Cases

  • Create custom Acorn commands: Define $signature, $description, and a handle() method to implement command logic with typed dependencies.
  • Safely execute database and WP actions: Perform work like imports, maintenance, and derived-data regeneration using WordPress functions and Eloquent/Laravel services.
  • Coordinate command workflows: Call other commands (silent or verbose), format output (info/warn/error/table), and support scheduling execution via lando acorn schedule:run.

Quick Start

Ask an AI assistant to generate a new Acorn command named ImportProducts that accepts a data source argument, supports a --dry-run option, and returns proper CLI exit codes while using dependency-injected services inside handle().

Frequently Asked Questions about superpowers-sage:acorn-commands

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

FAQPage Schema
How do I create custom Acorn CLI commands for WordPress automation?

Acorn CLI commands for WordPress automation require defining a command class with a $signature, $description, and a handle() method. You can use typed dependencies and Laravel services while executing WordPress functions within the same runtime.

Can I use Laravel dependency injection inside WordPress scheduled jobs?

Yes, you can use Laravel dependency injection inside WordPress scheduled jobs by building custom Acorn commands. These commands access Laravel container services and WordPress functions simultaneously, making them ideal for maintenance operations and derived-data recomputation.

Does Acorn CLI work with WP-CLI for running maintenance operations?

Acorn CLI targets developer tooling like imports, cache warmups, and database recomputation rather than serving as a simple WP-CLI equivalent. It runs scheduled jobs and maintenance operations via lando acorn schedule:run, leveraging Laravel services and WordPress functions together.

How do I schedule and run Acorn commands in a Lando environment?

You schedule and run Acorn commands in a Lando environment by executing them via lando acorn. You can list commands, view help text, and coordinate workflows by running lando acorn schedule:run to trigger scheduled jobs.

What is the best way to coordinate multiple Acorn commands during a data import?

The best way to coordinate multiple Acorn commands during a data import is to call other commands silently or verbosely from within the handle() method. You can format output using info, warn, error, or table methods while supporting options like --dry-run.

Do I need a service provider to register custom Acorn commands in WordPress?

Registering custom Acorn commands in WordPress optionally requires a service provider. You must have an Acorn-installed WordPress context to define your command signature and handle() method before executing it via the CLI.