NEAR Protocolの最低対応バージョンを1つ引き上げ、旧バージョン向けの機能や設定差分を整理して、検証とPR作成まで進めるスキルです。
- 旧プロトコルバージョンを廃止したいとき
- 機能フラグと設定差分をまとめて整理
- バージョン引き上げを一つのPRにまとめる
pytestの統合テストを分析し、シナリオや構成を整理したうえで、test-loop形式のテストへ移行する計画と実装を進めるスキルです。
Migrate a pytest integration test to the test-loop framework. Use when converting a pytest from pytest/tests/ to a deterministic test-loop test.
実行スコア 未検証
インストール方法を見る指定されたpytestファイルを読み、各テストシナリオの検証内容、ノード構成、主要設定、操作の順序、アサーションを整理します。分析結果はプロジェクトルートの<test_name>_migration.mdに記録し、test-loopのREADMEや関連する例、既存テストを調べて移行案を作ります。案を提示して確認を得た後、新しいテストファイルを作成し、テストモジュールへの登録、コンパイルと個別テストの実行、整形を行います。最後に元のpytestと関連参照を削除します。
pytest/tests/にある統合テストを、決定的な結果を得られるtest-loopテストへ移したいときに使えます。既存テストの動作やネットワーク構成を把握しながら、移行内容を記録して進めたい場合に向いています。
pytest/tests/example.pyを移行して」test-loop-testsのREADME、例、既存テストを参照します。テスト作成前に移行案の確認が必要です。手順にはコンパイルとテストの実行、元pytestファイルの削除が含まれます。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Migrate a pytest integration test to the test-loop framework.
Target pytest file: $ARGUMENTS
Follow these steps in order:
<test_name>_migration.md in the project root.test-loop-tests/README.md for the builder API and patternstest-loop-tests/src/examples/ that are relevant to the pytest being migrated (list available examples with ls test-loop-tests/src/examples/)test-loop-tests/src/tests/ for patterns similar to what the pytest doesFor each pytest scenario, decide:
#[test] function or can be combinedPresent the plan to the user and get confirmation before writing code.
test-loop-tests/src/tests/<test_name>.rstest-loop-tests/README.mdtest-loop-tests/src/tests/mod.rs (keep alphabetical order)cargo check --package test-loop-tests --features test_features to verify compilationcargo test --package test-loop-tests --features test_features -- tests::<module>::<test_name> --exact --show-outputcargo fmt --package test-loop-testsnightly/pytest-sanity.txt (check for both regular and --features nightly variants, and commented-out spice variants)Report what was done:
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
NEAR Protocolの最低対応バージョンを1つ引き上げ、旧バージョン向けの機能や設定差分を整理して、検証とPR作成まで進めるスキルです。
ステージ済みの変更を読み取り、ブランチ名やタイトル、説明を整えて、確認後にGitHubへドラフトのプルリクエストを作成するスキルです。
Rustのプルリクエストをプロジェクトの基準に沿って調べ、マージを妨げる不具合や安全性、性能、セキュリティ上の問題を具体的に指摘するスキルです。
OpenAPI仕様、Instaスナップショット、プロトコルスキーマを順に再生成し、失敗時は停止して差分確認が必要な変更を扱うスキルです。