API Filter
Current (4.4+) API Platform QueryParameter filter reference that correctly steers away from soon-removed classes
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Jul 18, 2026 · efcaa5f
Checked its two central claims against the live api-platform/core source on GitHub, not just the skill's word: SearchFilter.php line 136 and OrderFilter.php line 202 both carry the exact `@deprecated since 4.4 ... Removed in 6.0` notices the skill describes -- baseline (memory-based) code used exactly those two soon-to-be-removed classes, the skill's version didn't.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 10/10
- Docs & honesty 5/5
What API Filter does
Documents the canonical `QueryParameter` + single-purpose filter approach (ExactFilter, PartialSearchFilter, ComparisonFilter, SortFilter, DateFilter, RangeFilter, ExistsFilter, IriFilter, OrFilter, FreeTextQueryFilter) for API Platform 4.4+ collections, covering both Doctrine ORM/ODM and Laravel Eloquent. Triggers on any request to add search, sort, or filter to a collection, or to migrate legacy `#[ApiFilter]`/`SearchFilter` code.
How to install API Filter
git clone https://github.com/api-platform/skillset
cd skillset
mkdir -p ~/.claude/skills
cp -r skills/api-filter ~/.claude/skills/api-filter
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger API Filter
-
/api-filterCurrent (4.4+) API Platform QueryParameter filter reference that correctly steers away from soon-removed classes
It also activates on plain-language prompts like these:
-
Add a status filter and date range filter to my Order API resource -
Migrate my legacy SearchFilter code to the new QueryParameter API -
Sort my API Platform collection by price descending by default
Frequently asked questions
- Is the API Filter skill free?
- Yes. The skill itself is free from api-platform/skillset. SkillProof publishes the install command and an independent test verdict at no cost.
- Does API Filter work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Checked its two central claims against the live api-platform/core source on GitHub, not just the skill's word: SearchFilter.php line 136 and OrderFilter.php line 202 both carry the exact `@deprecated since 4.4 ... Removed in 6.0` notices the skill describes -- baseline (memory-based) code used exactly those two soon-to-be-removed classes, the skill's version didn't.
- What is the API Filter SkillProof Score?
- 10.0/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 10/10, docs & honesty 5/5.
- How do I install API Filter?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use API Filter with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.