/laravel-playbook:decide-dependencyfrom laravel-playbook
When to depend, suggest, vendor, or own. Dependency strategy for Laravel packages.
Ships in laravel-playbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
"If this dependency breaks, does my package break?"
Depend (require) when:
illuminate/database, illuminate/supportlaravel-package-tools reduces boilerplate significantlySuggest when:
"league/flysystem-aws-s3-v3": "Required to use AWS S3 file storage"Vendor (copy) when:
Own (build yourself) when:
image, db-dumper, temporary-directory)Conflict when:
Taylor's first-party approach: Zero external dependencies. First-party packages depend only on illuminate/* components. Everything else is owned or suggested.
League's agnostic approach: Minimal dependencies, PSR interfaces, framework bridges. The core depends on nothing framework-specific. Adapters are separate packages.
The pragmatic approach: Cherry-pick illuminate components, own the critical path, use laravel-package-tools for provider boilerplate.
Ask: "If this dependency breaks, does my package break?"
If yes, own it or pin it tightly. If no, suggest it.
| Ask | Answer | Use |
|---|---|---|
| Does core functionality need it? | Yes | Depend |
| Is it an optional enhancement? | Yes | Suggest |
| Is it a tiny, single-file utility? | Yes | Vendor |
| Is it on the critical path? | Yes | Own |
| Is the upstream unreliable? | Yes | Own or vendor |
| Does a known-bad version exist? | Yes | Conflict |
| Is the package framework-agnostic? | Yes | Use PSR interfaces, bridge separately |
See examples.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub attac-t/the-foundry --plugin laravel-playbook29 skills in this plugin
/craft-apiCrafting API surfaces. Entry points, fluent builders, progressive disclosure./craft-brandingCrafting package identity. Professional impressions from the first click./craft-ciCrafting a CI pipeline. Five workflows, zero manual gates./craft-configCrafting a config file. The self-documenting contract between package and consumer./craft-deprecationCrafting deprecations. Sunset gracefully, remove confidently./craft-docsCrafting a documentation site. Progressive depth, not progressive confusion.