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-verification
alex-kassel/workspace-development-toolkit
claude-code
package-verification
composer
pint
phpstan
testbench
static-analysis
code-style

Use this skill when the user asks to test, lint, verify, analyze, or check the quality of a package (e.g., "verify package", "run tests", "check codestyle", "run analysis", "check package", "phpstan").

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

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

# Package Verification Skill

This skill guides the automated, multi-suite verification of any package in the repository.

## Operational Workflow

1. **Run Universal Verification**:
   Execute the automated verification suite from the root directory:
   ```bash
   php artisan package:check <vendor>/<package-name>
   ```
   *For machine-readable processing:*
   ```bash
   php artisan package:check <vendor>/<package-name> --json
   ```

2. **Interpret Verification Results**:
   The verification suite checks 4 capabilities:
   - **Composer Validation**: `composer validate --strict`
   - **Code Style (Pint)**: Code formatting and PSR standards
   - **Static Analysis (PHPStan)**: Level 8+ type safety
   - **Automated Tests**: Unit & Feature test assertions via Testbench
   - **Standalone Installation**: Clean dry-run standalone install check

3. **Remediate Identified Issues**:
   - If **Pint fails**: Auto-fix formatting using `php artisan package:check <vendor>/<package-name> --fix` or `vendor/bin/pint --dirty --format agent`.
   - If **PHPStan fails**: Inspect error output, fix missing return types, generics, or type mismatches in `src/`. See [Troubleshooting Guide](./references/troubleshooting.md).
   - If **Tests fail**: Read failing test assertions, fix regression, and re-run.
   - If **Composer fails**: Fix license, author, or autoload definitions in package `composer.json`.

4. **Confirm Full Green Corridor**:
   Re-run `php artisan package:check <vendor>/<package-name> --json` until overall status is `passed`.

Package Verification Skill

This skill guides the automated, multi-suite verification of any package in the repository.

Operational Workflow

  1. Run Universal Verification: Execute the automated verification suite from the root directory:

    php artisan package:check <vendor>/<package-name>
    

    For machine-readable processing:

    php artisan package:check <vendor>/<package-name> --json
    
  2. Interpret Verification Results: The verification suite checks 4 capabilities:

    • Composer Validation: composer validate --strict
    • Code Style (Pint): Code formatting and PSR standards
    • Static Analysis (PHPStan): Level 8+ type safety
    • Automated Tests: Unit & Feature test assertions via Testbench
    • Standalone Installation: Clean dry-run standalone install check
  3. Remediate Identified Issues:

    • If Pint fails: Auto-fix formatting using php artisan package:check <vendor>/<package-name> --fix or vendor/bin/pint --dirty --format agent.
    • If PHPStan fails: Inspect error output, fix missing return types, generics, or type mismatches in src/. See Troubleshooting Guide.
    • If Tests fail: Read failing test assertions, fix regression, and re-run.
    • If Composer fails: Fix license, author, or autoload definitions in package composer.json.
  4. Confirm Full Green Corridor: Re-run php artisan package:check <vendor>/<package-name> --json until overall status is passed.

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