Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
package-scaffolding
alex-kassel/workspace-development-toolkit
claude-code
package-scaffolding
artisan-commands
workspaces
package-archetypes
quality-verification
no-stubs
git-workflow

Use this skill when the user asks to create, initialize, or scaffold a new package in the workspace (e.g., "create package", "scaffold package", "initialize package", "create library").

Install
php artisan boost:add-skill alex-kassel/workspace-development-toolkit

Save this content to: .claude/skills/package-scaffolding/SKILL.md

# Package Scaffolding Skill

This skill guides the deterministic, non-destructive creation of new packages in registered workspaces.

## Operational Workflow

1. **Clarify Package Identification**:
   - Determine `<vendor>` (`alex-kassel` for public open-source, `alex-privat` for pre-Packagist, `alex-local` for local domain modules).
   - Determine `<package-name>` (kebab-case).
   - Determine package archetype (`library` by default, `engine` for capability cores, `domain` for business domains). See [Archetypes Reference](./references/archetypes.md).

2. **Execute Scaffolding Generator**:
   Run the deterministic CLI scaffolding tool:
   ```bash
   php artisan package:make <vendor>/<package-name> --git
   ```
   *Tip: You can preview generated files first using `--dry-run`.*

3. **Verify Newly Scaffolded Package**:
   Immediately run the quality verification suite to ensure 100% green corridor:
   ```bash
   php artisan package:check <vendor>/<package-name> --json
   ```

4. **Implement Initial Package Logic**:
   - Add contracts, DTOs, and services in `src/`.
   - Keep commands and controllers strictly as thin coordinators: delegate process execution, file operations, error diagnostics, and business logic to reusable services + typed DTOs.
   - Add unit/feature tests in `tests/`.
   - Remember: **Strict No-Stubs Policy** (never leave empty methods, `// TODO`, or fake stubs).

5. **Commit Logical Unit**:
   Commit newly created files in the package's independent git repository and report commit hash to the user.

Package Scaffolding Skill

This skill guides the deterministic, non-destructive creation of new packages in registered workspaces.

Operational Workflow

  1. Clarify Package Identification:

    • Determine <vendor> (alex-kassel for public open-source, alex-privat for pre-Packagist, alex-local for local domain modules).
    • Determine <package-name> (kebab-case).
    • Determine package archetype (library by default, engine for capability cores, domain for business domains). See Archetypes Reference.
  2. Execute Scaffolding Generator: Run the deterministic CLI scaffolding tool:

    php artisan package:make <vendor>/<package-name> --git
    

    Tip: You can preview generated files first using --dry-run.

  3. Verify Newly Scaffolded Package: Immediately run the quality verification suite to ensure 100% green corridor:

    php artisan package:check <vendor>/<package-name> --json
    
  4. Implement Initial Package Logic:

    • Add contracts, DTOs, and services in src/.
    • Keep commands and controllers strictly as thin coordinators: delegate process execution, file operations, error diagnostics, and business logic to reusable services + typed DTOs.
    • Add unit/feature tests in tests/.
    • Remember: Strict No-Stubs Policy (never leave empty methods, // TODO, or fake stubs).
  5. Commit Logical Unit: Commit newly created files in the package's independent git repository and report commit hash to the user.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo