matlab/matlab-agentic-toolkit / skills-catalog/matlab-software-development/matlab-package-toolbox
matlab-package-toolbox
VerifiedTurn raw MATLAB code into a published .mltbx toolbox — full pipeline from scope definition through packaging and release. Drives 8 phases with human checkpoints, enforcing ordering and dependencies. Use when asked to package, create a toolbox, or run the files-to-package pipeline.
references/phase-6-exclude-files.md
View on GitHub# Utility: Exclude Files (invoked by Phase 6)
Analyze the toolbox folder and suggest which files should be excluded from packaging. Only suggest patterns for files that actually exist.
## Rules
- **Read-only until approved**: Never write without consent.
- **Evidence-based only**: Only suggest patterns for files found in the scan. NEVER mention patterns if no matching file exists.
- **No duplicates**: Only suggest additions not already covered by existing ignore file.
- **Respect MATLAB defaults**: NEVER suggest `.git/`, `.svn/`, `.buildtool/`, `*.asv`, `resources/project/`, `*.prj`.
## Detectable Patterns
| Pattern | Why exclude | Impact |
|---------|------------|--------|
| `*.DS_Store` | OS metadata | HIGH |
| `Thumbs.db` | Windows thumbnail cache | HIGH |
| `.vscode/`, `.idea/` | IDE settings | HIGH |
| `*.log` | Log files | HIGH |
| `*.orig` | Merge conflict leftovers | HIGH |
| `slprj/` | Simulink cache | HIGH |
| `codegen/` | Coder output | HIGH |
| `*.mltbx` | Previously built packages | HIGH |
| `tmp/`, `temp/` | Scratch directories | HIGH |
| `tests/`, `test/` | Test files inside toolbox | MEDIUM |
| `buildUtilities/` | Build scripts | MEDIUM |
| `buildfile.m` | Build automation (if in toolbox) | MEDIUM |
| `*.cpp`, `*.c`, `*.h` | MEX source (when `.mex*` exists) | MEDIUM |
| `.github/`, `.gitlab-ci.yml`, `.circleci/`, `.travis.yml` | CI/CD workflows | MEDIUM |
| `doc/internal/` | Internal docs | MEDIUM |
| `.m` with matching `.p` | Source alongside pcode | MEDIUM |
## Workflow
1. **Scan** — glob toolbox folder recursively
2. **Check existing** — read `toolbox.ignore` or `package.ignore` if present
3. **Detect** — match found files against patterns, excluding already-covered and MATLAB defaults
4. **Present** — grouped by category with evidence:
```
## Ignore Suggestions — [Toolbox Name]
### OS / IDE Metadata
| # | Pattern | Found | Reason |
|---|---------|-------|--------|
### Test Infrastructure
| # | Pattern | Found | Reason |
|---|---------|-------|--------|
```
5. **Ask:**
> A) **All** — include everything
> B) **All HIGH** — only HIGH-impact
> C) **Select** — pick specific numbers
> D) **Skip** — don't create/modify
6. **Write** — create or append to `toolbox.ignore` (or `package.ignore` for R2025a+)
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |