Agent skill · Testing & QA

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.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
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.

Facts
Files in the skill folder: 4
SKILL.md size: 11 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/matlab-software-development/matlab-create-buildfile/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Inputs
  4. Workflow
  5. Step 1 — Assess What Exists
  6. Step 2 — Generate buildfile.m
  7. Step 3 — Present the Plan
  8. Step 4 — Persist
  9. Output
  10. Checkpoint
  11. Key Rules
  12. Next Steps
Ships with 3 files
  • manifest.yaml
  • references/buildfile-variants.md
  • scripts/buildfile-template.m
More from matlab-agentic-toolkit
All skills →
About this skill
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.

Keep going