Skip to content
cccskills
FreePublished on GitHub

fullstack-platform-completion

End-to-end platform completion workflow for Next.js applications. Use when the user wants to fix broken features, create missing pages, implement dashboard tabs, connect APIs to UI components, or complete an incomplete full-stack application. Triggers on: "complete the app", "fix everything", "finish the platform", "implement all features", "wire up APIs", "connect frontend to backend", "fix broken flows", "missing pages", "stub features", "incomplete components".

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5 stars(GitHub 5 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md6.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Full-Stack Platform Completion

This skill provides a systematic approach to completing a full-stack Next.js application by identifying and fixing all broken, incomplete, or stub features.

Phase 1: Audit & Inventory

Run this audit to identify all incomplete features:

# 1. Find all stub/mock data patterns
grep -r "TODO\|FIXME\|HACK\|STUB\|PLACEHOLDER\|mock\|stub\|placeholder\|hardcoded\|not implemented" src/ --include="*.ts" --include="*.tsx" | grep -v node_modules

# 2. Find all API routes and check if they exist for every referenced endpoint
find src/app/api -name "route.ts" | wc -l

# 3. Find all page routes and check for missing page.tsx files
find src/app -type d | while read dir; do
  if [ ! -f "$dir/page.tsx" ] && [ ! -f "$dir/page.ts" ]; then
    echo "MISSING PAGE: $dir"
  fi
done

# 4. Find all component imports and check for missing files
grep -r "import.*from" src/ --include="*.tsx" | grep -v node_modules | grep -v ".next" | cut -d'"' -f2 | sort -u

Phase 2: Critical Flow Fixes

2.1 Fix Authentication Flows

Check these endpoints are fully wired:

  • /api/auth/register — handles all form fields including new consent checkboxes
  • /api/auth/login — returns proper user object with profile data
  • /api/auth/logout — clears session cookies
  • /api/auth/me — returns full user profile
  • /api/auth/reset-password — must NOT use withAuth wrapper (unauthenticated endpoint)

2.2 Fix Registration/Signup Flow

Common issues:

  • Signup form sends FormData but API expects JSON — align the format
  • Missing consent checkboxes not validated server-side
  • Therapist verification doesn't create VerificationDoc records
  • Password not hashed before storage

2.3 Fix Dashboard Tab Integration

Each GoldDashboard tab must:

  • Accept therapistId prop
  • Fetch real data from API (no hardcoded numbers)
  • Handle loading and error states
  • Save changes back to API on submit

Phase 3: Missing Page Creation

3.1 Dynamic Route Pages

Create these missing pages with real data fetching:

src/app/therapist/[id]/page.tsx

'use client';
import { useRouter, useSearchParams } from 'next/navigation';
// Fetch therapist data from /api/therapists/[id]
// Show profile, services with discounts, book button
// Tabs: overview, services, reviews, photos

src/app/booking/[id]/page.tsx

'use client';
import { useRouter, useSearchParams } from 'next/navigation';
// Multi-step booking: service selection → date/time → client details
// Submit to /api/bookings
// Redirect to success page

src/app/city/[city]/page.tsx

// Server component with SSR
// Fetch therapists by city from /api/therapists?city=
// Revalidate: 300s

3.2 Blog & Content Pages

  • /blog — List published posts from /api/blog
  • /blog/[slug] — Single post with view increment

Phase 4: API-UI Connection

4.1 Services & Discounts

// ServicesTab must:
// 1. Fetch from /api/therapists/services (GET)
// 2. Create via POST with { name, duration, price, discount, discountType }
// 3. Update via PUT with { id, ...fields }
// 4. Delete via DELETE with ?id= query param
// 5. Show effective price: price - (discount% or fixed amount)

4.2 Finance Tab

// FinanceTab must:
// 1. Fetch financial data from /api/financial?userId=
// 2. Show real income, expenses, net profit
// 3. Add expense via POST /api/financial/expenses
// 4. Export CSV from existing expense data

4.3 Photo Studio

// PhotoStudioTab must:
// 1. Fetch photos from /api/therapists/[id] include: photos
// 2. Upload via POST /api/photos/upload (FormData)
// 3. Delete via DELETE /api/photos/[id]
// 4. AI edit via POST /api/photo-editor

Phase 5: Build Verification

# 1. Generate Prisma client
npx prisma generate

# 2. Run type check
npx tsc --noEmit

# 3. Run tests
npx vitest run

# 4. Build production
npm run build

# 5. Verify no TypeScript errors
# Fix any "error TS" or "Type error" messages

Phase 6: Common Fixes Quick Reference

SymptomFix
Property 'user' does not exist on type 'NextRequest'Cast: (req as any).user
Property 'query' does not exist on type 'AppRouterInstance'Use useSearchParams() instead of router.query
discount field missing from PrismaAdd to schema, run npx prisma migrate dev
Form sends FormData but API expects JSONChange to JSON.stringify() or fix API to parse FormData
Static page can't access request.urlAdd export const dynamic = 'force-dynamic'
API route needs auth but shouldn't require itRemove withAuth wrapper

Files to Create/Modify

src/app/
├── booking/[id]/page.tsx          # NEW: Booking flow
├── booking/[id]/success/page.tsx  # NEW: Booking confirmation
├── city/[city]/page.tsx           # NEW: City listings
├── therapist/[id]/page.tsx        # NEW: Therapist detail
├── blog/page.tsx                  # NEW: Blog index
└── api/
    ├── therapists/services/route.ts    # NEW: Service CRUD
    ├── financial/expenses/route.ts     # NEW: Expense management
    ├── system/health/route.ts          # NEW: System health
    └── system/optimize/route.ts        # NEW: Auto-cleanup

src/components/dashboard/GoldDashboard/
├── ServicesTab.tsx       # FIXED: Real API integration
├── FinanceTab.tsx        # FIXED: Real API integration
├── PhotoStudioTab.tsx    # FIXED: Real upload/delete
├── MarketingTab.tsx      # FIXED: AI generation + campaigns
└── AISettingsTab.tsx     # FIXED: Config persistence

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

See all skills by ProjectZeroDays

Report a problem with this skill