スキル一覧に戻る
Motoki0705

agents-test

by Motoki0705

0🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: agents-test description: Run targeted tests using src.agents.scripts.test after code changes. Use when you need to execute only affected tests, pass a custom pytest command, or collect JSON test summaries with sub-agent fixes.

Agents Test

Overview

Use this skill to run only the affected tests and capture a JSON summary.

Quick start

Run the default test command (pytest with -q -n auto) through the sub-agent.

uv run python -m src.agents.scripts.test

Targeted tests (required by repo policy)

Always pass a narrowed task.test_cmd for affected files.

uv run python -m src.agents.scripts.test \
  'task.test_cmd=uv run --no-sync pytest -q -n auto tests/unit/test_affected.py'

Use a specific test case when needed.

uv run python -m src.agents.scripts.test \
  'task.test_cmd=uv run --no-sync pytest -q tests/test_example.py::test_case'

Output and logs

The script prints a single-line JSON summary and stores logs under agents_workspace/sub_agents/logs/pytest_*.log.

Cache workaround

If uv cache permissions fail, use a workspace cache:

uv run python -m src.agents.scripts.test \
  'task.test_cmd=uv --cache-dir agents_workspace/tmp_cache/uv_cache run --no-sync pytest -q tests/...'

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です