App Development

Build features in the AI Coaching Platform Next.js app. Use for creating pages, components, server actions, TanStack tables, and understanding application architecture.

16 stars

Best use case

App Development is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Build features in the AI Coaching Platform Next.js app. Use for creating pages, components, server actions, TanStack tables, and understanding application architecture.

Teams using App Development should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/app-development/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/frontend/app-development/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/app-development/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How App Development Compares

Feature / AgentApp DevelopmentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Build features in the AI Coaching Platform Next.js app. Use for creating pages, components, server actions, TanStack tables, and understanding application architecture.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# App Development Skill

This skill provides comprehensive knowledge for developing features in the AI Coaching Platform Next.js application.

## Purpose

Use this skill when:
- Building new pages and components
- Creating server actions for data operations
- Working with the TanStack Table system
- Understanding the application architecture
- Implementing forms and data validation

## Skill Structure

```
app-development/
├── SKILL.md                # This file - main reference
├── architecture.md         # Application architecture overview
├── component-system.md     # Component patterns and primitives
├── data-flow.md           # Server actions, React Query, data handling
├── tanstack-table.md      # Table component system
└── workflows.md           # Common development workflows
```

## Quick Reference

### Tech Stack
- **Framework**: Next.js 15 with App Router
- **UI**: React 18, Tailwind CSS
- **Database**: MongoDB Atlas with Mongoose ODM
- **Authentication**: Clerk
- **State Management**: React Query, React Hooks
- **Validation**: Zod schemas

### Key Directories
- `src/app/` - Pages and layouts
- `src/app/actions/` - Server actions
- `src/components/` - Reusable components
- `src/hooks/scm/` - SCM React Query hooks (centralized)
- `src/lib/schema/mongoose-schema/` - Database models
- `src/lib/schema/zod-schema/` - Validation schemas
- `src/query/` - React Query providers

## Documentation Files

### Architecture
@.claude/skills/app-development/architecture.md
- Application structure overview
- File organization patterns
- Key directories and their purposes

### Component System
@.claude/skills/app-development/component-system.md
- Component hierarchy (core, composed, domain, features)
- Creating new components
- Styling with Tailwind CSS
- Common component patterns

### Data Flow
@.claude/skills/app-development/data-flow.md
- Server action patterns
- React Query usage
- Error handling
- Database operations

### TanStack Table
@.claude/skills/app-development/tanstack-table.md
- Table configuration
- Column definitions
- Features (sorting, filtering, pagination)
- Custom cell renderers

### Workflows
@.claude/skills/app-development/workflows.md
- Common development tasks
- Step-by-step guides
- Best practices

### Database Collections
@.claude/skills/app-development/database-collections.md
- MongoDB collection schemas
- Collection relationships
- Common query patterns

## Animation Components

All animation components should be saved in:
```
src/app/animations/
```

### Available Animations
- `DilationAnimation.tsx` - Dilation transformation with scale factor slider

### Creating New Animations
1. Create component in `src/app/animations/`
2. Follow SVG-based patterns for math visualizations
3. Include proper TypeScript types
4. Support flexible configuration via props

## Code Patterns

### Server Action Pattern
```typescript
"use server";

export async function myAction(input: MyInputType) {
  return withDbConnection(async () => {
    try {
      const validated = MyInputSchema.parse(input);
      const result = await MyModel.findOne({ ... });
      return { success: true, data: result.toJSON() };
    } catch (error) {
      return { success: false, error: handleServerError(error, "Failed") };
    }
  });
}
```

### Component Pattern
```typescript
"use client";

import React from "react";

interface MyComponentProps {
  // Props with JSDoc comments
}

export function MyComponent({ ...props }: MyComponentProps) {
  return (
    // JSX
  );
}
```

## Key Principles

1. **Type Safety** - Use proper TypeScript types, avoid `any`
2. **Validation** - Use Zod for all external data
3. **Server First** - Prefer server components and actions
4. **React Query** - Use for server state management
5. **Component Hierarchy** - Follow core → composed → domain → features

## Integration with Other Skills

- For p5.js animations → Use `create-p5-animation` skill
- For database operations → See CLAUDE.md for mongosh patterns

---

**Last Updated**: December 2024

Related Skills

vue-3-nuxt-3-development-cursorrules-prompt-file-cursorrules

16
from diegosouzapw/awesome-omni-skill

Apply for vue-3-nuxt-3-development-cursorrules-prompt-file. --- description: Applies to Vue 3 and Nuxt 3 projects, enforcing best practices for frontend development including TypeScript, TailwindCSS, and Composition API. globs: **/*.{vue,ts,js,jsx,tsx}

umbraco-development

16
from diegosouzapw/awesome-omni-skill

Apply when working with Umbraco CMS, Composers, services, or content APIs

Frontend Development

16
from diegosouzapw/awesome-omni-skill

พัฒนา Frontend ด้วย Angular, React, Vue, Next.js อย่างมืออาชีพ

angular-v21-development

16
from diegosouzapw/awesome-omni-skill

Develop Angular v21 components, services, and directives with signals. Use when implementing standalone components, OnPush change detection, inject() function, and input()/output() functions.

analogjs-development

16
from diegosouzapw/awesome-omni-skill

Develop with Analogjs 2.x file-based routing, markdown content management, and SSR/SSG configuration. Use when creating *.page.ts files, contentFilesResource, routeMeta, and prerender settings.

spec_driven_development.constitution

16
from diegosouzapw/awesome-omni-skill

Creates foundational governance principles and development guidelines for the project. Use when starting a new project or establishing standards.

miniprogram-development

16
from diegosouzapw/awesome-omni-skill

WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.

Workers Development

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks about "Workers API", "fetch handler", "Workers runtime", "request handling", "response handling", "Workers bindings", "environment variables in Workers", "Workers context", or discusses implementing Workers code, routing patterns, or using Cloudflare bindings like KV, D1, R2, Durable Objects in Workers.

wordpress-woocommerce-development

16
from diegosouzapw/awesome-omni-skill

WooCommerce store development workflow covering store setup, payment integration, shipping configuration, and customization.

wordpress-theme-development

16
from diegosouzapw/awesome-omni-skill

WordPress theme development workflow covering theme architecture, template hierarchy, custom post types, block editor support, and responsive design.

web-development

16
from diegosouzapw/awesome-omni-skill

Web frontend project development rules. Use this skill when developing web frontend pages, deploying static hosting, and integrating CloudBase Web SDK.

vercel-ai-sdk-development

16
from diegosouzapw/awesome-omni-skill

Use when building AI-powered applications with the Vercel AI SDK (V6+). Covers agents (ToolLoopAgent), tool design with execution approval and strict mode, MCP client integration, structured output with tool calling, streaming patterns, DevTools debugging, reranking, provider-specific tools, and UI integration with React/Next.js.