
modifying-taxonomic-filter
Guides safe, evidence-led changes to the TaxonomicFilter, PostHog's picker for events, actions, properties, cohorts, and more. Use when adding features, fixing bugs, removing groups or tabs, changing search, ordering, recents, pinning, empty states, loading or performance, or refactoring the classic picker, rebuild menu, or headless filter panel. Indexes how users actually pick, known failure modes, the feature inventory, design principles, contested decisions, where to find evidence, and how to measure a change.
- Installs
- 179
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/posthog/posthog --skill modifying-taxonomic-filter- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads modifying-taxonomic-filter automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Modifying the TaxonomicFilter
The TaxonomicFilter is the picker users hit to choose any "thing PostHog knows about": events, properties, actions, cohorts, groups.
It is the on-ramp into almost every analytics, flags and replay configuration.
Code lives in frontend/src/lib/components/TaxonomicFilter/.
This file is an index. Read it fully, then load only the references your change needs. The references hold the detail and the evidence.
Four guardrails
- Decide with evidence, not taste. Everyone who has worked on this picker has strong opinions, and some of them are wrong. Check a claim against product-reality and evidence-sources before acting on it, including claims in issues, Slack, or this skill.
- Demoting what users actually pick is a regression, even with every test green. Ordering, promotion, position-0 and default-tab changes need explicit human sign-off.
- Two surfaces, two implementations. The rebuild reimplements the legacy data layer. Most behavior changes land in both, or the arms diverge. See surfaces-and-mirroring.
- Telemetry is a public contract.
Dashboards and replay scanners read these events.
Never rename or repurpose a property silently.
telemetryContract.test.tsfails when a capture call and the contract disagree, so update the contract in the same PR. See telemetry-contract.
The picture in five lines (refreshed 2026-10-15)
- Most engaged legacy opens end in a selection (~85%), and most never touch a category tab (~96%).
- The Suggested view carries about 70% of legacy selections. Just over half of those come from recents.
- Position matters: ~52% of legacy picks are row 0, ~85% are in the top three.
- The biggest failure is a category picked first, then a search that finds nothing. Most empty searches are the right word in the wrong tab.
- Customers report broken UI and missing items far more than slowness.
Detail, windows and caveats: product-reality.
These numbers are a snapshot.
For current values, run the taxonomic_filter_* metrics in the PostHog data catalog (see refreshing-product-reality).
Route by what you are changing
| You are changing | Read first |
|---|---|
| Ordering, promotion, Suggested, default tab | product-reality, design-principles, contested-decisions |
| Adding, removing or hiding a group or tab | feature-inventory, surfaces-and-mirroring, call-sites |
| Search, empty states, no-results recovery | failure-modes, design-principles |
| Recents, pinning, remembered state | contested-decisions, design-principles |
| Loading, latency, pagination, errors | performance, failure-modes |
| Telemetry or dashboards | telemetry-contract, measuring-changes |
| Any refactor | architecture, common-pitfalls, testing-patterns |
| A bug report you can't reproduce | surfaces-and-mirroring (confirm the surface first) |
| Deciding whether a change is worth it | evidence-sources, measuring-changes |
Working loop
- State the user problem. Which surface, which users, what goes wrong. Find it in the evidence, not only in the request. See evidence-sources.
- Size it. Use ratios from telemetry. A change that helps 0.1% of opens and risks the Suggested view is not worth it.
- Check the principles and contested decisions that apply. If your change reverses a documented decision, say so and bring evidence.
- Make the change in both surfaces, or say explicitly why not.
- Lock behavior with React Testing Library tests at the call sites you touched. Agents find this component confusing; RTL tests are the fastest guard. See testing-patterns.
- Decide how you will know it worked before merging. Ship ordering or default changes behind a flag with a metric and a guardrail. See measuring-changes.
Pre-change checklist
- The user problem is linked to evidence (telemetry, replay, ticket)
- Change mirrored across legacy and rebuild, or the gap is stated
- Both surfaces tested if tabs or groups changed
- Shared telemetry payloads still match across both emitters
- Ordering, promotion, position-0 or default tab: human sign-off
- Search or loading: plan boundary verified, optional requests don't delay results
- A success metric and a guardrail metric are named
- If you changed the facts, update product-reality
hogli test frontend/src/lib/components/TaxonomicFilter/
Keep this skill honest: if the data contradicts it, fix the skill in the same PR. Refresh numbers with refreshing-product-reality when they are older than about three months.
FAQ
What does the modifying-taxonomic-filter skill do?
Guides safe, evidence-led changes to the TaxonomicFilter, PostHog's picker for events, actions, properties, cohorts, and more. Use when adding features, fixing bugs, removing groups or tabs, changing search, ordering, recents, pinning, empty states, loading or performance, or refactoring the classic picker, rebuild menu, or headless filter panel. Indexes how users actually pick, known failure modes, the feature inventory, design principles, contested decisions, where to find evidence, and how to measure a change.
How do I install modifying-taxonomic-filter?
Run npx skills add https://github.com/posthog/posthog --skill modifying-taxonomic-filter in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/modifying-taxonomic-filter/ (personal) or .claude/skills/modifying-taxonomic-filter/ (project).
Which AI agents can use modifying-taxonomic-filter?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is modifying-taxonomic-filter safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains modifying-taxonomic-filter?
It is published by posthog in posthog/posthog, and it is an official skill from the maker of the technology it covers. It has 179 recorded installs.
More from posthog/posthog
implementing-agent-modes
posthog/posthog
Guidelines to create/update a new mode for PostHog AI agent. Modes are a way to limit what tools, prompts, and prompt injections are applied and under what conditions. Achieve better results using your plan mode.
react-doctor
posthog/posthog
Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.
hogli
posthog/posthog
PostHog developer CLI and repo tooling reference. Use when the user mentions hogli, asks about repo CLI tools, bin scripts, Makefiles, how to run/build/test/lint, or any dev environment commands.
clickhouse-migrations
posthog/posthog
ClickHouse migration patterns and rules. Use when creating or modifying ClickHouse migrations.
survey-sdk-audit
posthog/posthog
Audit PostHog survey SDK features and version requirements, and implement survey changes across the backend, UI, and SDK repositories.
setup-web-tests
posthog/posthog
Set up Python test environment in Claude Code for web where flox is unavailable. Use when you need to run backend tests and uv sync fails due to Python version mismatch.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.