shk-bd commited on
Commit
6dad52b
·
verified ·
1 Parent(s): 45609c1

Create copilot-instructions.md

Browse files
Files changed (1) hide show
  1. copilot-instructions.md +39 -0
copilot-instructions.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copilot Instructions for AI Coding Agents
2
+
3
+ ## Project Overview
4
+ This repository is for testing the Computer‑Using Agent with Playwright. It is minimal and primarily serves as a sandbox for agent-driven automation and integration testing.
5
+
6
+ ## Architecture & Key Components
7
+ - The codebase is intentionally sparse. The main focus is on agent workflows and Playwright-based automation.
8
+ - There are no complex service boundaries or data flows. The structure is flat, with most logic expected to be added by agents or during test runs.
9
+
10
+ ## Developer Workflows
11
+ - **Testing:** Playwright is the primary tool for browser automation and testing. Use Playwright commands to run, debug, and author tests.
12
+ - **Setup:** If Playwright is not installed, run `npm install playwright` or use the Playwright CLI for setup.
13
+ - **Test Execution:** Typical test commands:
14
+ - `npx playwright test` — runs all Playwright tests
15
+ - `npx playwright codegen` — launches Playwright code generator
16
+ - **Debugging:** Use Playwright's built-in debugging tools (e.g., `PWDEBUG=1 npx playwright test`).
17
+
18
+ ## Project-Specific Patterns
19
+ - There are no custom conventions or patterns yet. Follow standard Playwright and Node.js practices unless otherwise specified in future commits.
20
+ - If adding new files, prefer clear, descriptive names and keep the structure flat unless complexity demands otherwise.
21
+
22
+ ## Integration Points
23
+ - Playwright is the only external dependency currently referenced. Integrate additional tools only if required for agent testing.
24
+ - No cross-component communication patterns are present.
25
+
26
+ ## Key Files
27
+ - `README.md`: Project purpose and minimal setup notes.
28
+ - `.github/copilot-instructions.md`: This file — update as the project evolves.
29
+
30
+ ## Example: Adding a Playwright Test
31
+ ```
32
+ bash
33
+ npx playwright test
34
+ ```
35
+
36
+ ## Guidance for AI Agents
37
+ - Assume minimal context; most logic will be agent-generated.
38
+ - Document any new conventions or workflows in this file as the project grows.
39
+ - If you add new dependencies or tools, update this file with usage instructions.