RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/mozilla-mobile/firefox-ios

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

73/100

Scores the file, not the repository.

Length

258 words

9 headings · 2 code blocks

Repository

13k

— · pushed 0 days ago

Last changed

2 days ago

First indexed 2 days ago.
mozilla-mobile/firefox-ios/AGENTS.mdRawGitHub
1## Global instructions
2 
3- When refactoring existing code, check relevant files for existing tests and update them if necessary.
4- When adding new code, prefer to write easily mockable and testable code, and include tests where applicable.
5- Limit the amount of comments you put in the code to a strict minimum. You should almost never add comments, except sometimes on non-trivial code, function definitions if the arguments aren't self-explanatory, and class definitions and their members.
6- Do not remove existing comments unless they are directly related to what you are changing.
7 
8## Repository Structure
9 
10This is a monorepo containing three main projects:
11 
12- `firefox-ios/` - Firefox for iOS (main app, scheme: `Fennec`)
13- `focus-ios/` - Firefox Focus for iOS (scheme: `Focus`)
14- `BrowserKit/` - Shared Swift Package mostly used in Firefox
15 
16## Common Commands
17 
18### Build & Test
19 
20```bash
21# Build for testing (Firefox)
22fxios test
23```
24 
25### JavaScript User Scripts
26 
27Needed to be ran whenever we make JavaScript changes.
28 
29```bash
30npm run build # production build
31npm run dev # watch mode with source maps
32```
33 
34### Linting
35 
36SwiftLint runs automatically via Xcode build phases on the Client target. Install via `brew install swiftlint`. Configuration is in `.swiftlint.yml`.
37SwiftLint also runs whenever code is pushed to the remote, using hooks.
38 
39### Pull requests
40 
41Pull requests needs to be opened with the provided `PULL_REQUEST_TEMPLATE`. Update relevant section.
42GitHub ticket number can be found at the bottom of the JIRA ticket.
43 
44## Runbooks
45 
46- **Xcode version upgrade.** When bumping the Xcode version used by CI/local builds, follow [docs/xcode-upgrade.md](docs/xcode-upgrade.md).

Commands it names

  • npm run build
  • npm run dev

Sections

  • Global instructions
  • Repository Structure
  • Common Commands
  • Build & Test
  • Build for testing (Firefox)
  • JavaScript User Scripts
  • Linting
  • Pull requests
  • Runbooks

What it covers

buildtestcode-stylearchitecturegit-pragent-behaviour

Stack — with the evidence

swift

(1.00)

pytest

(0.70)

javascript

(0.60)

ruby

(0.60)

github-actions

(0.60)

python

(0.50)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
mozilla-mobile
Language
—
License
—
Archived
no

All configs in this repo

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
wpscanteam/wpscanAGENTS.md · 9.7kAGENTS.mdrubyvue+3setupbuildteststyle+6100/1002 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack