Deeply analyzes the MyJKKN application to identify theme setup, tech stack, modules, pages, and components. Creates a comprehensive inventory of all files that need dark mode styling and checks which already have proper dark mode support. This skill should be used proactively when starting dark mode work or when asked to analyze the application's dark mode status.
npx claudepluginhub jkkn-institutions/claude-plugin-roja --plugin myjkkn-dark-mode-pluginThis skill uses the workspace's default tool permissions.
This skill performs a comprehensive analysis of the MyJKKN application to identify all modules, pages, and components that need dark mode styling.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
This skill performs a comprehensive analysis of the MyJKKN application to identify all modules, pages, and components that need dark mode styling.
Use this skill when:
ALWAYS check for existing .dark-mode-progress.json first:
# If file exists, load it to see what's been completed
cat .dark-mode-progress.json
next-themes package in package.jsonScan the codebase to create a complete inventory:
// Module structure to identify
{
moduleName: string;
path: string;
pages: string[];
components: string[];
hasLayout: boolean;
hasDarkMode: boolean;
darkModeScore: number; // 0-100
}
Key directories to scan:
app/(routes)/[module]/ - All module directoriesapp/(routes)/[module]/_components/ - Module-specific componentscomponents/ - Shared componentscomponents/ui/ - UI library componentsFor each file, check if it has proper dark mode styling:
✅ Has Dark Mode Support if contains:
dark: Tailwind classes (e.g., dark:bg-gray-800, dark:text-white)dark condition checks in classNamebg-background, text-foreground)❌ Needs Dark Mode if:
bg-white, text-black, bg-gray-100)For each module/component:
darkModeScore = (
(filesWithDarkMode / totalFiles) * 100
)
Create a structured report in .dark-mode-progress.json:
{
"version": "1.0.0",
"lastUpdated": "2025-01-16T10:00:00Z",
"techStack": {
"themeProvider": "next-themes",
"darkModeStrategy": "class",
"usesCSS Variables": true,
"tailwindConfig": "tailwind.config.ts"
},
"overallProgress": {
"totalModules": 14,
"completedModules": 0,
"totalFiles": 150,
"filesWithDarkMode": 50,
"filesNeedingDarkMode": 100,
"overallScore": 33.3
},
"modules": [
{
"name": "dashboard",
"path": "app/(routes)/dashboard",
"status": "pending",
"darkModeScore": 25,
"totalFiles": 5,
"filesCompleted": 0,
"pages": [
{
"file": "app/(routes)/dashboard/page.tsx",
"hasDarkMode": false,
"issues": ["hardcoded bg-white", "text-black without dark variant"],
"status": "pending"
}
],
"components": [
{
"file": "app/(routes)/dashboard/_components/stats-card.tsx",
"hasDarkMode": false,
"issues": ["bg-gray-100 without dark variant"],
"status": "pending"
}
]
}
],
"sharedComponents": [
{
"path": "components/ui/card.tsx",
"hasDarkMode": true,
"status": "completed"
}
]
}
Use efficient file reading:
// Use Glob to find all relevant files
Glob("app/(routes)/**/*.tsx")
Glob("components/**/*.tsx")
// For each file, check for dark mode indicators:
// - Presence of "dark:" in file content
// - Use of CSS variables vs hardcoded colors
// - Semantic color usage (bg-background vs bg-white)
After analysis, output:
.dark-mode-progress.json first to avoid re-analyzingUse the dark-mode-analyzer skill to scan the entire application and create a dark mode inventory.
// Claude will:
1. Check for existing .dark-mode-progress.json
2. Scan all modules and components
3. Analyze each file for dark mode support
4. Calculate scores
5. Create comprehensive progress file
6. Output summary and recommendations
dark-mode-styler skill to fix identified issuesprogress-tracker skill to monitor completion.dark-mode-progress.json for tracking