executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
plugin-lifecycleCreate, inspect, install, catalog, add, and build Solace Agent Mesh plugin packages safely.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to create a Solace Agent Mesh (SAM) plugin package, add plugin components into a SAM project, install plugins from local paths/wheels/Git/official names, browse the plugin catalog, or build a distributable plugin artifact.
Do not use this sub-skill for:
sam add agent, sam add gateway, or sam add proxy scaffolding; route to project-bootstrap.runtime-operations.Identify the lifecycle operation:
sam plugin create.sam plugin add.sam plugin install.sam plugin catalog.sam plugin build.Open references/plugin-workflows.md for command forms, source choices, target files, metadata rules, and side effects.
Before invoking an install/add/build operation, inspect the candidate plugin tree safely:
python sub-skills/plugin-lifecycle/scripts/inspect_plugin.py path/to/plugin --component-name my-component --project-dir path/to/sam-project
Add --json for machine-readable output, --strict to fail on warnings, or --self-test to exercise the helper on an embedded tiny fixture.
If a command fails or would overwrite files, use references/troubleshooting.md before retrying.
sam plugin install and sam plugin add can run a package-manager command and can modify the active Python environment. Use an isolated environment when possible and prefer an explicit installer such as --install-command "uv pip install {package}" or a preinstalled plugin module.sam plugin add writes component YAML under configs/agents, configs/gateways, configs/workflows, or configs/plugins and overwrites an existing target file without a merge step. Always inspect the target path first.sam plugin catalog starts a local web server, opens a browser when possible, contacts/clones registries, and writes catalog cache/registry state under the SAM CLI home directory. Do not run it as a dry validation step.sam plugin build runs python -m build in the plugin directory and creates/updates dist/ artifacts. Build backends may use isolated build environments.pyproject.toml exists and has [project].name plus [tool.<project_name_with_underscores>.metadata].type set to agent, gateway, tool, workflow, or custom.config.yaml exists at plugin package root and uses __COMPONENT_*__ placeholders where component-specific names should be substituted by sam plugin add.tools.py; gateway includes app.py and component.py; workflow is YAML-first with only package boilerplate; custom includes custom Python skeleton.config.yaml, README.md, and pyproject.toml into the installed module so sam plugin add can read them after installation.git+...#subdirectory=..., or official plugin name.sam plugin add.This sub-skill was distilled from SAM plugin documentation, plugin CLI command implementations, plugin templates, plugin catalog/official registry helpers, and plugin command unit tests. Runtime guidance is self-contained and does not require opening the source repository evidence.