package-dev

Scaffold, test, and publish Laravel packages with guided templates.

20|5|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/nasrulhazim/agent-skills --skill package-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: package-dev
Source: https://github.com/nasrulhazim/agent-skills/tree/main/skills/package-dev
Command: npx skills add https://github.com/nasrulhazim/agent-skills --skill package-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Scaffolds, tests, and release workflows for Laravel packages, reducing boilerplate and setup time.

Core Features & Use Cases

  • Scaffolds complete package structure with src, tests, config, migrations, and docs.
  • Generates ServiceProvider, Facade, and composer.json templates aligned with Laravel conventions.
  • Sets up Pest/Orchestra Testbench testing, migrations, and release steps.

Quick Start

Instantiate a full Laravel package scaffold and testing setup in seconds using this skill.

Frequently Asked Questions about package-dev

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

FAQPage Schema
How do I scaffold a Laravel package with a standard src, tests, and config structure?

To scaffold a Laravel package, this skill generates a complete directory structure including src, tests, config, and migrations. It creates ServiceProvider, Facade, and composer.json templates aligned with Laravel conventions to reduce boilerplate setup time.

Can I set up Pest and Orchestra Testbench for Laravel package testing automatically?

Yes, you can set up Pest and Orchestra Testbench for Laravel package testing. The skill configures the testing environment, handles migration setups, and establishes release workflows to ensure your package meets standard testing conventions.

What do I need to publish a Laravel package to Packagist with proper release workflows?

Publishing a Laravel package to Packagist requires a standard composer.json template and configured release workflows. This skill enforces ServiceProvider and Facade patterns while generating the necessary publishable resources for Packagist distribution.

Does this scaffolding tool support generating publishable resources like migrations and config files?

Yes, the Laravel package scaffolding supports generating publishable resources. It creates config files, database migrations, and documentation alongside the src directory, ensuring your package has all necessary components for distribution.

What's the best way to reduce boilerplate when creating a new Laravel package?

The best way to reduce Laravel package boilerplate is using a guided scaffolding skill. It instantly generates standard composer.json templates, ServiceProvider patterns, and complete testing setups, eliminating manual configuration and repetitive file creation.

Why should I use guided templates for Laravel package development instead of manual setup?

Guided templates for Laravel package development enforce standard conventions for ServiceProvider, Facade, and composer.json structures. They prevent configuration errors, ensure proper Pest testing setup, and reduce the boilerplate and setup time associated with manual package initialization.