start-vibing 2.0.7 → 2.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "start-vibing",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Setup Claude Code agents, skills, and hooks in your project. Smart copy that preserves your custom domains and configurations.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,6 +17,29 @@ This file provides context for all agents. For user-facing rules, see `/CLAUDE.m
17
17
 
18
18
  ---
19
19
 
20
+ ## MCP Servers (MANDATORY FOR AGENTS)
21
+
22
+ All agents MUST use these MCP servers when applicable:
23
+
24
+ | Server | Purpose | Use In Agents |
25
+ | ------------------- | ----------------------------------------- | ---------------------------------------- |
26
+ | `context7` | Up-to-date library documentation | research, analyzer, tester |
27
+ | `sequential-thinking` | Complex problem-solving | orchestrator, analyzer, final-validator |
28
+ | `memory` | Persistent knowledge graph | domain-updater, commit-manager |
29
+ | `playwright` | Browser automation and E2E testing | tester, ui-ux-reviewer |
30
+ | `nextjs-devtools` | Next.js specific development tools | analyzer (Next.js projects) |
31
+ | `mongodb` | MongoDB database operations | tester, security-auditor |
32
+
33
+ ### Agent MCP Usage Rules
34
+
35
+ - **research agent**: MUST use `context7` for library docs before recommending patterns
36
+ - **tester agent**: MUST use `playwright` for E2E tests
37
+ - **analyzer agent**: SHOULD use `context7` to verify current API patterns
38
+ - **domain-updater**: SHOULD use `memory` to persist patterns across sessions
39
+ - **ui-ux-reviewer**: MUST use `playwright` to verify UI implementations
40
+
41
+ ---
42
+
20
43
  ## Configuration Files
21
44
 
22
45
  Project-specific settings are in `.claude/config/`:
@@ -4,16 +4,47 @@
4
4
 
5
5
  ---
6
6
 
7
- ## Workflow
7
+ ## Workflow (STRICT FLOW)
8
8
 
9
9
  ```
10
- 1. READ AGENTS .claude/agents/*.md
11
- 2. START TASK python .claude/hooks/workflow-manager.py start-task --type feature --description "..."
12
- 3. IMPLEMENT Follow project rules
13
- 4. QUALITY CHECK Run all quality gates
14
- 5. COMMIT Conventional commits
10
+ 0. INIT TASK Run commit-manager to REGISTER task start
11
+ 1. TODO LIST ALWAYS create detailed todo list from prompt
12
+ 2. RESEARCH Run research agent for NEW features (MANDATORY)
13
+ 3. AUDIT Check docs from last audit OR run fresh audit
14
+ 4. CREATE BRANCH feature/ | fix/ | refactor/ | test/
15
+ 5. IMPLEMENT → Follow project rules + analyzer approval
16
+ 6. DOCUMENT → Document ALL modified files (MANDATORY)
17
+ 7. QUALITY GATES → Run typecheck && lint && test (Husky enforced)
18
+ 8. FINISH → commit-manager creates PR with task summary
15
19
  ```
16
20
 
21
+ > **CRITICAL:** Research agent is MANDATORY for any new feature or complex bug fix.
22
+ > **CRITICAL:** All documentation must reference commit hashes for audit trail.
23
+ > **CRITICAL:** Stop hook BLOCKS task completion if files not documented.
24
+ > **FALLBACK:** If Task tool fails to invoke an agent, READ the agent file directly from `.claude/agents/[agent-name].md` and follow its instructions manually.
25
+
26
+ ---
27
+
28
+ ## MCP Servers (MANDATORY)
29
+
30
+ Configure these in `.mcp.json` at project root:
31
+
32
+ | Server | Purpose | When to Use |
33
+ | ------------------- | ----------------------------------------- | ---------------------------------------- |
34
+ | `context7` | Up-to-date library documentation | Before implementing with ANY library |
35
+ | `sequential-thinking` | Complex problem-solving | Multi-step tasks, planning |
36
+ | `memory` | Persistent knowledge graph | Store/recall project patterns |
37
+ | `playwright` | Browser automation and E2E testing | UI testing, page verification |
38
+ | `nextjs-devtools` | Next.js specific development tools | Next.js projects only |
39
+ | `mongodb` | MongoDB database operations | Database queries, schema inspection |
40
+
41
+ ### Usage Rules
42
+
43
+ - **ALWAYS** use `context7` before implementing features with external libraries
44
+ - **ALWAYS** use `playwright` for E2E tests instead of manual browser testing
45
+ - **ALWAYS** check `memory` for existing patterns before creating new ones
46
+ - **NEVER** hardcode library APIs - query `context7` for current docs
47
+
17
48
  ---
18
49
 
19
50
  ## Agent System
@@ -36,6 +67,18 @@ This project uses 11 specialized AI agents:
36
67
 
37
68
  ---
38
69
 
70
+ ## Stop Hook Enforcement
71
+
72
+ The Stop hook runs when Claude is about to finish and BLOCKS if:
73
+
74
+ | Violation | Action Required |
75
+ |-----------|-----------------|
76
+ | On main branch with source changes | Create feature/fix branch first |
77
+ | Source files not documented | Run documenter agent |
78
+ | Documenter not executed | Invoke documenter via Task tool |
79
+
80
+ ---
81
+
39
82
  ## Configuration
40
83
 
41
84
  Edit these files in `.claude/config/` for your project:
@@ -46,39 +89,17 @@ Edit these files in `.claude/config/` for your project:
46
89
  | `quality-gates.json` | Quality check commands |
47
90
  | `testing-config.json` | Test framework config |
48
91
  | `security-rules.json` | Security audit rules |
49
-
50
- ---
51
-
52
- ## Quick Start
53
-
54
- ```bash
55
- # 1. Start a task
56
- python .claude/hooks/workflow-manager.py start-task --type feature --description "Add user authentication"
57
-
58
- # 2. Approve files for modification
59
- python .claude/hooks/workflow-manager.py approve-files --files "src/auth/*.ts"
60
-
61
- # 3. Mark agents as executed
62
- python .claude/hooks/workflow-manager.py agent-executed --agent analyzer --result approved
63
-
64
- # 4. Run quality gates
65
- python .claude/hooks/workflow-manager.py quality-gate --gate typecheck --passed true
66
-
67
- # 5. Final validation
68
- python .claude/hooks/workflow-manager.py final-validation --result approved --ready-to-commit true
69
-
70
- # 6. Complete task
71
- python .claude/hooks/workflow-manager.py complete-task --commit-hash abc123
72
- ```
92
+ | `domain-mapping.json` | File patterns to domains |
73
93
 
74
94
  ---
75
95
 
76
96
  ## Critical Rules
77
97
 
78
- 1. **ALWAYS start task first** - Hooks block without active task
79
- 2. **ALWAYS approve files** - Pre-tool-use hook blocks unapproved edits
98
+ 1. **ALWAYS use MCP servers** - Context7 for docs, Playwright for E2E
99
+ 2. **ALWAYS start with todo list** - Track progress with TodoWrite tool
80
100
  3. **NEVER skip agents** - Stop hook blocks incomplete workflows
81
101
  4. **ALWAYS use conventional commits** - feat:, fix:, refactor:, docs:
102
+ 5. **NEVER commit to main** - Create feature/fix branches
82
103
 
83
104
  ---
84
105