test
Skill0 starsChanged 9 months agoMITView on GitHub
Generate E2E and unit test code from requirements using Playwright, delegated to Codex. Use when writing tests, checking acceptance criteria coverage, or running /test.
98 other projects use a version of this.
Adopted by
Most recently taken up by
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- vericontext/vibeframetheir own version, first seen Oct 4, 2026
- thekinv21/NotificationServicetheir own version, first seen Oct 3, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- kapadias/nonnatheir own version, first seen Oct 1, 2026
Used with
Projects with it also use develop, perf and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bamechoSkilldevelop
开发实施阶段详细规则;进入开发实施时读取;包含执行流程、代码规范、一致性审计、方案包迁移
Also in 6 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.
Also in 6 projects that use this
nicolasestremSkilldocument
Create focused documentation for specific components or features
Also in 8 projects that use this
vltingSkillscope
Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.
Also in 5 projects that use this
bitwize-music-studioSkilltutorial
Provides interactive guided album creation for new users. Use when the user is new to the plugin or asks for a walkthrough of the album creation process.
Also in 3 projects that use this
kt057Skillcheck
lint, typecheck, test を一括実行して結果をサマリーする
Also in 8 projects that use this
Other versions98 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 98
- NVIDIA/TensorRT★ 13ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- crbnos/carbon★ 2.7ksame name
- jsmastery-pro/skills★ 1.4ksame name
- getsentry/sentry-java★ 1.4ksame name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- boshu2/agentops★ 447same name
- platformplatform/PlatformPlatform★ 440same name
- owainlewis/blueprint★ 410same name
- OyadotAI/oya-browser★ 350same name
88 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ai-delegation.mdcCursor rule
- analyzeSkill
- apiSkill
- checkpointingSkill
- debateSkill
- frontend-designSkill
- implementSkill
- mockupSkill
- mockup-swiftSkill
- projectSkill
- requirementsSkill
- researchSkill
- reviewSkill
- specSkill
The file
Files
/test スキル
実装コードと要件定義からテストコードを自動生成します。
使用方法
/test
/test auth
/test --e2e
/test --unit実行フロー
[1] 要件定義の読み込み
└─ docs/requirements/*.md(受入条件)
[2] 実装コードの確認
└─ src/**/*
[3] Codexに委譲
└─ codex exec "..." --full-auto
[4] テストファイル生成
└─ tests/**/*.spec.tsCodex委譲コマンド
codex exec "
以下の受入条件を全てカバーするE2Eテストを生成してください。
【受入条件】
$(cat docs/requirements/{feature}.md | grep -A 100 '## 受入条件')
【テスト要件】
- Playwright使用
- 各受入条件に対応するテストケース
- Happy path + Edge case
- 適切なセレクタ(data-testid推奨)
- 日本語でテスト名を記述
【テンプレート】
import { test, expect } from '@playwright/test';
test.describe('{機能名}', () => {
test('{受入条件1}', async ({ page }) => {
// Arrange
// Act
// Assert
});
});
" --full-auto生成されるテスト構成
tests/
├── {feature}.spec.ts # E2Eテスト
├── {feature}.unit.spec.ts # ユニットテスト(オプション)
└── fixtures/
└── {feature}.json # テストデータテストテンプレート
import { test, expect } from '@playwright/test';
test.describe('ユーザー認証', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/login');
});
test('メールとパスワードでログインできる', async ({ page }) => {
// Arrange
await page.fill('[data-testid="email-input"]', 'test@example.com');
await page.fill('[data-testid="password-input"]', 'password123');
// Act
await page.click('[data-testid="login-button"]');
// Assert
await expect(page).toHaveURL('/dashboard');
await expect(page.locator('[data-testid="welcome-message"]')).toBeVisible();
});
test('無効なパスワードでエラーが表示される', async ({ page }) => {
// Arrange
await page.fill('[data-testid="email-input"]', 'test@example.com');
await page.fill('[data-testid="password-input"]', 'wrong');
// Act
await page.click('[data-testid="login-button"]');
// Assert
await expect(page.locator('[data-testid="error-message"]')).toHaveText(
'メールアドレスまたはパスワードが正しくありません'
);
});
});出力例
> /test auth
🧪 テストを生成します... (Codex)
要件定義を読み込み中...
✓ docs/requirements/auth.md(受入条件: 5件)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Codex (full-auto) でテスト生成中...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[Codex] tests/auth.spec.ts を作成中...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ テスト生成完了!
生成ファイル:
→ tests/auth.spec.ts
テストケース: 6件
✓ メールとパスワードでログインできる
✓ 認証成功時、ダッシュボードにリダイレクトされる
✓ 認証失敗時、エラーメッセージが表示される
✓ 空のフィールドでバリデーションエラー
✓ ログアウトでセッション終了
✓ セッション切れでログイン画面にリダイレクト
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
テスト実行: npx playwright test tests/auth.spec.tsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

