# PHPStan AI Agent Skills

PHPStan publishes official AI agent skills for its tools, services, and developer workflows.

Browse 3 official AI agent skills across 2 PHPStan repositories, with install commands and source links.

Official page: https://skillscout.sh/official/phpstan/
Markdown page: https://skillscout.sh/official/phpstan/phpstan_skills_skillscout.md
Vendor website: https://phpstan.org/

## Prompt for your agent

Fetch this Markdown manifest as plain text: https://skillscout.sh/official/phpstan/phpstan_skills_skillscout.md. If your browser cannot display the Markdown directly, use curl or another text fetcher. Recommend the relevant PHPStan skills package or packages for my goal, explain which individual skills matter, and wait for my approval. After I approve, install with the npx command. If no project is open, install it as an agent skill I can use later.

## Skills packages

### phpstan/phpstan

Includes 2 official skills: analyse-with-phpstan, run-on-3v4l.

Install:

```bash
npx skills add phpstan/phpstan -y
```

Source: https://github.com/phpstan/phpstan

### phpstan/phpstan-src

Includes 1 official skill: regression-test.

Install:

```bash
npx skills add phpstan/phpstan-src -y
```

Source: https://github.com/phpstan/phpstan-src

## Individual skills

### analyse-with-phpstan

Official PHPStan skill from phpstan/phpstan.

Install:

```bash
npx skills add phpstan/phpstan@analyse-with-phpstan -y
```

Package: phpstan/phpstan
Source: https://github.com/phpstan/phpstan/tree/2.2.x/.claude/skills/analyse-with-phpstan

### run-on-3v4l

Official PHPStan skill from phpstan/phpstan.

Install:

```bash
npx skills add phpstan/phpstan@run-on-3v4l -y
```

Package: phpstan/phpstan
Source: https://github.com/phpstan/phpstan/tree/2.2.x/.claude/skills/run-on-3v4l

### regression-test

Official PHPStan skill from phpstan/phpstan-src.

Install:

```bash
npx skills add phpstan/phpstan-src@regression-test -y
```

Package: phpstan/phpstan-src
Source: https://github.com/phpstan/phpstan-src/tree/2.2.x/.claude/skills/regression-test

## phpstan/phpstan package overview

Includes 2 official skills: analyse-with-phpstan, run-on-3v4l.

### Top skills in this package

- analyse-with-phpstan: Official PHPStan skill from phpstan/phpstan.
- run-on-3v4l: Official PHPStan skill from phpstan/phpstan.

### Install

Install the full package:

```bash
npx skills add phpstan/phpstan -y
```

Install a specific skill:

```bash
npx skills add phpstan/phpstan@analyse-with-phpstan -y
```

Use the package when you want your agent to choose the relevant skill from this official repository.

Source: https://github.com/phpstan/phpstan#readme
