install-apm-package
Installation
SKILL.md
install-apm-package Skill 🚀
Overview
This skill manages the safe deployment of APM primitives into their respective runtime environments. It enforces validation and target discovery to ensure byte-identical reproducibility across environments.
🚫 Non-Negotiables
- Source Integrity — Never edit files in
.agents/,.github/, or.claude/directly. Always edit the source in.apm/and re-install. - Lockfile Persistence —
apm.lock.yamlMUST be committed after any install change. - Validation First — Always run
validate_apm_package.pybefore executing the install. - Project Root Discipline — Run
apm installfrom the project root to ensure converged skills land in the authoritative.agents/folder. Running inside a package directory creates local, isolated artifacts.
Decision Tree
- Global Activation? -> Run
apm install ./path-to-packagefrom the project root. - Isolated Testing? -> Run
apm installfrom within the package directory. - Target Inferred? -> (e.g.,
.claude/exists) -> Runapm install. - Ambiguous Target? -> (No signals) ->
apm installwill exit with code 2; ask user for explicit--target(e.g.,agent-skills,claude,all). - Converged Skills? -> (Standard) -> Deploys to
.agents/skills/. Use--target agent-skillsfor explicit skill deployment. - Legacy Skills? -> (Per-client paths) -> Use
--legacy-skill-pathsflag. - Production/CI? -> Use
--frozenflag to ensure lockfile compliance.