package-dev

package-dev is a skill for Claude Code, Codex from nasrulhazim/claude. It costs 296 tokens per session (4,484 once invoked), scanned A, original, MIT.

A toolkit for creating and maintaining Laravel or PHP packages. Laravel packages are reusable software components that add functionality to Laravel applications.

In plain words
What is it for?
Use it to scaffold packages, create Pest tests with Orchestra Testbench, generate service providers and facades, write READMEs, update dependencies, and prepare releases for Packagist.
Why use it?
It provides the standard files and setup needed for package development, reducing the work of assembling folders, tests, documentation, and release files by hand.

Skill for Claude CodeCodex

Part of the claude-toolkit plugin — 36 skills, 12 commands, 20 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nasrulhazim/claude/package-dev
Any agent
npx skills add nasrulhazim/claude --skill package-dev
Clone the repo
git clone --depth 1 https://github.com/nasrulhazim/claude

Made for: Claude Code, Codex.

Or install claude-toolkit, the plugin that ships this one along with the rest of its 36 skills, 12 commands, 20 agents.

Wrote 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.

agentmods badge for package-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/nasrulhazim/claude/package-dev.svg)](https://agentmods.dev/skills/nasrulhazim/claude/package-dev)
Your own site
<a href="https://agentmods.dev/skills/nasrulhazim/claude/package-dev"><img src="https://agentmods.dev/badge/skills/nasrulhazim/claude/package-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 296 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00296 $0.04484
Opus 5 $0.00148 $0.02242
Sonnet 5 $0.00059 $0.00897
Haiku 4.5 $0.00030 $0.00448

Measured 5d ago against content hash 7ea3bd319935, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

package-dev scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

otherwise run `curl -X POST https://packagist.org/api/update-package?username=USER&apiToken=TOKEN`
skills/package-dev/SKILL.md · 600 lines

How it starts

The opening of the file, as written. The whole thing — 600 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Package Development Skill

Scaffold, test, document, and release production-quality Laravel/PHP packages — from initial directory structure through Packagist publishing. Follows Laravel ecosystem conventions and integrates with Orchestra Testbench for package testing.

Command Reference

Command Description
/package scaffold Generate complete package directory structure with all boilerplate files
/package test Set up Pest test suite with Orchestra Testbench integration
/package release Run release checklist: version bump, changelog, git tag, Packagist
/package readme Generate professional README with badges, installation, usage, and testing sections
/package upgrade Upgrade PHP/Laravel version constraints and dependencies

1. /package scaffold — Generate Package Structure

Step 1: Gather Package Information

Ask the user for:

  • Vendor name — always ask, default: cleaniquecoders
  • Package name — kebab-case, all lowercase (e.g. laravel-helper, profile)
  • Package type — Laravel package or pure PHP package
  • Package description (one-liner for composer.json)
  • PHP minimum version (default: ^8.4)
  • Laravel version constraint (default: ^12.0, Laravel packages only)
  • Namespace (default: derived from vendor/package, e.g. CleaniqueCoders\Profile)
  • Features to include (config, migrations, views, routes, commands — pick applicable ones)

If the user already provided context, extract what you can and only ask for what is missing.

Skeleton Templates

Use Spatie's skeleton templates to scaffold the package:

After cloning, run the skeleton's configure script to replace placeholders with the actual vendor name, package name, namespace, and author details.

Read the full file on GitHub · 600 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 5d ago First seen · 600 lines · 296 tokens per session scan A 7ea3bd319935

Subscribe to this mod's changes

package-dev is a skill published in the GitHub repository nasrulhazim/claude (22 stars, last pushed 2d ago), licensed MIT. It adds 296 tokens to every session and 4,484 once invoked, about $0.0015 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

laravel-actions

Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions. Use when implementing reusable action classes (object/controller/job/listener/command), converting service classes/controllers/jobs into actions, orchestrating workflows via faked actions, or debugging action entrypoints and wiring.

coollabsio/coolify · 62 tokens

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…

Jeffallan/claude-skills · 86 tokens

laravel-best-practices

Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization…

laravel/boost · 114 tokens

integration-fixture

Create or validate a .test integration fixture under tests/php/Integration/Fixtures.

phel-lang/phel-lang · 16 tokens

create-module

Scaffold a new Marko module — a self-contained Composer package with composer.json, namespaced src/, and Pest tests. Use this skill whenever the user asks to create, add, or scaffold a new Marko module or package. Concrete triggers: 'create a module named payment', 'scaffold an acme/blog package', 'add a new module…

marko-php/marko · 120 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens