.agent/skills/webstatus-search-grammar/SKILL.md
Use when modifying the ANTLR search grammar, adding new search terms, or working with the query parser and builder.
npx skillsauth add googlechrome/webstatus.dev webstatus-search-grammarInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides instructions for modifying the feature search syntax in webstatus.dev, which is built on ANTLR v4.
For a technical breakdown of the ANTLR grammar, search node transformation, and the FeaturesSearchVisitor implementation, see references/architecture.md.
antlr/FeatureSearch.g4.lib/gen/featuresearch/parser/ directly.is:discouraged)antlr/FeatureSearch.g4):
search_criteria rule in the grammar file (e.g., add | discouraged_term).discouraged_term: 'is' ':' 'discouraged';.make antlr-gen. This will update the files in lib/gen/featuresearch/parser/.lib/gcpspanner/searchtypes/):
SearchIdentifier for your term in searchtypes.go (e.g., IdentifierIsDiscouraged).VisitDiscouraged_termContext method. This visitor is the source-of-truth for how grammar terms are translated into Spanner SQL.lib/gcpspanner/feature_search_query.go):
FeatureSearchFilterBuilder.traverseAndGenerateFilters, add a case for your new SearchIdentifier.WHERE clause for the filter.lib/gcpspanner/searchtypes/features_search_parse_test.go.lib/gcpspanner/feature_search_query_test.go.lib/gcpspanner/feature_search_test.go.frontend/src/static/js/utils/constants.ts to make it discoverable to users.When you add a new search grammar term or modify parsing:
GEMINI.md to ensure I am aware of the changes.docs/ARCHITECTURE.md is updated if there are broader system impacts.development
Use when working with the webstatus notification pipeline, event producer, push delivery, or push workers (e.g., Email, Webhooks), and Pub/Sub subscribers.
development
How to commit code and create a Pull Request
tools
Use when upgrading toolchain versions (Go, Node.js, Terraform, Playwright) or updating the DevContainer and Github CI configurations.
development
Use when working on Go data ingestion workflows, scheduled Cloud Run jobs, or adding new scrapers for BCD, WPT, or other data sources.