sumulige-claude 1.0.0

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 (72) hide show
  1. package/.claude/AGENTS.md +42 -0
  2. package/.claude/README.md +142 -0
  3. package/.claude/rag/skill-index.json +15 -0
  4. package/.claude/settings.local.json +36 -0
  5. package/.claude/skills/api-tester/SKILL.md +61 -0
  6. package/.claude/skills/api-tester/examples/basic.md +3 -0
  7. package/.claude/skills/api-tester/metadata.yaml +30 -0
  8. package/.claude/skills/api-tester/templates/default.md +3 -0
  9. package/AGENTS.md +33 -0
  10. package/README.md +857 -0
  11. package/cli.js +814 -0
  12. package/development/todos/INDEX.md +114 -0
  13. package/development/todos/active/_README.md +49 -0
  14. package/development/todos/active/todo-system.md +37 -0
  15. package/development/todos/archived/_README.md +11 -0
  16. package/development/todos/backlog/_README.md +11 -0
  17. package/development/todos/backlog/mcp-integration.md +35 -0
  18. package/development/todos/completed/_README.md +11 -0
  19. package/development/todos/completed/boris-optimizations.md +39 -0
  20. package/package.json +35 -0
  21. package/template/.claude/CLAUDE-template.md +138 -0
  22. package/template/.claude/README.md +142 -0
  23. package/template/.claude/boris-optimizations.md +167 -0
  24. package/template/.claude/commands/commit-push-pr.md +59 -0
  25. package/template/.claude/commands/commit.md +53 -0
  26. package/template/.claude/commands/pr.md +76 -0
  27. package/template/.claude/commands/review.md +61 -0
  28. package/template/.claude/commands/sessions.md +62 -0
  29. package/template/.claude/commands/skill-create.md +131 -0
  30. package/template/.claude/commands/test.md +56 -0
  31. package/template/.claude/commands/todos.md +99 -0
  32. package/template/.claude/commands/verify-work.md +63 -0
  33. package/template/.claude/hooks/code-formatter.cjs +187 -0
  34. package/template/.claude/hooks/multi-session.cjs +181 -0
  35. package/template/.claude/hooks/project-kickoff.cjs +114 -0
  36. package/template/.claude/hooks/rag-skill-loader.cjs +159 -0
  37. package/template/.claude/hooks/session-end.sh +61 -0
  38. package/template/.claude/hooks/sync-to-log.sh +83 -0
  39. package/template/.claude/hooks/thinking-silent.cjs +145 -0
  40. package/template/.claude/hooks/tl-summary.sh +54 -0
  41. package/template/.claude/hooks/todo-manager.cjs +248 -0
  42. package/template/.claude/hooks/verify-work.cjs +134 -0
  43. package/template/.claude/rag/skill-index.json +135 -0
  44. package/template/.claude/settings.json +33 -0
  45. package/template/.claude/skills/SKILLS.md +145 -0
  46. package/template/.claude/skills/examples/README.md +47 -0
  47. package/template/.claude/skills/examples/basic-task.md +67 -0
  48. package/template/.claude/skills/examples/bug-fix-workflow.md +92 -0
  49. package/template/.claude/skills/examples/feature-development.md +81 -0
  50. package/template/.claude/skills/manus-kickoff/SKILL.md +128 -0
  51. package/template/.claude/skills/manus-kickoff/examples/basic.md +84 -0
  52. package/template/.claude/skills/manus-kickoff/metadata.yaml +33 -0
  53. package/template/.claude/skills/manus-kickoff/templates/PROJECT_KICKOFF.md +89 -0
  54. package/template/.claude/skills/manus-kickoff/templates/PROJECT_PROPOSAL.md +227 -0
  55. package/template/.claude/skills/manus-kickoff/templates/TASK_PLAN.md +121 -0
  56. package/template/.claude/skills/template/SKILL.md +61 -0
  57. package/template/.claude/skills/template/metadata.yaml +30 -0
  58. package/template/.claude/templates/PROJECT_KICKOFF.md +89 -0
  59. package/template/.claude/templates/PROJECT_PROPOSAL.md +227 -0
  60. package/template/.claude/templates/TASK_PLAN.md +121 -0
  61. package/template/.claude/thinking-routes/QUICKREF.md +98 -0
  62. package/template/CLAUDE-template.md +114 -0
  63. package/template/README.md +148 -0
  64. package/template/development/todos/INDEX.md +63 -0
  65. package/template/development/todos/active/_README.md +49 -0
  66. package/template/development/todos/archived/_README.md +11 -0
  67. package/template/development/todos/backlog/_README.md +11 -0
  68. package/template/development/todos/completed/_README.md +11 -0
  69. package/template/init.sh +150 -0
  70. package/template/project-paradigm.md +313 -0
  71. package/template/prompts/how-to-find.md +163 -0
  72. package/template/thinkinglens-silent.md +138 -0
@@ -0,0 +1,167 @@
1
+ # Boris 优化指南
2
+
3
+ 本指南基于 Claude Code 创造者 Boris Cherny 的最佳实践,为 oh-my-claude 项目提供优化建议。
4
+
5
+ ## 已实现的优化
6
+
7
+ ### 1. 验证反馈循环 🔍
8
+
9
+ **文件**: `.claude/hooks/verify-work.cjs`
10
+
11
+ **重要性**: ⭐⭐⭐⭐⭐ (最重要!质量提升 2-3 倍)
12
+
13
+ **功能**:
14
+ - 在关键操作后自动提醒验证
15
+ - 记录待验证任务列表
16
+ - 生成验证日志
17
+
18
+ **使用方式**:
19
+ ```bash
20
+ # 手动触发验证流程
21
+ /verify-work
22
+ ```
23
+
24
+ **验证时机**:
25
+ - git commit 后 - 运行测试确保功能正常
26
+ - git push 后 - 检查 CI/CD 状态
27
+ - deploy 后 - 在预发布环境验证
28
+ - build 后 - 检查构建产物
29
+
30
+ ---
31
+
32
+ ### 2. Slash Commands ⚡
33
+
34
+ **目录**: `.claude/commands/`
35
+
36
+ **可用命令**:
37
+
38
+ | 命令 | 功能 |
39
+ |------|------|
40
+ | `/commit-push-pr` | 提交代码、推送、创建 PR |
41
+ | `/commit` | 创建 git commit |
42
+ | `/pr` | 创建或更新 PR |
43
+ | `/test` | 运行测试套件 |
44
+ | `/review` | 审查当前更改 |
45
+ | `/verify-work` | 查看待验证任务 |
46
+ | `/sessions` | 管理并行会话 |
47
+
48
+ **使用方式**:
49
+ ```bash
50
+ # 快速提交并创建 PR
51
+ /commit-push-pr
52
+
53
+ # 审查更改后再提交
54
+ /review
55
+ /commit
56
+
57
+ # 运行测试
58
+ /test
59
+ ```
60
+
61
+ ---
62
+
63
+ ### 3. 代码格式化 Hook 🎨
64
+
65
+ **文件**: `.claude/hooks/code-formatter.cjs`
66
+
67
+ **功能**:
68
+ - 在代码编辑后自动格式化
69
+ - 支持多种语言和格式化工具
70
+ - 静默运行,不打扰工作流
71
+
72
+ **支持的语言**:
73
+ - JavaScript/TypeScript (Prettier)
74
+ - Python (Black)
75
+ - Rust (rustfmt)
76
+ - Go (gofmt)
77
+ - JSON/YAML/Markdown (Prettier)
78
+
79
+ **调试模式**:
80
+ ```bash
81
+ export DEBUG_FORMATTER=1
82
+ ```
83
+
84
+ ---
85
+
86
+ ### 4. 并行多会话支持 🔄
87
+
88
+ **文件**: `.claude/hooks/multi-session.cjs`
89
+
90
+ **功能**:
91
+ - 跟踪活跃的并行会话
92
+ - 为每个会话分配编号 (1-10)
93
+ - 自动清理过期会话
94
+
95
+ **Boris 的工作流**:
96
+ ```
97
+ 终端标签 1: Conductor (协调/规划)
98
+ 终端标签 2: Architect (设计/架构)
99
+ 终端标签 3: Builder (实现)
100
+ 终端标签 4: Reviewer (审查)
101
+ 终端标签 5: Explorer (研究)
102
+
103
+ + 5-10 个 claude.ai/code Web 会话
104
+ ```
105
+
106
+ **使用方式**:
107
+ ```bash
108
+ # 查看所有活跃会话
109
+ /sessions
110
+
111
+ # 或直接运行
112
+ node .claude/hooks/multi-session.cjs --status
113
+ ```
114
+
115
+ ---
116
+
117
+ ## 配置更新
118
+
119
+ 所有 hooks 已添加到 `.claude/settings.json`:
120
+
121
+ ```json
122
+ {
123
+ "matcher": "UserPromptSubmit|PreToolUse|PostToolUse|AgentStop",
124
+ "hooks": [
125
+ { "command": "...project-kickoff.cjs", "timeout": 1 },
126
+ { "command": "...thinking-silent.cjs", "timeout": 1 },
127
+ { "command": "...rag-skill-loader.cjs", "timeout": 1 },
128
+ { "command": "...code-formatter.cjs", "timeout": 5 },
129
+ { "command": "...verify-work.cjs", "timeout": 1 },
130
+ { "command": "...multi-session.cjs", "timeout": 1 }
131
+ ]
132
+ }
133
+ ```
134
+
135
+ ---
136
+
137
+ ## 最佳实践总结
138
+
139
+ ### 启动会话
140
+ 1. **Plan 模式开始** (Shift+Tab 两次)
141
+ 2. 批准计划后切换到 auto-accept 模式
142
+ 3. 使用 `/commit-push-pr` 完成工作流
143
+
144
+ ### 并行工作
145
+ 1. 开启 5 个终端标签页
146
+ 2. 每个标签运行不同的 agent/任务
147
+ 3. 使用系统通知跟踪进度
148
+ 4. 同时使用 claude.ai/code Web 会话
149
+
150
+ ### 验证工作
151
+ 1. 每次提交前 `/review`
152
+ 2. 提交后 `/test` 验证
153
+ 3. 定期 `/verify-work` 查看待验证项
154
+ 4. 使用 background agent 验证长时间任务
155
+
156
+ ### 团队协作
157
+ 1. 共享 CLAUDE.md 到 git
158
+ 2. PR 审查时使用 @.claude 添加规范
159
+ 3. 定期更新团队知识库
160
+
161
+ ---
162
+
163
+ ## 额外资源
164
+
165
+ - [Claude Code 文档](https://code.claude.com)
166
+ - [Boris 的 Twitter Thread](https://twitter-thread.com/t/2007179832300581177)
167
+ - [Claude Chrome Extension](https://code.claude.com/docs/en/chrome)
@@ -0,0 +1,59 @@
1
+ ---
2
+ description: Create git commit, push to remote, and create/merge pull request
3
+ ---
4
+
5
+ You are tasked with creating a git commit, pushing to remote, and handling the pull request workflow.
6
+
7
+ ## Step 1: Gather Information
8
+
9
+ First, run these commands in parallel to understand the current state:
10
+
11
+ ```bash
12
+ git status
13
+ git diff --staged
14
+ git log -3 --oneline
15
+ git diff HEAD~3..HEAD --stat
16
+ ```
17
+
18
+ ## Step 2: Analyze and Plan
19
+
20
+ Analyze the changes and:
21
+ 1. Determine what type of change this is (feat, fix, docs, refactor, test, chore)
22
+ 2. Identify the main purpose of the changes
23
+ 3. Check if there are any sensitive files that shouldn't be committed
24
+
25
+ ## Step 3: Stage and Commit
26
+
27
+ If there are unstaged changes that should be included, ask the user first.
28
+
29
+ Then create a commit with a clear message following this format:
30
+
31
+ ```
32
+ <type>: <brief description>
33
+
34
+ <optional detailed explanation>
35
+
36
+ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37
+ ```
38
+
39
+ ## Step 4: Push and Create PR
40
+
41
+ 1. Push the changes to remote
42
+ 2. Check if there's an open PR for this branch using:
43
+ ```bash
44
+ gh pr list --head $(git branch --show-current)
45
+ ```
46
+ 3. If PR exists, ask if user wants to update it
47
+ 4. If no PR, create one using `gh pr create` with:
48
+ - A clear title based on the commit message
49
+ - A body with:
50
+ - Summary of changes (2-3 bullet points)
51
+ - Test plan (checklist)
52
+ - Link to any related issues
53
+
54
+ ## Step 5: Verify
55
+
56
+ After creating the PR, show the PR URL and check CI status using:
57
+ ```bash
58
+ gh pr checks
59
+ ```
@@ -0,0 +1,53 @@
1
+ ---
2
+ description: Create a git commit with proper message format
3
+ ---
4
+
5
+ Create a git commit following best practices.
6
+
7
+ ## Step 1: Assess Current State
8
+
9
+ Run these commands in parallel:
10
+
11
+ ```bash
12
+ git status
13
+ git diff
14
+ git log -5 --oneline
15
+ ```
16
+
17
+ ## Step 2: Stage Changes
18
+
19
+ 1. Review what files are changed
20
+ 2. Ask user if all changes should be committed, or if some should be staged separately
21
+ 3. Never commit these patterns:
22
+ - `.env`, `.env.local`, credentials
23
+ - `node_modules/`, `dist/`, `build/`
24
+ - `.DS_Store`, `*.log`
25
+ - Any API keys, tokens, or secrets
26
+
27
+ ## Step 3: Write Commit Message
28
+
29
+ Follow this format based on change type:
30
+
31
+ | Type | Usage |
32
+ |------|-------|
33
+ | `feat` | New feature |
34
+ | `fix` | Bug fix |
35
+ | `docs` | Documentation only |
36
+ | `style` | Code style changes (formatting) |
37
+ | `refactor` | Code refactoring |
38
+ | `test` | Adding or updating tests |
39
+ | `chore` | Build process, tooling |
40
+
41
+ Commit message template:
42
+
43
+ ```
44
+ <type>: <brief description (50 chars max)>
45
+
46
+ <detailed explanation if needed>
47
+
48
+ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49
+ ```
50
+
51
+ ## Step 4: Create Commit
52
+
53
+ Use git commit with the message, then run `git status` to confirm.
@@ -0,0 +1,76 @@
1
+ ---
2
+ description: Create or update a GitHub pull request
3
+ ---
4
+
5
+ Create or update a pull request with proper documentation.
6
+
7
+ ## Step 1: Check Current State
8
+
9
+ ```bash
10
+ git status
11
+ git log -5 --oneline
12
+ git branch --show-current
13
+ ```
14
+
15
+ ## Step 2: Check for Existing PR
16
+
17
+ ```bash
18
+ gh pr list --head $(git branch --show-current)
19
+ ```
20
+
21
+ ## Step 3: Create PR (if none exists)
22
+
23
+ ### Analyze Changes
24
+
25
+ ```bash
26
+ # Get commit history since branch from main/master
27
+ git diff $(git merge-base main HEAD)..HEAD --stat
28
+
29
+ # Get detailed diff
30
+ git diff $(git merge-base main HEAD)..HEAD
31
+ ```
32
+
33
+ ### Create PR with Template
34
+
35
+ Use `gh pr create` with:
36
+
37
+ ```markdown
38
+ ## Summary
39
+
40
+ <!-- 2-3 bullet points describing the main changes -->
41
+
42
+ ## Changes
43
+
44
+ <!-- Detailed list of changes -->
45
+
46
+ ## Test Plan
47
+
48
+ - [ ] Unit tests pass
49
+ - [ ] Integration tests pass
50
+ - [ ] Manual testing completed
51
+ - [ ] Documentation updated
52
+
53
+ ## Checklist
54
+
55
+ - [ ] Code follows project style guidelines
56
+ - [ ] Self-review completed
57
+ - [ ] Comments added to complex code
58
+ - [ ] Documentation updated
59
+ - [ ] No new warnings generated
60
+ ```
61
+
62
+ ## Step 4: Update PR (if exists)
63
+
64
+ If PR already exists, ask user if they want to:
65
+ - Update description
66
+ - Add comments
67
+ - Request review
68
+ - Merge if ready
69
+
70
+ ## Step 5: Show Result
71
+
72
+ Display PR URL and check CI status:
73
+
74
+ ```bash
75
+ gh pr checks
76
+ ```
@@ -0,0 +1,61 @@
1
+ ---
2
+ description: Review current changes before committing
3
+ ---
4
+
5
+ Review the current uncommitted or staged changes.
6
+
7
+ ## Step 1: Show Changes
8
+
9
+ ```bash
10
+ git status
11
+
12
+ # Show unstaged changes
13
+ git diff
14
+
15
+ # Show staged changes
16
+ git diff --staged
17
+ ```
18
+
19
+ ## Step 2: Code Review Checklist
20
+
21
+ Review the changes for:
22
+
23
+ ### Functionality
24
+ - [ ] Does the change accomplish the intended goal?
25
+ - [ ] Are there any obvious bugs or logic errors?
26
+ - [ ] Are edge cases handled?
27
+
28
+ ### Security
29
+ - [ ] No hardcoded credentials or API keys
30
+ - [ ] No SQL injection, XSS, or other vulnerabilities
31
+ - [ ] Proper input validation
32
+
33
+ ### Code Quality
34
+ - [ ] Code is readable and self-documenting
35
+ - [ ] No unnecessary complexity
36
+ - [ ] Follows DRY (Don't Repeat Yourself)
37
+ - [ ] Proper error handling
38
+
39
+ ### Testing
40
+ - [ ] Tests cover new functionality
41
+ - [ ] No tests are broken
42
+ - [ ] Edge cases are tested
43
+
44
+ ### Performance
45
+ - [ ] No obvious performance issues
46
+ - [ ] No unnecessary database queries or API calls
47
+ - [ ] Proper use of caching (if applicable)
48
+
49
+ ## Step 3: Provide Feedback
50
+
51
+ For each issue found:
52
+ 1. Point out the specific file and line
53
+ 2. Explain the issue
54
+ 3. Suggest a fix
55
+
56
+ ## Step 4: Summary
57
+
58
+ Provide an overall assessment:
59
+ - ✅ Ready to commit
60
+ - ⚠️ Minor issues to address
61
+ - ❌ Major issues that need fixing
@@ -0,0 +1,62 @@
1
+ ---
2
+ description: Manage and display parallel Claude sessions
3
+ ---
4
+
5
+ Manage and display information about parallel Claude sessions.
6
+
7
+ ## Show Session Status
8
+
9
+ Display all active parallel sessions:
10
+
11
+ ```bash
12
+ node .claude/hooks/multi-session.cjs --status
13
+ ```
14
+
15
+ ## Session Management Best Practices
16
+
17
+ Based on Boris Cherny's workflow:
18
+
19
+ ### Terminal Sessions (Local)
20
+ - Number your terminal tabs 1-5
21
+ - Use system notifications to know when Claude needs input
22
+ - Run different agents in different tabs:
23
+ - Tab 1: Conductor (planning/coordination)
24
+ - Tab 2: Architect (design/architecture)
25
+ - Tab 3: Builder (implementation)
26
+ - Tab 4: Reviewer (code review)
27
+ - Tab 5: Explorer (research)
28
+
29
+ ### Web Sessions (claude.ai/code)
30
+ - Run 5-10 web sessions in parallel with local sessions
31
+ - Use `&` to hand off local sessions to web
32
+ - Use `--teleport` to switch between local and web
33
+ - Start sessions from mobile Claude app for async work
34
+
35
+ ### Session Handoff
36
+
37
+ To hand off a session to web:
38
+ ```bash
39
+ # End local session with summary
40
+ # The session context will be available in claude.ai/code
41
+ ```
42
+
43
+ ## View Session History
44
+
45
+ ```bash
46
+ cat .claude/sessions/active-sessions.json
47
+ ```
48
+
49
+ ## Clean Old Sessions
50
+
51
+ Sessions older than 1 hour are automatically cleaned up. To manually clean:
52
+
53
+ ```bash
54
+ rm .claude/sessions/active-sessions.json
55
+ ```
56
+
57
+ ## Tips
58
+
59
+ 1. **Use Plan mode** (Shift+Tab twice) for most sessions
60
+ 2. **Switch to auto-accept** after approving a plan
61
+ 3. **Let sessions run in parallel** - don't wait for one to finish
62
+ 4. **Check notifications** to see when sessions need input
@@ -0,0 +1,131 @@
1
+ ---
2
+ description: Create a new skill with template
3
+ ---
4
+
5
+ Create a new skill using the standard template.
6
+
7
+ ## Step 1: Get Skill Information
8
+
9
+ Ask the user for:
10
+ 1. **Skill name** (kebab-case, e.g., `code-reviewer`)
11
+ 2. **Description** (one-line summary)
12
+ 3. **Category** (development, design, analysis, workflow, etc.)
13
+ 4. **Difficulty** (beginner, intermediate, advanced)
14
+
15
+ ## Step 2: Create Skill Directory
16
+
17
+ Create the skill directory structure:
18
+
19
+ ```bash
20
+ mkdir -p .claude/skills/{skill-name}/{templates,examples}
21
+ ```
22
+
23
+ ## Step 3: Generate SKILL.md
24
+
25
+ Use this template:
26
+
27
+ ```markdown
28
+ # {Skill Name}
29
+
30
+ > {Description}
31
+
32
+ **版本**: 1.0.0
33
+ **作者**: AI
34
+ **标签**: [{category}]
35
+ **难度**: {difficulty}
36
+
37
+ ---
38
+
39
+ ## 概述
40
+
41
+ {Detailed description of what this skill does}
42
+
43
+ ## 适用场景
44
+
45
+ - {Scenario 1}
46
+ - {Scenario 2}
47
+ - {Scenario 3}
48
+
49
+ ## 触发关键词
50
+
51
+ ```
52
+ {trigger keywords}
53
+ ```
54
+
55
+ ## 使用方法
56
+
57
+ ### 基础用法
58
+
59
+ {Example usage}
60
+
61
+ ## 输出格式
62
+
63
+ {Output format description}
64
+
65
+ ## 注意事项
66
+
67
+ - {Note 1}
68
+ - {Note 2}
69
+
70
+ ## 相关技能
71
+
72
+ - [Related Skill](../related-skill/)
73
+
74
+ ## 更新日志
75
+
76
+ ### 1.0.0 ({current-date})
77
+ - 初始版本
78
+ ```
79
+
80
+ ## Step 4: Generate metadata.yaml
81
+
82
+ ```yaml
83
+ name: {skill-name}
84
+ version: 1.0.0
85
+ author: AI
86
+ description: {description}
87
+
88
+ tags:
89
+ - {category}
90
+
91
+ triggers:
92
+ - {trigger1}
93
+ - {trigger2}
94
+
95
+ dependencies: []
96
+ difficulty: {difficulty}
97
+ ```
98
+
99
+ ## Step 5: Add to RAG Index
100
+
101
+ Update `.claude/rag/skill-index.json`:
102
+
103
+ ```json
104
+ {
105
+ "skills": [
106
+ {
107
+ "name": "{skill-name}",
108
+ "description": "{description}",
109
+ "keywords": ["{trigger1}", "{trigger2}"],
110
+ "path": ".claude/skills/{skill-name}/SKILL.md"
111
+ }
112
+ ]
113
+ }
114
+ ```
115
+
116
+ ## Step 6: Verify
117
+
118
+ Confirm with user:
119
+ - Skill created at `.claude/skills/{skill-name}/`
120
+ - Added to RAG index
121
+ - Ready to use
122
+
123
+ ## Example
124
+
125
+ User: "Create a skill called api-tester for testing REST APIs"
126
+
127
+ → Create `.claude/skills/api-tester/` with:
128
+ - SKILL.md (filled with API testing content)
129
+ - metadata.yaml
130
+ - templates/request.md
131
+ - examples/basic-test.md
@@ -0,0 +1,56 @@
1
+ ---
2
+ description: Run tests and show coverage report
3
+ ---
4
+
5
+ Run the test suite and provide comprehensive results.
6
+
7
+ ## Step 1: Detect Test Framework
8
+
9
+ Check what test framework is being used:
10
+
11
+ ```bash
12
+ cat package.json | grep -E '"test"|"jest"|"vitest"|"mocha"|"pytest"'
13
+ ```
14
+
15
+ ## Step 2: Run Tests
16
+
17
+ Run the appropriate test command:
18
+
19
+ ```bash
20
+ # Node.js / JavaScript
21
+ npm test
22
+
23
+ # Python
24
+ pytest
25
+
26
+ # Rust
27
+ cargo test
28
+
29
+ # Go
30
+ go test ./...
31
+ ```
32
+
33
+ ## Step 3: Show Coverage
34
+
35
+ If coverage is available, run:
36
+
37
+ ```bash
38
+ npm run test:coverage
39
+ # or
40
+ pytest --cov
41
+ ```
42
+
43
+ ## Step 4: Analyze Results
44
+
45
+ Provide a summary:
46
+ - Total tests run
47
+ - Pass/fail counts
48
+ - Coverage percentage
49
+ - Any failing tests with details
50
+
51
+ ## Step 5: Fix Failures (if any)
52
+
53
+ If tests fail, help the user:
54
+ 1. Identify the root cause
55
+ 2. Fix the issue
56
+ 3. Re-run tests to verify