Skip to content

Commit 7aa57d1

Browse files
authored
Add AGENTS.md (#215)
1 parent d524f81 commit 7aa57d1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

AGENTS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Project Instructions
2+
3+
This codebase is a fork of https://github.com/ChromeDevTools/devtools-frontend.
4+
5+
## Editing Policy
6+
7+
- Make minimal edits. No speculative refactors.
8+
- Changes should generally be scoped to the `front_end/` directory. Focus code searches here.
9+
10+
## Workflow
11+
12+
- Update `BUILD.gn` files when adding new modules and imports.
13+
- New files should prepend "Copyright (c) Meta Platforms, Inc. and affiliates." as the first line of the license header, above the Chromium Authors license. Keep in sync with `META_CODE_PATHS` in `scripts/eslint_rules/lib/check-license-header.js`.
14+
15+
## Architecture
16+
17+
- For UI code, prefer modern `html` template code and locate styles in one adjacent CSS file. Example: `front_end/ui/components/cards/Cards.ts`.

0 commit comments

Comments
 (0)