openapi-development

16
VilnaCRM-OrgVilnaCRM-Org

Guide for contributing to the OpenAPI layer at src/Shared/Application/OpenApi/. Use when adding endpoint factories, sanitizers/augmenters/cleaners, updating OpenAPI generation logic, or fixing OpenAPI validation errors (Spectral, OpenAPI diff, Schemathesis).

192 days ago

ci-workflow

16
VilnaCRM-OrgVilnaCRM-Org

Run comprehensive CI checks before committing changes. Use when the user asks to run CI, run quality checks, validate code quality, or before finishing any task that involves code changes.

192 days ago

code-organization

16
VilnaCRM-OrgVilnaCRM-Org

Enforce code organization principles - "Directory X contains ONLY class type X", DDD naming patterns, PHP best practices, type safety, and SOLID principles. Use when reviewing code structure, placing classes, or ensuring proper organization.

192 days ago

documentation-sync

16
VilnaCRM-OrgVilnaCRM-Org

Keep documentation in sync with code changes. Use when implementing features, modifying APIs, changing architecture, adding configuration, updating security, or making any changes that affect user-facing or developer-facing documentation.

192 days ago

deptrac-fixer

16
VilnaCRM-OrgVilnaCRM-Org

Diagnose and fix Deptrac architectural violations automatically. Use when Deptrac reports dependency violations, layers are incorrectly coupled, or when refactoring code to respect hexagonal architecture boundaries. Never modifies deptrac.yaml - always fixes the code to match the architecture.

192 days ago

load-testing

16
VilnaCRM-OrgVilnaCRM-Org

Create and manage K6 load tests for REST and GraphQL APIs. Use when creating load tests, writing K6 scripts, testing API performance, debugging load test failures, or setting up performance monitoring. Covers REST endpoints, GraphQL operations, data generation, IRI handling, configuration patterns, and performance troubleshooting.

192 days ago

cache-management

16
VilnaCRM-OrgVilnaCRM-Org

Implement production-grade caching with cache keys/TTLs/consistency classes per query, SWR (stale-while-revalidate), explicit invalidation, HTTP cache headers, and comprehensive testing for stale reads and cache warmup. Use when adding caching to queries, implementing cache invalidation, configuring HTTP caching, or ensuring cache consistency and performance.

192 days ago

implementing-ddd-architecture

16
VilnaCRM-OrgVilnaCRM-Org

Design and implement DDD patterns (entities, value objects, aggregates, CQRS). Use when creating new domain objects, implementing bounded contexts, designing repository interfaces, or learning proper layer separation. For fixing existing Deptrac violations, use the deptrac-fixer skill instead.

192 days ago

documentation-creation

16
VilnaCRM-OrgVilnaCRM-Org

Create comprehensive project documentation from scratch. Use when setting up INITIAL documentation for a new project or building a complete documentation suite. NOT for updating existing docs (use documentation-sync instead). Covers project analysis, documentation structure, templates, and verification.

192 days ago

structurizr-architecture-sync

16
VilnaCRM-OrgVilnaCRM-Org

Maintain Structurizr C4 architecture diagrams in sync with code changes. Use when adding components, modifying relationships, changing architectural boundaries, or implementing new patterns. Ensures workspace.dsl accurately reflects the current system architecture.

192 days ago

observability-instrumentation

16
VilnaCRM-OrgVilnaCRM-Org

Add business metrics using AWS EMF (Embedded Metric Format) to API endpoints. Focus on domain-specific metrics only - AWS AppRunner provides default SLO/SLA metrics. Use when implementing new endpoints, adding command handlers, or instrumenting business events.

192 days ago

complexity-management

16
VilnaCRM-OrgVilnaCRM-Org

Maintain and improve code quality using PHPInsights without decreasing quality thresholds. Use when PHPInsights fails, cyclomatic complexity is too high, code quality drops, or when refactoring for better maintainability. Always maintains 94% complexity and 100% quality/architecture/style scores.

192 days ago

database-migrations

16
VilnaCRM-OrgVilnaCRM-Org

Create, manage, and apply database migrations using Doctrine ORM (MySQL for this service). Use when modifying entities, adding fields, managing database schema changes, creating repositories, or troubleshooting database issues.

192 days ago

testing-workflow

16
VilnaCRM-OrgVilnaCRM-Org

Run and manage functional tests (unit, integration, E2E, mutation). Use when running tests, debugging test failures, ensuring test coverage, or fixing mutation testing issues. Covers PHPUnit, Behat, and Infection. For K6 load/performance tests, use the load-testing skill instead.

192 days ago

query-performance-analysis

16
VilnaCRM-OrgVilnaCRM-Org

Detect N+1 queries, analyze slow queries with EXPLAIN, identify missing indexes, and ensure safe, online index migrations for MySQL/MariaDB. Use when optimizing query performance, preventing performance regressions, or debugging slow endpoints. Complements the database-migrations skill which covers index creation syntax.

192 days ago

code-review

16
VilnaCRM-OrgVilnaCRM-Org

Systematically retrieve and address PR code review comments using make pr-comments. Use when handling code review feedback or addressing PR comments.

192 days ago

quality-standards

16
VilnaCRM-OrgVilnaCRM-Org

Overview of protected quality thresholds and quick reference for all quality tools. Use when you need to understand quality metrics, run comprehensive quality checks, or learn which specialized skill to use. For specific issues, use dedicated skills (deptrac-fixer for Deptrac, complexity-management for PHPInsights, testing-workflow for coverage).

192 days ago

api-platform-crud

16
VilnaCRM-OrgVilnaCRM-Org

Create complete REST API CRUD operations using API Platform 4 with DDD and CQRS patterns. Use when adding new API resources, implementing CRUD endpoints, creating DTOs, configuring operations, or setting up state processors. Follows the repository's hexagonal architecture with YAML resource configuration and command bus pattern.

192 days ago

developing-openapi-specs

4
VilnaCRM-OrgVilnaCRM-Org

Guide for contributing to the OpenAPI layer using processor pattern, complexity management, and functional programming. Use when adding endpoint factories, processors, parameter descriptions, reducing cyclomatic complexity, or fixing OpenAPI validation errors. Covers architecture patterns from user-service repository.

192 days ago