dykyi-roman
- 283 skills
- 0 followers
- 1 week ago last updated
- ▌ Check Magic Values · dykyi-romanAnalyzes PHP code for magic values. Detects hardcoded numbers, string literals without constants, configuration values embedded in code.
- ▌ Check Side Effects · dykyi-romanAnalyzes PHP code for side effect issues. Detects state mutation, global access, static method calls, I/O operations mixed with business logic.
- ▌ Check Test Quality · dykyi-romanAnalyzes PHP test code quality. Checks test structure, assertion quality, test isolation, naming conventions, AAA pattern adherence.
- ▌ CI Tools Knowledge · dykyi-roman bundlePHP CI tools knowledge base. Provides PHPStan levels and configuration, Psalm integration, PHP-CS-Fixer rules, DEPTRAC layer analysis, Rector automated refactoring, and code coverage tools.
- ▌ Create Cache Aside · dykyi-roman bundleGenerates Cache-Aside pattern for PHP 8.4. Creates cache executor with PSR-16 integration, stampede protection via distributed locking, tag-based invalidation, and key generation. Includes unit tests.
- ▌ Create Event Store · dykyi-roman bundleGenerates Event Store pattern for PHP 8.4. Creates event sourcing storage infrastructure with event streams, stored events, optimistic locking, and version tracking. Includes unit tests.
- ▌ Create Null Object · dykyi-roman bundleGenerates Null Object pattern for PHP 8.4. Creates safe default implementations eliminating null checks. Includes unit tests.
- ▌ Create Object Pool · dykyi-roman bundleGenerates Object Pool pattern for PHP 8.4. Creates reusable object containers for expensive resources like connections. Includes unit tests.
- ▌ Create Psr20 Clock · dykyi-roman bundleGenerates PSR-20 Clock implementation for PHP 8.4. Creates ClockInterface implementations including SystemClock, FrozenClock, and OffsetClock for time abstraction and testing. Includes unit tests.
- ▌ Create Psr3 Logger · dykyi-roman bundleGenerates PSR-3 Logger implementation for PHP 8.4. Creates LoggerInterface implementations with log levels, context interpolation, and LoggerAwareTrait usage. Includes unit tests.
- ▌ Create Test Double · dykyi-romanGenerates test doubles (Mocks, Stubs, Fakes, Spies) for PHP 8.4. Creates appropriate double type based on testing needs with PHPUnit MockBuilder patterns.
- ▌ Detect Code Smells · dykyi-romanDetects code smells in PHP codebases. Identifies God Class, Feature Envy, Data Clumps, Long Parameter List, Long Method, Primitive Obsession, Message Chains, Inappropriate Intimacy. Generates actionable reports with refactoring recommendations.
- ▌ Detect Test Smells · dykyi-roman bundleDetects test antipatterns and code smells in PHP test suites. Identifies 15 smells (Logic in Test, Mock Overuse, Fragile Tests, Mystery Guest, etc.) with fix recommendations and refactoring patterns for testability.
- ▌ Mermaid Template · dykyi-romanGenerates Mermaid diagrams for technical documentation. Provides templates for flowcharts, sequence diagrams, class diagrams, ER diagrams, and C4 models.
- ▌ Analyze CI Config · dykyi-romanAnalyzes existing CI/CD configurations. Detects issues in GitHub Actions and GitLab CI files, checks for best practices, caching efficiency, and security concerns.
- ▌ Bug Fix Knowledge · dykyi-romanBug fix knowledge base. Provides bug categories, symptoms, fix patterns, and minimal intervention principles for PHP 8.4 projects.
- ▌ Check Consistency · dykyi-romanAnalyzes PHP code for consistency issues. Detects mixed coding styles, inconsistent patterns, API inconsistencies, naming convention violations.
- ▌ Check Idempotency · dykyi-romanAnalyzes PHP code for idempotency issues. Detects missing idempotency keys on POST/PUT endpoints, non-idempotent command handlers, duplicate write risks, and retry-unsafe operations.
- ▌ Check Index Usage · dykyi-romanDetects missing database indexes in PHP code. Identifies unindexed WHERE/JOIN columns, incorrect composite index order, covering index opportunities, and index-defeating patterns.
- ▌ Create Psr13 Link · dykyi-roman bundleGenerates PSR-13 Hypermedia Links implementation for PHP 8.4. Creates LinkInterface, EvolvableLinkInterface, and LinkProviderInterface for HATEOAS support. Includes unit tests.
- ▌ Create Psr6 Cache · dykyi-roman bundleGenerates PSR-6 Cache implementation for PHP 8.4. Creates CacheItemPoolInterface and CacheItemInterface implementations with TTL handling and deferred saves. Includes unit tests.
- ▌ Create Read Model · dykyi-roman bundleGenerates Read Model/Projection for PHP 8.4. Creates optimized query models for CQRS read side with projections and denormalization. Includes unit tests.
- ▌ Create Repository · dykyi-roman bundleGenerates DDD Repository interfaces and implementation stubs for PHP 8.4. Creates domain interfaces in Domain layer, implementation in Infrastructure.
- ▌ Detect N Plus One · dykyi-romanDetects N+1 query problems in PHP code. Finds queries in loops, missing eager loading, lazy loading abuse, relationship traversal issues.
- ▌ Diagram Knowledge · dykyi-roman bundleDiagram knowledge base. Provides Mermaid syntax, C4 model, diagram types, and best practices for technical diagrams.
- ▌ Find Logic Errors · dykyi-romanDetects logic errors in PHP code. Finds incorrect conditions, wrong operators, missing switch cases, inverted logic, short-circuit evaluation issues.
- ▌ Laravel Knowledge · dykyi-roman bundleLaravel framework knowledge base. Provides architecture, DDD integration, Eloquent persistence, service container, security, queues, events, infrastructure components, testing, and antipatterns for Laravel PHP projects.
- ▌ Symfony Knowledge · dykyi-roman bundleSymfony framework knowledge base. Provides architecture, DDD integration, persistence, DI, security, messenger, workflow, events, infrastructure components, testing, and antipatterns for Symfony PHP projects.
- ▌ Testing Knowledge · dykyi-roman bundleTesting knowledge base for PHP 8.4 projects. Provides testing pyramid, AAA pattern, naming conventions, isolation principles, DDD testing guidelines, and PHPUnit patterns.
- ▌ Create Builder · dykyi-roman bundleGenerates Builder pattern for PHP 8.4. Creates step-by-step object construction with fluent interface and validation. Includes unit tests.
- ▌ Create Command · dykyi-roman bundleGenerates CQRS Commands and Handlers for PHP 8.4. Creates immutable command DTOs with handlers that modify state. Includes unit tests.
- ▌ Create Factory · dykyi-roman bundleGenerates DDD Factory for PHP 8.4. Creates factories for complex domain object instantiation with validation and encapsulated creation logic. Includes unit tests.
- ▌ Create Memento · dykyi-roman bundleGenerates Memento pattern for PHP 8.4. Creates state capture and restoration mechanism for undo/redo functionality, with originator, memento, and caretaker components. Includes unit tests.
- ▌ Create Timeout · dykyi-roman bundleGenerates Timeout pattern components for PHP 8.4. Creates execution time limit infrastructure with configurable timeouts, fallback support, stream timeouts, and unit tests.
- ▌ Create Visitor · dykyi-roman bundleGenerates Visitor pattern for PHP 8.4. Creates operations on object structures without modifying element classes, with visitor interface, concrete visitors, and visitable elements. Includes unit tests.
- ▌ Analyze CI Logs · dykyi-romanAnalyzes CI/CD pipeline logs to identify failure causes. Parses error messages, detects common failure patterns, and provides fix recommendations.
- ▌ Check Doc Links · dykyi-romanValidates documentation links. Detects broken relative links, missing anchor targets, malformed URLs, and orphaned documentation files.
- ▌ Create Bulkhead · dykyi-roman bundleGenerates Bulkhead pattern for PHP 8.4. Creates resource isolation with semaphore-based concurrency limiting and thread pool isolation. Includes unit tests.
- ▌ Create Iterator · dykyi-roman bundleGenerates Iterator pattern for PHP 8.4. Creates sequential access to aggregate elements without exposing underlying representation, with iterator interface and iterable collections. Includes unit tests.
- ▌ Create Mediator · dykyi-roman bundleGenerates Mediator pattern for PHP 8.4. Creates coordination layer for complex component interactions with event dispatching, request/response handling, and colleague classes. Reduces coupling between interacting objects. Includes unit tests.
- ▌ Create Snapshot · dykyi-roman bundleGenerates Snapshot pattern for PHP 8.4. Creates aggregate snapshot infrastructure for event sourcing performance optimization with configurable strategies and version tracking. Includes unit tests.
- ▌ Create Strategy · dykyi-roman bundleGenerates Strategy pattern for PHP 8.4. Creates interchangeable algorithm families with context class, strategy interface, and concrete implementations. Includes unit tests.
- ▌ Create Use Case · dykyi-roman bundleGenerates Application Use Cases for PHP 8.4. Creates orchestration services that coordinate domain objects, handle transactions, and dispatch events. Includes unit tests.
- ▌ Generate CI Fix · dykyi-roman bundleGenerates minimal, safe fixes for CI configuration issues. Provides fix templates for dependency, test, lint, infrastructure, Docker, and timeout failures.
- ▌ Grasp Knowledge · dykyi-roman bundleGRASP principles knowledge base for PHP 8.4 projects. Provides quick reference for 9 responsibility assignment patterns (Information Expert, Creator, Controller, Low Coupling, High Cohesion, Polymorphism, Pure Fabrication, Indirection, Protected Variations). Use for architecture audits and design decisions.
- ▌ Map Async Flows · dykyi-romanFinds queue publishing (RabbitMQ, Redis), event dispatching, webhooks, and scheduled tasks. Documents synchronous-to-asynchronous boundaries, message formats, consumer chains, and retry policies.
- ▌ Readme Template · dykyi-romanGenerates README.md files for PHP projects. Creates structured documentation with badges, installation, usage, and examples.
- ▌ Solid Knowledge · dykyi-roman bundleSOLID principles knowledge base for PHP 8.4 projects. Provides quick reference for SRP, OCP, LSP, ISP, DIP with detection patterns, PHP examples, and antipattern identification. Use for architecture audits and code quality reviews.
- ▌ Analyze PHP Logs · dykyi-romanParses and analyzes PHP application logs in PSR-3/Monolog, Laravel, Symfony, and plain error_log formats. Extracts exceptions, stack traces, request context, error frequency, and correlates related errors.
- ▌ API Doc Template · dykyi-romanGenerates API documentation for PHP projects. Creates endpoint documentation with parameters, responses, and examples.
- ▌ Check Code Style · dykyi-romanAnalyzes PHP code for style issues. Checks PSR-12 compliance, formatting consistency, whitespace usage, line length.
- ▌ Create Aggregate · dykyi-roman bundleGenerates DDD Aggregates for PHP 8.4. Creates consistency boundaries with root entity, domain events, and invariant protection. Includes unit tests.
- ▌ Create Composite · dykyi-roman bundleGenerates Composite pattern for PHP 8.4. Creates tree structures with uniform treatment of individual and composite objects. Includes unit tests.
- ▌ Create Decorator · dykyi-roman bundleGenerates Decorator pattern for PHP 8.4. Creates wrapper classes for dynamic behavior addition without inheritance. Includes unit tests.
- ▌ Create Flyweight · dykyi-roman bundleGenerates Flyweight pattern for PHP 8.4. Optimizes memory via shared intrinsic state. Includes unit tests.
- ▌ Create Gitlab CI · dykyi-roman bundleGenerates GitLab CI configurations for PHP projects. Creates pipelines with stages, caching, artifacts, parallel jobs, and deployment environments.
- ▌ Create Prototype · dykyi-romanGenerates Prototype pattern implementations for PHP 8.4. Creates deep/shallow copy, clone customization, prototype registries, and immutable object duplication.
- ▌ Create Responder · dykyi-roman bundleGenerates ADR Responder classes for PHP 8.4. Creates HTTP response builders with PSR-7/PSR-17 support. Includes unit tests.
- ▌ Create Unit Test · dykyi-romanGenerates PHPUnit unit tests for PHP 8.4. Creates isolated tests with AAA pattern, proper naming, attributes, and one behavior per test. Supports Value Objects, Entities, Services.
- ▌ Docker Knowledge · dykyi-roman bundleDocker knowledge base for PHP projects. Provides patterns, best practices, and guidelines for Dockerfile, Compose, security, and production readiness.
- ▌ Find Type Issues · dykyi-romanDetects type issues in PHP code. Finds implicit type coercion, mixed types in comparisons, unsafe casting, type mismatches in returns.
- ▌ Generate Bug Fix · dykyi-roman bundleGenerates minimal, safe bug fixes for PHP 8.4. Provides fix templates for each bug category with DDD/Clean Architecture patterns.
- ▌ Create Query · dykyi-roman bundleGenerates CQRS Queries and Handlers for PHP 8.4. Creates read-only query DTOs with handlers that return data without side effects. Includes unit tests.
- ▌ Create State · dykyi-roman bundleGenerates State pattern for PHP 8.4. Creates state machines with context, state interface, and concrete states for behavior changes. Includes unit tests.
- ▌ Adr Knowledge · dykyi-roman bundleAction-Domain-Responder pattern knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for ADR (web-specific MVC alternative) audits.
- ▌ Check File Io · dykyi-romanAudits file I/O patterns in PHP code. Detects full-file reads into memory, missing file locks, temp file cleanup issues, missing stream usage, and insecure file operations.
- ▌ Create Action · dykyi-roman bundleGenerates ADR Action classes for PHP 8.4. Creates single-responsibility HTTP endpoint handlers with PSR-7 support. Includes unit tests.
- ▌ Create Bridge · dykyi-roman bundleGenerates Bridge pattern for PHP 8.4. Decouples abstraction from implementation. Includes unit tests.
- ▌ Create Entity · dykyi-roman bundleGenerates DDD Entities for PHP 8.4. Creates identity-based objects with behavior, state transitions, and invariant protection. Includes unit tests.
- ▌ Create Facade · dykyi-roman bundleGenerates Facade pattern for PHP 8.4. Creates simplified interface to complex subsystems. Includes unit tests.
- ▌ Create Policy · dykyi-roman bundleGenerates Policy pattern for PHP 8.4. Creates encapsulated business rules for authorization, validation, and domain constraints. Includes unit tests.
- ▌ Ddd Knowledge · dykyi-roman bundleDDD architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Domain-Driven Design audits.
- ▌ Eda Knowledge · dykyi-roman bundleEvent-Driven Architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for EDA audits including messaging, pub/sub, and saga patterns.
- ▌ Yii Knowledge · dykyi-roman bundleYii framework knowledge base. Provides Yii3 modular architecture, DDD integration, PSR-7/PSR-15 compliance, persistence, DI, security (RBAC, auth), event system (PSR-14), queue/jobs, infrastructure components (cache, rate limiter, HTTP client), testing, and antipatterns for Yii PHP projects.
- ▌ Check Comments · dykyi-romanAnalyzes PHP code for comment quality issues. Detects missing PHPDoc, outdated comments, commented-out code, opportunities for self-documenting code.
- ▌ Cqrs Knowledge · dykyi-roman bundleCQRS architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Command Query Responsibility Segregation audits.
- ▌ Create Adapter · dykyi-roman bundleGenerates Adapter pattern for PHP 8.4. Converts incompatible interfaces, wraps legacy code and external libraries. Includes unit tests.
- ▌ Check Xxe · dykyi-romanAnalyzes PHP code for XML External Entity vulnerabilities. Detects unsafe XML parsers, missing entity protection, LIBXML flags issues, XSLT attacks.
- ▌ Check Ssrf · dykyi-romanAnalyzes PHP code for SSRF vulnerabilities. Detects unvalidated URLs, internal network access, DNS rebinding, cloud metadata access, URL parsing bypass attempts.
- ▌ Create Dto · dykyi-roman bundleGenerates DTO (Data Transfer Object) for PHP 8.4. Creates immutable objects for layer boundaries, API requests/responses, and data serialization. Includes unit tests.
- ▌ Adr Template · dykyi-romanGenerates Architecture Decision Records (ADR) for PHP projects. Creates structured decision documentation with context, decision, and consequences.
- ▌ Check Naming · dykyi-romanAnalyzes PHP code for naming convention issues. Detects non-descriptive names, abbreviations, inconsistent casing, misleading names.
- ▌ Create Proxy · dykyi-roman bundleGenerates Proxy pattern for PHP 8.4. Controls access, adds lazy loading, caching, logging. Includes unit tests.