Borrowing it
Nothing to install: this file belongs to RedberryProducts/synapse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/RedberryProducts/synapse/main/.claude/skills/laravel-package/SKILL.mdgit clone --depth 1 https://github.com/RedberryProducts/synapseWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/redberryproducts/synapse/laravel-package)<a href="https://agentmods.dev/skills/redberryproducts/synapse/laravel-package"><img src="https://agentmods.dev/badge/skills/redberryproducts/synapse/laravel-package/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/redberryproducts/synapse/laravel-package"><img src="https://agentmods.dev/badge/skills/redberryproducts/synapse/laravel-package.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02169 |
| Opus 5 | $0.00000 | $0.01085 |
| Sonnet 5 | $0.00000 | $0.00434 |
| Haiku 4.5 | $0.00000 | $0.00217 |
Grade A, and why
laravel-package scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel Package Development (Synapse)
Distilled from the Laravel 13 package docs, laravelpackage.com, and Synapse's own scaffolding. When these conflict with the repo's existing patterns, follow the repo — the conventions below already match it.
Golden rules
register()binds;boot()wires. Inregister(): onlymergeConfigFromand container bindings — never resolve services, hit the DB, or touch facades that need a booted app. Inboot(): routes, views, publishing, commands, events, gates, schedules.- Config must be cache-safe. No closures in config files (breaks
config:cache). Never callenv()at runtime outside a config file — bake env-derived logic into the config's default value and readconfig()everywhere else. (Synapse's production route-guard does exactly this:'enabled' => (bool) env('SYNAPSE_ENABLED', env('APP_ENV') !== 'production').) mergeConfigFrommerges only the first level. Don't rely on deep-merging nested config a user partially overrode.- Guard console-only work. Register commands and publish groups inside
if ($this->app->runningInConsole()). - Everything user-facing is publishable, and tagged. Separate tags so users can publish config without assets, etc.
- Package discovery, not manual registration. The provider is auto-loaded via
extra.laravel.providersincomposer.json.
Service provider anatomy
public function register(): void
{
$this->mergeConfigFrom(__DIR__.'/../config/synapse.php', 'synapse');
// container bindings only
}
public function boot(): void
{
$this->registerRoutes(); // guarded by config
$this->loadViewsFrom(__DIR__.'/../resources/views', 'synapse');
$this->registerScheduledTasks(); // conditional
if ($this->app->runningInConsole()) {
$this->registerPublishing(); // tagged groups
$this->registerCommands();
}
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 127 lines · 0 tokens per session scan A 3fe79a043c0a
laravel-package is a skill published in the GitHub repository RedberryProducts/synapse (22 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,169 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
create-powergrid-plugin
Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.
owl-admin-devtools-generator
A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.
llamaindex-development
Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.
craftcms
Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…
php-development
Expert guidance for PHP 8+ development with SOLID principles, PSR standards, and modern best practices.