본문으로 건너뛰기
cccskills
무료GitHub에 공개

php-pro-max

PHP development intelligence. 12 domains, 8 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check PHP code. Domains: pattern, package, error, perf, test, security, interface, arch, idiom, anti, tooling, dependency. Stacks: laravel, symfony, codeigniter, slim, api-platform, livewire, database, queue. Integrations: arch_system generator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구DockerMySQLRedis
설치 방법 보기

포함된 파일(29)

  • SKILL.md8.0 KB
  • data/anti-patterns.csv19.5 KB
  • data/architecture.csv11.0 KB
  • data/dependency.csv9.4 KB
  • data/error-handling.csv21.0 KB
  • data/idioms.csv19.6 KB
  • data/interfaces.csv17.7 KB
  • data/packages.csv6.4 KB
  • data/patterns.csv31.0 KB
  • data/performance.csv16.8 KB
  • data/php-reasoning.csv6.0 KB
  • data/security.csv18.8 KB
  • data/stacks/api-platform.csv6.3 KB
  • data/stacks/codeigniter.csv8.2 KB
  • data/stacks/database.csv11.2 KB
  • data/stacks/laravel.csv27.7 KB
  • data/stacks/livewire.csv8.7 KB
  • data/stacks/queue.csv10.7 KB
  • data/stacks/slim.csv6.7 KB
  • data/stacks/symfony.csv14.3 KB
  • data/testing.csv16.5 KB
  • data/tooling.csv8.5 KB
  • scripts/arch_system.py12.2 KB
  • scripts/core.py13.9 KB
  • scripts/search.py5.1 KB
  • templates/base/quick-reference.md3.2 KB
  • templates/base/skill-content.md3.9 KB
  • templates/platforms/antigravity-skill.md8.1 KB
  • templates/platforms/antigravity.json1.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

PHP Pro Max - Backend Generator

When User Requests PHP Work

Follow this workflow for every PHP-related task:

1. Analyze Requirements

Extract from the user's request:

  • Project type: REST API, web app, microservice, CMS, e-commerce, CLI
  • Domain: web, database, queue, messaging, real-time
  • Constraints: specific framework? PHP version? Docker? cloud?
  • Scale: small project, enterprise, SaaS

Default Stack (always use unless user specifies otherwise)

ComponentDefaultPackage
FrameworkLaravel 11laravel/laravel
DatabaseMySQL 8illuminate/database (Eloquent)
AuthJWTtymon/jwt-auth or Laravel Sanctum
CacheRedispredis/predis
QueueRedis/DatabaseLaravel Queue
ConfigENV vars.env + config/*.php
DeployDocker ComposeDockerfile + docker-compose.yml

Project structure: Laravel standard layout:

app/Http/Controllers/    — HTTP controllers
app/Http/Middleware/      — request middleware
app/Http/Requests/        — form request validation
app/Models/               — Eloquent models
app/Services/             — business logic
app/Repositories/         — data access layer
app/Exceptions/           — custom exceptions
config/                   — configuration files
database/migrations/      — database migrations
database/seeders/         — database seeders
routes/api.php            — API routes
routes/web.php            — web routes
resources/views/          — Blade templates
tests/Unit/               — unit tests
tests/Feature/            — feature tests

2. Generate Architecture System (REQUIRED for new projects)

python3 skills/php/scripts/search.py "<project description>" --arch-system -p "ProjectName"

This gives you: architecture, packages, error strategy, patterns, structure, testing approach.

3. Supplement with Domain Searches

Based on the project needs, search relevant domains:

# Patterns for the task
python3 skills/php/scripts/search.py "repository service pattern" --domain pattern

# Error handling approach
python3 skills/php/scripts/search.py "custom exception handler" --domain error

# Security patterns
python3 skills/php/scripts/search.py "sql injection xss prevention" --domain security

# Performance tips
python3 skills/php/scripts/search.py "opcache query optimization" --domain perf

# Testing patterns
python3 skills/php/scripts/search.py "phpunit mocking feature test" --domain test

4. Stack Guidelines

If using a specific framework/stack:

python3 skills/php/scripts/search.py "middleware authentication" --stack laravel
python3 skills/php/scripts/search.py "doctrine entity mapping" --stack symfony
python3 skills/php/scripts/search.py "route middleware" --stack slim

5. Implement

Apply all recommendations from the search results:

  • Use recommended architecture and project structure
  • Apply patterns (Repository, Service Layer, DTO, etc.)
  • Follow error handling strategy
  • Implement security best practices
  • Add tests following testing strategy

6. Always Generate Docker Files

Every project MUST include these files:

Dockerfile (multi-stage build):

FROM composer:2 AS vendor
WORKDIR /app
COPY composer.json composer.lock ./
RUN composer install --no-dev --no-scripts --no-autoloader

FROM php:8.3-fpm-alpine AS app
RUN apk add --no-cache \
    libpng-dev libjpeg-turbo-dev freetype-dev \
    && docker-php-ext-configure gd --with-freetype --with-jpeg \
    && docker-php-ext-install gd pdo pdo_mysql opcache bcmath
WORKDIR /var/www
COPY --from=vendor /app/vendor vendor
COPY . .
RUN composer dump-autoload --optimize
RUN chown -R www-data:www-data storage bootstrap/cache
EXPOSE 9000
CMD ["php-fpm"]

docker-compose.yml (App + MySQL + Nginx + Redis):

services:
  app:
    build: .
    volumes:
      - .:/var/www
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_started
    environment:
      - DB_CONNECTION=mysql
      - DB_HOST=db
      - DB_PORT=3306
      - DB_DATABASE=appdb
      - DB_USERNAME=root
      - DB_PASSWORD=secret
      - REDIS_HOST=redis
  nginx:
    image: nginx:alpine
    ports:
      - "8080:80"
    volumes:
      - ./docker/nginx.conf:/etc/nginx/conf.d/default.conf
      - .:/var/www
    depends_on:
      - app
  db:
    image: mysql:8.0
    ports:
      - "3306:3306"
    environment:
      MYSQL_DATABASE: appdb
      MYSQL_ROOT_PASSWORD: secret
    volumes:
      - dbdata:/var/lib/mysql
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
      interval: 5s
      timeout: 5s
      retries: 5
  redis:
    image: redis:7-alpine
    ports:
      - "6379:6379"
volumes:
  dbdata:

Makefile (must include):

serve:
	php artisan serve
test:
	php artisan test --parallel
lint:
	./vendor/bin/phpstan analyse --memory-limit=512M
format:
	./vendor/bin/pint
docker-up:
	docker-compose up -d --build
docker-down:
	docker-compose down
migrate:
	php artisan migrate
seed:
	php artisan db:seed

Pre-Delivery Checklist

Before delivering PHP code, verify:

  • ./vendor/bin/phpstan analyse passes (level 6+)
  • ./vendor/bin/pint or php-cs-fixer passes
  • php artisan test or ./vendor/bin/phpunit passes
  • No raw SQL queries (use Eloquent/Query Builder or prepared statements)
  • All user input validated (Form Requests or manual validation)
  • CSRF protection enabled on web routes
  • Passwords hashed with bcrypt or argon2
  • No sensitive data in error responses (production mode)
  • Mass assignment protection ($fillable or $guarded)
  • Database migrations are reversible
  • Environment variables used for secrets (not hardcoded)
  • Rate limiting on auth/API endpoints
  • Proper exception handling (custom exceptions per domain)
  • Type hints and return types on all methods
  • PSR-12 coding standard followed

Quick Domain Reference

DomainWhen to Search
patternNeed a design pattern (repository, service, factory, DTO, middleware)
packageChoosing a Composer package for a use case
errorException handling strategy, custom exceptions, error responses
perfPerformance optimization, OPcache, caching, N+1 queries
testTesting approach, PHPUnit, Pest, mocking, feature tests
securitySQL injection, XSS, CSRF, auth, input validation
interfaceInterface design, SOLID, traits, type hints, OOP
archProject structure, architecture decisions
idiomPHP conventions, PSR standards, modern PHP features
antiAvoiding common mistakes
toolingPHP tools, static analysis, formatting, debugging
dependencyComposer, autoloading, versioning, packages

Resources

  • scripts/: BM25 search engine, architecture system generator
  • data/: 12 domains and 8 stacks with 300+ curated PHP entries

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Go development intelligence. 12 domains, 10 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check Go code. Domains: pattern, package, error, perf, test, concurrency, interface, arch, idiom, anti, tooling, module. Stacks: web-gin, web-echo, web-fiber, web-stdlib, cli, grpc, database, microservice, cloud-native, data-pipeline. Integrations: arch_system generator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vurakit/agentup562026년 3월 12일 업데이트

Mobile development intelligence. 12 domains, 9 stacks, 250+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check mobile code. Domains: pattern, package, error, perf, test, security, interface, arch, idiom, anti, tooling, dependency. Stacks: flutter, react-native, swiftui, jetpack-compose, kotlin-multiplatform, capacitor, expo, native-ios, native-android. Integrations: arch_system generator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vurakit/agentup562026년 3월 12일 업데이트

Node.js & TypeScript development intelligence. 12 domains, 12 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check Node code. Domains: pattern, package, error, perf, test, async, arch, idiom, anti, tooling, module, typescript. Stacks: web-express, web-fastify, web-hono, web-nestjs, web-nextjs, web-remix, orm-prisma, orm-drizzle, auth, database, realtime, graphql. Integrations: arch_system generator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vurakit/agentup562026년 3월 12일 업데이트

Rust development intelligence. 14 domains, 11 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check Rust code. Domains: pattern, crate, error, perf, test, concurrency, traits, arch, idiom, anti, tooling, module, unsafe. Stacks: web-axum, web-actix, web-rocket, web-warp, cli, grpc, database, async-runtime, auth, wasm, embedded. Integrations: arch_system generator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vurakit/agentup562026년 3월 12일 업데이트

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vurakit/agentup562026년 3월 12일 업데이트

vurakit의 스킬 모두 보기

이 스킬의 문제 신고