feature-development

Enforce Clean Architecture patterns across GeroCare feature layers.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/DevXoje/gerocare --skill feature-development-devxoje
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-development
Source: https://github.com/DevXoje/gerocare/tree/main/.cursor/skills/feature-development
Command: npx skills add https://github.com/DevXoje/gerocare --skill feature-development-devxoje

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies patterns and conventions needed to implement complete features following Clean Architecture in GeroCare, ensuring consistent structure and best practices.

Core Features & Use Cases

  • Establishes a repeatable feature blueprint covering domain, app, infrastructure, and presentation layers.
  • Guides creation of domain entities, repository interfaces, use cases, composables, and feature-specific Vue components.
  • Enables consistent routing, testing, and maintenance of new features.

Quick Start

Create a new feature directory under src/business/{feature-name} with domain/, app/, infrastructure/, and presentation/ folders as shown. Implement domain entities, repository interfaces, and use cases following the patterns described. Use the templates and examples in this skill to scaffold and align with existing projects.

Frequently Asked Questions about feature-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement features with Clean Architecture in a Vue project?

To implement features with Clean Architecture, you create a feature directory containing domain, application, infrastructure, and presentation layers. This approach standardizes feature development by enforcing consistent folder structures, naming conventions, and Result-based error handling patterns.

What is the correct folder structure for domain entities and use cases?

The correct folder structure for domain entities and use cases organizes them under src/business/{feature-name} with separate domain/, app/, infrastructure/, and presentation/ folders. This layout separates business logic from infrastructure and presentation layers.

How do I scaffold repository interfaces and composables for new business logic?

You scaffold repository interfaces and composables by applying the provided code templates and validation patterns. This standardizes the creation of domain entities, repository interfaces, use cases, and feature-specific Vue components across the application layers.

When do I need Result-based error handling patterns for feature development?

You need Result-based error handling patterns when creating new business features, domain entities, repositories, composables, or business logic components. This pattern ensures consistent error management across the domain, application, infrastructure, and presentation layers.

Best way to structure domain-driven design layers for consistent routing and testing?

The best way to structure domain-driven design layers is to follow a repeatable feature blueprint covering domain, app, infrastructure, and presentation. This enables consistent routing, testing, and maintenance by isolating business rules from external concerns.