Логотип Matlab Configure Toml Project

Matlab Configure Toml Project

ОрганизацияПопулярный
matlab
matlab-configure-toml-project

Используйте этот навык во всех случаях, когда в контексте MATLAB упоминаются "project" или "matlab.toml". Это относится к созданию, редактированию, упорядочиванию и настройке проектов MATLAB, объявлению зависимостей пакетов MATLAB или ссылочных проектов, настройке путей, сценариев жизненного цикла и ярлыков, работе с пакетами MATLAB, а также вопросам о структуре проекта.

Обзор

Издательmatlab
Репозиторийmatlab-agentic-toolkit
Название навыкаmatlab-configure-toml-project
Звёзды
1.2K
Форки
138
Файлы в комплекте
3
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — matlab. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Matlab Configure Toml Project в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/matlab-software-development/matlab-configure-toml-project
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/matlab-agentic-toolkit.git /tmp/matlab-agentic-toolkit
mkdir -p .claude/skills
cp -r /tmp/matlab-agentic-toolkit/skills-catalog/matlab-software-development/matlab-configure-toml-project .claude/skills/matlab-configure-toml-project
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Matlab Configure Toml Project в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Matlab Configure Toml Project, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Matlab Configure Toml Project не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

matlab.toml Projects

matlab.toml is a TOML-based configuration file for MATLAB projects. It defines project structure, dependencies, lifecycle scripts, shortcuts, labels, packaging, deployment, and Simulink settings. Every section is optional — the schema mandates no top-level field — but always set name, which supplies the project's display name.

matlab.toml must be placed at the project root folder — the same folder that would contain a .git/ folder or be the top-level working folder for the project.

For MATLAB R2026b and later, prefer matlab.toml for new projects. Existing .prj projects remain supported and can be converted in either direction with:

matlab
matlab.project.convertDefinitionFiles(pwd, "Toml")

Opening a project with openProject, buildtool, or runtests activates its configuration. The project's [folders].path entries then control the MATLAB path, so do not spread addpath calls through source and test files.

  • Use matlab-use-package-manager for MATLAB packages.
  • Use matlab-package-toolbox to author and build .mltbx MATLAB packages.
  • @references/format-reference.md — complete field documentation with examples, plus the validation rules that govern the whole file
  • @references/deployment-reference.md — the [compiler] deployment targets

When to Use

  • The user mentions matlab.toml, or "project" in a MATLAB context (creating, editing, or inspecting a MATLAB project's configuration).
  • Setting up MATLAB path folders, test folders, lifecycle scripts, shortcuts, package dependencies, reference projects, file labels, export profiles, MATLAB package metadata, deployment targets, or Simulink project settings.
  • Auditing an existing matlab.toml for schema violations before they cause silent failures.

When NOT to Use

  • The user wants to drive project state through the MATLAB object API directly (matlab.project.createProject, proj.addPath, etc.) rather than author or edit the file — that is a legitimate but different task; this skill's workflows assume the file is the artifact being produced.
  • The task is editing a .prj-format project definition. Do not carry .prj keys or concepts over into matlab.toml — the schemas are not equivalent. A reference project may still target a .prj project.
  • The task only concerns [compiler.*] deployment target internals in depth — read @references/deployment-reference.md directly rather than following the Creation/Editing workflows below, which are file-level, not per-target.

Key Functions

FunctionPurpose
openProjectLoads a matlab.toml (or .prj) as the current project. Does not validate the schema — unrecognized keys, missing files, and wrong types all load silently. Use it to confirm the file parses, never as a correctness check.
currentProjectReturns the currently open Project object; use its Name, PathFolders, TestFolders, StartupFiles, etc. properties to verify a round-trip after writing the file.
matlab.project.createProjectCreates a new project through the imperative API instead of authoring the file. Avoid this as the mechanism for producing matlab.toml — write the TOML directly (see Creation Workflow, step 3).

Creation Workflow

When a user wants to create a new matlab.toml (no existing file), follow this scan-first approach:

  1. Ask for the project name. This is the only required field.

  2. Scan the current folder for existing structure:

    • Find subfolders containing .m, .mlx, .slx, or .mlapp files. Propose these as [folders].path entries.
    • Identify folders whose names contain "test" (e.g., tests/, test/, unitTests/). Propose these as [folders].test entries.
    • Look for scripts matching *startup* or *setup* patterns — propose as startup-files.
    • Look for scripts matching *shutdown* or *cleanup* or *teardown* patterns — propose as shutdown-files.
    • Exclude hidden folders (.git, .svn, etc.) and common output folders (derived/, results/, build/).
  3. Generate a draft starting minimal — name, folders, and any discovered lifecycle scripts. Present it to the user.

  4. Ask about optional sections as needed, not as a checklist:

    • MATLAB packages (not MathWorks products) and reference projects
    • Shortcuts to frequently-used scripts
    • File labels and export profiles (only if used in code or explicitly requested)
    • MATLAB package metadata ([[package]]) if the project ships as an .mltbx
    • Deployment targets ([compiler.*]) if the project builds a standalone app, library, or language package
    • Simulink settings (if .slx files are present)
  5. After generating the TOML file, ask the user if they want the folders listed in [folders] to be created on disk (for nonexistent folders in new projects).

Start minimal and let the user add sections incrementally. One focused question at a time is better than a long questionnaire.

Editing Workflow

When a matlab.toml already exists and the user wants to modify it:

  1. Read the existing matlab.toml to understand the current configuration.

  2. Map the user's request to schema sections. Identify which section(s) need changes — refer to @references/format-reference.md for valid fields and formats.

  3. Make targeted edits. Modify only the sections the user asked about. Do not restructure, reformat, or reorder untouched sections. Preserve any user comments (# lines) in the file.

  4. Validate against the schema yourself. openProject does not report schema violations — unknown keys, missing files, and wrong value types all load silently and are simply ignored. A successful openProject is not evidence the file is correct, so check every key against @references/format-reference.md rather than relying on MATLAB errors and warnings:

    • Dependency values must use one of the three supported formats (package version string, package version with ID, or reference-project path).
    • Array-of-tables ([[project.profile]], [[package]], [[matlab.test.test-suite]], [[compiler.*]]) syntax must be correct.
    • No unknown keys. Every table except [user] is closed. Do not invent keys or carry over keys from .prj files.
    • Path keys must resolve. Most path values must point at files that exist and live inside the project root. Few paths (startup-folder, dependency path) can be outside the project root. Output paths (cache folders, build output) do not need to exist. The reference annotates each key. Confirming a path means listing the folder and seeing the entry — a truncated, filtered, or head-limited listing that fails to show it is not a confirmation, and neither is a ls of a guessed name that returns nothing.
    • Required fields must be present: id and package-root in [[package]], name in [[compiler.standalone]], path in project-path dependencies and shortcuts, version in version-with-ID dependencies, and both category and label in every label filter.
  5. Present the change — show the user what will be modified before writing the file.

Conventions

  • Author the TOML directly. Do not produce matlab.toml by driving matlab.project.createProject and reading back what MATLAB wrote — write the file yourself, with the sections in the order given above.
  • Tables are closed. Every table except [user] rejects unrecognized keys. Never invent a key or carry one over from a .prj file; check every key against @references/format-reference.md.
  • openProject is not a validator. A file that opens cleanly may still contain silently-ignored schema violations — the only way to be sure a key is correct is to look it up.
  • Path values must be confirmed, not guessed. Listing a folder and seeing the entry is a confirmation; a truncated, filtered, or head-limited listing that fails to show it is not, and neither is an ls of a guessed name that returns nothing.
  • MathWorks products are never [dependencies] entries. [dependencies] accepts any key, so a product name loads silently and wrongly. Record product requirements elsewhere (e.g. [project].summary, [[package]].product-dependencies, or a comment).
  • Preserve what the user didn't ask you to touch. Comments and section order in an existing file survive an edit unless the user's request required changing them.

Quick Reference

SectionPurposeKey Fields
nameProject name (always set it)string
[user]Free-form custom dataany keys/nested tables
[folders]MATLAB path and test folderspath, test (arrays)
[dependencies]Declare MATLAB packages (not MathWorks products) or reference projectspackages: version string or {version, id}; references: {path, absolute}
[project]Lifecycle and metadatasummary, startup-folder, startup-files, shutdown-files, custom-tasks
[project.dependency-analyzer]Dependency analysis cachecache-file
[project.shortcuts]Named script shortcuts{path, icon} per shortcut; can be grouped
[project.labels.Category]File categorizationLabelName = ["file.m", "dir/"]
[[project.profile]]Export/filter profilesname, included-files, excluded-files, excluded-labels
[project.dashboards]Dashboard label groupingscomponent, unit (label references)
[project.digital-thread]Traceability settingstool-output-tracking, ignore
[[package]]Build a MATLAB packageid (required), package-root (required), name, version, summary, description, folders, apps, provider
[compiler.*]Deployment build targets10 targets: standalone (name required), web-app, excel-add-in, dot-net-assembly, c-shared-library, cpp-shared-library, production-server-archive, com-component, java-package, python-package — see @references/deployment-reference.md
[matlab.test]Test runner configurationcoverage-setting, test-suite
[simulink]Simulink settingsstart-simulink, cache-folder, codegen-folder, refresh-customizations
[simulink.process-advisor]Process Advisor settingsincremental-build, enable-model-caching, 9 more string properties

[[package]] can include MATLAB code, Simulink models, apps, documentation, and other project content in the resulting MATLAB package. Use matlab-package-toolbox for the authoring and build workflow, or matlab-use-package-manager to install a completed package.

Package Dependencies and Reference Projects

Each key under [dependencies] names either a MATLAB package or a reference project. MathWorks products are not packages and must not be listed here.

Package dependency: version string — for a MATLAB package:

toml
mytoolbox = "3.*"

Package dependency: version with ID — when the package ID is available:

toml
motor = {version = "*", id = "9b9e5bc2-a583-4d79-98c5-d2b9af135697"}

Reference project — for a project at a filesystem path (absolute is optional and defaults to relative):

toml
shared-utils = {path = "../shared_utils_lib"}

The referenced project can use either a legacy .prj definition or a matlab.toml definition. The key is a display label chosen by the user and is unrelated to the folder on disk. Confirm path by listing the candidate parent folder — never derive it from the dependency name or from the other project's name.

Examples

Minimal

toml
name = "My Project"

Typical

toml
name = "Signal Analyzer"

[folders]
path = [
    "src",
    "utilities",
]
test = [
    "tests",
]

[dependencies]
signal-processing = "2.*"

[project]
startup-files = [
    "setup/initialize.m",
]

[project.shortcuts]
"Run Analysis" = {path = "scripts/analyze.m"}

Copyright 2026 The MathWorks, Inc.


Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Matlab Configure Toml Project?

Используйте этот навык во всех случаях, когда в контексте MATLAB упоминаются "project" или "matlab.toml". Это относится к созданию, редактированию, упорядочиванию и настройке проектов MATLAB, объявлению зависимостей пакетов MATLAB или ссылочных проектов, настройке путей, сценариев жизненного цикла и ярлыков, работе с пакетами MATLAB, а также вопросам о структуре проекта.

Зачем использовать Matlab Configure Toml Project в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Matlab Configure Toml Project — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Matlab Configure Toml Project в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/matlab-software-development/matlab-configure-toml-project. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Matlab Configure Toml Project?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Matlab Configure Toml Project?

С любым количеством. В TypingMind вы можете использовать Matlab Configure Toml Project с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Matlab Configure Toml Project?

Навык опубликован на GitHub. Издатель — matlab. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Skill Host Compat

affaan-m
СообществоПопулярный

Lint ECC skills for Codex/Cursor-safe frontmatter and Claude-only substitutions before a skill PR.

41.4K
277.3K
Файлы: 1
Открыть
Логотип affaan-m

Brand Voice

affaan-m
СообществоПопулярный

Создайте профиль стиля письма на основе реальных публикаций, эссе, заметок о запуске, документов или текста сайта, а затем используйте его повторно в материалах, деловой переписке и публикациях в социальных сетях. Подходит, если пользователь хочет…

40.4K
270.2K
Файлы: 2
Открыть
Логотип affaan-m

Competitive Platform Analysis

affaan-m
СообществоПопулярный

Используйте при определении конкурентной среды: выявлении конкурентов, их классификации и отборе по оценкам до начала сравнительного анализа. Определяет, кого считать конкурентом, к какому уровню его отнести…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Content Engine

affaan-m
СообществоПопулярный

Создавайте системы контента для X, LinkedIn, TikTok, YouTube, рассылок и кампаний на разных платформах. Используйте этот навык, если пользователю нужны публикации для соцсетей, треды, сценарии, контент-календари или адаптация контента…

40.4K
270.2K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇