Skip to content

matlab/agent-skills-playground / demos/mbse-with-agentic-ai/skills/matlab-project

matlab-project

Verified

Use this skill for any work involving a MATLAB Project (.prj file) — creating a new project, tracking files, managing the project path, configuring Simulink cache and code-generation folders, running project health checks, or writing build scripts that keep the project in sync with the file system. Trigger phrases include "set up a MATLAB project", "create a .prj", "track this file in the project", "project health check", "build script conventions". This skill is the generic foundation; domain-specific skills (e.g. `mbse-workflow`) build on it.

FileKindSize
SKILL.mdskill md9.3 KB
code/registerWithProject.mother1.0 KB
code/setupProject.mother2.7 KB
templates/decisions.mdmarkdown1.3 KB
templates/plan.mdmarkdown1.3 KB

code/registerWithProject.m

View on GitHub
function registerWithProject(files, folders)
% REGISTERWITHPROJECT Add files and folders to the MATLAB project if one is open.
%   registerWithProject(files, folders) tracks files and folders in the currently
%   open MATLAB project and adds folders to the project path. Safe to call
%   repeatedly — addFile and addPath are both idempotent. Silently does nothing
%   if no project is currently open.
%
%   Inputs:
%     files   - Cell array of absolute file paths; non-existent files are skipped
%     folders - Cell array of folder paths; each is tracked and added to project path
%               (optional, defaults to empty)

    if nargin < 2, folders = {}; end
    proj = matlab.project.currentProject();
    if isempty(proj.Name), return; end
    for i = 1:numel(files)
        if isfile(files{i}), addFile(proj, files{i}); end
    end
    for i = 1:numel(folders)
        if isfolder(folders{i})
            addFolderIncludingChildFiles(proj, folders{i});
            addPath(proj, folders{i});
        end
    end
end
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall