본문으로 건너뛰기
cccskills
무료GitHub에 공개

full-deploy

Ship an app from code to production-ready infrastructure: containerize with Docker and multi-stage builds, set up GitHub Actions CI/CD with automated testing and deployment, add monitoring with health checks and alerting, then run preflight verification..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHubDocker
설치 방법 보기

포함된 파일(1)

  • SKILL.md6.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

You are an autonomous deployment pipeline agent. Do NOT ask the user questions. Execute all four phases sequentially without pausing.

INPUT: $ARGUMENTS Pass the application name, target environment, cloud provider, or deployment requirements (e.g., "Node.js API to AWS ECS" or "Python FastAPI with Docker Compose").

============================================================ PHASE 1: CONTAINERIZE (/docker)

Follow the instructions defined in the /docker skill exactly.

Containerize the application:

  • Multi-stage Dockerfile: build stage with dev dependencies, production stage with minimal footprint
  • docker-compose.yml for local development with all dependencies (database, cache, queue)
  • Health check instruction in Dockerfile (HEALTHCHECK directive)
  • Resource limits: memory and CPU constraints defined
  • Layer caching optimization: dependency install before code copy, .dockerignore for build context
  • Non-root user in production stage
  • Environment variable configuration with sensible defaults

Commit all Docker artifacts. Record the image name, exposed ports, and health check endpoint for Phase 2.

STOP CONDITION: If containerization fails (unsupported runtime, missing system dependencies), STOP and report.

============================================================ PHASE 2: CI/CD PIPELINE (/github-actions)

Follow the instructions defined in the /github-actions skill exactly.

Set up GitHub Actions workflows that reference the Docker config from Phase 1:

  • CI workflow: lint, test, and build on every push and pull request
  • Docker build workflow: build and push image to container registry on merge to main
  • Deploy workflow: deploy the container to the target environment (staging on PR merge, production on release tag)
  • Branch protection: require CI pass before merge, require review approval
  • Caching: dependency caching, Docker layer caching for faster builds
  • Secret management: document which repository secrets are needed (registry credentials, deploy keys)

IMPORTANT: The CI/CD pipeline must use the Dockerfile from Phase 1. Do NOT create a separate build process that bypasses the container.

Commit all workflow files.

============================================================ PHASE 3: MONITORING (/monitoring)

Follow the instructions defined in the /monitoring skill exactly.

Add observability to the containerized application:

  • Health check endpoints: liveness probe (is the process alive?) and readiness probe (can it serve traffic?)
  • Structured logging: JSON format with request ID, timestamp, level, and context fields
  • Metrics collection: request latency histograms, error rate counters, active connection gauges, resource utilization
  • Alerting rules: define thresholds for error rate spike, latency degradation, health check failure, disk/memory pressure
  • Dashboard configuration or instructions for the monitoring stack (Prometheus/Grafana, Datadog, CloudWatch)

IMPORTANT: Monitoring must integrate with the Docker setup from Phase 1 (health checks align) and the CI/CD pipeline from Phase 2 (deploy failures trigger alerts).

Commit all monitoring configuration.

============================================================ PHASE 4: PREFLIGHT CHECK (/preflight)

Follow the instructions defined in the /preflight skill exactly.

Run pre-deploy verification across the entire pipeline:

  • Clean git status with no uncommitted changes
  • Docker build succeeds from clean state
  • All test suites pass inside the container
  • CI/CD workflow YAML is valid and parseable
  • Monitoring health check endpoints respond correctly
  • No secrets or credentials committed to source (scan for common patterns)
  • Environment variables documented with required vs. optional distinction
  • Rollback procedure documented

If preflight fails, report exactly what needs fixing before deployment.

============================================================ SELF-HEALING VALIDATION (max 3 iterations)

After completing all phases, validate the combined output:

  1. Re-run the specific checks that originally found issues to confirm fixes.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

  • Zero Critical/High issues remain
  • Build and tests pass
  • No new issues introduced by fixes

IF STILL FAILING after 3 iterations:

  • Document remaining issues with full context
  • Classify as requiring manual intervention or architectural changes

============================================================ OUTPUT

Full Deploy Pipeline Complete

PhaseSkillStatusDetails
1/dockerPASS/FAIL{image name, size, health check status}
2/github-actionsPASS/FAIL{N} workflows created, {N} jobs configured
3/monitoringPASS/FAIL{endpoints, metrics, alerts configured}
4/preflightPASS/FAIL{verdict: READY / NOT READY}

Deploy readiness: {READY TO DEPLOY / BLOCKED} Files created: {list key files: Dockerfile, docker-compose.yml, .github/workflows/*, monitoring configs}

NEXT STEPS:

  • Merge the PR and trigger the first CI/CD run
  • Verify the Docker image builds successfully in CI
  • Configure environment secrets in GitHub repository settings
  • Run /secure-ship if shipping to production with security hardening
  • Run /load-test to verify the containerized app handles expected traffic

============================================================ SELF-EVOLUTION TELEMETRY

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

  • Look for the project path in ~/.claude/projects/
  • If found, append to skill-telemetry.md in that memory directory

Entry format:

### /full-deploy — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

508-audit

무료

Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT product. Triggers: "Section 508", "508 audit", "WCAG", "VPAT", "ACR".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity tables, stochastic modeling, and capital adequacy per SOA and Solvency II standards..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header bidding efficiency, fill rate optimization, inventory monetization strategies, and compliance with IAB standards and OpenRTB protocols..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

adr

무료

Create and manage Architecture Decision Records using the Michael Nygard format. Triggers: you need to document architecture decisions, record technical choices, explain why a technology was chosen.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income verification workflows, Fair Housing compliance, LIHTC and Section 8 program tracking, inspection scheduling, and tenant reporting..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini) cite them. Triggers: an existing page underperforms in AI answers despite ranking well in classic SERPs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

tinh2의 스킬 모두 보기

이 스킬의 문제 신고