원클릭으로
php-standard
Activate when writing, reviewing, or testing PHP code to enforce clean code, strict typing, and PHPUnit standards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Activate when writing, reviewing, or testing PHP code to enforce clean code, strict typing, and PHPUnit standards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Activate when an Engineering Manager needs to shape a rough initiative into a clear, scoped, outcome-oriented brief before execution.
Activate when reviewing branches, commits, or pull requests using the emoji-driven review protocol.
Activate when managing conversation history in long sessions, choosing compression strategies, or preserving critical information during context truncation.
Activate when designing agent systems, debugging unexpected agent behavior, or optimizing context usage and attention budgets.
Activate when hitting context limits, experiencing quality degradation in long sessions, or needing to extend effective context capacity.
Activate when generating in-code comments or system documentation using the Diátaxis framework.
| name | php-standard |
| version | 1.0.0 |
| description | Activate when writing, reviewing, or testing PHP code to enforce clean code, strict typing, and PHPUnit standards. |
| triggers | ["php","phpunit","laravel","symfony","psr","composer"] |
Language-specific rules for PHP projects covering strict typing, PSR compliance, clean architecture, and PHPUnit testing conventions.
declare(strict_types=1) in every filedeclare(strict_types=1); at the top of every file.test[FunctionName]_[Scenario]_[ExpectedResult].@dataProvider to keep tests DRY when testing multiple cases.tests/ mirroring src/.composer.json or directory structure to ensure correct namespaces.Test structure:
public function testCreateUser_WithValidData_ReturnsUser(): void
{
// Given
$email = EmailMother::random();
// When
$user = $this->service->create($email);
// Then
$this->assertEquals($email, $user->email());
}
declare(strict_types=1) in every PHP file — no exceptionstest[Function]_[Scenario]_[Expected]@dataProvider for multi-case testsrecursive-exploration (reasoning model), refactor (cleanup workflow), code-review (review checklist)