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★ 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.mdsrc/agilab/examples/*/README.mdsrc/agilab/examples/*/AGI_*.pysrc/agilab/apps/builtin/*_project/when packaged built-in app assets are touchedsrc/agilab/apps/templates/*_template/when starter templates are touchedsrc/agilab/apps/install.py, especially_seed_example_scriptstest/test_app_installer_packaging.pypyproject.tomlpackage-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=13ormodes_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-pathis 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.mdandpyproject.toml src/app_args_form.py,src/app_settings.toml, andsrc/pre_prompt.json- any app-declared notebook manifests such as
notebook_export.tomlornotebook_import_views.toml - conceptual pipeline files such as
lab_stages.tomlorpipeline_view.dotwhen the app documents or UI references them - app-owned preview/template payloads under
dag_templates/,scenario_templates/,service_templates/, ortracking_templates/when an example, page, or packaged app uses them - package-data patterns in
pyproject.tomlfor 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
Установить agilab-example-maturity в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic