Skip to content

Commit 48163ea

Browse files
feat: Add comprehensive runtime debugging capabilities to web-performance-agent
Enhanced web-performance-agent with advanced runtime debugging features: - Headless browser monitoring for freeze/hang detection - Memory leak detection and heap analysis - Main thread blocking detection - Framework-specific debugging (Angular Zone.js, React re-renders, Vue watchers) - Network request tracking and stuck request detection - CPU profiling for hot function identification - Auth token injection for protected apps - Quick diagnosis scripts for rapid issue identification Added new resources: - runtime-debugging skill with patterns and best practices - /diagnose-runtime command for quick runtime diagnostics Updated versioning pattern documentation in CLAUDE.md to reflect custom scheme. This enables debugging of complex runtime issues like app freezes, memory leaks, infinite loops, and performance degradation that can't be detected with basic Lighthouse audits alone.
1 parent 7794a80 commit 48163ea

File tree

7 files changed

+1208
-39
lines changed

7 files changed

+1208
-39
lines changed

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "cf-dev-toolkit",
1111
"source": "./",
1212
"description": "Specialized sub-agents, auto-loading skills, and commands that reduce context usage and prevent Claude from losing focus on complex tasks",
13-
"version": "1.1.11"
13+
"version": "1.1.12"
1414
}
1515
]
1616
}

CLAUDE.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,25 +146,33 @@ If agents suggest code without checking:
146146

147147
## Version Management
148148

149-
Current version: 1.1.1
149+
Current version: 1.1.12
150150

151151
When incrementing:
152152
1. Update `manifest.json` version
153153
2. Update `.claude-plugin/marketplace.json` plugin version
154154
3. Update README.md badge
155155
4. Document changes in git commit
156156

157-
### Semantic Versioning
157+
### Versioning Pattern (Custom for this project)
158158

159-
Follow semver (MAJOR.MINOR.PATCH):
160-
- **MAJOR**: Breaking changes (agent removal, fundamental behavior changes)
161-
- **MINOR**: New features (new agents, skills, commands)
162-
- **PATCH**: Bug fixes, documentation updates, small improvements
159+
**IMPORTANT: This project uses a modified versioning pattern:**
160+
161+
Format: `1.MINOR.PATCH`
162+
- **1.X.0**: Major feature releases (reserved for significant milestones)
163+
- **1.1.X**: All regular updates including:
164+
- New agents, skills, commands
165+
- Feature enhancements
166+
- Bug fixes
167+
- Documentation updates
168+
- Performance improvements
163169

164170
Examples:
165-
- Add new agent → 1.1.0
166-
- Fix agent trigger keywords → 1.0.1
167-
- Remove/rename agent → 2.0.0
171+
- Add new agent → 1.1.12 (increment patch)
172+
- Fix agent trigger keywords → 1.1.13 (increment patch)
173+
- Major rewrite/v2 → 2.0.0 (only for breaking changes)
174+
175+
**Note**: We keep all backward-compatible changes as patch versions (1.1.X) to maintain stability and indicate continuous improvement rather than major version jumps.
168176

169177
## Installation Testing
170178

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cf Dev Toolkit
22

3-
[![Version](https://img.shields.io/badge/version-1.1.11-blue.svg)](https://github.com/rubenCodeforges/codeforges-claude-plugin)
3+
[![Version](https://img.shields.io/badge/version-1.1.12-blue.svg)](https://github.com/rubenCodeforges/codeforges-claude-plugin)
44
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
55
[![Claude Code](https://img.shields.io/badge/Claude%20Code-Plugin-purple.svg)](https://claude.com/claude-code)
66

@@ -73,7 +73,7 @@ No @ needed. Agents activate automatically.
7373
| **code-analyst** | Deep file analysis, smart reading for large files | "analyze", "review", "understand code" |
7474
| **usage-finder** | Tracks function/class usage across entire codebase | "where used", "find usages", "what calls this" |
7575
| **performance-analyzer** | Finds bottlenecks, N+1 queries, algorithmic issues | "slow", "performance", "optimize" |
76-
| **web-performance-agent** | Lighthouse analysis for live websites (Core Web Vitals) | URLs, "page speed", "lighthouse" |
76+
| **web-performance-agent** | Lighthouse analysis + runtime debugging (freezes, memory leaks) | URLs, "page speed", "app freeze", "memory leak" |
7777
| **api-analyzer** | Maps all endpoints (Express, FastAPI, Django, Spring, Go) | "API routes", "endpoints", "map API" |
7878
| **dependency-analyzer** | Security vulnerabilities, circular deps, bundle bloat | "dependencies", "npm audit", "security" |
7979
| **git-analyzer** | Shows who wrote what, when, why | "git blame", "who wrote", "recent changes" |
@@ -85,16 +85,19 @@ No @ needed. Agents activate automatically.
8585
- Verification before code suggestions
8686
- Automatic multi-agent coordination
8787

88-
### 4 Auto-Loading Skills
88+
### 5 Auto-Loading Skills
8989
- **codebase-patterns** - Pattern recognition
9090
- **refactoring-guide** - Refactoring techniques
9191
- **performance-patterns** - Optimization strategies
9292
- **web-performance-optimization** - Core Web Vitals, Lighthouse metrics
93+
- **runtime-debugging** - Debug freezes, memory leaks, performance issues
9394

94-
### 3 Quick Commands
95+
### 5 Quick Commands
9596
- `/analyze-file <path>` - Deep file analysis
9697
- `/scan-codebase` - Complete project scan
9798
- `/check-web-perf` - Web performance toolkit diagnostics
99+
- `/map-class-usage <class>` - Build usage map for a class
100+
- `/diagnose-runtime <url>` - Debug runtime issues (freezes, memory leaks)
98101

99102
---
100103

0 commit comments

Comments
 (0)