Skip to content
Skillpedia
Documentation48k Β· #4116

cc-skill-project-guidelines-example

What it does

This skill provides a guide for building a software project. It details the technologies used, how files are organized, code examples, and how to test the project.

When to use it

  • βœ“When starting a new software project.
  • βœ“When wanting to understand the structure of an existing project.
  • βœ“When needing code examples for different parts of the project.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cc-skill-project-guidelines-example/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cc-skill-project-guidelines-example/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œHow is this project structured?”

5 new skills a week. 1 minute to read.

How it works

The skill describes the technologies (like Next.js, FastAPI, Supabase) and how they connect. It shows the folder structure and gives code examples for the 'frontend' (what the user sees) and the 'backend' (the logic behind it).

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Project Guidelines Skill (Example)

This is an example of a project-specific skill. Use this as a template for your own projects.

Based on a real production application: Zenith - AI-powered customer discovery platform.


When to Use

Reference this skill when working on the specific project it's designed for. Project skills contain:

  • Architecture overview
  • File structure
  • Code patterns
  • Testing requirements
  • Deployment workflow

Architecture Overview

Tech Stack:

  • Frontend: Next.js 15 (App Router), TypeScript, React
  • Backend: FastAPI (Python), Pydantic models
  • Database: Supabase (PostgreSQL)
  • AI: Claude API with tool calling and structured output
  • Deployment: Google Cloud Run
  • Testing: Playwright (E2E), pytest (backend), React Testing Library

Services:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         Frontend                            β”‚
β”‚  Next.js 15 + TypeScript + TailwindCSS                     β”‚
β”‚  Deployed: Vercel / Cloud Run                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
                              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         Backend                             β”‚
β”‚  FastAPI + Python 3.11 + Pydantic                          β”‚
β”‚  Deployed: Cloud Run                                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β–Ό               β–Ό               β–Ό
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚ Supabase β”‚   β”‚  Claude  β”‚   β”‚  Redis   β”‚
        β”‚ Database β”‚   β”‚   API    β”‚   β”‚  Cache   β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

File Structure

project/
β”œβ”€β”€ frontend/
β”‚   └── src/
β”‚       β”œβ”€β”€ app/              # Next.js app router pages
β”‚       β”‚   β”œβ”€β”€ api/          # API routes
β”‚       β”‚   β”œβ”€β”€ (auth)/       # Auth-protected routes
β”‚       β”‚   └── workspace/    # Main app workspace
β”‚       β”œβ”€β”€ components/       # React components
β”‚       β”‚   β”œβ”€β”€ ui/           # Base UI components
β”‚       β”‚   β”œβ”€β”€ forms/        # Form components
β”‚       β”‚   └── layouts/      # Layout components
β”‚       β”œβ”€β”€ hooks/            # Custom React hooks
β”‚       β”œβ”€β”€ lib/              # Utilities
β”‚       β”œβ”€β”€ types/            # TypeScript definitions
β”‚       └── config/           # Configuration
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ routers/              # FastAPI route handlers
β”‚   β”œβ”€β”€ models.py             # Pydantic models
β”‚   β”œβ”€β”€ main.py               # FastAPI app entry
β”‚   β”œβ”€β”€ auth_system.py        # Authentication
β”‚   β”œβ”€β”€ database.py           # Database operations
β”‚   β”œβ”€β”€ services/             # Business logic
β”‚   └── tests/                # pytest tests
β”‚
β”œβ”€β”€ deploy/                   # Deployment configs
β”œβ”€β”€ docs/                     # Documentation
└── scripts/                  # Utility scripts

Code Patterns

API Response Format (FastAPI)

from pydantic import BaseModel
from typing import Generic, TypeVar, Optional

T = TypeVar('T')

class ApiResponse(BaseModel, Generic[T]):
    success: bool
    data: Optional[T] = None
    error: Optional[str] = None

    @classmethod
    def ok(cls, data: T) -> "ApiResponse[T]":
        return cls(success=True, data=data)

    @classmethod
    def fail(cls, error: str) -> "ApiResponse[T]":
        return cls(success=False, error=error)

Frontend API Calls (TypeScript)

interface ApiResponse<T> {
  success: boolean
  data?: T
  error?: string
}

async function fetchApi<T>(
  endpoint: string,
  options?: RequestInit
): Promise<ApiResponse<T>> {
  try {
    const response = await fetch(`/api${endpoint}`, {
      ...options,
      headers: {
        'Content-Type': 'application/json',
        ...options?.headers,
      },
    })

    if (!response.ok) {
      return { success: false, error: `HTTP ${response.status}` }
    }

    return await response.json()
  } catch (error) {
    return { success: false, error: String(error) }
  }
}

Claude AI Integration (Structured Output)

from anthropic import Anthropic
from pydantic import BaseModel

class AnalysisResult(BaseModel):
    summary: str
    key_points: list[str]
    confidence: float

async def analyze_with_claude(content: str) -> AnalysisResult:

…
FAQ

What technologies are used in this project?

This project uses Next.js for the frontend, FastAPI for the backend, Supabase as the database, and the Claude API for artificial intelligence.

How is the code organized?

The code is divided into 'frontend' and 'backend' folders. The frontend contains everything related to the user interface, and the backend contains server logic and database access.

What are 'Code Patterns'?

These are examples of how to write code for common tasks, like responding to API requests or integrating with AI, ensuring consistency and best practices.

Details

Original description by the author

Project Guidelines Skill (Example)

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4116
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills