start-vibing 4.4.0 → 4.4.1

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.
Files changed (57) hide show
  1. package/package.json +2 -2
  2. package/template/.claude/commands/e2e-audit.md +16 -0
  3. package/template/.claude/hooks/e2e-audit-session-start.sh +4 -0
  4. package/template/.claude/settings.json +4 -0
  5. package/template/.claude/skills/e2e-audit/SKILL.md +216 -660
  6. package/template/.claude/skills/e2e-audit/findings.schema.json +98 -0
  7. package/template/.claude/skills/e2e-audit/references/api-contract-playbook.md +66 -0
  8. package/template/.claude/skills/e2e-audit/references/auth-setup-playbook.md +78 -0
  9. package/template/.claude/skills/e2e-audit/references/coverage-gap-playbook.md +95 -0
  10. package/template/.claude/skills/e2e-audit/references/post-run-feedback-playbook.md +80 -0
  11. package/template/.claude/skills/e2e-audit/scripts/detect-stack.sh +205 -0
  12. package/template/.claude/skills/e2e-audit/scripts/detect-uncovered.sh +137 -0
  13. package/template/.claude/skills/e2e-audit/scripts/discover-api-surface.sh +242 -0
  14. package/template/.claude/skills/e2e-audit/scripts/discover-routes.sh +163 -0
  15. package/template/.claude/skills/e2e-audit/scripts/inventory-existing-tests.sh +161 -0
  16. package/template/.claude/skills/e2e-audit/scripts/verify-audit.sh +88 -0
  17. package/template/.claude/skills/e2e-audit/templates/auth-setup.ts.tpl +24 -0
  18. package/template/.claude/skills/e2e-audit/templates/base-fixture.ts.tpl +75 -0
  19. package/template/.claude/skills/e2e-audit/templates/findings-report.md.tpl +54 -0
  20. package/template/.claude/skills/e2e-audit/templates/post-run-feedback.md.tpl +36 -0
  21. package/template/.claude/skills/e2e-audit/DESIGN.md +0 -294
  22. package/template/.claude/skills/e2e-audit/e2e/fixtures/auth.setup.ts +0 -70
  23. package/template/.claude/skills/e2e-audit/e2e/fixtures/auth.ts +0 -21
  24. package/template/.claude/skills/e2e-audit/e2e/fixtures/base.ts +0 -90
  25. package/template/.claude/skills/e2e-audit/e2e/fixtures/storage/.gitkeep +0 -0
  26. package/template/.claude/skills/e2e-audit/e2e/fixtures/storage/admin.json +0 -50
  27. package/template/.claude/skills/e2e-audit/e2e/fixtures/storage/manager.json +0 -50
  28. package/template/.claude/skills/e2e-audit/e2e/fixtures/storage/member.json +0 -50
  29. package/template/.claude/skills/e2e-audit/e2e/fixtures/storage/owner.json +0 -50
  30. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-admin.page.ts +0 -141
  31. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-billing.page.ts +0 -47
  32. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-chat.page.ts +0 -35
  33. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-home.page.ts +0 -134
  34. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-integrations.page.ts +0 -334
  35. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-knowledge.page.ts +0 -30
  36. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-ontology.page.ts +0 -71
  37. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-profile.page.ts +0 -38
  38. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-teams.page.ts +0 -123
  39. package/template/.claude/skills/e2e-audit/e2e/pages/dashboard-transcripts.page.ts +0 -109
  40. package/template/.claude/skills/e2e-audit/e2e/specs/auth/login.spec.ts +0 -59
  41. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-admin.spec.ts +0 -233
  42. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-billing.spec.ts +0 -44
  43. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-chat.spec.ts +0 -50
  44. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-home.spec.ts +0 -243
  45. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-integrations.spec.ts +0 -472
  46. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-knowledge.spec.ts +0 -57
  47. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-ontology.spec.ts +0 -72
  48. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-profile.spec.ts +0 -48
  49. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-teams.spec.ts +0 -247
  50. package/template/.claude/skills/e2e-audit/e2e/specs/dashboard-transcripts.spec.ts +0 -122
  51. package/template/.claude/skills/e2e-audit/e2e/specs/security/headers.spec.ts +0 -39
  52. package/template/.claude/skills/e2e-audit/e2e/specs/security/rbac.spec.ts +0 -92
  53. package/template/.claude/skills/e2e-audit/e2e/specs/security/xss.spec.ts +0 -74
  54. package/template/.claude/skills/e2e-audit/e2e/utils/console-collector.ts +0 -89
  55. package/template/.claude/skills/e2e-audit/e2e/utils/security-helpers.ts +0 -114
  56. package/template/.claude/skills/e2e-audit/e2e/utils/test-data.ts +0 -64
  57. package/template/.claude/skills/e2e-audit/runbook.md +0 -115
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "start-vibing",
3
- "version": "4.4.0",
4
- "description": "Setup Claude Code with 9 plugins, 6 community skills, and 8 MCP servers. Parallel install, auto-accept, superpowers + ralph-loop. super-design 0.7.0 (BREAKING): source-first surface & project-rule discovery. New scripts/discover-surfaces.sh statically maps modals, forms, triggers, internal nav, Next.js layout/error/loading/not-found/parallel/intercepting routes BEFORE Playwright runs. New scripts/extract-project-rules.sh parses FORBIDDEN tables from CLAUDE.md / AGENTS.md / .cursorrules into an authoritative rule source. sd-audit gains Step 1.5 (surface + rule extraction), viewport-coverage quota (emits audit-coverage-skewed meta finding if mobile < 30%), mandatory design-intelligence-craft-summary finding per page × viewport (one holistic verdict per combo, not just discrete C1-C17), Step 3i project-rule enforcement (project FORBIDDEN rules fire as primary findings keyed to the project's own wording), and modal-coverage-gap / form-coverage-gap findings for source-declared components never exercised at runtime. verify-audit.sh enforces design-intelligence/<slug>_<vp>.json existence per MATRIX combination and mobile quota gate. Baymard 88-rule catalog + DSC-choice typeui selection carry over from 0.6.4.",
3
+ "version": "4.4.1",
4
+ "description": "Setup Claude Code with 9 plugins, 6 community skills, and 8 MCP servers. Parallel install, auto-accept, superpowers + ralph-loop. e2e-audit 0.2.0 refactor (skill-only, no agents): SessionStart hook + slash command make the skill keyword-invokable (\"e2e audit\", \"roda o e2e\", \"integration test\", \"test coverage gaps\"). Source-first discovery via detect-stack, discover-routes (Next app/pages/Remix/SvelteKit/Nuxt/Astro), discover-api-surface (HTTP handlers, tRPC procedures, GraphQL, server actions, middleware auth), inventory-existing-tests (preserve prior corpus + sha256 drift hash), and detect-uncovered (branch-diff vs origin/main finds changes not covered by existing specs). Report-then-ask between mapping and Playwright run; post-run-feedback report before writing findings. SHOT+TRACE+ASSERT+SOURCE evidence quad per non-meta finding; meta rules (coverage-gap-*, uncovered-*, test-drift, stack-detect, post-run-feedback) exempt. verify-audit.sh enforces schema + quad. Generic (no project leakage). super-design 0.7.0 carries over.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "start-vibing": "./dist/cli.js"
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Run e2e-audit (source-first integration-test audit + coverage-gap detection)
3
+ ---
4
+
5
+ Invoke the e2e-audit skill with flags: $ARGUMENTS
6
+
7
+ Follow SKILL.md entry flow:
8
+ 1. Preflight — detect stack, inventory existing tests, hash for drift
9
+ 2. Source-first discovery — routes + api-surface + uncovered (branch diff)
10
+ 3. Report-then-ask — show map, STOP for user confirmation
11
+ 4. Dev server + Playwright run — capture SHOT+TRACE+ASSERT+SOURCE
12
+ 5. Post-run feedback — API errors, RBAC, console, server crashes
13
+ 6. Write findings.json + run verify-audit.sh
14
+ 7. Return ≤5-sentence summary
15
+
16
+ Do not paste the full map into chat.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+ cat <<'EOF'
3
+ {"hookSpecificOutput":{"hookEventName":"SessionStart","additionalContext":"When the user mentions e2e audit, integration test audit, test coverage gaps, 'roda o e2e', 'run the e2e', end-to-end tests, API contract check, RBAC coverage, or says anything about auditing their application's integration tests — you MUST invoke the e2e-audit skill. Do not improvise a test plan, do not manually write specs without running the skill first, do not start Playwright blind. Read .claude/skills/e2e-audit/SKILL.md first, then follow its entry flow. The skill uses source-first discovery (routes.json + api-surface.json + existing-tests.json + uncovered.json) BEFORE touching the browser. It preserves any existing tests/ directory, warns on drift between runs, and emits a post-run-feedback report before writing findings.\n\nAfter mapping finishes, STOP and ask the user before running tests — report-then-ask. Every non-meta finding must carry the SHOT+TRACE+ASSERT+SOURCE evidence quad (screenshot, Playwright trace, literal assertion, source file). Coverage gaps surface as rule=coverage-gap-* or uncovered-* meta findings."}}
4
+ EOF
@@ -39,6 +39,10 @@
39
39
  {
40
40
  "type": "command",
41
41
  "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/super-design-session-start.sh\""
42
+ },
43
+ {
44
+ "type": "command",
45
+ "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/e2e-audit-session-start.sh\""
42
46
  }
43
47
  ]
44
48
  }