---
name: project-features
description: Criteria and best practices for filing and triaging `new-feature` issues. Use this skill any time you file a new-feature issue, triage one, fix its web-feature ID, or decide whether a browser launch needs guidance at all.
---

# Filing and triaging new-feature issues

A `new-feature` issue says "this web platform feature needs guidance." It comes before use cases (see the `project-use-cases` skill), and automation depends on it:

* **ATL routing:** `src/ci/atl-triage.ts` assigns an ATL based on the issue's labels and its web-feature ID.
* **Use case tracking:** `src/ci/sync-use-cases.ts` (called "the sync" below, run by the guide-sync workflow) matches use-case issues to the feature issue by ID. It also writes the use case checklist into the issue body, sets the project status, and closes the issue when every linked use case has complete guidance and expectations.
* **Priority:** the feature issue's priority label and milestone are copied to its use-case issues.
* **Coverage:** guidance coverage is measured by whether a feature's web-feature ID appears in a published guide.

Most triage problems come from one of five mistakes: using the template for a general request, filing a launch that isn't developer-facing, filing an incremental change as a new feature, filing a duplicate, or giving the issue the wrong ID. This skill covers each one.

Always confirm with the user before you post a comment, edit an issue body, change labels, set a status, or close an issue.

## Step 1: Decide whether it qualifies

Work through these questions in order. Stop at the first one that settles it.

### Is it about a specific web platform feature?

The new-feature template is for one web platform feature that has shipped, or is about to ship, in a browser. People sometimes use it as a general request for guidance instead. Relabel these rather than closing them:

* **A request for guidance on a topic or problem,** such as "PWA guidance" or submitting a chat message with Enter without breaking IME input: remove `new-feature` and add `content`, and the ATL decides whether it becomes a use case. Only use `new-use-case` when the issue is formatted with the [new-use-case template](../../../.github/ISSUE_TEMPLATE/new-use-case.yml) fields (`### Category`, `### Use case slug`, `### web-feature-id`) and title (`Create guide for the <slug> use case`); otherwise the sync treats an unlinked `new-use-case` issue as an orphan and closes it as not planned.
* **A problem with existing guidance,** such as an incorrect code example: remove `new-feature`, set the issue type to `Bug` (which is what the bug report template sets), and add `content` or the guide's category label so `src/ci/atl-triage.ts` routes it to the ATL.

### Is it developer-facing?

Always read the linked explainer, specification, or browser feature-tracker entry first rather than judging from the issue title alone. Guidance only helps if a general web developer has to write or change code. Close the issue as **not planned** and remove the `new-feature` label when the launch is any of the following:

* **Described by the browser as having no developer-visible change.**
* **A bug fix or spec-alignment fix** that doesn't add an API or change a pattern we recommend. For example, correcting the `dropEffect` values in drag events.
* **Automatic browser behavior,** such as rendering, font shaping, UA stylesheet or initial-value changes, or a new storage backend. Examples: avar2 font rendering and a new IndexedDB storage backend.
* **An existing API arriving on another platform** of the same browser, such as the Web Serial API on Android.
* **Internal security hardening or niche environment-only behavior** (such as VDI-only or enterprise-policy-only changes) with nothing for general web developers to change.
* **A removal of an API.** Browsers only remove an API once its usage is low enough that removing it won't cause significant breakage.
* **An experiment or trial that ended** without shipping.

Close with a one-line reason, for example: "Spec-alignment fix to event timing; no new API or pattern to recommend."

Deprecations are different from removals: guides may need to start discouraging the deprecated API. Don't close them. Remove `new-feature` and handle them like an incremental change (Step 4), so the ATL can decide whether guides need to change.

### Is it a new feature or an incremental change?

The test: **does the launch have, or deserve, its own web-features entry?**

* **New feature:** web-features has an entry for it, or should have one. Examples: `margin-trim`, `url-integrity`, `polygon()` rounding. Keep the `new-feature` label.
* **Incremental change:** a later launch that extends a feature that already has an entry, and wouldn't get its own. Examples: `appearance: base-select` in listbox mode (a change to `customizable-select`) and prerendering cross-origin iframes (a change to `speculation-rules`). These don't get the `new-feature` label. Handle them as described in Step 4.

Web-features sometimes folds a launch into an older feature when it deserves its own entry, for example `polygon()` rounding in `shapes`. In that case, request an entry upstream (see Step 2) and treat it as a new feature.

### Is it already tracked?

Search before you file. Duplicates are common: automation files the same launch twice, or files one that someone already filed by hand. Search open **and** closed issues, with and without the `new-feature` label, for:

* the web-feature ID and any `tmp-` ID for it
* the feature's name and its main API or property name
* the URL of any browser feature-tracker entry linked from the issue

Also check whether a guide already lists the ID: `git grep -n "<id>" -- 'guides/**/guide.md'` (checking both `<id>` and `tmp-<id>`), plus open PRs. Before concluding that a match means the launch is already covered or only an incremental change, verify in Step 2 that the issue isn't borrowing a related shipped feature's ID—for example, filing the `AccentColor` and `AccentColorText` system color keywords under the shipped `accent-color` CSS property ID instead of the upcoming `accentcolor` ID. Reusing a shipped feature's ID causes the sync to attach existing guides for that older feature to the new issue and close it prematurely.

## Step 2: Choose exactly one web-feature ID

Each new-feature issue carries **exactly one** ID, and the ID must match what guides will list in their `web-feature-ids` (without the `tmp-` prefix; the sync and triage scripts strip `tmp-` automatically when matching guides to issues). Coverage is counted by that match, so keep IDs correct even on closed issues.

* **Find it** on [webstatus.dev](https://webstatus.dev/) or in the `web-features` package.
* **Don't trust IDs copied from browser feature trackers.** They are often wrong: `accent-color` for the `AccentColor` and `AccentColorText` system color keywords (`accentcolor`), `usermedia` for a `getDisplayMedia()` option, `shape-function` for `polygon()` rounding, or `html` for processing instructions. If a browser feature tracker like ChromeStatus has the wrong or conflated ID, nudge the issue author to update the tracker field too.
* **Verify with the feature's BCD keys, not its one-line description.** An entry covers what its `compat_features` list covers. Never reuse an existing shipped feature's ID just because its BCD keys sit nearby or share a spec—if guides already list that shipped ID, the sync will link those guides to the new issue and may close it as already covered. Only use an existing entry's ID when the launch genuinely belongs to that entry's scope.
* **If web-features has no entry yet,** check `features/draft/` and open issues and PRs in the [web-features repo](https://github.com/web-platform-dx/web-features) for an upcoming ID (for example, `accentcolor` for the `AccentColor` and `AccentColorText` system colors). If no request exists upstream, open one. On the GitHub `new-feature` issue, put the unprefixed candidate ID (`<candidate-id>`) on the first line under `### web-feature-id`, and put the upstream `web-features` issue link on a separate line below it or in `### Feature description`. When a guide or stub references that pending feature, use `tmp-<candidate-id>` in `guide.md` and register it in [features/pending-web-features.json](../../../features/pending-web-features.json) with its upstream `issue` URL, its BCD key(s) in `compat_features`, and its web-features `group` (then run `node src/ci/generate-feature-to-groups.ts`). CI flags the `tmp-` ID once the real one is published.
* **One launch, several features:** file one issue per ID. Cross-reference the issues in a comment, and don't nest them as sub-issues, because they are siblings. For example, one issue for the `url()` modifiers `cross-origin()`, `referrer-policy()`, and `integrity()` becomes three issues.

### Parser pitfalls

`extractFeatureIds` in [src/core/feature-parser.ts](../../../src/core/feature-parser.ts) is strict, and a malformed ID fails silently, so no automation ever sees the issue:

* **Only the first line under `### web-feature-id` is read.** A second ID on the next line is dropped.
* **Multiple IDs either conflate features or fail to parse.** `extractFeatureIds` splits comma-separated IDs under `### web-feature-id` (for `new-use-case` issues), so `url-cross-origin, url-integrity` on a `new-feature` issue maps both features to the same issue. Non-comma separators (such as spaces or `and`) aren't split and become a single ID that matches nothing.
* **A bare URL or Markdown link isn't an ID.** The issue template invites contributors to paste a `web-features` issue link when no ID exists yet, but `extractFeatureIds` turns a bare URL into its last path segment (such as `4108`) and reads a Markdown link (`[id](https://...)`) as the literal `[id](https://...)` string. During triage, replace it on line 1 with the unprefixed candidate ID and move the `web-features` link to the next line or `### Feature description`.
* **Placeholders become IDs.** `N/A`, `TBD`, `Missing`, and `Pending` all parse as IDs that match nothing.
* **Any `webstatus.dev/features/<id>` link anywhere in the body is read as an ID.** Don't link related features' webstatus.dev pages in the description.
* **Any `Feature ID:` line anywhere in the body is read too,** not just the first one.

## Step 3: File or fix the issue

Use the [new-feature template](https://github.com/GoogleChrome/modern-web-guidance-src/issues/new?template=new-feature.yml). When you triage an existing issue, including one filed by automation, correct the same fields:

* **Title:** the feature's name, for example "integrity() for url()". Use the ID only when it is also the name.
* **web-feature-id:** the single ID from Step 2.
* **Feature description:** the web-features description, or a short summary of the browser's announcement. Link the spec or feature-tracker entry.
* **Expected release date:** the browser and version, for example "Firefox 150". Label any version where the feature is only behind a flag or in a trial, and include the stable version too if it's known, for example "Firefox 148 (behind a flag), Firefox 150 (stable)". An unlabeled version is read as the stable release.
* **Coding agent assessment:** optional. Poor output from a coding agent is a useful hint that guidance would help. Good output isn't a reason to skip the feature, though: only evals show that reliably, and evals come after deciding to write guidance.
* **Labels:** `new-feature`. `src/ci/atl-triage.ts` routes the issue from its `web-feature-id` (or its `group` in `features/pending-web-features.json`) using [.github/atls.json](../../../.github/atls.json). If the feature's ID and group aren't mapped there, `atl-triage.ts` adds `needs-atl`; add a category label such as `css`, `forms`, `performance`, or `security` to route it (which also removes `needs-atl`). Don't add a broad category label like `css` when the feature's group already routes to a more specific ATL (such as `scrolling`, `animation`, or `view-transitions`), because `atl-triage.ts` unions label ATLs and feature-ID ATLs and will assign both. Adding labels needs triage access to the repo; without it, suggest the label in a comment.

Don't say where the guidance should go. The ATL decides that when they triage the issue.

## Step 4: Handle what doesn't qualify

| Situation | Action |
| --- | --- |
| Not developer-facing | Remove `new-feature` and close as not planned with a one-line reason. |
| Duplicate | Read the comments on every copy first, since an owner may have already chosen one to keep. Otherwise keep the older issue. Remove `new-feature` from the other copy and close it as a duplicate. |
| Incremental change, and a guide covers the feature | Remove `new-feature`. If the guide's use-case issue ("Create guide for the X use case") is still open, nest the issue as a sub-issue of that use-case issue and comment on it describing the change. If the guide is already published (its creation issue is closed), keep the issue open with `content` and the guide's category label, and scope it as an update to that guide. |
| Incremental change, no guide covers the feature, and the feature has a new-feature issue | Remove `new-feature` and nest the issue as a sub-issue of the feature's new-feature issue, so whoever plans its use cases sees the change. |
| Incremental change, no guide covers the feature, and the feature has no issue or was closed as not planned | Remove `new-feature` and leave the decision to the ATL. They may file the feature or close the change with a note. |

**Always remove the `new-feature` label when closing a duplicate or a non-qualifying issue.** The sync reads closed `new-feature` issues too: if no open issue shares that ID, it still links use cases to the closed issue and rewrites its checklist.

Don't close a qualifying feature issue by hand. The sync closes it once all of its linked use cases have complete guidance and expectations, and once closed, the sync never auto-reopens it. Don't edit the use case checklist between the `use-cases-start` and `use-cases-end` markers either, because the sync rewrites it.

## After triage: the feature through the pipeline

The later stages have their own skills. This is how a feature's issue and ID move through them:

1. **Use cases.** The ATL identifies use cases and either files a [new-use-case issue](../../../.github/ISSUE_TEMPLATE/new-use-case.yml) (`Create guide for the <slug> use case`), adds a stub guide for each one, or folds the feature into an existing use-case or discipline guide by adding the feature's ID (with the `tmp-` prefix if pending) to `web-feature-ids` (see the `project-use-cases` skill). Until every linked use case has non-draft guidance and `expectations.md`, the sync keeps the feature issue open at **Needs use cases**. If you fold a new feature into an already-completed guide, add the ID in the same PR that updates the guide's content and `expectations.md` so the sync doesn't immediately close the feature issue as already completed.
2. **Use-case issues.** Each use case is tracked by a "Create guide for the X use case" issue (either filed from the `new-use-case` template before a directory exists on disk, or opened by the sync once the guide directory lands) and added to the checklist of every feature issue whose ID it lists. Each use-case issue stays at **Needs guidance** while its `guide.md` is a stub/draft or lacks `expectations.md`, and closes once non-draft guidance and `expectations.md` land on `main` (see the `project-guides` skill).
3. **Coverage and evaluations.** A feature counts as covered once a published guide, one with non-draft content, lists its ID. After guidance and `expectations.md` land, Stage 3 evaluation progress (`targets/<base_app>/`) is tracked from disk in the pipeline dashboard issue (`#1815` via `src/ci/sync-pipeline-issue.ts`).
4. **Closing.** The sync closes the feature issue once all of its linked use cases have complete guidance and `expectations.md` (and never auto-reopens a closed feature or use-case creation issue). Later incremental changes or deprecations affecting a finished guide are tracked as standalone `content` issues rather than by reopening creation issues.
5. **`tmp-` IDs.** When `web-features` publishes the feature—detected either because the real ID matches the `tmp-` ID without its prefix or because a BCD key in `compat_features` in `features/pending-web-features.json` now appears in `web-features`—the `web-features` update workflow fails and lists every file that still uses the `tmp-` ID. Replace `tmp-<id>` with the real ID in every guide and in `.github/atls.json`, remove its entry from `features/pending-web-features.json`, and update the feature issue's `web-feature-id` if upstream chose a different ID than the candidate ID on the issue.
