用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill mindtickle-debug-bundle命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Implement user sign-up and sign-in flows with Clerk. Use when building authentication UI, customizing sign-in experience, or implementing OAuth social login. Trigger with phrases like "clerk sign-in", "clerk sign-up", "clerk login flow", "clerk OAuth", "clerk social login".
Implement session management and middleware with Clerk. Use when managing user sessions, configuring route protection, or implementing token refresh and custom JWT templates. Trigger with phrases like "clerk session", "clerk middleware", "clerk route protection", "clerk token", "clerk JWT".
Configure enterprise SSO, role-based access control, and organization management. Use when implementing SSO integration, configuring role-based permissions, or setting up organization-level controls. Trigger with phrases like "clerk SSO", "clerk RBAC", "clerk enterprise", "clerk roles", "clerk permissions", "clerk organizations".
正在显示 SKILL.md
基于 SOC 职业分类
| name | mindtickle-debug-bundle |
| description | Debug Bundle for MindTickle. Trigger: "mindtickle debug bundle". |
| allowed-tools | Read, Bash(curl:*), Grep |
| version | 1.7.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","mindtickle","sales"] |
| compatibility | Designed for Claude Code |
This debug bundle collects diagnostic evidence from MindTickle sales enablement API integrations for troubleshooting course delivery, quiz scoring, user progress tracking, and CRM sync pipelines. It captures API token validation, course catalog accessibility, user enrollment status, content module health, and Salesforce integration state. The resulting tarball provides the evidence needed to diagnose training completion gaps, broken content assignments, scoring discrepancies, and SSO provisioning failures without requiring MindTickle admin panel access.
curl, jq, tar installedMINDTICKLE_API_KEY set (API token from MindTickle Admin > Integrations > API)MINDTICKLE_INSTANCE set to your instance URL (e.g., yourcompany.mindtickle.com)#!/bin/bash
set -euo pipefail
BUNDLE="debug-mindtickle-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$BUNDLE"
# Environment check
echo "=== Environment ===" > "$BUNDLE/environment.txt"
echo "API Key: ${MINDTICKLE_API_KEY:+SET (redacted)}" >> "$BUNDLE/environment.txt"
echo "Instance: ${MINDTICKLE_INSTANCE:-NOT SET}" >> "$BUNDLE/environment.txt"
echo "Node: $(node -v 2>/dev/null || echo 'not installed')" >> "$BUNDLE/environment.txt"
echo "Timestamp: $(date -u)" >> "$BUNDLE/environment.txt"
# API connectivity — company info
echo "=== API Health ===" > "$BUNDLE/api-health.txt"
curl -sf -o "$BUNDLE/api-health.txt" -w "HTTP %{http_code} in %{time_total}s\n" \
-H "Authorization: Bearer ${MINDTICKLE_API_KEY}" \
"https://${MINDTICKLE_INSTANCE}/api/v2/company" 2>&1 || echo "UNREACHABLE" > "$BUNDLE/api-health.txt"
# Course catalog
echo >
curl -sf -H \
\
>> 2>&1 || >
>
curl -sf -H \
\
>> 2>&1 || >
>
SERIES_ID=$(jq -r 2>/dev/null)
[ -n ];
curl -sf -H \
\
>> 2>&1 || >
>
>
-100 /var/log/mindtickle-sync/*. >> 2>/dev/null || >>
>
curl -sI -H \
2>/dev/null | grep -i >> || >>
>
npm 2>/dev/null | grep -i mindtickle >> || >>
tar -czf && -rf
tar -xzf debug-mindtickle-*.tar.gz
cat debug-mindtickle-*/environment.txt # Verify API key and instance
cat debug-mindtickle-*/api-health.txt # Check HTTP status and latency
jq '.series | length' debug-mindtickle-*/courses.json # Count courses
jq '.users | length' debug-mindtickle-*/users.json # Check user provisioning
| Symptom | Check in Bundle | Fix |
|---|---|---|
| 401 on all endpoints | environment.txt shows key NOT SET | Generate API token in MindTickle Admin > Integrations > API Access |
| 403 on user endpoints | users.json shows permission error | Token missing users.read scope; regenerate with admin role permissions |
| Course list empty | courses.json returns empty series array | Verify courses are published (draft courses excluded from API); check team filter |
| Progress shows 0% for enrolled users | assessments.json shows no completion data | Content modules may not have tracking enabled; check series settings in admin |
| CRM sync stale | App logs show Salesforce auth errors | Re-authorize Salesforce connection in MindTickle Admin > CRM Integration |
| SSO users not appearing | users.json missing expected users | Check SCIM provisioning logs; verify IdP group assignment includes MindTickle app |
async function checkMindTickleHealth(): Promise<{
status: string;
latencyMs: number;
companyOk: boolean;
courseCount: number;
userProvisioningOk: boolean;
}> {
const apiKey = process.env.MINDTICKLE_API_KEY;
const instance = process.env.MINDTICKLE_INSTANCE;
const headers = { Authorization: `Bearer ${apiKey}` };
const start = Date.now();
const companyRes = await fetch(`https://${instance}/api/v2/company`, { headers });
const coursesRes = await fetch(`https://${instance}/api/v2/series?limit=1`, { headers });
const usersRes = await fetch(`https://${instance}/api/v2/users?limit=1`, { headers });
let courseCount = 0;
if (coursesRes.ok) {
const data = await coursesRes.json();
courseCount = data.?. ?? ;
}
{
: companyRes. ? : ,
: .() - start,
: companyRes.,
courseCount,
: usersRes.,
};
}
See mindtickle-rate-limits.