Livewire Development
coollabsio/coolify
A skill your agent uses for any task or question involving Livewire.
Spatie's PHP, Laravel, JavaScript and Vue coding guidelines and conventions.
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install freekmurze/dotfiles spatie-guidelines --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .claude/skills/spatie-guidelines && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .claude/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelinesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install freekmurze/dotfiles spatie-guidelines --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .agents/skills/spatie-guidelines && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .agents/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install freekmurze/dotfiles spatie-guidelines --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .cursor/skills/spatie-guidelines && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .cursor/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/freekmurze/dotfiles.git --path config/claude/skills/spatie-guidelines--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install freekmurze/dotfiles spatie-guidelines --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .gemini/skills/spatie-guidelines && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .gemini/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install freekmurze/dotfiles spatie-guidelinesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .github/skills/spatie-guidelines && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .github/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add freekmurze/dotfiles --skill spatie-guidelines -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install freekmurze/dotfiles spatie-guidelines --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/config/claude/skills/spatie-guidelines .opencode/skills/spatie-guidelines && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "spatie-guidelines" agent skill from https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/spatie-guidelines into .opencode/skills/spatie-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatie-guidelines", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
spatie-guidelinesSpatie's PHP, Laravel, JavaScript and Vue coding guidelines and conventions.
Spatie Guidelines is an agent skill from freekmurze/dotfiles. Spatie's PHP, Laravel, JavaScript and Vue coding guidelines and conventions. Use when writing or reviewing PHP, Laravel, JavaScript, or Vue code for Spatie projects or packages. Covers code style, type declarations, docblocks, control flow, naming, routing, controllers, Blade, validation, comments, testing (Pest), package structure, service providers, and Git workflow. Triggers include "follow Spatie guidelines", "Spatie style", "Spatie package", or any code review for Spatie packages and projects.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/javascript.md`, `references/laravel-php.md` and `references/new-project-setup.md`).
It sits in Backend & APIs, covering Backend development and Git workflow. It works with Laravel, PHP, Vue.js and JavaScript. The licence is MIT.
Read from SKILL.md and the folder at commit 8874280. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are php).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Spatie Guidelines loads about 2.7k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 130 tokens; SKILL.md has 1,012 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from freekmurze/dotfiles at commit 8874280, republished under its MIT licence (© freekmurze). 1,012 words, ~2,685 tokens.
.claude/skills/spatie-guidelines/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Apply these guidelines when writing code for Spatie projects or contributing to Spatie packages.
Core principle: write things the way Laravel intended. If Laravel has a documented way to do something, use it. Deviate only with a clear justification.
?Type (short nullable), not Type|null.void return type when a method returns nothing.class MyClass {
public function __construct(
protected string $firstArgument,
protected string $secondArgument,
) {}
}use Spatie\Url\Url;
/** @return Url *//** @var string *//**
* @param array<int, MyObject> $myArray
* @param int $typedArgument
*/
function someFunction(array $myArray, int $typedArgument) {}/** @var Collection|SomeWeirdVendor\Collection *//** @return array{
first: SomeClass,
second: SomeClass
} */final by default."Hi, I am {$name}."case Diamonds;use:class MyClass
{
use TraitA;
use TraitB;
}use statements. Never use inline fully qualified class names such as \Exception or \Illuminate\Support\Facades\Http.$exception instead of $e, $request instead of $r.private constDon't introduce private const. Replace each one:
private static when the methods using it are static.else. Refactor to early returns or ternaries.if statements over && chains.{} brackets.// Happy path last
if (! $user) {
return null;
}
if (! $user->isActive()) {
return null;
}
// Process active user...
// Short ternary
$name = $isFoo ? 'foo' : 'bar';
// Multi-line ternary
$result = $object instanceof Model ?
$object->name :
'A default value';
// Ternary instead of else
$condition
? $this->doSomething()
: $this->doSomethingElse();
// Bad: compound condition with &&
if ($user->isActive() && $user->hasPermission('edit')) {
$user->edit();
}
// Good: nested ifs
if ($user->isActive()) {
if ($user->hasPermission('edit')) {
$user->edit();
}
}Be very critical about adding comments. They often become outdated and mislead over time. Code should be self-documenting through descriptive variable and function names. Adding a comment should never be the first tactic for making code readable.
Instead of this:
// Get the failed checks for this site
$checks = $site->checks()->where('status', 'failed')->get();Do this:
$failedChecks = $site->checks()->where('status', 'failed')->get();media-library.php, pdf-generator.php)'chrome_path' => env('CHROME_PATH'))env() outside config files. Use the config() helper.config/services.php, not a new file./open-source, /front-end-developer)->name('openSource')){newsItem}, {userId})Route::get('open-source', [OpenSourceController::class, 'index'])[Controller::class, 'method'], not the string 'Controller@method'/, except the root //errors, /error-occurrences/error-occurrences/1 over /projects/1/errors/1/error-occurrences/1/errors/1/occurrencesController suffix: PostsControllerindex, create, store, show, edit, update, destroyFavoritePostsController with store and destroy)PerformCleanupControlleropenSource.blade.php)@if($condition)__() for translations, not @lang['required', 'email'], never the pipe form 'required|email'. Array notation is easier to combine with custom rule classes.public function rules() {
return [
'email' => ['required', 'email'],
];
}Validator::extend('organisation_type', function ($attribute, $value) {
return OrganisationType::isValid($value);
});Gate::define('editPost', ...)show with viewup methods in migrations. Don't write down methods.delete-old-records)$this->comment('All ok!') at the end.$items->each(function(Item $item) {
$this->info("Processing item id `{$item->id}`...");
$this->processItem($item);
});
$this->comment("Processed {$items->count()} items.");| Type | Convention | Example |
|---|---|---|
| Controller | Plural + Controller | PostsController |
| Invokable Controller | Action + Controller | PerformCleanupController |
| Model | Singular | Post |
| Job | Action description | CreateUser, SendEmailNotification |
| Event | Tense indicates timing | UserRegistering / UserRegistered |
| Listener | Action + Listener | SendInvitationMailListener |
| Command | Action + Command | PublishScheduledPostsCommand |
| Mailable | Event/action + Mail | AccountActivatedMail |
| Resource | Plural + Resource | UsersResource |
| Enum | Descriptive, no prefix | OrderStatus, BookingType |
env() outside config files'required|email')$fillable instead of $guarded = [] in package models@if ($condition)){} bracketsfinal on classes (Spatie doesn't by default)use statement$e'Controller@method') instead of tuple notationelse where early returns workservices.php)void return type on methods that return nothingdown methods in migrationsprivate const instead of inlining it or using a private propertyLoad these as needed:
references/package-architecture.md. Structure, service providers, contracts, model and config patterns.references/testing-pest.md. Testbench setup, test style, what to test, helpers, composer stack.references/version-control.md. Branch naming, PR workflow, commit conventions.references/laravel-php.md.references/javascript.md.references/new-project-setup.md.© freekmurze, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in config/claude/skills/spatie-guidelines of freekmurze/dotfiles.
Open the folder on GitHubat commit 8874280
Spatie Guidelines next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Spatie Guidelines this skillfreekmurze/dotfiles | 1k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Livewire Developmentcoollabsio/coolify | 63k | — | ~964 | Automated safety check: Pass | MIT | |
| Livewire Developmentyungifez/skuul | 409 | 1 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Configure Nightwatchtrypostit/trypost | 692 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Passport Developmenttrypostit/trypost | 692 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Spa Auth Developmentgdarko/laravel-vue-starter | 145 | — | ~668 | Automated safety check: Notes | MIT |
coollabsio/coolify
A skill your agent uses for any task or question involving Livewire.
yungifez/skuul
A skill your agent uses for any task or question involving Livewire.
trypostit/trypost
Configures Laravel Nightwatch data collection, sampling rates, filtering rules, and redaction policies.
trypostit/trypost
Develops OAuth2 API authentication with Laravel Passport. An agent skill from trypostit/trypost.
gdarko/laravel-vue-starter
Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.
ericrisco/rsc-harness
A skill your agent uses when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs…
freekmurze/dotfiles
When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms.
freekmurze/dotfiles
When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program.
freekmurze/dotfiles
When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.
freekmurze/dotfiles
When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value.
freekmurze/dotfiles
Create, schedule, and manage social media posts via Typefully.
freekmurze/dotfiles
When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates.
Works with
Categories
Spatie's PHP, Laravel, JavaScript and Vue coding guidelines and conventions. Spatie Guidelines is an agent skill from freekmurze/dotfiles. Spatie's PHP, Laravel, JavaScript and Vue coding guidelines and conventions.
Spatie Guidelines fits situations like: vue code for Spatie projects; include follow Spatie guidelines; any code review for Spatie packages and projects.
Run `npx skills add freekmurze/dotfiles --skill spatie-guidelines -a claude-code`. Or copy the skill folder (config/claude/skills/spatie-guidelines in freekmurze/dotfiles) into .claude/skills/spatie-guidelines in your project. Claude Code loads it when a task matches its description.
Run `npx skills add freekmurze/dotfiles --skill spatie-guidelines -a codex`. Or copy the skill folder (config/claude/skills/spatie-guidelines in freekmurze/dotfiles) into .agents/skills/spatie-guidelines in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add freekmurze/dotfiles --skill spatie-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spatie-guidelines, .gemini/skills/spatie-guidelines, .github/skills/spatie-guidelines and .opencode/skills/spatie-guidelines in your project.
SKILL.md names no scripts, command-line tools or credentials: Spatie Guidelines is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Spatie Guidelines is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Spatie Guidelines: Livewire Development (coollabsio/coolify, 63k stars), Livewire Development (yungifez/skuul, 409 stars), Configure Nightwatch (trypostit/trypost, 692 stars) and Passport Development (trypostit/trypost, 692 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
freekmurze (a GitHub user) maintains it in freekmurze/dotfiles, which has 1,013 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 8, 2026.
Source: freekmurze/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.