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.0.9(1mo ago)11MITPHP ^8.2

Since Feb 6Pushed 1mo 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 1mo ago

READMEChangelogDependencies (2)Versions (8)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

37

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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 ~9 days

Total

7

Last Release

47d 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 (20 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.9k123.0M687](/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.4k111.1M568](/packages/symfony-maker-bundle)[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M876](/packages/phing-phing)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

50398.1M8.3k](/packages/phpstan-extension-installer)[shipmonk/composer-dependency-analyser

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

6156.7M435](/packages/shipmonk-composer-dependency-analyser)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k136](/packages/symfony-ai-platform)

PHPackages © 2026

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