Skip to content

Commit 8b3f9a9

Browse files
final edits
1 parent 5be24ee commit 8b3f9a9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

site/content/guides/claude-code-monitoring.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,13 @@ Alternatively, you can deploy a Playwright check without a `.check.ts` configura
213213

214214
### 2. Add our new Check to Claude's Context
215215

216-
With this check created, add their references to Claude's context by giving Claude Code the prompt:
217-
218-
```{title="Prompt:"}
219-
Update my CLAUDE.md file with the new code in /__checks__
220-
```
221-
222-
Let's take one additional step, add the following lines to your updated `CLAUDE.md` file:
216+
With this check created, let's add the following lines to your updated `CLAUDE.md` file:
223217

224218
```markdown
225219
- When writing Playwright, don't set locators equal to const, rather just perform expect tests directly on locators
226220
- When writing a spec.ts file, don't use locators based on CSS class
221+
Oh that's smart. yeah I'll add something like:
222+
- Before creating more check files scan `__checks__` for more info and base setup
227223
```
228224

229225
Pro tip: from the Claude Code prompt, just hit octothorp "#" to add to Claude's memory. Each entry will be a new line in `CLAUDE.md`.

0 commit comments

Comments
 (0)