en un clic
wpt-gen-finalization
// Guidelines for finalizing changes, running presubmit checks, and preparing for submission in WPT-Gen.
// Guidelines for finalizing changes, running presubmit checks, and preparing for submission in WPT-Gen.
Instructions to manually test the generate workflow of WPT-Gen to verify system integrity.
Generate Web Platform Tests (WPT) from minimal XML test suggestions. The agent will autonomously determine the test type and implementation details by analyzing existing repository paradigms. Use when the user asks to generate a Web Platform Test based on a test suggestion.
Best practices for CLI infrastructure, outputs, subprocess management, and templating in WPT-Gen.
Best practices for configuring LLM integrations, concurrent networking, context scraping, and managing prompts in WPT-Gen.
Instructions on managing dependencies, build tools, project architecture rules, and integrating workflows via the Makefile in WPT-Gen.
Guidelines for Python testing using pytest, including coverage constraints, mock migrations, type safety (mypy), and style linting (ruff) in WPT-Gen.
| name | wpt-gen-finalization |
| description | Guidelines for finalizing changes, running presubmit checks, and preparing for submission in WPT-Gen. |
This document describes the mandatory steps to take after completing a code change but before marking a task as complete or preparing a pull request.
The make presubmit command is the single source of truth for code quality in this repository. It executes a pipeline of linting, type-checking, and testing.
make presubmit in the project root.make lint-fix. For remaining errors, manually adjust the code to comply with Ruff's rules.Any.make presubmit until it passes with zero errors.If you encounter persistent, inexplicable errors (especially with Mypy or Pytest), stale cache files may be the cause.
make clean followed by make presubmit. This removes .pytest_cache, .mypy_cache, and .ruff_cache.When the code is verified, prepare a high-quality commit message. Refer to commit.md for the project's preferred style.
type: short description (e.g., feat: add support for O1 models).make presubmit was run and passed.Before considering the task complete, ensure that:
GEMINI.md or relevant Skill files are updated if the change introduced new patterns or requirements.