ワンクリックで
deploy-admin
Deploy do admin dashboard React para Cloud Run (GCP). Usar quando precisar publicar mudancas do {{ADMIN_DIR}} em producao.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Deploy do admin dashboard React para Cloud Run (GCP). Usar quando precisar publicar mudancas do {{ADMIN_DIR}} em producao.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Check for drift between spec.md, plan.md, tasks.md, and the actual code. Reports the gaps; does not fix them.
Run a category-specific quality pass (security / performance / accessibility / i18n / privacy / observability) against the current plan and code.
Surface [NEEDS CLARIFICATION] markers in spec.md (or plan.md) to the user, one at a time, and edit the file with the answers.
Bootstrap or amend constitution.md (framework, preset, or project). Inspects existing project context first; enforces the amendment process: issue first, one article per PR, reviewer non-author.
Print the pipeline quick-reference — a one-screen summary of every /aia:* command and its hand-offs, prefixed by a state-aware "Próximo passo" line.
Execute an approved plan + tasks list by dispatching one fresh subagent per task and applying two-stage review (spec compliance, then code quality) before moving on.
| name | deploy-admin |
| description | Deploy do admin dashboard React para Cloud Run (GCP). Usar quando precisar publicar mudancas do {{ADMIN_DIR}} em producao. |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep |
Deploy do {{ADMIN_DIR}} para o Cloud Run na GCP.
Verificar mudancas pendentes:
cd {{ADMIN_DIR}} && git status
Build da imagem Docker:
cd {{ADMIN_DIR}}
IMAGE="{{GCP_REGION}}-docker.pkg.dev/{{GCP_PROJECT}}/{{ARTIFACT_REPO}}/{{ADMIN_SERVICE}}:latest"
docker build -t $IMAGE .
Push para Artifact Registry:
docker push $IMAGE
Deploy no Cloud Run:
gcloud run deploy {{ADMIN_SERVICE}} \
--image $IMAGE \
--region us-central1 \
--platform managed \
--allow-unauthenticated \
--min-instances 1 \
--max-instances 5 \
--memory 256Mi \
--cpu 1 \
--timeout 300 \
--concurrency 80 \
--no-cpu-throttling
Verificar deploy:
gcloud run services describe {{ADMIN_SERVICE}} --region us-central1 --format="value(status.url)"
https://{{ADMIN_SERVICE}}-1085114214798.us-central1.run.appus-central1 (Iowa)