# Chromestatus CI Verification

> Chromestatus CI Verification is an Agent Skill for testing & quality published in the GoogleChrome/chromium-dashboard repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Guidance for local verification of changes to ensure they pass CI checks (linting, type checking, testing, and building).

- Skill name: `chromestatus-ci-verification`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/GoogleChrome/chromium-dashboard/blob/HEAD/.agents/skills/chromestatus-ci-verification/SKILL.md
- Repository: GoogleChrome/chromium-dashboard (734 GitHub stars when collected)

## SKILL.md

# CI Verification Skill

This skill provides the necessary commands and context to verify your changes locally, matching the checks performed by the GitHub Actions CI pipeline in [.github/workflows/ci.yml](file:///usr/local/google/home/suzyliu/Documents/chromium-dashboard/.github/workflows/ci.yml).

## Verification Pipeline

Before submitting a pull request, ensure all the following checks pass.

### 1. Setup Environment
Ensure your local environment is correctly set up.
```bash
make setup
```

### 2. Linting
Runs Prettier, ESLint, and Lit-analyzer to check code style and common issues.
```bash
make lint
```

### 3. Type Checking (Python)
Runs `mypy` for static type analysis of Python code.
```bash
make mypy
```

### 4. Backend Tests (Python)
Runs Python unit tests using the Datastore emulator.
```bash
npm test
```

### 5. Frontend Tests (Lit/Playwright)
Runs web component tests using Playwright.
```bash
make webtest
```

### 6. Build Assets
Verifies that all assets (JS, CSS, etc.) build correctly.
```bash
make build
```

## Summary Command
To run the most critical local checks (test, webtest, lint, mypy) in one go:
```bash
make presubmit
```

## Reference
- **Build Targets**: @Makefile
- **Task Scripts**: Defined in @package.json.

---

Source: https://www.openparable.com/skill/testing-quality/chromestatus-ci-verification (OpenParable). Cite the canonical URL above.
