ソース情報
- リポジトリ
- 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コマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?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