Create, modify, review, or test the Vendra Developer Logins package in packages/vendra-developer-logins. Use for local-only Filament login shortcuts, DeveloperLoginsRegistrar, role and guard filtering, configured credential or label columns, panel registration, enablement safeguards, package configuration, and registrar tests.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Create, modify, review, or test the Vendra Developer Logins package in packages/vendra-developer-logins. Use for local-only Filament login shortcuts, DeveloperLoginsRegistrar, role and guard filtering, configured credential or label columns, panel registration, enablement safeguards, package configuration, and registrar tests.
Vendra Developer Logins
Workflow
Translatable Persistence
Making a persisted model field translatable is an explicit domain choice unless this package already requires it.
Every field listed in a model's $translatable array must definitely use a JSON database column. Keep its model traits/casts, factories, validation, Filament locale UI, API serialization, and tests translation-aware.
A field not listed in $translatable must use the appropriate scalar database type and must not use Spatie Translatable, translatable slug traits, locale switchers, translated callbacks, or translation-shaped array data.
Use laravel-best-practices for Laravel PHP and pest-testing when tests change. Before editing Filament integration, inspect sibling provider code and search the installed documentation with Laravel Boost.
Security Boundary
Work inside packages/vendra-developer-logins with namespace Misaf\VendraDeveloperLogins.
Preserve all enablement gates: local environment, enabled configuration, and at least one eligible user.
Resolve users through the configured role and current authentication guard; do not expose arbitrary accounts.
Respect configured credential and label columns, discard invalid values, and never log credentials.
Register through DeveloperLoginsServiceProvider only on configured panels.
Keep the package tenant-provider agnostic and never import Misaf\VendraTenant.
Change Checklist
Add focused Pest tests for local/non-local behavior, disabled configuration, missing roles/users, role and guard filtering, configured columns, switching, and panel registration.
Preserve the architecture expectation that Misaf\VendraDeveloperLogins does not use Misaf\VendraTenant.
Run composer --working-dir=packages/vendra-developer-logins test and composer --working-dir=packages/vendra-developer-logins analyse; run Pint when PHP changes.