add-exports

Generate import and export contracts, implementations, views, and service-provider bindings for Bespoke packages.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bespoke-uk/bespoke-mono --skill add-exports
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-exports
Source: https://github.com/bespoke-uk/bespoke-mono/tree/main/.claude/skills/add-exports
Command: npx skills add https://github.com/bespoke-uk/bespoke-mono --skill add-exports

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add import and export functionality to an existing Bespoke package, enabling a standardized scaffold for contracts, imports, exports, and wiring.

Core Features & Use Cases

  • Generate Export contracts and implementations, Import contracts and implementations, and corresponding views
  • Update package config and ServiceProvider bindings to wire new functionality
  • Support a simple, repeatable pattern for adding model-specific export/import capabilities in Bespoke packages

Quick Start

Provide the target package path to generate the export/import scaffolding at that location.

Frequently Asked Questions about add-exports

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

FAQPage Schema
How do I add import and export functionality to a Laravel package?

To add import and export functionality to a Laravel package, you can use a scaffolding tool to automatically generate contracts, implementations, and views, then wire them into your service provider bindings for immediate use.

What is the best way to scaffold import and export contracts in PHP?

Scaffolding import and export contracts in PHP is best handled by automating the generation of contract interfaces, class implementations, and configuration updates, ensuring a standardized and repeatable pattern across your packages.

Does this code generation tool update the service provider when adding exports?

Yes, this code generation tool updates the service provider by automatically wiring the newly generated import and export contracts and implementations into the existing package bindings.

How do I generate views for model-specific import and export capabilities?

You can generate views for model-specific import and export capabilities by pointing a scaffolding generator at your target package path, which creates the required views and contract implementations automatically.

Can I use this to add import and export scaffolding to an existing Bespoke package?

Yes, you can use this to add import and export scaffolding to an existing Bespoke package by providing the target package path, allowing the tool to generate and wire all necessary components seamlessly.

Why do I need contracts and service provider bindings for package exports?

Contracts and service provider bindings for package exports are needed to establish a standardized, decoupled architecture that ensures import and export implementations are properly resolved and wired into the Laravel application lifecycle.