@simplysm/sd-claude 13.0.56 → 13.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/claude/refs/sd-solid.md
CHANGED
|
@@ -41,3 +41,9 @@ All sub-components via dot notation only (`Parent.Child`).
|
|
|
41
41
|
- Default `rem`, use `em` for text-relative sizing (e.g., Icon)
|
|
42
42
|
- Use `clsx()` with semantic grouping + `twMerge()` for conflict resolution
|
|
43
43
|
- Before modifying styles: Read existing class patterns of the same component
|
|
44
|
+
|
|
45
|
+
## Application View Naming (`client-*`)
|
|
46
|
+
- `~Sheet` — List view based on DataSheet (e.g., `UserSheet`)
|
|
47
|
+
- `~Detail` — Single record detail/edit view (e.g., `MyInfoDetail`)
|
|
48
|
+
- `~View` — Everything else (e.g., `LoginView`, `MainView`)
|
|
49
|
+
- Directory: `src/views/` (usable as standalone page, embedded component, or modal)
|
|
@@ -29,6 +29,13 @@ Multiple types: `--type typecheck,lint`. No path = full project. No type = all c
|
|
|
29
29
|
2. **All passed?** Report with actual output numbers → done
|
|
30
30
|
3. **Errors?** Fix in priority order: typecheck → lint → test (fixes cascade)
|
|
31
31
|
- Test failures: run `git diff` to decide — update test or fix source
|
|
32
|
+
- **E2E test failures** (browser/solid/service project): use Playwright MCP to investigate before fixing
|
|
33
|
+
1. `browser_navigate` to the target URL
|
|
34
|
+
2. `browser_snapshot` / `browser_take_screenshot` (save to `.tmp/playwright/`) to see page state
|
|
35
|
+
3. `browser_console_messages` for JS errors
|
|
36
|
+
4. `browser_network_requests` for failed API calls
|
|
37
|
+
5. Interact with the page following the test steps to reproduce the failure
|
|
38
|
+
6. Fix based on observed evidence, not guesswork
|
|
32
39
|
- Stuck after 2-3 attempts → recommend `/sd-debug`
|
|
33
40
|
4. **Go to 1** — always re-run ALL checks after any fix
|
|
34
41
|
|