Skip to content

Commit 90ed192

Browse files
authored
docs: Add AX design principles (#643)
1 parent 50eebc1 commit 90ed192

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ control and inspect a live Chrome browser. It acts as a Model-Context-Protocol
77
(MCP) server, giving your AI coding assistant access to the full power of
88
Chrome DevTools for reliable automation, in-depth debugging, and performance analysis.
99

10-
## [Tool reference](./docs/tool-reference.md) | [Changelog](./CHANGELOG.md) | [Contributing](./CONTRIBUTING.md) | [Troubleshooting](./docs/troubleshooting.md)
10+
## [Tool reference](./docs/tool-reference.md) | [Changelog](./CHANGELOG.md) | [Contributing](./CONTRIBUTING.md) | [Troubleshooting](./docs/troubleshooting.md) | [Design Principles](./docs/design-principles.md)
1111

1212
## Key features
1313

docs/design-principles.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Design Principles
2+
3+
These are rough guidelines to follow when shipping features for the MCP server.
4+
Apply them with nuance.
5+
6+
- **Agent-Agnostic API**: Use standards like MCP. Don't lock in to one LLM. Interoperability is key.
7+
- **Token-Optimized**: Return semantic summaries. "LCP was 3.2s" is better than 50k lines of JSON. Files are the right location for large amounts of data.
8+
- **Small, Deterministic Blocks**: Give agents composable tools (Click, Screenshot), not magic buttons.
9+
- **Self-Healing Errors**: Return actionable errors that include context and potential fixes.
10+
- **Human-Agent Collaboration**: Output must be readable by machines (structured) AND humans (summaries).

0 commit comments

Comments
 (0)