Skill Creator

madooei

35 published skills · 35 GitHub stars across the catalog. View on GitHub ↗

setup-errors

madooei's avatarfrom madooei★ 1

Configure error handling infrastructure with custom error types and global handler. Use when adding error handling to a project. Triggers on "setup errors", "add errors", "error handling", "error infrastructure".

setup-testing

madooei's avatarfrom madooei★ 1

Configure test infrastructure with fixtures, helpers, and enhanced coverage. Use when setting up comprehensive testing. Triggers on "setup testing", "test infrastructure", "test helpers", "test fixtures".

setup-docker

madooei's avatarfrom madooei★ 1

Configure Docker for local development and production. Use when adding Docker support to a project. Triggers on "setup docker", "add docker", "dockerize", "docker configuration", "devcontainer".

setup-events

madooei's avatarfrom madooei★ 1

Configure event-driven architecture with event emitter and base service. Use when adding real-time updates or event system. Triggers on "setup events", "add events", "event system", "SSE", "real-time".

create-middleware

madooei's avatarfrom madooei★ 1

Create middleware for cross-cutting concerns. Use when creating authentication, validation, or other request processing middleware. Triggers on "create middleware", "auth middleware", "validation middleware".

test-routes

madooei's avatarfrom madooei★ 1

Test route configurations with integration-style tests. Use when testing complete request/response cycles through routes. Triggers on "test routes", "test note routes", "integration test".

create-mongodb-repository

madooei's avatarfrom madooei★ 1

Create MongoDB repository implementation for production database. Use when implementing repository interface with MongoDB, setting up document mapping, creating indexes, or connecting to real database. Triggers on "mongodb repository", "mongo repository", "production repository", "database repository".

add-authorization-methods

madooei's avatarfrom madooei★ 1

Add authorization methods for a new entity to AuthorizationService. Use after creating a resource service. Triggers on "add permissions", "authorization methods", "entity permissions", "add auth methods".

create-service

madooei's avatarfrom madooei★ 1

Guide for creating services in the backend. Use when asked to create a service layer component. Directs to the appropriate service skill based on the type of service needed.

create-utility-service

madooei's avatarfrom madooei★ 1

Create a utility service for cross-cutting concerns. Use when creating services for authentication, authorization, email, notifications, or other shared functionality that doesn't directly map to a domain entity.

test-repository

madooei's avatarfrom madooei★ 1

Guide for testing repository layer. Use when asked to test repositories or data access layer. Directs to implementation-specific testing skills.

test-controller

madooei's avatarfrom madooei★ 1

Test controllers that handle HTTP requests. Use when testing controller methods that call services and return responses. Triggers on "test controller", "test note controller".

review-resource

madooei's avatarfrom madooei★ 1

Review and validate a resource implementation follows all patterns. Use after creating a resource or when refactoring existing code. Triggers on "review resource", "validate resource", "check implementation", "refactor resource".

create-repository

madooei's avatarfrom madooei★ 1

Create repository interface for data access abstraction. Use when adding a new resource that needs database operations, defining CRUD interface, or setting up repository pattern. Triggers on "new repository", "repository interface", "data access layer", "create repository".

test-middleware

madooei's avatarfrom madooei★ 1

Test middleware functions. Use when testing authentication, validation, or other middleware. Triggers on "test middleware", "test auth middleware", "test validation middleware".

test-schema

madooei's avatarfrom madooei★ 1

Write tests for Zod schemas. Use when testing entity schemas, DTO validation, query parameter schemas, or any schema validation rules. Triggers on "test schema", "schema tests", "test validation", "test zod".

test-service

madooei's avatarfrom madooei★ 1

Guide for testing service layer. Use when asked to test services. Directs to implementation-specific testing skills.

test-utility-service

madooei's avatarfrom madooei★ 1

Test utility services that handle external APIs or authorization logic. Use when testing services like AuthenticationService or AuthorizationService. Triggers on "test auth service", "test utility service", "test authentication".

add-env-variable

madooei's avatarfrom madooei★ 1

Add a new environment variable to the application. Use when adding configuration for external services, feature flags, or application settings. Triggers on "add env", "environment variable", "config variable".

create-mockdb-repository

madooei's avatarfrom madooei★ 1

Create MockDB (in-memory) repository implementation for development and testing. Use when implementing repository interface with mock database, creating in-memory data store, or setting up test fixtures. Triggers on "mockdb repository", "mock repository", "in-memory repository", "test repository implementation".

test-mockdb-repository

madooei's avatarfrom madooei★ 1

Write tests for MockDB (in-memory) repository implementations. Use when testing MockDB repositories, in-memory data access, or mock repository behavior. Triggers on "test mockdb", "mockdb tests", "test mock repository".

create-controller

madooei's avatarfrom madooei★ 1

Create a controller for handling HTTP requests. Use when creating a controller to connect routes to services. Triggers on "create controller", "controller for", "HTTP handler".

add-resource-events

madooei's avatarfrom madooei★ 1

Add real-time event emission to a resource service. Use when adding SSE/real-time capabilities to a resource. Triggers on "add events", "real-time events", "SSE events".

create-resource-service

madooei's avatarfrom madooei★ 1

Create a resource service for CRUD operations on domain entities. Use when creating services for entities like notes, users, courses that need data operations, authorization, and event emission. Triggers on "resource service", "entity service", "crud service", "note service", "create service for".