Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/romeerez/orchid-orm --skill reproコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | repro |
| description | Use when the user prompts "repro". |
Automates the reproduction of reported issues by creating an isolated failing test case. This enforces test-driven validation before attempting any fixes. Violating the letter of these rules is violating the spirit of the command.
Input: A GitHub issue number or URL, or a description of the bug. (e.g. /repro #123 or /repro https://github.com/romeerez/orchid-orm/issues/123).
Steps:
Understand Context Use GitHub MCP to read the issue body and comments.
Review Template
ALWAYS read packages/repro/src/repro-orm.example.test.ts to see how ORM issues are reproduced. For non-ORM querying issues, use https://orchid-orm.netlify.app/llms.txt and adapt by analogy.
packages/repro/src/repro-orm.example.test.ts. Use it purely as a reference.Create Test File(s)
Create a NEW, failing, self-contained test file in packages/repro/src/. You MUST NOT use or edit the example file.
<issue-number>-<descriptive-name>.test.ts (e.g. 123-nested-select-bug.test.ts). Create multiple files if there are multiple problems.orchid-orm, pqb, rake-db, etc.).Verify Reproduction
pnpm repro check packages/repro/src/<your-file>.test.ts. It must fail at runtime.pnpm repro types. It must fail at type checking (runtime failure is not required).assertType from the test-utils package:
import { assertType } from 'test-utils';
// assert that a type extends another type:
assertType<typeof result, ExpectedType>();
Limits on Attempts Give up after a number of sincere attempts if it cannot be reproduced. Do not endlessly try to fix it.
| Excuse | Reality |
|---|---|
| "I'll just edit the example file" | Editing the example ruins it for future tests. Create a NEW file. |
| "I can fix it while I reproduce it" | Fixes without failing tests are blind guesses that miss edge cases. |
| "I'll group these bugs in one file" | Grouping bugs breaks isolation and makes fixes harder to verify. |
| "I'll test this related thing too" | Extraneous tests cause unrelated failures. Test EXACTLY the reported bug. |
Red Flags - STOP and Start Over
packages/repro/src/repro-orm.example.test.tspackages/repro/src/<issue-number>-<descriptive-name>.test.tsAny red flag means: Delete the test. Start over.