/claude-toolkit:log-monitorfrom claude-toolkit
Analyzes Laravel production log files, categorizes errors by type and severity, generates structured reports, and creates prioritized GitHub issues with project board tracking.
Ships in claude-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyzes Laravel production log files, categorizes errors, generates structured reports, and creates GitHub issues with proper labels and project board tracking.
Works with: Single log files, daily log directories, or multi-project log collections.
Activate when:
.log filesBefore generating anything:
*.log files[YYYY-MM-DD HH:MM:SS] environment.LEVEL:).git remote if issue creation is neededScan the target directory and identify:
.bak, .back.*) that should be includedFor each log file, extract:
| Field | Description |
|---|---|
| Timestamp | When the error occurred |
| Level | ERROR, WARNING, CRITICAL, EMERGENCY |
| Exception class | The PHP exception type |
| Message | The error message (first line) |
| Stack trace | Key files/classes involved |
| Context | User IDs, request data, SQL queries |
| Frequency | How many times this exact error appears |
Grouping rules:
Assign each unique error to a category:
| Category | Examples |
|---|---|
| Authentication / LDAP | Login failures, LDAP bind errors, OAuth state mismatch |
| Database | Query failures, connection errors, read-only transactions, migrations |
| IAM / Identity Sync | Keycloak sync, AD sync, user provisioning failures |
| Filesystem / Permissions | Permission denied, file not found, storage issues |
| Application Code | Unhandled exceptions, type errors, missing classes |
| Configuration | Missing config, env vars, service container resolution |
| Infrastructure | Memory exhaustion, timeout, queue failures, cache errors |
| Routing / HTTP | Route not found, 404/500 errors, CORS issues |
| External Services | API timeouts, webhook failures, third-party errors |
Assign priority based on:
| Priority | Criteria |
|---|---|
| P1-critical | Data loss risk, security breach, complete feature broken, affecting many users |
| P2-high | Feature partially broken, recurring daily, user-facing errors |
| P3-medium | Edge cases, non-critical failures, code bugs with workarounds |
| P4-low | Cosmetic, single occurrence, expected user behaviour, enhancements |
[project-name]/
├── summary.md # Project-level summary with daily totals and links
├── error-type.md # Consolidated unique error types with total counts
├── todo.md # Prioritized action items, deduplicated
├── [YYYY-MM-DD]/ # One folder per day with log entries
│ ├── summary.md # Daily overview, entry counts, key events
│ ├── error-type.md # Detailed error breakdown for that day
│ └── todo.md # Action items from that day's errors
When analyzing multiple projects, create a top-level summary:
summary.md # Cross-project summary with navigation links
├── [project-a]/...
├── [project-b]/...
# [Project Name] - Log Analysis Summary
**Period:** YYYY-MM-DD to YYYY-MM-DD
**Environment:** production at /path/to/app
**Total Entries:** X (Y errors + Z warnings)
## Daily Totals
| Date | Errors | Warnings | Key Event |
|---|---|---|---|
| YYYY-MM-DD | X | Y | Brief description |
## Error Distribution
| Category | Count | % | Status |
|---|---|---|---|
| Category name | X | Y% | ACTIVE / Likely resolved |
## Links
- [Error Types](error-type.md)
- [Action Items](todo.md)
- Daily: [Feb 23](2026-02-23/summary.md) | [Feb 24](2026-02-24/summary.md) | ...
# [Project Name] - YYYY-MM-DD
## Overview
- Total entries: X
- Errors: X
- Warnings: X
## Key Events
- Bullet points of what happened this day
## Error Distribution
| Error Type | Count |
|---|---|
| Error name | X |
# [Project Name] - Error Types - [DATE or "All Dates"]
## [Error Category]
### [Specific Error]
- **Count:** X
- **Level:** ERROR / WARNING / CRITICAL
- **Exception:** Full\Class\Name
- **Message:** Actual error message (truncated if long)
- **Affected:** Users, endpoints, or features affected
- **Stack:** Key files in stack trace
- **First seen:** YYYY-MM-DD
- **Last seen:** YYYY-MM-DD
- **Status:** Active / Resolved / Intermittent
# [Project Name] - Action Items
## P1 - Critical
- [ ] Description of what needs to be fixed
- Context: why this is critical
- Affected: who/what is impacted
## P2 - High
- [ ] Description...
## P3 - Medium
- [ ] Description...
## P4 - Low
- [ ] Description...
When the user asks to create issues from findings:
Create these labels in each target repo (skip if they exist):
| Label | Color | Description |
|---|---|---|
P1-critical | #B60205 | Critical - fix immediately |
P2-high | #D93F0B | High priority - fix this week |
P3-medium | #FBCA04 | Medium priority - fix this sprint |
P4-low | #0E8A16 | Low priority - backlog |
log-analysis | #5319E7 | Discovered from production log analysis |
infrastructure | #006B75 | Server, DB, deployment infrastructure |
For each unique error that needs action, create a GitHub issue:
## Summary
[1-2 sentence description of the problem]
## Error
\`\`\`
[Actual error message from logs]
\`\`\`
**[X] errors** from [date range].
## Impact
- [What breaks or degrades]
- [Who is affected]
## Affected [Users/Components]
[Table or list of specific affected items]
## Root Cause
[Known or suspected root cause]
## Action Items
- [ ] Step 1 to fix
- [ ] Step 2 to verify
- [ ] Step 3 to prevent recurrence
## Source
Production log analysis: `[log file name]` ([date range])
Labels: Always include log-analysis + appropriate priority label + bug or enhancement + infrastructure if applicable.
[Org/Project] - Issue TrackerWhen asked, also review existing unlabelled issues in the repos:
bug or enhancement)Beyond individual errors, look for these patterns:
| Pattern | What to Look For |
|---|---|
| Spikes | Sudden increase in error count on specific days |
| Recurring | Same error appearing daily (e.g., cron jobs, sync tasks) |
| Cascading | One error causing a chain of other errors |
| Time-correlated | Errors clustered in a short time window (incident) |
| User-correlated | Same user triggering repeated errors (e.g., retry loops) |
| Deployment-correlated | Errors appearing right after a permission change or new code |
| Resolution | Errors that appear on some days then stop (likely fixed) |
Document patterns in the summary with a Timeline of Events section.
When analyzing multiple projects in the same ecosystem:
summary.md under Shared Infrastructure Concerns[YYYY-MM-DD HH:MM:SS] environment.LEVEL: Message {"context"}
[stacktrace]
If non-Laravel logs are detected, adapt the parsing:
| File | Read When |
|---|---|
references/report-templates.md | Starting a new analysis — get markdown templates for all report types |
references/error-patterns.md | Categorizing errors — get common Laravel/PHP error patterns and their typical causes |
references/github-issue-templates.md | Creating GitHub issues — get issue body templates for different error categories |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
monitoring, error-analysis, laravel, production, github-issues, triage
43 skills in this plugin
/business-cardSVG business card designer that takes contact details and brand preferences, then produces 12 front design concepts with optional back designs, interactive HTML preview galleries, individual card showcases with front/back flip animation, and print-ready SVG exports with bleed area and crop marks. Supports horizontal and vertical orientations, six layout styles (minimal, corporate, creative, elegant, bold, tech), multiple color schemes, QR code placeholders, social media icons, and logo integration. Use this skill whenever the user asks to design a business card, create a name card, make visiting cards, or says "design business card", "buat kad bisnes", "create name card", "reka kad perniagaan", "design kad nama", "I need a business card for X".
/ci-cd-pipelineCI/CD pipeline builder for Laravel projects — extends Kickoff's existing GitHub Actions CI with continuous deployment pipelines (staging/production), Docker containerisation, secret management, and failure notifications. Generates Dockerfiles, docker-compose.yml, deployment configs for VPS via SSH, container registry push workflows, and leverages Kickoff's /bin scripts (deploy.sh, backup.sh, setup.sh) in automated workflows. Use this skill whenever the user asks to set up deployment pipelines, containerise a Laravel app, configure CD for staging or production, push Docker images to a registry, manage deployment secrets, add failure notifications to CI, or integrate /bin scripts with GitHub Actions. Triggers for requests like "set up CD pipeline", "deploy to staging automatically", "dockerise my Laravel app", "add Docker to my project", "push image to registry", "manage secrets in CI", "notify on failure", "extend CI with deployment", "setup deploy pipeline", "nak deploy guna GitHub Actions", "tambah Docker dalam project", "setup CD untuk staging", "nak auto deploy ke production", "dockerise Laravel app aku", "tambah notification kalau CI fail", "macam mana nak manage secrets dalam GitHub Actions", or "integrate bin scripts dengan CI". Assumes Laravel Kickoff as the baseline — GitHub Actions CI (Pint, PHPStan, Rector, Pest) and /bin scripts (deploy.sh, backup.sh) are already configured. This skill extends that baseline with CD, Docker, and deployment automation.
npx claudepluginhub nasrulhazim/claude --plugin claude-toolkitOther plugins' skills for the same job