start-vibing 4.4.16 → 4.4.17
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/package.json +1 -1
- package/template/.claude/CLAUDE.md +179 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "start-vibing",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.17",
|
|
4
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": {
|
|
@@ -23,6 +23,39 @@ The user may write to Claude in Portuguese, Spanish, or any other language — C
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
+
## Response Style (HARD RULE)
|
|
27
|
+
|
|
28
|
+
> **Be brief by default. Output tokens cost ~5x input and are ~8x slower to generate. Verbose responses are also re-processed every turn — the cost compounds.**
|
|
29
|
+
|
|
30
|
+
Adapted from Anthropic's official Opus 4.7 system prompt for Claude Code (April 2026 post-mortem — single addition reported as having "outsized effect on intelligence in Claude Code"):
|
|
31
|
+
|
|
32
|
+
- **Final responses ≤100 words** unless the task genuinely requires more (multi-step plan, design rationale, teaching, code review with rationale).
|
|
33
|
+
- **Text between tool calls ≤25 words.** One sentence per update at key moments — not a running commentary on internal deliberation.
|
|
34
|
+
- **No prefacing.** Skip "Great question!", "I'll help you with that", "Let me start by…". Just do the thing.
|
|
35
|
+
- **No trailing summaries.** The diff is visible. Don't re-narrate what just happened. End-of-turn = 1–2 sentences max, what changed and what's next.
|
|
36
|
+
- **No re-explanations.** If it's already in this conversation or in CLAUDE.md, don't repeat it.
|
|
37
|
+
- **Don't add docstrings, comments, or type annotations to code you didn't change.** Comment only when WHY is non-obvious. Names already explain WHAT.
|
|
38
|
+
- **Don't reference the current task in code.** No `// added for ticket X` / `// used by feature Y` — that belongs in PR descriptions, not source.
|
|
39
|
+
|
|
40
|
+
### Brevity ≠ cutting reasoning
|
|
41
|
+
|
|
42
|
+
Cut **visible explanations**, NOT **internal thinking**:
|
|
43
|
+
|
|
44
|
+
- Visible prose costs output tokens, gets re-processed every turn, and on large models often _hurts_ accuracy via over-elaboration (arXiv 2604.00025 — restricting outputs to <50 words gave +26.3pp accuracy on GSM8K/MMLU-STEM).
|
|
45
|
+
- Internal thinking/reasoning budget _improves_ quality on hard tasks (Anthropic guidance). Do NOT set `MAX_THINKING_TOKENS=0` or `effort=low` on complex problems.
|
|
46
|
+
- Code comments produced DURING generation often help — they act as logical pivots between natural language and code (arXiv 2404.07549 improves pass@1). Strip prose AROUND the code, not comments INSIDE it.
|
|
47
|
+
|
|
48
|
+
### When to override brevity
|
|
49
|
+
|
|
50
|
+
- User explicitly asks for detail ("explain why", "walk me through").
|
|
51
|
+
- Teaching mode (user is learning the codebase or domain).
|
|
52
|
+
- Design / planning discussion where rationale matters.
|
|
53
|
+
- Code review with inline findings + rationale.
|
|
54
|
+
|
|
55
|
+
Default = terse. Verbose only on signal.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
26
59
|
## What start-vibing v4 Installs
|
|
27
60
|
|
|
28
61
|
start-vibing is a CLI (`npx start-vibing`) that sets up Claude Code with a complete development system in ~30 seconds:
|
|
@@ -422,23 +455,152 @@ All implementations MUST:
|
|
|
422
455
|
|
|
423
456
|
## FORBIDDEN Actions
|
|
424
457
|
|
|
425
|
-
| Action
|
|
426
|
-
|
|
|
427
|
-
| Speak/write in non-English
|
|
428
|
-
|
|
|
429
|
-
|
|
|
430
|
-
|
|
|
431
|
-
|
|
|
432
|
-
|
|
|
433
|
-
|
|
|
434
|
-
|
|
|
435
|
-
|
|
|
436
|
-
| Skip
|
|
437
|
-
| Use
|
|
438
|
-
|
|
|
439
|
-
|
|
|
440
|
-
|
|
|
441
|
-
| Skip
|
|
458
|
+
| Action | Reason |
|
|
459
|
+
| ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
460
|
+
| Speak/write in non-English | EN ONLY (chat, code, docs, commits) — see Language Policy. Override only via explicit user request, current turn only |
|
|
461
|
+
| Verbose responses by default | ≤100 words final, ≤25 words between tool calls — see Response Style. Brevity is intelligence in Claude Code |
|
|
462
|
+
| Preface answers ("Great question!", "I'll help you with that") | No filler. Just do the thing |
|
|
463
|
+
| Trailing summary of what just happened | Diff is visible. End-of-turn = 1–2 sentences max |
|
|
464
|
+
| Add docstrings/comments/type annotations to code you did NOT change | Anthropic guidance: only modified code gets new comments. Names explain WHAT, comments only when WHY is non-obvious |
|
|
465
|
+
| Reference current task/ticket inside code (`// added for X`) | Belongs in PR description, not source — rots over time |
|
|
466
|
+
| Re-explain what's already in CLAUDE.md or earlier in this conversation | Wastes output tokens AND re-processes every turn |
|
|
467
|
+
| Cut thinking budget on hard tasks (`MAX_THINKING_TOKENS=0`/`low`) | Cut visible prose, not internal reasoning. Thinking improves accuracy on hard tasks |
|
|
468
|
+
| Inline UI reference patterns (Grid/Modal/List/Toast/etc.) in CLAUDE.md | Patterns belong in `.claude/skills/research-cache/cache/` — recurring input cost otherwise |
|
|
469
|
+
| Skip typecheck | Catches runtime errors |
|
|
470
|
+
| Use `any` type | Defeats strict mode |
|
|
471
|
+
| Define types in `src/` | Must be in `types/` |
|
|
472
|
+
| Use `@types/` alias | Reserved by TypeScript |
|
|
473
|
+
| Commit directly to main | Create feature/fix branches |
|
|
474
|
+
| Skip documenter after implementation | Changelog + docs are mandatory |
|
|
475
|
+
| Mix doc types in one file | Changelog ≠ technical ≠ decision |
|
|
476
|
+
| Leave docs unlinked from index | Undiscoverable docs are useless |
|
|
477
|
+
| Skip superpowers for features | Use brainstorming + TDD |
|
|
478
|
+
| Skip code-simplifier | Run /simplify post-implementation |
|
|
479
|
+
| Use MUI/Chakra | Use shadcn/ui + Radix |
|
|
480
|
+
| Files > 400 lines | MUST split into smaller |
|
|
481
|
+
| 'use client' at top level | Push to leaf components only |
|
|
482
|
+
| Waterfall data fetching | Use Promise.all() for parallel |
|
|
483
|
+
| Skip CLAUDE.md update | MUST update after implementations |
|
|
484
|
+
|
|
485
|
+
---
|
|
486
|
+
|
|
487
|
+
## Universal Project Rules
|
|
488
|
+
|
|
489
|
+
> Rules that apply to every project using this system. Project-specific overrides go in `/CLAUDE.md`.
|
|
490
|
+
|
|
491
|
+
### HTTP Requests
|
|
492
|
+
|
|
493
|
+
| Rule | Implementation |
|
|
494
|
+
| ----------------------- | ------------------------------ |
|
|
495
|
+
| Use axios ONLY | Never `fetch()` or raw `axios` |
|
|
496
|
+
| `withCredentials: true` | ALWAYS for cookies/sessions |
|
|
497
|
+
| Extend base instance | Create `lib/api/axios.ts` |
|
|
498
|
+
| Type responses | `api.get<User>('/users')` |
|
|
499
|
+
| Centralize errors | Use interceptors |
|
|
500
|
+
|
|
501
|
+
### Path Aliases
|
|
502
|
+
|
|
503
|
+
| Alias | Maps To | Use For |
|
|
504
|
+
| ---------- | ------------------- | ------------- |
|
|
505
|
+
| `$types/*` | `./types/*` | Type defs |
|
|
506
|
+
| `@common` | `./common/index.ts` | Logger, utils |
|
|
507
|
+
| `@db` | `./common/db/` | DB connection |
|
|
508
|
+
|
|
509
|
+
NEVER use `@types/` (reserved by TypeScript).
|
|
510
|
+
|
|
511
|
+
### Types Location
|
|
512
|
+
|
|
513
|
+
- ALL interfaces/types MUST be in `types/` folder.
|
|
514
|
+
- NEVER define types in `src/` files.
|
|
515
|
+
- EXCEPTION: Zod inferred types and Mongoose Documents.
|
|
516
|
+
|
|
517
|
+
### TypeScript Strict
|
|
518
|
+
|
|
519
|
+
```typescript
|
|
520
|
+
process.env['VARIABLE']; // bracket notation
|
|
521
|
+
source: 'listed' as const; // literal type
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Quality Gates
|
|
525
|
+
|
|
526
|
+
```bash
|
|
527
|
+
bun run typecheck # MUST pass
|
|
528
|
+
bun run lint # MUST pass
|
|
529
|
+
bun run test # MUST pass
|
|
530
|
+
docker compose build # MUST pass (Docker projects)
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
### Commit Format
|
|
534
|
+
|
|
535
|
+
```
|
|
536
|
+
[type]: [description]
|
|
537
|
+
|
|
538
|
+
- Detail 1
|
|
539
|
+
- Detail 2
|
|
540
|
+
|
|
541
|
+
Generated with Claude Code
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
Types: `feat`, `fix`, `refactor`, `docs`, `chore`. NEVER commit directly to `main` — branch as `feature/` | `fix/` | `refactor/` | `test/` first.
|
|
545
|
+
|
|
546
|
+
### UI Architecture
|
|
547
|
+
|
|
548
|
+
Web apps MUST have **separate UIs** per platform — not just "responsive design".
|
|
549
|
+
|
|
550
|
+
| Platform | Layout |
|
|
551
|
+
| ----------------- | ------------------------------------------- |
|
|
552
|
+
| Mobile (375px) | Full-screen modals, bottom nav, touch-first |
|
|
553
|
+
| Tablet (768px) | Condensed dropdowns, hybrid nav |
|
|
554
|
+
| Desktop (1280px+) | Sidebar left, top navbar with search |
|
|
555
|
+
|
|
556
|
+
ANY task editing `.tsx`/`.jsx` MUST consider all 3 viewports. Use `/frontend-design` plugin or research competitors before new UI features.
|
|
557
|
+
|
|
558
|
+
### Component Organization
|
|
559
|
+
|
|
560
|
+
| Question | Location |
|
|
561
|
+
| -------------------------------- | ------------------------- |
|
|
562
|
+
| Used in ONE page only? | `app/[page]/_components/` |
|
|
563
|
+
| Used across 2+ features? | `components/shared/` |
|
|
564
|
+
| UI primitive (Button, Input)? | `components/ui/` |
|
|
565
|
+
| Layout element (Header, Footer)? | `components/layout/` |
|
|
566
|
+
|
|
567
|
+
### File Size
|
|
568
|
+
|
|
569
|
+
| Lines | Action |
|
|
570
|
+
| ------- | ---------------------------------- |
|
|
571
|
+
| < 200 | Keep in single file |
|
|
572
|
+
| 200-400 | Consider splitting |
|
|
573
|
+
| > 400 | MUST split into smaller components |
|
|
574
|
+
|
|
575
|
+
### Mandatory Planning
|
|
576
|
+
|
|
577
|
+
Use `EnterPlanMode` for non-trivial tasks BEFORE implementing.
|
|
578
|
+
|
|
579
|
+
| Task Type | Plan Required |
|
|
580
|
+
| -------------------- | ------------- |
|
|
581
|
+
| New feature | YES |
|
|
582
|
+
| UI changes (any JSX) | YES |
|
|
583
|
+
| Multi-file changes | YES |
|
|
584
|
+
| Bug fix (simple) | NO |
|
|
585
|
+
| Single-line fix | NO |
|
|
586
|
+
|
|
587
|
+
### UI Reference Material (NOT inlined here)
|
|
588
|
+
|
|
589
|
+
Detailed UI patterns — Grid Layouts, Modal/Dialog, Lists, Multi-Step Forms, Toast, Optimistic UI, Data Display, Navigation, Animation, Icon Libraries — live in:
|
|
590
|
+
|
|
591
|
+
- `.claude/skills/research-cache/cache/*.md` — pattern docs (`grid-layout-patterns-2025`, `modal-dialog-design-patterns-2024-2025`, `list-design-patterns-web-apps`, `multi-step-form-patterns`, `react-toast-notifications`, `optimistic-ui-patterns-react`, `data-display-patterns-2024-2025`, `navigation-header-design-patterns-2025`).
|
|
592
|
+
- Skills (`shadcn-ui`, `nextjs-app-router`, `react-patterns`, `tailwind-patterns`) — auto-injected by description match when relevant.
|
|
593
|
+
|
|
594
|
+
DO NOT inline this material into CLAUDE.md — it's recurring input cost for material only needed on demand. Read the cache file or skill when you actually need the pattern.
|
|
595
|
+
|
|
596
|
+
### NRY (Never Repeat Yourself)
|
|
597
|
+
|
|
598
|
+
Common Claude mistakes:
|
|
599
|
+
|
|
600
|
+
- Multi-line bash with `\` continuations (breaks permissions).
|
|
601
|
+
- Relative paths in permission patterns.
|
|
602
|
+
- Using bash for file operations (use Read/Write/Edit).
|
|
603
|
+
- Ignoring context size — use `/compact` at natural breakpoints, `/clear` when switching contexts.
|
|
442
604
|
|
|
443
605
|
---
|
|
444
606
|
|