Creates a MATLAB project for an existing folder of MATLAB files using the matlab.project.* APIs via MCP. Adds all existing files, configures the project path, generates a project name/description, and creates a README.md with a function table. Prompts the user before creating any new folders. Never overwrites existing files.
SkillScore63Maintained
Automatic
◆Coding pack
Last verified 8/16/2026
What it changes
Passed 14 of 22 test cases with the skill, and 9 of 22 without it.
Without skill42%
With skill63%
Checks it passed that the model alone missed
display project name using currentProject
keep top-level tests directory off the project path
display project file count and project path entry count
and 7 more in the full report
6 fixed9 passed either way8 still failing1 broke
Pass-rate lift
+21 pp
Tokens
+55%
Agent turns
0%
Response time
-53%
Model gemini-3.6-flashMeasured 8/16/2026v115 of 24 cases passed with skill · 22 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
After project creation and configuration are finished, what summary metrics must be displayed to verify the project status?
What was checked, without and with the skill
Checked
Without skill
With skill
display project name using currentProject
Missed
Passed
display project file count and project path entry count
Missed
Passed
case-19 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md191 linessingle file
MATLAB Project Creation
Creates a fully configured MATLAB project from an existing folder of MATLAB code using matlab.project.* APIs via the MATLAB MCP server.
When to Use
User says "create a project", "set up a MATLAB project", or "initialize project"
User has a folder of MATLAB files that needs project infrastructure
Before matlab-create-buildfile — a project must exist first
When NOT to Use
A MATLAB project already exists (.prj file with resources/project/ folder) — use openProject instead
User wants to create a toolbox spec — use matlab-define-toolbox-api
User wants build automation — use matlab-create-buildfile (after the project exists)
Key Functions
Function
Purpose
matlab.project.createProject
Create a new project with specified definition type
openProject
Open an existing project (fallback if one already exists)
addFile
Add files to the project
addPath
Add folders to the project path
genpath
Generate path string for folder tree (excludes +pkg, @class, private)
Critical Rules
NEVER overwrite existing files. Before creating any file (README.md, etc.), check if it already exists. If it does, skip or ask the user.
ALWAYS prompt the user before creating new folders. Present recommended folders in a table with their purpose and wait for confirmation before mkdir.
Do NOT move or rename any existing files.
Inputs
Input
Required
Description
Project path
Yes
Absolute path to the folder to make into a project
Project name
No
Override auto-detected name (default: inferred from code)