discovering-make-commands — скилл для Claude Code: что делает
Скилл discovering-make-commands показывает ИИ-агенту доступные цели Makefile для сборки, линтинга и тестов в репозитории Streamlit.
Apache-2.0 ★ 46 474 обновлён 2026-10-25
npx skills add streamlit/streamlit --skill discovering-make-commands -a claude-codeЧто делает discovering-make-commands
Скилл передаёт агенту справочник команд make, запускаемых из корня репозитория Streamlit. Модель сразу видит точные имена таргетов и параметры вызова, поэтому не гадает структуру скриптов и не пытается вызывать произвольные шаги сборки.
Внутри зафиксированы задачи под разные части проекта: сборка фронтенда на Vite, компиляция protobuf через buf, проверка типов, юнит-тесты Python и сквозные сценарии Playwright. Есть и составные команды вроде check, которая прогоняет линтеры и тесты только по изменённым файлам перед коммитом.
Команда интеграционных тестов python-integration-tests требует предварительного запуска PYTHON_DEPENDENCY_GROUP=integration make python-init.
Какие задачи решает
- подобрать правильную make-команду для сборки фронтенда или protobuf
- запустить e2e-тесты Playwright в отладочном режиме с трассировкой
- проверить изменённые файлы перед коммитом через make check
- собрать wheel-пакеты Streamlit в директорию dist
Примеры запросов агенту
- Какую команду make запустить, чтобы прогнать проверки только по изменённым файлам?
- Как запустить e2e-тест st_command_test.py в режиме отладки через make?
- Собери фронтенд с включённым профилировщиком с помощью нужной make-цели
Как установить discovering-make-commands
1Через Skills CLI (Vercel)
npx skills add streamlit/streamlit --skill discovering-make-commands -a claude-code2Вручную: положить файлы
~/.claude/skills/discovering-make-commands/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/discovering-make-commands/
1Через Skills CLI (Vercel)
npx skills add streamlit/streamlit --skill discovering-make-commands -a codex2Вручную: положить файлы
.agents/skills/discovering-make-commands/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add streamlit/streamlit --skill discovering-make-commands -a cursor2Вручную: положить файлы
.cursor/skills/discovering-make-commands/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install streamlit/streamlit .claude/skills/discovering-make-commands2Вручную: положить файлы
.github/skills/discovering-make-commands/SKILL.md1Через Skills CLI (Vercel)
npx skills add streamlit/streamlit --skill discovering-make-commands -a gemini-cli2Командой платформы
gemini skills install https://github.com/streamlit/streamlit --path .claude/skills/discovering-make-commandsВручную: положить файлы
.devin/skills/discovering-make-commands/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add streamlit/streamlit --skill discovering-make-commands -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о discovering-make-commands
Как установить discovering-make-commands в Claude Code?
Выполните команду npx skills add streamlit/streamlit --skill discovering-make-commands -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/discovering-make-commands/SKILL.md.
Что делает этот скилл?
Он предоставляет агенту готовый список команд Makefile репозитория Streamlit с краткими пояснениями для форматирования, тестов, сборки фронтенда и пакетов.
Нужна ли предварительная настройка для интеграционных тестов Python?
Да, для таргета python-integration-tests сначала требуется выполнить команду PYTHON_DEPENDENCY_GROUP=integration make python-init.
Исходный текст
SKILL.md · Apache-2.0
--- name: discovering-make-commands description: Lists available make commands for Streamlit development. Use for build, test, lint, or format tasks. --- # Available `make` commands List of all `make` commands available for execution from the repository root folder: ``` help Show all available make commands. all Install all dependencies, build frontend, and install editable Streamlit. all-dev Install all dependencies and editable Streamlit, but do not build the frontend. init Install all dependencies and build protobufs. clean Remove all generated files. protobuf Recompile Protobufs for Python and the frontend. protobuf-lint Lint and check formatting of protobuf files (buf). protobuf-format Format protobuf files (buf). python-init Install Python dependencies and Streamlit in editable mode. python-lint Lint and check formatting of Python files. python-format Format Python files. python-tests Run Python unit tests. python-performance-tests Run Python performance tests. python-integration-tests Run Python integration tests. Requires `PYTHON_DEPENDENCY_GROUP=integration make python-init` first. python-types Run the Python type checker. frontend-init Install all frontend dependencies. frontend Build the frontend. frontend-with-profiler Build the frontend with the profiler enabled. frontend-fast Build the frontend (as fast as possible). frontend-dev Start the frontend development server. debug Start Streamlit and Vite dev server for debugging. Use via `make debug my-script.py`. frontend-lint Lint and check formatting of frontend files. frontend-types Run the frontend type checker. frontend-format Format frontend files. frontend-tests Run frontend unit tests and generate coverage report. frontend-knip Run Knip unused-export and unused-dependency analysis. frontend-typesync Check for unsynced frontend types. update-frontend-typesync Installs missing typescript typings for dependencies. update-snapshots Update e2e snapshots from the failed Playwright run for the current commit. update-snapshots-changed Update changed-file e2e snapshots from the failed Playwright run for this commit. update-material-icons Update material icons based on latest Google material symbol version. update-emojis Update emojis from Unicode's latest emoji-test.txt. update-notices Update the notices file (licenses of frontend assets and dependencies). update-headers Update all license headers. update-min-deps Update minimum dependency constraints file. debug-e2e-test Run a playwright e2e test in debug mode. Use it via `make debug-e2e-test st_command_test.py`. run-e2e-test Run a playwright e2e test. Use it via `make run-e2e-test st_command_test.py`. trace-e2e-test Run e2e test with tracing and view it. Use via `make trace-e2e-test <test_file.py>::<test_func>`. lighthouse-tests Run Lighthouse performance tests. bare-execution-tests Run all e2e tests in bare mode. cli-smoke-tests Run CLI smoke tests. check Run all checks (format, lint, types, unit tests) on changed files only. Useful to verify the current state of the codebase before committing. autofix Autofix linting and formatting errors. package Create Python wheel files in `dist/`. ```
© streamlit · Apache-2.0 · streamlit/streamlit