Agent skill

Spatie Package Skeleton

by freekmurze in freekmurze/dotfiles

Guide for creating PHP and Laravel packages using Spatie's package-skeleton-laravel and package-skeleton-php templates.

No licenceAuto-check passedBackend & APIs

Install Spatie Package Skeleton

skills CLI
$ npx skills add freekmurze/dotfiles --skill spatie-package-skeleton -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install freekmurze/dotfiles spatie-package-skeleton --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/freekmurze/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/claude/skills/spatie-package-skeleton .claude/skills/spatie-package-skeleton && rm -rf skills-src

Use ~/.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/

Facts

Skill name
spatie-package-skeleton
GitHub stars
1k
Token cost
~1.2k tokens
SKILL.md length
311 words
Files
3 (incl. references)
Skills in repo
52
Repo updated
First seen
Licence
None found

At a glance

Guide for creating PHP and Laravel packages using Spatie's package-skeleton-laravel and package-skeleton-php templates.

  • Works in 6 steps: Gather Package Details → Create the Repository from Template → Configure the Package (Manual Replacement) → …
  • The user wants to create a new PHP
  • SKILL.md covers Prerequisites, Workflow and Detailed references
  • Calls git, gh and composer; reaches github.com

What it does

Spatie Package Skeleton is an agent skill from freekmurze/dotfiles. Guide for creating PHP and Laravel packages using Spatie's package-skeleton-laravel and package-skeleton-php templates. Use when the user wants to create a new PHP or Laravel package, scaffold a package. Also use when building customizable packages — covers proven patterns for extensibility (events, configurable models/jobs, action classes) instead of config option creep.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/package-patterns.md` and `references/post-setup.md`).

It sits in Backend & APIs, covering Backend development. It works with Laravel, PHP and Git.

When your agent uses it

  • The user wants to create a new PHP
  • Laravel package
  • Scaffold a package
  • Building customizable packages — covers proven patterns for extensibility (events

Example prompts

  • “/spatie-package-skeleton”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Gather Package Details
  2. Create the Repository from Template
  3. Configure the Package (Manual Replacement)
  4. Verify Setup
  5. Initial Commit and Push
  6. Report to User

What it can do on your machine

Read from SKILL.md and the folder at commit 8874280. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • composer

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spatie Package Skeleton loads about 1.2k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 311 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 311 words (~1,158 tokens).

name
spatie-package-skeleton
metadata.author
Spatie
metadata.tags
php, laravel, package, skeleton, open-source

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in config/claude/skills/spatie-package-skeleton of freekmurze/dotfiles.

  • SKILL.md
  • references/package-patterns.md
  • references/post-setup.md

Open the folder on GitHubat commit 8874280

Compare with similar skills

Spatie Package Skeleton 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.

Spatie Package Skeleton compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spatie Package Skeleton this skillfreekmurze/dotfiles1k—~1.2kAutomated safety check: PassNone
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Laravel Best Practicesanonaddy/anonaddy4.9k13 repos~1.2kAutomated safety check: PassMIT
Geoflowyaojingang/GEOFlow3.8k—~722Automated safety check: PassAGPL-3.0
Livewire Developmentcoollabsio/coolify63k—~964Automated safety check: PassMIT

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Geoflow

    yaojingang/GEOFlow

    Operate/develop GEOFlow CLI/Laravel/admin/API, topics/专题 and topic tasks, theme libraries/replication, sites/leads/Agent, channel sync and legacy yao-geoflow-cli/design/template migration.

    3.8k GitHub stars~722 tokensUpdated today
    Backend & APIsAuto-check passed
  • Livewire Development

    coollabsio/coolify

    A skill your agent uses for any task or question involving Livewire.

    63k GitHub stars~964 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Laravel Specialist

    Jeffallan/claude-skills

    Builds Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, API resources and Livewire components, tested with Pest or PHPUnit.

    12k GitHub starsUsed in 1 repo~2.1k tokens
    Backend & APIsAuto-check passed

More from freekmurze/dotfiles

All 52 skills in this repo
  • Social Content

    freekmurze/dotfiles

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms.

    1k GitHub starsUsed in 23 repos~2.1k tokens
    Auto-check passed
  • Email Sequence

    freekmurze/dotfiles

    When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program.

    1k GitHub starsUsed in 19 repos~2k tokens
    Auto-check passed
  • Referral Program

    freekmurze/dotfiles

    When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.

    1k GitHub starsUsed in 17 repos~1.8k tokens
    Auto-check passed
  • Onboarding Cro

    freekmurze/dotfiles

    When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value.

    1k GitHub starsUsed in 16 repos~1.6k tokens
    Auto-check passed
  • Typefully

    freekmurze/dotfiles

    Create, schedule, and manage social media posts via Typefully.

    1k GitHub starsUsed in 1 repo~3.4k tokens
    Auto-check: notes
  • Paywall Upgrade Cro

    freekmurze/dotfiles

    When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates.

    1k GitHub starsUsed in 15 repos~1.4k tokens
    Auto-check passed

Works with

Categories

Questions about Spatie Package Skeleton

What does Spatie Package Skeleton do?

Guide for creating PHP and Laravel packages using Spatie's package-skeleton-laravel and package-skeleton-php templates. Spatie Package Skeleton is an agent skill from freekmurze/dotfiles. Guide for creating PHP and Laravel packages using Spatie's package-skeleton-laravel and package-skeleton-php templates.

When should I use Spatie Package Skeleton?

Spatie Package Skeleton fits situations like: the user wants to create a new PHP; laravel package; scaffold a package; building customizable packages — covers proven patterns for extensibility (events.

How do I install Spatie Package Skeleton in Claude Code?

Run `npx skills add freekmurze/dotfiles --skill spatie-package-skeleton -a claude-code`. Or copy the skill folder (config/claude/skills/spatie-package-skeleton in freekmurze/dotfiles) into .claude/skills/spatie-package-skeleton in your project. Claude Code loads it when a task matches its description.

How do I install Spatie Package Skeleton in Codex?

Run `npx skills add freekmurze/dotfiles --skill spatie-package-skeleton -a codex`. Or copy the skill folder (config/claude/skills/spatie-package-skeleton in freekmurze/dotfiles) into .agents/skills/spatie-package-skeleton in your project. Codex loads it when a task matches its description.

Can I use Spatie Package Skeleton in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add freekmurze/dotfiles --skill spatie-package-skeleton -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-package-skeleton, .gemini/skills/spatie-package-skeleton, .github/skills/spatie-package-skeleton and .opencode/skills/spatie-package-skeleton in your project.

What does Spatie Package Skeleton need to run?

Going by SKILL.md and its folder, Spatie Package Skeleton needs the command-line tools its instructions call (git, gh and composer).

Does Spatie Package Skeleton access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Spatie Package Skeleton safe to install?

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.

What licence does Spatie Package Skeleton use?

No licence was found for Spatie Package Skeleton or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Spatie Package Skeleton use?

About 1.2k tokens (SKILL.md is roughly 4.6k 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 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Spatie Package Skeleton?

Skills that share tags, products or a category with Spatie Package Skeleton: Configuring Horizon (coollabsio/coolify, 63k stars), Fortify Development (coollabsio/coolify, 63k stars), Laravel Best Practices (anonaddy/anonaddy, 4.9k stars) and Geoflow (yaojingang/GEOFlow, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spatie Package Skeleton?

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.