WP

webman-php/skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 质量 64 趋势 18MIT

Webman 人工智能技能

概览

基于源代码的指导,用于开发、审查、调试、测试和部署 Webman 应用程序。它帮助编码代理使用 Webman 的控制器、路由、验证、数据、进程、协程、插件和生产实践,而无需将长期运行的 Workerman 进程视为普通 PHP-FPM 应用。 选择以下方法之一。从Webman项目根节点运行带有项目范围的命令,这些命令应使用该技能。 给Codex、Claude Code或其他技能感知编码代理提供以下提示: 代理应使用其原生的Skill安装程序或以下明示方法之一。 这个选项需要PHP和Composer,但不需要Node.js、PowerShell或webman/console: 使用 --agents=codex 或 --agents=claude-code 只为一个代理安装。添加 --global 以安装到当前用户的技能目录中,而不是当前项目。

概述(AI 翻译)

简体中文

基于源代码的指导,用于开发、审查、调试、测试和部署 Webman 应用程序。它帮助编码代理使用 Webman 的控制器、路由、验证、数据、进程、协程、插件和生产实践,而无需将长期运行的 Workerman 进程视为普通 PHP-FPM 应用。

安装

选择以下方法中的一种。从Webman项目根节点运行带有项目范围的命令,这些命令应使用该技能。

1.建议咨询你的编码代理

给Codex、Claude Code或其他技能感知编码代理提供以下提示:

代理应使用其原生的Skill安装程序或以下明示方法之一。

2.作曲家

该选项需要PHP和Composer,但不需要Node.js、PowerShell或webman/console:

使用 --agents=codex 或 --agents=claude-code 只安装一个代理。添加 --global 安装到当前用户的技能目录中,而非当前项目。安装程序拒绝覆盖未管理的同名目录;请先检查该目录,或使用 --force 作为备份再安装。

3.NPX

如果有Node.js:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Webman Development Skill

简体中文

Source-grounded guidance for developing, reviewing, debugging, testing, and deploying Webman applications. It helps coding agents use Webman’s controller, routing, validation, data, process, coroutine, plugin, and production practices without treating a long-lived Workerman process like an ordinary PHP-FPM application.

Install

Choose one of the following methods. Run project-scoped commands from the root of the Webman project that should use the Skill.

Give Codex, Claude Code, or another Skill-aware coding agent this prompt:

Install the webman-development Skill from https://github.com/webman-php/skills
for this project. Keep the complete skill directory, use your native Skill installer
when available, and verify that the installed SKILL.md is discoverable.

The agent should use its native Skill installer or one of the explicit methods below.

2. Composer

This option needs PHP and Composer, but does not need Node.js, PowerShell, or webman/console:

composer require --dev webman/skills
php vendor/bin/webman-skills install --agents=codex,claude-code

Use --agents=codex or --agents=claude-code to install for only one agent. Add --global to install in the current user’s Skill directories instead of the current project. The installer refuses to overwrite an unmanaged same-name directory; inspect it first, or use --force to preserve it as a backup before installing.

3. npx

If Node.js is available:

npx skills add webman-php/skills --skill webman-development -a codex -a claude-code

Keep only the required -a option to target one agent. Add --copy when independent copied files are preferable to linked entries.

4. Manual installation

Clone or download the repository:

git clone --depth 1 https://github.com/webman-php/skills.git webman-skills

Copy the complete webman-skills/skills/webman-development/ directory to one of these locations:

Scope Codex Claude Code
Project .agents/skills/webman-development/ .claude/skills/webman-development/
Current user ~/.agents/skills/webman-development/ ~/.claude/skills/webman-development/

Do not copy only SKILL.md: the on-demand references/ are part of the Skill.

Update

Use the update path that matches the chosen installation method:

# Composer
composer update webman/skills
php vendor/bin/webman-skills update --agents=codex,claude-code

# npx
npx skills update webman-development

# Git clone/manual copy
git -C webman-skills pull --ff-only

After a manual source update, replace only the verified webman-development copy; never delete an entire .agents or .claude directory.

Use

The skill can activate automatically for a matching Webman task. To call it explicitly:

# Codex
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add webman-php/skills
新手?先看 mcpskill.org 教程 →