stolt/php-package-ai-skill
最新稳定版本:v0.1.0
Composer 安装命令:
composer require --dev stolt/php-package-ai-skill
包简介
AI skills to generate a PHP package.
README 文档
README
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
- Claude (Custom Instructions / Agents)
- ChatGPT (System Prompts / Projects)
- GitHub Copilot Chat
- AI agent frameworks that support skills or system instructions
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
With Claude
- Open Claude → Custom Instructions / Agent Settings
- Paste the contents of
.ai/skills/claude-php-package-architect.md - Start prompting using the templates in
.ai/skills/php-composer-package-architect.md
With PHP
composer require --dev stolt/php-package-ai-skill composer require --dev netresearch/composer-agent-skill-plugin
Example prompt
You are a PHP package architect.
Create a CLI package called stolt/env-sync-lint that:
-
Compares
.envfiles -
Preserves comments and blank lines
-
Has a
diff,validate, andcleancommand -
Includes full PHPUnit test coverage
License
These skills are licensed under the MIT license. Please see LICENSE.md for more details.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-06