curiositech/port-daddy/admin-dashboard
Claude Code and agent skill by curiositech/port-daddy
- community
Checking that the SKILL.md file is still in the repository.
Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.
Install
npx vskill@latest install curiositech/port-daddy/admin-dashboardSKILL.md
The same SKILL.md was published earlier as curiositech/port-daddy/admin-dashboard.
Admin & Developer Suite Development
This skill helps you extend the admin dashboard and build internal tools following the established patterns.
DECISION POINTS
When to Add Tab vs Modify Endpoint vs Create New Tool
Tab Content Implementation Strategy
FAILURE MODES
1. Database Query Performance Death Spiral
Symptom: Admin dashboard times out or loads slowly (>5 seconds) Detection: Monitor /api/admin/* response times >3s Fix: Add database indexes, implement pagination, cache aggregated stats
2. Stale Cache Showing Wrong Data
Symptom: Admin sees outdated metrics that don't match recent activity Detection: User reports stats don't change after known actions Fix: Implement cache invalidation on data mutations, add "Last Updated" timestamps
3. Missing Audit Logging
Symptom: Admin actions aren't logged in auditLog table Detection: Check auditLog entries for admin actions in past 24h Fix: Add logAdminAction() calls to ALL admin endpoints
4. HIPAA Violation Data Exposure
Symptom: PHI visible in error messages, logs, or aggregated views Detection: Error contains user email/phone/medical data Fix: Sanitize all error responses, use hashed identifiers in admin views
5. Admin Privilege Escalation
Symptom: Regular users can access admin endpoints Detection: Non-admin user receives admin data instead of 403 Fix: Add requireAdmin() check as first line of every admin endpoint
WORKED EXAMPLES
Adding Production Health Monitoring Tab
Scenario: Add real-time API health monitoring with latency metrics, error rates, and service status.
1. Decision Point Navigation:
- User needs real-time monitoring → Use SWR with 30s refresh
- System data, not user data → Add to admin dashboard
- New data type (API metrics) → Create new tab + endpoint
2. Implementation Steps:
Create endpoint with required patterns:
Create tab component:
3. Expert vs Novice Differences:
- Novice misses: Audit logging, rate limiting, HIPAA-safe error handling
- Expert catches: Cache invalidation strategy, performance monitoring setup, proper error boundaries
QUALITY GATES
- [ ] Admin access control: requireAdmin() check passes with admin user, fails with regular user
- [ ] Rate limiting: Endpoint returns 429 when rate limit exceeded (60 req/min default)
- [ ] Audit logging: Admin action logged to auditLog table with correct action type
- [ ] Performance baseline: Tab loads in <2 seconds with realistic data volume
- [ ] HIPAA compliance: No PHI exposed in error messages or debug output
- [ ] Data validation: Invalid requests return proper 400 errors with safe messages
- [ ] Cache behavior: Data updates within 30 seconds of backend changes
- [ ] Error boundaries: UI gracefully handles API failures without crashing
- [ ] Mobile responsive: Tab layout works on tablet-sized screens (768px+)
- [ ] Real-time updates: Auto-refresh works without memory leaks over 10+ minutes
NOT-FOR BOUNDARIES
Do NOT use this skill for:
- External user-facing features → Use
frontend-developmentinstead - Authentication/login flows → Use
auth-securityinstead - Database schema changes → Use
database-operationsinstead - Email/notification systems → Use
communicationsinstead - API rate limiting configuration → Use
backend-apiinstead - HIPAA compliance setup → Use
security-complianceinstead - Performance optimization → Use
optimizationinstead
Delegate to other skills when:
- Adding public user features →
frontend-development - Modifying user authentication →
auth-security - Creating new API endpoints for external use →
backend-api - Setting up monitoring infrastructure →
devops-infrastructure
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/admin-dashboard/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/curiositech/port-daddy/admin-dashboard)