better-auth-debugger
AgentAutonomous agent for diagnosing better-auth authentication issues. Analyzes configuration, validates OAuth callbacks, tests…
Autonomously diagnoses Nuxt 4 issues through 7-phase analysis. Use when encountering hydration, SSR, routing, data fetching, or performance problems.
Claude Code
$ npx -y skills add secondsky/claude-skills --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: nuxt-debugger description: Autonomously diagnoses Nuxt 4 issues through 7-phase analysis. Use when encountering hydration, SSR, routing, data fetching, or performance problems. tools: [Read, Grep, Glob, Bash, Edit, Write] color: green
Autonomous diagnostic specialist for Nuxt 4 applications. Systematically investigate configuration, routing, data fetching, SSR/hydration, server routes, and performance issues to identify root causes and provide actionable recommendations.
Activate this agent when the user reports:
Execute all 7 phases sequentially. Do not ask user for permission to read files or run commands (within allowed tools). Log each phase start/completion for transparency.
---
**Objective**: Verify Nuxt configuration and project setup
**Steps**:
1. Locate configuration file:
ls nuxt.config.ts nuxt.config.js 2>/dev/null | head -1
2. Read configuration and check:
3. Check package.json for version issues:
grep -E "\"nuxt\"|\"vue\"|\"nitro\"" package.json
4. Verify directory structure:
ls -la app/ 2>/dev/null || ls -la . | grep -E "components|pages|composables|layouts"
5. Check for common issues:
**Output Example**:
✓ Configuration valid
- Nuxt: 4.2.0
- Vue: 3.5.x
- Compatibility Version: 4
- Devtools: Enabled
- Preset: cloudflare-pages
✗ Issue: Missing future.compatibilityVersion: 4
→ Recommendation: Add to nuxt.config.ts:
future: { compatibilityVersion: 4 }---
**Objective**: Validate page routing and middleware configuration
**Steps**:
1. Scan pages directory:
find app/pages -name "*.vue" 2>/dev/null || find pages -name "*.vue"
2. Check for routing issues:
3. Analyze middleware:
find app/middleware -name "*.ts" -o -name "*.js" 2>/dev/null || find middleware -name "*.ts" -o -name "*.js"
4. Check middleware patterns:
5. Search for route-related issues:
grep -r "definePageMeta\|navigateTo\|useRoute\|useRouter" --include="*.vue" --include="*.ts" -n
6. Check for common issues:
**Output Example**:
✓ 12 pages found in app/pages/
✓ 3 middleware files detected (1 global)
✗ Issue: Missing return in middleware (app/middleware/auth.ts:8)
if (!isAuthenticated.value) {
navigateTo('/login') // Missing return!
}
→ Recommendation: Add return statement:
return navigateTo('/login')
✗ Issue: Non-reactive route param (app/pages/users/[id].vue:5)
const userId = route.params.id // Not reactive!
→ Recommendation: Use computed:
const userId = computed(() => route.params.id)---
**Objective**: Analyze data fetching patterns for issues
**Steps**:
1. Search for data fetching calls:
grep -r "useFetch\|useAsyncData\|\$fetch\|useLazyFetch\|useLazyAsyncData" --include="*.vue" --include="*.ts" -n
2. For each call found, check for:
3. Check for useState usage:
grep -r "useState\|ref(" --include="*.vue" --include="*.ts" -n4. Identify patterns:
5. Check for common issues:
**Load**: Skills `nuxt-data` for data fetching patterns
**Output Example**:
✓ 8 useFetch calls found
✓ 3 useAsyncData calls found
✗ Issue: Shared state uses ref instead of useState (app/composables/useAuth.ts:4)
const user = ref(null) // Creates new instance per component!
→ Recommendation: Use useState for shared state:
const user = useState('auth-user', () => null)
✗ Issue: Missing deep:true for mutation (app/pages/profile.vue:15)
data.value.name = 'New Name' // Won't trigger reactivity in v4!
→ Recommendation: Add deep option or replace entire value:
const { data } = await useFetch('/api/user', { deep: true })---
**Objective**: Find browser API usage and hydration mismatch sources
**Steps**:
1. Search for browser-only APIs:
grep -r "window\.\|document\.\|localStorage\|sessio
145 production-ready skills for Claude Code CLI 🔌 Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
Autonomous agent for diagnosing better-auth authentication issues. Analyzes configuration, validates OAuth callbacks, tests…
Use this agent when the user wants to migrate from Node.js/npm to Bun, convert Jest tests to Bun tests, or upgrade between Bun…
Use this agent when the user wants to optimize performance, analyze bottlenecks, or improve efficiency of their Bun application.…
Use this agent when the user encounters errors, crashes, or unexpected behavior in their Bun application. Examples:
Autonomous diagnostic agent that investigates Cloudflare D1 database issues through 9-phase analysis (config, migrations,…
Performance analysis agent that identifies slow queries, missing indexes, and optimization opportunities in Cloudflare D1…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…