CtrlK
BlogDocsLog inGet started
Tessl Logo

spatie-package-skeleton

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.

68

Quality

85%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

70%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill excels at providing a clear, actionable workflow for creating Laravel packages with Spatie's skeleton, including an important gotcha about stdin piping. However, it suffers from being monolithic — the extensive package patterns and API design principles section should be split into a separate reference file. Some content (general coding principles like 'don't use else', 'use enums') is knowledge Claude already has and adds unnecessary token cost.

Suggestions

Extract the 'Package patterns' and 'API Design Principles' sections into a separate PATTERNS.md reference file, keeping only a brief summary and link in the main SKILL.md

Remove general coding advice Claude already knows (e.g., 'do not use else statements', 'use enums over strings', 'use protected over private') — these belong in a coding guidelines skill, not a package scaffolding skill

Add a note referencing the 'php-guidelines-from-spatie' skill mentioned in the API Design Principles section as a proper cross-reference rather than just a mention

DimensionReasoningScore

Conciseness

The skill is fairly long (~300 lines) and includes some content Claude already knows (API design principles, general coding patterns like 'use enums over strings', 'return early instead of else'). The workflow section is efficient, but the 'Package patterns' section is extensive and could be split into a reference file. Some patterns like 'Conditionable/Macroable/Dumpable' and 'don't use else' are general PHP/Laravel knowledge.

2 / 3

Actionability

The workflow section provides fully executable bash commands and PHP code examples. The sed replacement, file renaming, git commands, and composer operations are all copy-paste ready with clear placeholders. The package patterns section also includes concrete, executable PHP code examples rather than abstract descriptions.

3 / 3

Workflow Clarity

The 6-step workflow is clearly sequenced with explicit steps. It includes an important WARNING about not piping stdin to configure.php (a non-obvious gotcha), verification steps (step 4), and clear ordering notes for sed replacements. The workflow covers the full lifecycle from gathering details to reporting results.

3 / 3

Progressive Disclosure

This is a monolithic file with no references to external files. The package patterns section (~150 lines of design guidance) should be in a separate reference file. The post-setup reference, API design principles, and package patterns are all inlined, making this a wall of text that mixes workflow instructions with reference material.

1 / 3

Total

9

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a strong skill description that clearly communicates what the skill does (creating PHP/Laravel packages using Spatie templates with extensibility patterns) and when to use it (package creation, scaffolding, building customizable packages). It uses third-person voice, includes natural trigger terms, and occupies a distinct niche that minimizes conflict risk with other skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions and patterns: creating packages using specific templates (Spatie's skeleton), scaffolding, and covers extensibility patterns like events, configurable models/jobs, and action classes. These are specific, actionable capabilities.

3 / 3

Completeness

Clearly answers both 'what' (guide for creating PHP/Laravel packages using Spatie templates, covers extensibility patterns) and 'when' (explicit 'Use when' clause covering package creation, scaffolding, and building customizable packages). Both dimensions are well-addressed.

3 / 3

Trigger Term Quality

Includes strong natural trigger terms users would say: 'PHP', 'Laravel', 'package', 'scaffold', 'Spatie', 'package-skeleton-laravel', 'package-skeleton-php', 'extensibility', 'events', 'configurable models'. Good coverage of terms a developer would naturally use.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — targets a specific niche (PHP/Laravel package creation using Spatie's templates) with clear triggers. Unlikely to conflict with general PHP/Laravel development skills or other package-related skills due to the specific mention of Spatie skeletons and extensibility patterns.

3 / 3

Total

12

/

12

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation9 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

Total

9

/

11

Passed

Repository
freekmurze/dotfiles
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.