소스 정보
- 저장소
- krayin/agent-skills
- 최근 소스 활동
- 2026년 2월 27일 05:11
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/krayin/agent-skills --skill pest-testing-krayin-crm명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | Pest Testing (Krayin CRM) |
| description | Tests Krayin CRM using the Pest PHP framework (v2) with Laravel 10. |
| license | MIT |
| metadata | {"author":"webkul"} |
Activate this skill when:
Krayin tests are stored in the root tests/ directory:
/tests
├── Feature/
├── Unit/
├── Pest.php
├── TestCase.php
└── CreatesApplication.php
Defined in phpunit.xml:
| Test Suite | Location | Command |
|---|---|---|
| Unit | tests/Unit | php artisan test --testsuite="Unit" |
| Feature | tests/Feature | php artisan test --testsuite="Feature" |
tests/Pest.php binds the base test case for feature tests:
uses(\Tests\TestCase::class)->in('Feature');
It also defines helper functions you can reuse, such as:
getDefaultAdmin()actingAsSanctumAuthenticatedAdmin()getFirstName($fullName)php artisan test --compact
php artisan test --testsuite="Feature"
php artisan test --testsuite="Unit"
php artisan test --compact tests/Feature/ExampleTest.php
php artisan test --compact --filter=testName
php artisan make:test --pest ExampleFeatureTest
php artisan make:test --pest --unit ExampleUnitTest
it('passes basic assertion', function () {
expect(true)->toBeTrue();
});
it('returns successful response', function () {
$response = $this->get('/');
$response->assertSuccessful();
});
Prefer specific response helpers:
| Use | Instead of |
|---|---|
assertSuccessful() | assertStatus(200) |
assertNotFound() | assertStatus(404) |
assertForbidden() | assertStatus(403) |
it('has valid emails', function (string $email) {
expect($email)->toContain('@');
})->with([
'james' => 'james@krayin.com',
'john' => 'john@krayin.com',
]);
assertSuccessful() and other specific helpers--pest when creating teststests/Pest.php