|
1 | | -# laravel-eloquent-scope-as-select-development |
| 1 | +--- |
| 2 | +name: laravel-eloquent-scope-as-select-development |
| 3 | +description: Development guidance for `protonemedia/laravel-eloquent-scope-as-select` (Expose Eloquent scopes as selectable query constraints.). |
| 4 | +license: MIT |
| 5 | +metadata: |
| 6 | + author: ProtoneMedia |
| 7 | + source: https://github.com/protonemedia/laravel-eloquent-scope-as-select |
| 8 | +--- |
2 | 9 |
|
3 | | -## When to activate |
4 | | -- You are modifying code in **laravel-eloquent-scope-as-select**. |
5 | | -- You are reviewing/triaging issues or PRs for **laravel-eloquent-scope-as-select**. |
6 | | -- You are preparing a release (version bump, tag, changelog). |
| 10 | +# Laravel Eloquent Scope as Select Development |
7 | 11 |
|
8 | | -## Aim |
9 | | -Ship safe improvements while preserving the documented public API and keeping the test suite green. |
| 12 | +## Overview |
| 13 | +Use this skill when changing package code, docs, tests, or release tooling for `protonemedia/laravel-eloquent-scope-as-select`. |
10 | 14 |
|
11 | | -## Do |
12 | | -- Keep PRs small and focused. |
13 | | -- Treat documented behavior (README) as the supported contract. |
14 | | -- Add or update tests when behavior changes. |
15 | | -- Prefer Laravel conventions (container bindings, facades, config publishing, events). |
| 15 | +## When to Activate |
| 16 | +- You are modifying code in this repository. |
| 17 | +- You are reviewing/triaging issues or PRs for this package. |
| 18 | +- You are preparing a release (version bump, tag, changelog). |
16 | 19 |
|
17 | | -## Don’t |
18 | | -- Introduce breaking changes without clearly documenting them. |
19 | | -- Add new runtime dependencies without strong justification. |
20 | | -- Bake in app-specific assumptions; keep the package reusable. |
| 20 | +## Workflow |
| 21 | +1. Skim the README / docs to confirm the public contract. |
| 22 | +2. Read for common patterns and pitfalls. |
| 23 | +3. Keep changes small, add/update tests when behavior changes, and avoid breaking API changes. |
21 | 24 |
|
22 | | -## Quick workflow |
23 | | -- Install dependencies: `composer install` |
24 | | -- Run tests: `composer test` (or the repository’s configured test command) |
| 25 | +## References |
| 26 | +- |
0 commit comments