什么是 phpstan-fixer?
通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。 来源:marcelorodrigo/agent-skills。
通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。
通过命令行快速安装 phpstan-fixer AI 技能到你的开发环境
来源:marcelorodrigo/agent-skills。
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通过添加类型注释和 PHPDocs 修复 PHPStan 静态分析错误。 当遇到 PHPStan 错误、类型不匹配、缺少类型提示时使用 或静态分析失败。未经用户批准,绝不忽略错误。 来源:marcelorodrigo/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/marcelorodrigo/agent-skills --skill phpstan-fixer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/marcelorodrigo/agent-skills