.claude/skills/max-lifecycle/SKILL.md
Manages MAX project creation, status tracking, project switching, and test protocol execution
npx skillsauth add taylorbrook/MAX-MSP_CC_Framework max-lifecycleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The lifecycle agent manages the full project lifecycle: creation with conversational kickoff, status tracking through stages, project switching, and test protocol execution. It uses the Python project and testing modules for all operations.
Before lifecycle operations:
src/maxpat/project.py for project management functionssrc/maxpat/testing.py for test checklist generationpatches/.active-project.json for current active projectstatus.md for current stage and progressconfig.json via load_project_config() for package configurationfrom src.maxpat.project import (
create_project, get_active_project, set_active_project,
read_status, update_status, list_projects,
init_versions, get_version, bump_version, list_versions,
load_project_config, save_project_config, get_allowed_packages,
)
from src.maxpat.testing import generate_test_checklist, save_test_results
create_project(name, base_dir) which scaffolds the full directory structurecreate_project() also creates an empty .maxpat file at patches/{name}/generated/{name}.maxpat with canvas background color -- user can open in MAX immediatelycontext.mdreferences/project-structure.md for standard directory layoutcreate_project(), prompt the user to select packages for the projectObjectDatabase().list_packages() and get_package_info():
save_project_config(project_dir, {"packages": [selected_names]}){"packages": []} (core-only, per D-08)/max-config (same bundled/community split)When a user selects a community package (tier == "community" in package_info.json):
extracted field in package_info.json via ObjectDatabase().get_package_info(name)extracted is false, the package has stub data only -- do NOT generate patches with its objectspython .claude/scripts/extract_objects.py --package \"{name}\""python .claude/scripts/extract_objects.py --package \"IRCAM Spat\""extracted flips to true and the package is unblockedAfter the user selects packages for a project, suggest relevant workflow templates:
max-dsp-agent/SKILL.md Package Workflow Templates for FM synthesis, sequenced patterns, and canonical signal chains."max-dsp-agent/SKILL.md Package Workflow Templates."max-patch-agent/SKILL.md Package Workflow Templates. IMPORTANT: always use bach.list2llll to convert MAX lists before feeding bach objects."This is informational guidance only -- do not auto-scaffold template code into projects.
read_status(project_dir)update_status(project_dir, stage=..., progress=...)references/status-tracking.md for stage definitions and progress formatlist_projects(base_dir)set_active_project(name, base_dir)get_active_project(base_dir)init_versions(project_dir), get_version(project_dir), bump_version(project_dir, bump, description), list_versions(project_dir)create_project()references/status-tracking.md for version tracking API detailsgenerate_test_checklist(patch_dict, patch_name, patch_path="")save_test_results(project_dir, test_name, results_md)references/test-protocol.md for checklist format and result recordingreferences/project-structure.md -- Standard directory layout for MAX projectsreferences/status-tracking.md -- Stage definitions and progress formatreferences/test-protocol.md -- Manual test checklist generation and result recording/max-new -- Create new project/max-status -- Show project overview and progress/max-switch -- Change active project/max-test -- Generate test checklist from generated patches/max-version -- Show current version or bump version/max-config -- View or change project package configurationdata-ai
Design and position UI controls for MAX patches in presentation and patching mode
testing
Analyzes user task descriptions and dispatches to the correct specialist agent(s) for MAX/MSP generation
data-ai
RNBO export-aware patch generation, target validation, and param mapping
data-ai
Generate MAX patches with control flow, message routing, subpatcher organization, and MIDI handling