dykyi-roman
- 283 skills
- 0 followers
- 1 week ago last updated
- ▌ Create Docker Makefile · dykyi-romanGenerates Docker Makefile with common commands for PHP projects. Creates build, run, test, and deployment targets.
- ▌ Create Mock Repository · dykyi-roman bundleGenerates InMemory repository implementations for PHP 8.4 testing. Creates fake repositories with array storage, supporting CRUD operations and queries without database.
- ▌ Create Psr11 Container · dykyi-roman bundleGenerates PSR-11 Container implementation for PHP 8.4. Creates ContainerInterface with service resolution, autowiring support, and exceptions. Includes unit tests.
- ▌ Create Template Method · dykyi-roman bundleGenerates Template Method pattern for PHP 8.4. Creates abstract algorithm skeleton with customizable steps, allowing subclasses to override specific parts without changing structure. Includes unit tests.
- ▌ Detect CI Antipatterns · dykyi-roman bundleDetects CI/CD antipatterns in pipeline configurations. Identifies slow pipelines, security issues, maintenance problems, and provides remediation guidance.
- ▌ Estimate Pipeline Time · dykyi-romanEstimates and optimizes CI/CD pipeline execution time. Analyzes job dependencies, identifies bottlenecks, and suggests parallelization strategies.
- ▌ Extract Business Rules · dykyi-romanExtracts validation rules, guards, business constraints, authorization rules, and invariants from domain code. Maps technical implementations to business terminology for non-technical stakeholders.
- ▌ No Framework Knowledge · dykyi-roman bundleFramework-less PHP knowledge base. Provides pure PHP project architecture, DDD integration, PSR-7/PSR-15 HTTP, standalone persistence, DI containers, security (JWT lcobucci/jwt, RBAC middleware, password hashing, CSRF), event system (PSR-14, league/event, domain events, async processing), queue (enqueue/enqueue, php-amqplib, workers, supervisor), infrastructure components (PSR-6/16 cache, PSR-18 HTTP client, mailer, rate limiting), testing, and antipatterns for projects without a full framework.
- ▌ Optimize Docker Layers · dykyi-romanAnalyzes and optimizes Docker layer caching for PHP projects. Identifies layer ordering issues, cache invalidation problems, and provides recommendations for faster builds.
- ▌ Psr Overview Knowledge · dykyi-roman bundlePHP Standards Recommendations (PSR) overview knowledge base. Provides comprehensive reference for all accepted PSRs including PSR-1,3,4,6,7,11,12,13,14,15,16,17,18,20. Use for PSR selection decisions and compliance audits.
- ▌ Saga Pattern Knowledge · dykyi-roman bundleSaga Pattern knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for saga orchestration, choreography, and distributed transaction audits.
- ▌ Suggest Simplification · dykyi-romanSuggests code simplification opportunities. Identifies extract method candidates, complex expressions, redundant code, refactoring opportunities.
- ▌ Check Command Injection · dykyi-romanAnalyzes PHP code for command injection vulnerabilities. Detects shell_exec, exec, system, passthru with user input, missing escapeshellarg/escapeshellcmd.
- ▌ Check Distributed Locks · dykyi-romanAnalyzes PHP code for distributed lock issues. Detects missing TTL on locks, lock without try/finally, unsafe Redis SETNX patterns, missing lock release, and deadlock risks.
- ▌ Check Docker PHP Config · dykyi-romanChecks PHP configuration in Docker containers. Verifies php.ini settings, OPcache, PHP-FPM pool, and extension configuration for production.
- ▌ Check Fallback Strategy · dykyi-romanAudits fallback and graceful degradation strategies. Checks cache fallback, feature flags, default values, circuit breaker fallbacks, and degraded mode implementations.
- ▌ Create Distributed Lock · dykyi-roman bundleGenerates Distributed Lock for PHP 8.4. Creates LockInterface, LockFactory, RedisLockAdapter with TTL, and database lock adapter. Includes unit tests.
- ▌ Create Integration Test · dykyi-romanGenerates PHPUnit integration tests for PHP 8.4. Creates tests with real dependencies, database transactions, HTTP mocking. Supports repositories, API clients, message handlers.
- ▌ Create Psr15 Middleware · dykyi-roman bundleGenerates PSR-15 HTTP Middleware implementation for PHP 8.4. Creates MiddlewareInterface and RequestHandlerInterface with pipeline composition. Includes unit tests.
- ▌ Create Read Write Proxy · dykyi-roman bundleGenerates Read/Write Connection Proxy for PHP 8.4. Creates connection wrapper with query routing logic, transaction-aware routing, and replica health checks. Includes unit tests.
- ▌ Documentation Knowledge · dykyi-roman bundleDocumentation knowledge base. Provides documentation types, audiences, best practices, and antipatterns for technical documentation creation.
- ▌ Explain Output Template · dykyi-romanOutput format templates for all 5 explanation modes — quick (compact), deep (full analysis with diagrams), onboarding (project guide), business (non-technical), qa (interactive Q&A).
- ▌ Extract Domain Concepts · dykyi-romanMaps domain model components — Entities, Value Objects, Aggregates, Services, Events, Repositories. Builds Ubiquitous Language glossary connecting code names to business terminology.
- ▌ Claude Code Knowledge · dykyi-roman bundleComprehensive knowledge base for Claude Code formats, patterns, and configuration. Use when creating, improving, or auditing commands, agents, skills, hooks, memory, plugins, or settings.
- ▌ Codeigniter Knowledge · dykyi-roman bundleCodeIgniter 4 framework knowledge base. Provides CI4 MVC architecture, DDD integration, persistence, services, security (Shield auth, Filters authorization, CSRF), event system, queue (codeigniter4/queue jobs, workers, retry), infrastructure components (cache, HTTP client, email, throttler), testing, and antipatterns for CodeIgniter PHP projects.
- ▌ Create Access Control · dykyi-roman bundleGenerates Access Control components for PHP 8.4. Creates RBAC/ABAC components with PermissionInterface, RoleInterface, VoterInterface, AccessDecisionManager. Includes unit tests.
- ▌ Create API Versioning · dykyi-roman bundleGenerates API Versioning pattern for PHP 8.4. Creates version resolution strategies (URI prefix, Accept header, query parameter), middleware, and deprecation support. Includes unit tests.
- ▌ Create Deptrac Config · dykyi-roman bundleGenerates DEPTRAC configurations for PHP projects. Creates deptrac.yaml with DDD layer rules, bounded context separation, and dependency constraints.
- ▌ Create Dockerfile Dev · dykyi-romanGenerates development Dockerfiles for PHP projects. Creates images with Xdebug, hot reload, and development tools.
- ▌ Create Domain Service · dykyi-romanGenerates DDD Domain Services for PHP 8.4. Creates stateless services for business logic that doesn't belong to entities or value objects. Includes unit tests.
- ▌ Create Github Actions · dykyi-roman bundleGenerates GitHub Actions workflows for PHP projects. Creates CI/CD pipelines with PHPStan, PHPUnit, code coverage, Docker builds, and deployment stages.
- ▌ Create Outbox Pattern · dykyi-roman bundleGenerates Transactional Outbox pattern components for PHP 8.4. Creates OutboxMessage entity, repository, publisher, and processor with unit tests.
- ▌ Create Phpstan Config · dykyi-romanGenerates PHPStan configurations for PHP projects. Creates phpstan.neon with appropriate level, extensions, paths, baseline support, and DDD-specific rules.
- ▌ Discover Project Logs · dykyi-romanDiscovers log files in PHP projects. Knows standard paths for Laravel, Symfony, CodeIgniter, Yii2/Yii3, PHP-FPM, Docker, CI/CD, web servers, and databases. Parses framework configs to extract custom log paths. Scores and prioritizes findings.
- ▌ Extract State Machine · dykyi-romanDetects state machines from enums, status fields, switch/match statements, and transition methods. Extracts states, transitions, guards, and actions to build state diagram data.
- ▌ Find Exception Issues · dykyi-romanDetects exception handling issues in PHP code. Finds swallowed exceptions, generic catches, missing exception handling, re-throwing without context, exception in finally.
- ▌ Identify Entry Points · dykyi-romanFinds application entry points — Controllers, Actions, Console Commands, Event Handlers, Message Consumers, route definitions, middleware, and scheduled tasks. Maps HTTP/CLI/async entry points to their handlers.
- ▌ Scalability Knowledge · dykyi-roman bundleScalability knowledge base. Provides vertical vs horizontal scaling, stateless design, session management, connection pooling, capacity planning, and PHP-FPM tuning for scalability audits.
- ▌ Check Abstract Factory · dykyi-romanAudits Abstract Factory pattern implementations. Checks family consistency, product hierarchy, factory method completeness, and cross-family compatibility.
- ▌ Check Batch Processing · dykyi-romanAnalyzes PHP code for batch processing issues. Detects single-item vs bulk operations, missing batch inserts, individual API calls in loops, transaction overhead.
- ▌ Create Rector Config · dykyi-romanGenerates Rector configurations for PHP projects. Creates rector.php with PHP upgrade sets, code quality rules, dead code removal, and framework-specific migrations.
- ▌ Create Retry Pattern · dykyi-roman bundleGenerates Retry pattern for PHP 8.4. Creates resilience component with exponential backoff, jitter, and configurable retry strategies. Includes unit tests.
- ▌ Create Specification · dykyi-roman bundleGenerates DDD Specification for PHP 8.4. Creates reusable business rule objects for validation, filtering, and querying with composite pattern support. Includes unit tests.
- ▌ Deployment Knowledge · dykyi-roman bundleDeployment knowledge base. Provides zero-downtime strategies, blue-green deployment, canary releases, rolling updates, rollback procedures, feature flags, and health check patterns.
- ▌ Detect Memory Issues · dykyi-romanDetects memory issues in PHP code. Finds large arrays in memory, missing generators, memory leaks, unbounded data loading, inefficient data structures.
- ▌ Find Boundary Issues · dykyi-romanDetects boundary issues in PHP code. Finds array index out of bounds, empty collection access, off-by-one errors, integer overflow, string length issues.
- ▌ Find Race Conditions · dykyi-romanDetects race conditions in PHP code. Finds shared mutable state, check-then-act patterns, TOCTOU vulnerabilities, concurrent modification issues.
- ▌ Layer Arch Knowledge · dykyi-roman bundleLayered Architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for traditional N-tier/Layered Architecture audits.
- ▌ Analyze Test Coverage · dykyi-romanAnalyzes PHP codebase for test coverage gaps. Detects untested classes, methods, branches, exception paths, and edge cases. Provides actionable recommendations.
- ▌ Bug Root Cause Finder · dykyi-romanRoot cause analysis methods for PHP bugs. Provides 5 Whys technique, fault tree analysis, git bisect guidance, and stack trace parsing.
- ▌ Check Connection Pool · dykyi-roman bundleAnalyzes PHP code for connection pool issues. Detects connection leaks, improper pool sizing, missing connection release, timeout issues.
- ▌ Check Csrf Protection · dykyi-romanAnalyzes PHP code for CSRF vulnerabilities. Detects missing CSRF tokens, state-changing GET requests, token validation gaps.
- ▌ Check Deserialization · dykyi-romanAnalyzes PHP code for insecure deserialization. Detects unserialize with user input, missing allowed_classes, PHP object injection risks, gadget chains.
- ▌ Check Docker Security · dykyi-romanChecks Docker security for PHP projects. Detects root user, exposed secrets, privileged mode, and missing security configurations.
- ▌ Check Insecure Design · dykyi-romanDetects OWASP A04:2021 Insecure Design vulnerabilities. Identifies missing rate limiting, account lockout, CAPTCHA, TOCTOU races, business logic flaws, and threat modeling gaps.
- ▌ Check Mass Assignment · dykyi-romanDetects mass assignment vulnerabilities. Identifies unguarded model filling, Request::all() to create/update, missing $fillable/$guarded, and parameter binding without whitelisting.
- ▌ Check Output Encoding · dykyi-romanAnalyzes PHP code for output encoding issues. Detects XSS vulnerabilities, missing HTML encoding, raw output, template injection risks.
- ▌ CI Pipeline Knowledge · dykyi-roman bundleCI/CD pipeline knowledge base. Provides platforms overview (GitHub Actions, GitLab CI), pipeline stages, caching strategies, parallelization, artifact management, and environment management.
- ▌ Bug Impact Analyzer · dykyi-romanAnalyzes bug fix blast radius. Determines affected code, dependencies, callers/callees, and potential side effects of changes.
- ▌ Check Authorization · dykyi-romanAnalyzes PHP code for authorization issues. Detects missing access control, IDOR vulnerabilities, privilege escalation, role-based access gaps.
- ▌ Check Cors Security · dykyi-romanAudits CORS configuration security. Detects wildcard origins, credentials with wildcards, dynamic origin reflection, missing preflight handling, and overly permissive policies.
- ▌ Check Encapsulation · dykyi-roman bundleAnalyzes PHP code for encapsulation violations. Detects public mutable state, exposed internals, Tell Don't Ask violations, getter/setter abuse, and information hiding breaches.
- ▌ Check Method Length · dykyi-romanAnalyzes PHP code for method length issues. Detects methods exceeding 30 lines, single responsibility violations, extract method opportunities.
- ▌ Check Nesting Depth · dykyi-romanAnalyzes PHP code for nesting depth issues. Detects deep nesting over 3 levels, complex conditionals, early return opportunities.
- ▌ Check Serialization · dykyi-roman bundleAnalyzes PHP code for serialization overhead. Detects inefficient JSON encoding, large object hydration, missing JsonSerializable, circular reference issues.
- ▌ Check SQL Injection · dykyi-romanAnalyzes PHP code for SQL injection vulnerabilities. Detects query concatenation, ORM misuse, raw queries, dynamic identifiers, prepared statement bypasses.
- ▌ Check Type Juggling · dykyi-romanDetects PHP type juggling vulnerabilities. Identifies loose comparison with user input, in_array without strict mode, switch statement type coercion, and hash comparison bypasses.
- ▌ Create Di Container · dykyi-roman bundleGenerates DI Container configuration for PHP 8.4. Creates module classes, service providers, container configuration, and autowiring setup. Supports Symfony, Laravel, and PHP-DI patterns. Includes unit tests.
- ▌ Create Dockerignore · dykyi-romanGenerates optimized .dockerignore files for PHP projects. Excludes tests, docs, IDE files, and development artifacts to minimize build context.
- ▌ Create Domain Event · dykyi-romanGenerates DDD Domain Events for PHP 8.4. Creates immutable event records with metadata, past-tense naming. Includes unit tests.
- ▌ Create Health Check · dykyi-roman bundleGenerates Health Check pattern for PHP 8.4. Creates application-level health endpoints with component checkers (Database, Redis, RabbitMQ), status aggregation, and RFC-compliant JSON response. Includes unit tests.
- ▌ Create Psalm Config · dykyi-romanGenerates Psalm configurations for PHP projects. Creates psalm.xml with appropriate error level, plugins, taint analysis, and DDD-specific settings.
- ▌ Create Rate Limiter · dykyi-roman bundleGenerates Rate Limiter pattern for PHP 8.4. Creates request throttling with token bucket, sliding window, and fixed window algorithms. Includes unit tests.
- ▌ Create Saga Pattern · dykyi-roman bundleGenerates Saga pattern components for PHP 8.4. Creates Saga interfaces, steps, orchestrator, state management, and compensation logic with unit tests.
- ▌ Create Test Builder · dykyi-roman bundleGenerates Test Data Builder and Object Mother patterns for PHP 8.4. Creates fluent builders with sensible defaults and factory methods for test data creation.
- ▌ Create Unit Of Work · dykyi-roman bundleGenerates Unit of Work pattern components for PHP 8.4. Creates transactional consistency infrastructure with aggregate tracking, flush/rollback, domain event collection, and unit tests.
- ▌ Create Value Object · dykyi-romanGenerates DDD Value Objects for PHP 8.4. Creates immutable, self-validating objects with equality comparison. Includes unit tests.
- ▌ Estimate Complexity · dykyi-romanEstimates algorithm complexity in PHP code. Analyzes time and space complexity, detects O(n²) algorithms, exponential growth patterns, inefficient data structures.
- ▌ Find Infinite Loops · dykyi-romanDetects infinite loop risks in PHP code. Finds missing break conditions, incorrect loop variables, unbounded recursion, circular references.
- ▌ Find Resource Leaks · dykyi-romanDetects resource leaks in PHP code. Finds unclosed file handles, database connections not released, streams not freed, missing finally blocks, temporary files not cleaned.
- ▌ Hexagonal Knowledge · dykyi-roman bundleHexagonal Architecture (Ports & Adapters) knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Hexagonal Architecture audits.
- ▌ Resolve Entry Point · dykyi-romanResolves HTTP routes (GET /api/orders) and console commands (app:process-payments) to their handler files. Detects framework, searches route/command definitions, extracts handler class and method, locates file via PSR-4 mapping.
- ▌ API Design Knowledge · dykyi-roman bundleAPI Design knowledge base. Provides REST constraints, Richardson Maturity Model, HTTP semantics, content negotiation, and GraphQL/gRPC comparison for API audits and generation.
- ▌ Check Async Patterns · dykyi-romanDetects synchronous operations that should be async. Identifies blocking email sends, in-request API calls, heavy processing in request cycle, and missing queue offloading.
- ▌ Check Authentication · dykyi-romanAnalyzes PHP code for authentication issues. Detects weak password handling, insecure sessions, missing auth checks, token vulnerabilities.
- ▌ Check Cqrs Alignment · dykyi-romanAudits CQRS and Event Sourcing alignment. Checks command/query separation, projection idempotency, event store consistency, and read/write model synchronization.
- ▌ Check Docker Secrets · dykyi-romanDetects secrets and credentials in Docker configuration. Scans Dockerfile, Compose, and .env files for exposed passwords, tokens, and keys.
- ▌ Check Path Traversal · dykyi-romanAnalyzes PHP code for path traversal vulnerabilities. Detects directory traversal, file inclusion with user input, missing path validation, symlink attacks.
- ▌ Check Pure Functions · dykyi-romanAnalyzes PHP code for pure function patterns. Detects side-effect-free methods, deterministic output, immutable inputs. Pure functions are easily testable.
- ▌ Check Secure Headers · dykyi-romanAudits HTTP security headers configuration. Checks CSP, X-Frame-Options, HSTS, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and cache control headers.
- ▌ Check Sensitive Data · dykyi-romanAnalyzes PHP code for sensitive data exposure. Detects plaintext secrets, exposed credentials, PII in logs, insecure storage, hardcoded keys.
- ▌ Clean Arch Knowledge · dykyi-roman bundleClean Architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Clean Architecture and Hexagonal Architecture audits.
- ▌ Create Dockerfile CI · dykyi-romanGenerates optimized Dockerfiles for PHP CI pipelines. Creates multi-stage builds with separate stages for dependencies, testing, and production with minimal image sizes.
- ▌ Create Feature Flags · dykyi-roman bundleGenerates feature flag implementations for PHP projects. Creates flag services, configuration, percentage rollouts, user targeting, and integration with deployment pipelines.
- ▌ Changelog Template · dykyi-romanGenerates CHANGELOG.md files following Keep a Changelog format. Creates version history documentation.
- ▌ Check Class Length · dykyi-romanAnalyzes PHP code for class length issues. Detects classes exceeding 300 lines, God class indicators, cohesion issues, SRP violations.
- ▌ Check Crypto Usage · dykyi-romanAnalyzes PHP code for cryptography issues. Detects weak algorithms, hardcoded keys, insecure random, poor key management, deprecated functions.
- ▌ Check Doc Examples · dykyi-romanVerifies code examples in documentation. Checks that class names, method signatures, namespaces, and imports match actual codebase. Detects outdated and misleading examples.
- ▌ Check Immutability · dykyi-romanAnalyzes PHP code for immutability violations. Checks Value Objects, Events, DTOs for readonly properties, no setters, final classes, and wither patterns. Ensures domain objects maintain invariants.
- ▌ Check Lazy Loading · dykyi-romanAnalyzes PHP code for lazy loading issues. Detects premature loading, missing pagination, inappropriate eager loading, infinite scroll problems.