PHPackages                             stolt/php-package-ai-skill - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stolt/php-package-ai-skill

ActiveAi-agent-skill[Utility &amp; Helpers](/categories/utility)

stolt/php-package-ai-skill
==========================

AI skills to generate a PHP package.

v0.1.0(2mo ago)11MITPHP ^8.2

Since Feb 6Pushed 2mo agoCompare

[ Source](https://github.com/raphaelstolt/php-package-ai-skill)[ Packagist](https://packagist.org/packages/stolt/php-package-ai-skill)[ RSS](/packages/stolt-php-package-ai-skill/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (9)Used By (0)

php-package-ai-skill
--------------------

[](#php-package-ai-skill)

The `php-package-ai-skill` is a **structured AI skill** that teaches coding agents how to design and generate professional PHP Composer packages using modern PHP standards, test-driven workflows, and clean architecture.

It provides:

- A machine-readable **skill manifest**
- A human-readable **architecture and ruleset**
- **Prompt templates** for scaffolding and evolving packages
- A ready-to-use **Claude agent skill**

Works with
----------

[](#works-with)

- Claude (Custom Instructions / Agents)
- ChatGPT (System Prompts / Projects)
- GitHub Copilot Chat
- AI agent frameworks that support skills or system instructions

Repository structure
--------------------

[](#repository-structure)

```
tree .ai/skills
.ai/skills/
├── skill.json # Machine-readable manifest
├── php-composer-package-architect.md # Human-readable skill spec + prompts
└── claude-php-package-architect.md # Claude system instruction skill
```

How to use it
-------------

[](#how-to-use-it)

### With Claude

[](#with-claude)

1. Open Claude → Custom Instructions / Agent Settings
2. Paste the contents of `.ai/skills/claude-php-package-architect.md`
3. Start prompting using the templates in `.ai/skills/php-composer-package-architect.md`

### With PHP

[](#with-php)

```
composer require --dev stolt/php-package-ai-skill
composer require --dev netresearch/composer-agent-skill-plugin
```

Example prompt
--------------

[](#example-prompt)

You are a PHP package architect.

Create a CLI package called `stolt/env-sync-lint` that:

- Compares `.env` files
- Preserves comments and blank lines
- Has a `diff`, `validate`, and `clean` command
- Includes full PHPUnit test coverage

License
-------

[](#license)

These skills are licensed under the MIT license. Please see [LICENSE.md](LICENSE.md) for more details.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance85

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~17 days

Total

8

Last Release

78d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/132faf5713fa951f4263fad02858a62e55c5d832ad775b33e49ba0cda2f2a028?d=identicon)[Raphael Stolt](/maintainers/Raphael%20Stolt)

---

Top Contributors

[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (21 commits)")

---

Tags

aiai-agent-skillsai-skillphpphp-packagephp-package-templatedevaiskillphp package architect skill

### Embed Badge

![Health badge](/badges/stolt-php-package-ai-skill/health.svg)

```
[![Health](https://phpackages.com/badges/stolt-php-package-ai-skill/health.svg)](https://phpackages.com/packages/stolt-php-package-ai-skill)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k132.8M891](/packages/barryvdh-laravel-ide-helper)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k118.7M719](/packages/symfony-maker-bundle)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M118](/packages/deptrac-deptrac)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

506109.3M11.4k](/packages/phpstan-extension-installer)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6198.4M667](/packages/shipmonk-composer-dependency-analyser)[llm/skills

AI skills discovery and management system for LLM agents

2812.3k6](/packages/llm-skills)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
