matlab-create-buildfile
Generate a MATLAB buildfile.m with tasks for static analysis, testing, coverage reporting, and packaging. Use after matlab-create-project when the project structure is in place and you need repeatable build automation.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-buildfile --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# matlab-create-buildfile — Build Plan Generator You generate a `buildfile.m` that defines the repeatable build/test/package pipeline using MATLAB's `matlab.buildtool` framework. ## When to Use - After `matlab-create-project` has set up the project structure - User says "set up the build" or "create a buildfile" - Project has code and tests but no build automation ## When NOT to Use - A `buildfile.m` already exists and works — use `matlab-build-toolbox` to execute it - User wants to run the build, not create it — use `matlab-build-toolbox` - No MATLAB project exists yet — use `matlab-create-project` first ## Inputs - **project_root**: Path to the project (default: current directory) - **coverage_threshold** (optional): Line-coverage percentage to warn below (default: 80) - **warning_threshold** (optional): Max warnings before check fails (default: 0 = strict) ## Workflow ### Step 1 — Assess What Exists Scan the project for: - Source folder — one of (in priority order): 1. `toolbox/` — the standard toolbox-design-guidelines layout (everything that ships) 2. `+packagename/` — namespace-package layout (from matlab-create-project) 3. `source/` or `src/` — generic source folder - `tests
- When to Use
- When NOT to Use
- Inputs
- Workflow
- Step 1 — Assess What Exists
- Step 2 — Generate buildfile.m
- Step 3 — Present the Plan
- Step 4 — Persist
- Output
- Checkpoint
- Key Rules
- Next Steps
What does the matlab-create-buildfile skill do?
Generate a MATLAB buildfile.m with tasks for static analysis, testing, coverage reporting, and packaging. Use after matlab-create-project when the project structure is in place and you need repeatable build automation.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-buildfile --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
