You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/commands/corpus-loop.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
argument-hint: [corpus_slug]
3
-
description: uses Playwright MCP and the `corpus:view` to parse page elements
3
+
description: uses Playwright MCP and the `corpus` to parse page elements
4
4
---
5
5
6
6
- using Playwright MCP, navigate to `http://localhost:3001/corpus/$1/gitcasso`
@@ -54,4 +54,13 @@ If you see `"title": "TODO_TITLE"` or similar hardcoded `TODO` values in the JSO
54
54
55
55
- Don't hedge your bets and write lots of fallback code or strings of `?.`. Have a specific piece of data you want to get, use non-null `!` assertions where necessary to be clear about getting.
56
56
- If a field is empty, represent it with an empty string. Don't use placeholders when extracting data.
57
-
- The pages we are scraping are going to change over time, and it's easier to fix broken ones if we know exactly what used to work. If the code has lots of branching paths, it's harder to tell what it was doing.
57
+
- The pages we are scraping are going to change over time, and it's easier to fix broken ones if we know exactly what used to work. If the code has lots of branching paths, it's harder to tell what it was doing.
58
+
59
+
## Troubleshooting
60
+
61
+
- If you see `"spot": "NO_SPOT"` but expect an enhancer to match:
0 commit comments