agilab-testing
БесплатноБез исполняемых скриптовНе проверенTargeted AGILAB validation for unit and app regressions, performance benchmarks and scaling claims, or changes to generated test data and property-test input…
от ThalesGroup★ 23 звезды на GitHubОб этом скилле
Testing Skill (AGILAB)
Use this skill when validating changes.
For benchmark work or changes to generated test inputs, read the relevant section of benchmark and generator review. It covers measurement contracts and the input domains a test actually exercises. Ordinary unit/app validation follows the workflow below.
Local validation policy
Portable validation is local by default. Start with ./dev ci on the current
host (macOS first), then select root-tests, core-tests, guardrails-extended,
base-python-compat, setuptools-native, public-install, coverage or UI
profiles explicitly. See docs/source/agilab-local-validation.rst for the full
mapping. Artifact-producing profiles and --receipt runs must execute freshly.
A Mac pass does not qualify Windows junctions, Linux APT, Python 3.14t or service
permissions. Hosted validation is manual; keep Pages/publication, OIDC,
attestations and Actions-token signing under their existing explicit gates.
Never dispatch Actions merely to reproduce a portable failure. Verify local
receipts with workflow_parity.py --verify-receipt; failed, skipped, missing or
stale profiles are not release evidence.
Philosophy
- For non-trivial diffs, start with
uv --preview-features extra-build-dependencies run python tools/impact_validate.py --stagedor--files ...and treat its output as the first pass for required validation. - Start small and local: run only the tests that cover the files you changed.
- Prefer local validation over CI reruns. If a coverage, test, docs, or badge failure has a local command equivalent, run that first. Use GitHub workflows only when the issue is runner-specific, matrix-specific, secret-dependent, or part of the final publish/deploy path.
- Avoid “fixing the world”: do not chase unrelated test failures.
- Do not turn a failing app regression into an unapproved shared-core edit. Before changing
src/agilab/core/agi-env,src/agilab/core/agi-node,src/agilab/core/agi-cluster,src/agilab/core/agi-core, or shared deploy/build helpers, get explicit user approval. First explain why an app-local fix is insufficient and which regression will validate the shared change. - Prefer fixing the class of failure, not a single symptom. If a regression comes from filesystem
ordering, polluted
HOME/~/.agilab, or stale cluster config leaking from the runner, harden the shared helper or shared test fixture instead of patching just one assertion.
Pipeline Efficiency
- When multiple AGILAB skills are active in the same turn, build one validation plan from the final changed-file set instead of running each skill's checks independently.
- Prefer the default compact
./dev <shortcut>output for agent-facing validation. It writes the full stdout/stderr stream to ignoredreports/dev-logs/artifacts and prints only a bounded signal summary, which keeps prompt context focused without losing evidence. - In final user-facing close-outs, summarize successful validation as
Validation passed.without listing every command. Include the exact command list only when a check failed or was skipped, the message is release/audit evidence, a PR/commit body needs reproducible proof, or the user explicitly asks for validation details. - Use
--raw-outputorAGILAB_DEV_OUTPUT=rawonly when a human debugging session, wrapper, or downstream tool must consume the live raw stream or raw JSON. For normal diagnosis, inspect the citedreports/dev-logs/...artifact instead of pasting full logs into the prompt. - If the compact summary says lines were omitted, treat that as a pointer to
the log artifact, not as proof that no root cause exists. Expand bounded
context with
--summary-lines NorAGILAB_DEV_SUMMARY_LINES=Nbefore escalating to raw output. - Run
tools/impact_validate.pyonce per stable diff. Reuse its output if no files changed since the previous run; rerun only after edits that alter the impact surface. - Batch repeated artifact checks at the end of the edit loop: public docs integrity stamp refresh, release/pre-release coverage badge guard, skill mirror sync, Codex skill index generation, and release dry-runs should not run once per skill.
- Run cheap read-only inspections in parallel when possible, but keep write or generation commands serialized so generated files do not race.
- If several workflow parity profiles are required, run each required profile
once. Prefer a single command with repeated
--profilearguments when the tool supports it. - When validating a follow-up branch after prior squash merges, compare the
actual content diff with
git diff origin/main..HEAD, not only commit counts. Squash merges can make a branch look many commits ahead even when most content is already onmain.
Built-in App Validation
- Use
./dev builtin-app-testsor `uv --preview-features extra-build-dependencies run pyt
Установить agilab-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agilab-testing?
Targeted AGILAB validation for unit and app regressions, performance benchmarks and scaling claims, or changes to generated test data and property-test input domains.
Как установить скилл agilab-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agilab-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic