Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agilab-example-maturity

БесплатноБез исполняемых скриптовНе проверен

Improve or review AGILAB packaged examples for external-beta maturity. Use when working on src/agilab/examples, example install/run scripts, example READMEs…

ThalesGroupот ThalesGroup★ 23 звезды на GitHub

Об этом скилле

AGILAB Example Maturity

Goal

Raise AGILAB packaged examples from internal smoke snippets to external-beta examples: readable, deterministic, copy/paste safe, aligned with docs, and protected by tests.

Use this with plan-before-code for non-trivial edits, with agilab-testing when validation scope is unclear, and with repo-skill-maintenance when this skill itself changes.

Inspect First

Before editing, inspect:

  • src/agilab/examples/README.md
  • src/agilab/examples/*/README.md
  • src/agilab/examples/*/AGI_*.py
  • src/agilab/apps/builtin/*_project/ when packaged built-in app assets are touched
  • src/agilab/apps/templates/*_template/ when starter templates are touched
  • src/agilab/apps/install.py, especially _seed_example_scripts
  • test/test_app_installer_packaging.py
  • pyproject.toml package-data only if adding/removing packaged example files

Check the current dirty tree before touching files. Do not revert unrelated release, connector, docs, badge, or user edits.

When the request mentions missing app files, run a source-asset audit before assuming the file is absent. Check both tracked files and ignored/untracked source-like files:

git status --short --ignored --untracked-files=all src/agilab/apps/builtin src/agilab/apps/templates
git ls-files 'src/agilab/apps/**' | sort
find src/agilab/apps/builtin src/agilab/apps/templates -maxdepth 4 -type f \
  \( -name 'README.md' -o -name 'pyproject.toml' -o -name 'app_args_form.py' \
     -o -name 'app_settings.toml' -o -name 'pre_prompt.json' \
     -o -name 'lab_stages.toml' -o -name 'pipeline_view.dot' \
     -o -name 'notebook_export.toml' -o -name 'notebook_import_views.toml' \) -print | sort

If git check-ignore shows a source asset is hidden by .gitignore, fix the ignore rule and add a regression test so git add -A would see the file next time. Do not treat generated directories (.venv, __pycache__, build output, local .egg-info) or generated Cython/C files as missing source assets.

Quality Bar

Treat an example as mature only if all of these are true:

  • It explains the purpose before showing mechanics.
  • It uses the current AGI.run(app_env, request=RunRequest(...)) API.
  • It avoids private AGI internals such as AGI._RUN_MASK.
  • It avoids magic mode literals like mode=13 or modes_enabled=15.
  • It uses asyncio.run(main()) unless there is a documented reason not to.
  • It gives a friendly error when ~/.local/share/agilab/.agilab-path is missing.
  • It is deterministic and local-first: localhost scheduler, one worker, public inputs.
  • It names expected input and output paths in the matching README.
  • It names only output artifacts the app actually emits, and it distinguishes generated outputs from planned or manual quality checks.
  • It gives one safe "change one thing" adaptation step.
  • It contains no orphan scratch snippets, undefined variables, hidden private-app paths, or examples that only work in a developer checkout.
  • It exposes typed or structured inputs, structured outputs, the workflow view, the exact run command, and the production boundary before asking users to adapt it. A "wow" example is not mature if it only shows a UI trick without a reproducible artifact contract.

For packaged built-in apps and templates, also require:

  • root README.md and pyproject.toml
  • src/app_args_form.py, src/app_settings.toml, and src/pre_prompt.json
  • any app-declared notebook manifests such as notebook_export.toml or notebook_import_views.toml
  • conceptual pipeline files such as lab_stages.toml or pipeline_view.dot when the app documents or UI references them
  • app-owned preview/template payloads under dag_templates/, scenario_templates/, service_templates/, or tracking_templates/ when an example, page, or packaged app uses them
  • package-data patterns in pyproject.toml for every file class expected in the wheel, and no stale exclude pattern that removes a runtime/UI seed file
  • first-run UX, deterministic sample data, README artifact truth, app-local tests, installer/catalog contract, and clear example value as one quality gate rather than separate best-effort polish items

External/private apps under src/agilab/apps/<name>_project are not public package assets unless explicitly added to the public distribution. If a local stub exists but the complete app is in APPS_REPOSITORY, report that distinction instead of packaging private code.

Pedagogic and Diagnostic Examples

For examples that teach, grade, diagnose, or generate exercise content:

  • Make the learner-facing metric explicit in both the UI and artifacts. If the page displays a student score, the run summary should persist the same field name, for example student_score.
  • Reducers should aggregate the same metric with a clear name such as student_score_mean; avoid a second hidden scoring scale in the reducer.
  • Generated content should use a validated schema with clear
Полный SKILL.md на GitHub

Установить agilab-example-maturity в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл agilab-example-maturity?

Improve or review AGILAB packaged examples for external-beta maturity. Use when working on src/agilab/examples, example install/run scripts, example READMEs, app installer example seeding, or tests that enforce example quality, pedagogy, public API usage, deterministic first-run behavior, and newcomer-safe adaptation.

Как установить скилл agilab-example-maturity?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agilab-example-maturity запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agilab-example-maturity с