·phpstan-fixer
{}

phpstan-fixer

通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。

17安装·1热度·@marcelorodrigo

安装

$npx skills add https://github.com/marcelorodrigo/agent-skills --skill phpstan-fixer

如何安装 phpstan-fixer

通过命令行快速安装 phpstan-fixer AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/marcelorodrigo/agent-skills --skill phpstan-fixer
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:marcelorodrigo/agent-skills。

SKILL.md

查看原文

PHPStan Error Fixer Fix PHPStan static analysis errors through proper type annotations, PHPDocs, and code improvements. This skill teaches agents how to resolve errors without suppressing them, respecting the project's configured strictness level.

identical.alwaysTrue / identical.alwaysFalse — Condition is always true/false

Check phpstan.neon includes Larastan (ask user to add if missing):

通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。 来源:marcelorodrigo/agent-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/marcelorodrigo/agent-skills --skill phpstan-fixer
分类
{}数据分析
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from marcelorodrigo/agent-skills

快速解答

什么是 phpstan-fixer?

通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。 来源:marcelorodrigo/agent-skills。

如何安装 phpstan-fixer?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/marcelorodrigo/agent-skills --skill phpstan-fixer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/marcelorodrigo/agent-skills

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-25