project-feature

Adds new fields or features to Project entity. Use when extending project schema, adding new properties, updating forms, or modifying project display. Includes type updates, API changes, and validation.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

The Project Feature Claude skill is a comprehensive developer tool designed to automate the end-to-end process of extending the 'Project' entity within a full-stack application. By providing a structured workflow, it ensures that new fields or properties are consistently implemented across TypeScript interfaces, Firestore database schemas, API routes (CRUD operations), and frontend UI components like forms and display cards. This skill minimizes manual errors and ensures architectural consistency during feature expansion.

Use Cases

  • Scenario 1: Adding a 'Priority Level' field to projects, requiring updates to the database schema, backend validation logic, and the project creation form.
  • Scenario 2: Extending the Project entity to include 'Client Metadata', involving modifications to API response types and the project detail view components.
  • Scenario 3: Implementing a 'Project Deadline' feature that necessitates new date validation in security utilities and corresponding updates to the project list display card.
  • Scenario 4: Synchronizing frontend and backend types after a database migration to ensure type safety across the entire project management module.
nameproject-feature
descriptionAdds new fields or features to Project entity. Use when extending project schema, adding new properties, updating forms, or modifying project display. Includes type updates, API changes, and validation.

Add Project Feature Skill

Instructions

When adding a new field to Project:

  1. Update Types

    • src/lib/types.ts - Frontend interface
    • src/lib/db-types.ts - Firestore doc & API response
  2. Add Validation (if needed)

    • src/lib/security-utils.ts - CONTENT_LIMITS & validators
  3. Update API Routes

    • POST /api/projects - Create
    • GET /api/projects/[id] - Read
    • PATCH /api/projects/[id] - Update
  4. Update Form Components

    • src/app/menu/register/page.tsx
    • src/app/menu/edit/[id]/page.tsx
  5. Update Display Components

    • src/components/ProjectCard.tsx
    • src/app/menu/[id]/page.tsx

For complete checklist with code examples, see reference.md.