From workflow
Investigates and resolves CampX support tickets and data issues. Use PROACTIVELY when user says: 'I got a ticket', 'support ticket', 'student can't see', 'wrong data', 'wrong marks', 'wrong grades', 'wrong branch', 'someone reported', 'client reported', 'data fix', 'data issue', 'triage this', pastes a campx.frappe.cloud link, or reports any student/tenant data problem. Fetches ticket from Frappe or GitHub, classifies severity, finds matching z-migration, reads affected entities, generates verification SQL queries — all in one pass.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow:triage-ticketThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Announce:** "I'm using the triage-ticket skill to classify and route this ticket."
Announce: "I'm using the triage-ticket skill to classify and route this ticket."
Route incoming support tickets and data issues to the right response path. For data fixes: auto-match z-migrations, generate verification SQL/MongoDB queries, and guide the fix lifecycle through to closure.
Steps 3a through 3d MUST ALL run automatically in one pass. Do NOT stop after finding the z-migration and wait for user to ask for queries. The user expects: z-migration match + entity reading + verification queries ALL in one response.mcp__claude_ai_campx-hd__get_documentgh issue view {number} --repo campx-org/{repo} --json title,body,labels,commentsExtract: what user/tenant reported, affected entity/data, expected vs actual behavior, error messages.
CRITICAL (any true): student exam in progress AND cannot submit, payment charged but enrollment failed, student data deleted/corrupted, all users in tenant blocked, security breach.
HIGH (any true, no CRITICAL): wrong data displayed, core feature broken for 1+ tenants, exam process blocked for batch/semester.
MEDIUM: cosmetic issue, feature works with extra steps, non-essential feature unavailable.
LOW: enhancement disguised as bug, feature request. → Recommend backlog.
Tie-breaker: If LOW/MEDIUM but blocks a time-sensitive event (exam, graduation, fee deadline) → escalate one level.
Announce: Severity: [LEVEL] — [1-line reason]
Search BOTH servers using absolute paths:
find /Users/ramchanderpeddada/Desktop/CampX/campx-exams-server/src/z-migrations -name "*.ts" 2>/dev/null
find /Users/ramchanderpeddada/Desktop/CampX/campx-square-server/src/z-migrations -name "*.ts" 2>/dev/null
Known patterns:
student-branch-change.tsstudent-course-registration.tsremove-internal-registrations.ts / restore-internal-records.tsstudent-grade-deletion.tsexternal-barcode-mapping.tssubject-code-update.ts (square-server)Find the relevant entity/module. Check for feature flags or tenant-specific config.
Tell user: "No existing z-migration matches. Here's the pattern to create one:" → show template from an existing similar script.
Process:
grep -r "class.*Entity" src/domain/ for entity namesVERIFICATION QUERIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Query 1: Check the reported record
-- [explain what this checks]
SELECT [columns]
FROM [table] t
JOIN [related_table] r ON t.fk_column = r.id
WHERE t.[identifier] = '[value from ticket]';
Query 2: Check related records
-- [explain what this checks]
SELECT [columns] FROM [related_table] WHERE [condition];
Query 3: Verify expected state
-- [what correct data should look like]
SELECT [columns] FROM [table] WHERE [condition];
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Run these in MySQL Workbench and paste results back.
For MongoDB data: db.collection.find({ key: "value" }).pretty()
┌─────────────────────────────────────────────┐
│ TRIAGE: [summary] │
├─────────────────────────────────────────────┤
│ Severity: [CRITICAL/HIGH/MEDIUM/LOW] │
│ Type: [data fix / code bug / config / gap] │
│ │
│ RECOMMENDATION: [one of below] │
│ │
│ HOTFIX (z-migration) │
│ z-migration: [filename] or "none — new" │
│ What to do: [specific steps] │
│ ETA: immediate / < 1hr │
│ │
│ — OR — │
│ │
│ SPRINT TASK │
│ Why not hotfix: [reason] │
│ Scope: S / M / L │
│ │
│ — OR — │
│ │
│ NEEDS BRD │
│ Why: [too complex / cross-service] │
└─────────────────────────────────────────────┘
"hotfix" / "go ahead" → Step 5b: Data Fix Execution
onModuleInit()onModuleInit()Issue: [summary] | Verified: [query] | Fix: [z-migration] | Status: Resolved
"create issue" → use gh CLI to create GitHub issue with ticket context
"investigate more" → search deeper, re-triage
All of these mean: STOP and re-evaluate before proceeding.
npx claudepluginhub ramchanderpeddada/workflow-plugin --plugin workflowCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.