ワンクリックで
scaffold-update
Update an existing scaffolded service with the latest template changes via copier update
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update an existing scaffolded service with the latest template changes via copier update
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Recurring 23-domain enterprise/ISO repository audit — governance, traceability, security, supply chain, reproducibility, observability, architecture, technical debt, DX — produces a findings report with file:line evidence and risk ratings, and preserves the audit bar via anti-patterns Q-01…Q-08
Recurring 23-domain enterprise/ISO repository audit — governance, traceability, security, supply chain, reproducibility, observability, architecture, technical debt, DX — produces a findings report with file:line evidence and risk ratings, and preserves the audit bar via anti-patterns Q-01…Q-08 (Mode: AUTO — AGENTS.md Agent Behavior Protocol applies.)
Review cloud costs against budget and identify optimization opportunities
Debug ML inference issues — latency spikes, wrong predictions, event loop blocking
Scan a service for edge-protection coverage (WAF, DDoS mitigation, rate limiting) against ADR-042/D-38 — produces a PASS/FAIL report with file:line evidence
Scan a service for edge-protection coverage (WAF, DDoS mitigation, rate limiting) against ADR-042/D-38 — produces a PASS/FAIL report with file:line evidence (Mode: AUTO — AGENTS.md Agent Behavior Protocol applies.)
SOC 職業分類に基づく
| name | scaffold-update |
| description | Update an existing scaffolded service with the latest template changes via copier update |
| allowed-tools | ["Read","Grep","Glob","Bash(git:*)","Bash(python3:*)","Bash(copier:*)"] |
| when_to_use | Use when a scaffolded service needs to absorb template improvements (new monitoring rules, updated CI workflows, agentic system upgrades, security patches to base images, etc.). Examples: 'update my service to the latest template', 'pull in the latest agentic rules', 'upgrade scaffolded service after template v2 release'. |
| argument-hint | [service-path] |
| arguments | ["service-path"] |
| authorization_mode | {"check_drift":"AUTO","update":"CONSULT","resolve_conflicts":"CONSULT","escalation_triggers":[{"uncommitted_changes":"STOP"},{"breaking_template_change":"STOP"},{"answers_file_missing":"STOP"}]} |
When the template repository has shipped improvements (new D-XX rules, updated CI workflows, security patches, agentic system upgrades) and a scaffolded service needs to absorb them.
copier update requires a
clean working tree..copier-answers.yml
means Copier cannot track the template version.copier copy (or the equivalent
new-service.sh wrapper)..copier-answers.yml exists in the service root (created by the
initial copier copy or a prior copier update).git status shows no changes).cd "$service-path"
git status --porcelain # must be empty
test -f .copier-answers.yml # must exist
If either check fails → STOP with a clear message.
Show what would change without applying:
copier update --dry-run
Categorize the diff:
Present the categorized diff to the operator. For each conflict:
Wait for explicit approval before proceeding.
copier update --trust --defaults
Copier will:
.copier-answers.yml
conflict detection).sync_agentic_adapters.py +
validate_agentic_manifest.py --strict).For each conflict Copier reports:
Run the full validation suite on the updated service:
# Agentic system
python3 scripts/validate_agentic_manifest.py --strict
python3 scripts/sync_agentic_adapters.py
# CI/CD
python3 scripts/ci_verify_workflows.py
# K8s
for ov in gcp-dev gcp-staging gcp-prod aws-dev aws-staging aws-prod; do
kubectl kustomize k8s/overlays/$ov > /dev/null
done
# Tests
pytest tests/ -v --tb=short
Propose a commit message summarizing the template version absorbed and the files changed. Wait for operator approval before committing.
git add -A
git commit -m "chore: absorb template update $(date +%Y-%m-%d)
Template version: <sha or tag>
Files changed: <count>
Conflicts resolved: <count>
Post-gen tasks: sync_agentic_adapters.py + validate_agentic_manifest.py --strict"
validate_agentic_manifest.py --strict fails, the update is
considered incomplete..copier-answers.yml is the source of truth for template version
tracking. Never delete or hand-edit it.