/ma:deployfrom ma
Prepare, deploy, verify, and troubleshoot Laravel and Laravel + Nuxt applications on Laravel Cloud using the official Cloud CLI. Use for a first deployment, redeployment, Cloud readiness check, or failed Cloud release; also when deploy is explicitly requested. Preserve read-only requests and existing hosting choices; do not route unrelated providers into Laravel Cloud.
Ships in ma. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Take the application from its current repository state to a verified Laravel Cloud release with as few user decisions as the evidence permits. Support Laravel-only applications and Laravel + Nuxt in monorepos or separate repos.
Distinguish checking readiness, preparing changes, deploying, and diagnosing a failure. Read-only checks and diagnosis authorize inspection and a report, not fixes or remote mutations. A preparation or deployment request authorizes ordinary in-scope local work; invocation alone does not authorize paid resources, publication, production changes, dependencies, or data migration. Repository release does not authorize deployment. When an integration, tag, or release automatically triggers Cloud, disclose and authorize the actual production/shared-state effect before causing that trigger.
Read project instructions, adopted architecture, deployment docs, manifests, lockfiles, Git state, and existing CI. Preserve documented hosting and unrelated work. If Cloud has not been selected, recommend the appropriate path and resolve that choice before preparing provider-specific changes. A migration from an existing host needs an explicit migration scope; keep that host intact.
Load Cloud operations for CLI, configuration and resources; Laravel + Nuxt when Nuxt is present; and verification and recovery before a release or when diagnosing one. For every readiness check, deployment, or deployment-triggering handoff, load the provider-neutral deployment intervention contract. Use current official docs and installed CLI help for capabilities that change. Report unavailable evidence honestly.
Discover rather than ask the user to enumerate:
Read environment variable names and configuration consumers without dumping
secret values. Do not upload a local .env wholesale. Never put credentials in
chat, command arguments, source, logs, or public frontend configuration.
Recommend the smallest complete setup. Retain the project's versions; our default stack is Laravel 13/PHP 8.4, Nuxt 4 and PostgreSQL 17, not permission to upgrade an existing project. Verify offered database versions/extensions instead of silently substituting one. Include both apps and all required resources in the cost estimate, with current pricing, region, usage assumptions and scaling limits. Ask only for unresolved choices that affect the result, such as the organization, region, budget or owned domain.
Classify every discovered prerequisite as agent work, a secret/access action,
or an owner decision. Track its deployment intervention state separately from
deployment lifecycle and authority using none, required, unverified, or
completed. Repository adjustments remain agent work when scoped edits are
authorized; otherwise request edit authority rather than delegating the
technical change to the user.
As soon as a user-owned prerequisite is found, show a conspicuous USER ACTION REQUIRED handoff with the exact blocked effect, owner, secure location,
variable or setting name, required timing, safe verification, and non-secret
resume signal. Never request a secret value in chat. Both required and
unverified block deployment and every upstream effect that would trigger it.
Do not call the target ready while state is required or unverified; none
or verified completed resolves only the intervention gate.
When evidence shows no user-owned prerequisite is pending, report exactly
User intervention: none without paraphrasing it. Follow the shared contract
for canonical state/category tokens, state transitions, action-card fields,
checkpoint evidence, and safe verification.
When local edits are in scope, prepare the needed settings and compatibility fixes, then run the project's applicable checks. Preserve SSR, queue semantics, authentication ownership and existing resource choices. If a new dependency, service, major upgrade or architecture change becomes necessary, finish the unaffected preparation and present that concrete decision before adopting it.
Prepare a compact deployment record in the project's existing location (or
docs/deployment.md when document writes are authorized). For read-only work,
keep it in the response. Record:
Before external effects, obtain or reuse the exact authorization covering
target, action, scope, exposure, credential class and recovery. Present missing
authorization as one concrete batch where possible. Account/billing setup and
Git-provider access may need a short user handoff. Do not repeat approval for
unchanged facts. Revalidate targets, staged settings and material evidence
immediately before acting; changed facts invalidate only affected authorization.
Immediately before deployment, re-resolve intervention state and its safe
verification evidence for the exact target, configuration, scripts, and trigger.
Relevant drift invalidates stale none or completed evidence. Rediscover
actions and recompute the state: a verified empty inventory resolves to none,
while identified required or unverified actions still block deployment.
Incomplete discovery pauses deployment for missing evidence without inventing
a user-owned action or intervention state.
Use an existing official Cloud CLI installation and explicit application and environment targets. Inspect state before creating resources or repeating a command. An ambiguous timeout may mean the remote operation succeeded.
For a first deployment, configure only approved resources/settings, deploy,
and record the resulting IDs. Use the guided ship command only when its full
set of effects is understood and authorized. For repeat deployments, compare
the recorded setup with remote state, review all staged settings, and release
the intended tested revision. Committing and pushing require their own existing
authorization; uncommitted work is not part of a Git-based Cloud deployment.
Monitor each deployment to a terminal state. For Laravel + Nuxt, track both applications and verify their integration; they are independent deployments. Use verification and recovery for health, authentication, resources and partial failures. A failed test authorizes only fixes already within scope. Diagnose before retrying; stop and explain when the same blocker survives three attempted resolutions.
Finish with URLs, deployed revisions and deployment IDs, checks actually run,
remaining failures or unverified behavior, and the next release/recovery method.
When discovery establishes the inventory, include exact User intervention: none
when no user action remains, otherwise include the unresolved USER ACTION REQUIRED
checklist. If discovery is incomplete, report the paused effect and missing
evidence under the deployment result; emit neither intervention form nor an
intervention state. Record verified
completed state under the deployment result without introducing a third
user-intervention label. Do not report deployment as ready or verified while
intervention is required or unverified, or discovery remains incomplete.
Update the deployment record when authorized. Report partial deployment as
partial; do not call an application verified solely because the build passed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marcus-friction/agents --plugin ma43 skills in this plugin
/adversarial-reviewIndependently challenge elevated or significant architecture, security, data, migration, permission, deployment, or production changes. Use after a primary or deep review, or when explicitly requested; routine changes do not require it./architecture-reviewReview code or plans when a change affects component boundaries, dependencies, contracts, data ownership, layering, or adopted project architecture decisions./build-start-scriptsStandards and patterns for building reliable local dev startup scripts (serve.sh, start.sh). Use this skill when creating, modifying, or reviewing any shell script that boots Docker containers, Laravel Sail, Nuxt dev servers, or background services. Also use when the user mentions "serve script", "startup script", "docker compose up", "sail up", or asks to fix orphaned containers, port conflicts, or flaky local environments. Proactively suggest when you see startup-related issues in scripts being edited.Other plugins' skills for the same job