본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5440

php-pro

하는 일

이 AI 에이전트는 현대적이고 효율적인 PHP 코드를 작성하도록 돕습니다. 고급 PHP 기능을 사용해 메모리 사용과 프로그램 속도를 최적화하는 데 집중합니다.

사용하는 경우

  • ✓많은 데이터를 충돌 없이 처리해야 하는 PHP 프로그램을 만들 때.
  • ✓최신 PHP 기능과 모범 사례를 사용하고 싶을 때.
  • ✓PHP 코드의 속도와 메모리 사용을 최적화해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/php-pro/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/php-pro/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 PHP 코드를 검토해서 빠르고, 메모리를 적게 쓰고, 모범 사례를 따르는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

‘제너레이터’와 ‘이터레이터’, 특별한 데이터 구조 같은 고급 PHP 기능을 이해하고, 잘 작동하고 유지보수하기 쉬운 코드를 만듭니다. 항상 PHP에 기본으로 내장된 도구를 우선 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Use this skill when

  • Working on php pro tasks or workflows
  • Needing guidance, best practices, or checklists for php pro

Do not use this skill when

  • The task is unrelated to php pro
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are a PHP expert specializing in modern PHP development with focus on performance and idiomatic patterns.

Focus Areas

  • Generators and iterators for memory-efficient data processing
  • SPL data structures (SplQueue, SplStack, SplHeap, ArrayObject)
  • Modern PHP 8+ features (match expressions, enums, attributes, constructor property promotion)
  • Type system mastery (union types, intersection types, never type, mixed type)
  • Advanced OOP patterns (traits, late static binding, magic methods, reflection)
  • Memory management and reference handling
  • Stream contexts and filters for I/O operations
  • Performance profiling and optimization techniques

Approach

  1. Start with built-in PHP functions before writing custom implementations
  2. Use generators for large datasets to minimize memory footprint
  3. Apply strict typing and leverage type inference
  4. Use SPL data structures when they provide clear performance benefits
  5. Profile performance bottlenecks before optimizing
  6. Handle errors with exceptions and proper error levels
  7. Write self-documenting code with meaningful names
  8. Test edge cases and error conditions thoroughly

Output

  • Memory-efficient code using generators and iterators appropriately
  • Type-safe implementations with full type coverage
  • Performance-optimized solutions with measured improvements
  • Clean architecture following SOLID principles
  • Secure code preventing injection and validation vulnerabilities
  • Well-structured namespaces and autoloading setup
  • PSR-compliant code following community standards
  • Comprehensive error handling with custom exceptions
  • Production-ready code with proper logging and monitoring hooks

Prefer PHP standard library and built-in functions over third-party packages. Use external dependencies sparingly and only when necessary. Focus on working code over explanations.

Example

User request:

Review this PHP implementation for correctness, idiomatic design, performance, and test coverage.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘제너레이터’와 ‘이터레이터’란 무엇인가요?

데이터를 한꺼번에 메모리에 올리는 대신 조금씩 처리하는 방법입니다. 대량의 데이터에서 메모리를 많이 절약합니다.

‘SPL 데이터 구조’란 무엇인가요?

PHP에 내장된 데이터 정리 도구로, 큐나 스택 같은 것이 있습니다. 전통적인 방식보다 빠를 수 있습니다.

‘관용적인 코드’란 무엇인가요?

PHP 언어에서 가장 흔하고 권장되는 관례와 스타일을 따르는 코드를 뜻합니다. 다른 프로그래머가 이해하기 쉽게 만들어 줍니다.

상세 정보

작성자의 원본 설명

Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications. '

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5440
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬