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

ship

Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed.

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

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

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

Ship Current Branch

Assumes code is already committed and pushed. Handles: PR creation, CI monitoring, SonarCloud, code review, security review, fixing all issues, and merging.

IMPORTANT: NEVER include Co-Authored-By trailers, agent marketing footers, or any Claude/AI branding in commit messages, PR descriptions, or any other artifacts.

Phase 1: Create PR

  1. Determine the current branch: git branch --show-current
  2. Check if a PR already exists: gh pr list --head <branch> --json number,url
  3. If no PR exists, create one:
    gh pr create --base dev --title "<concise title>" --body "<description>"
    
  4. Note the PR number.

Phase 2: CI Monitor

  1. Find the latest workflow run: gh run list --branch <branch> --limit 1 --json status,conclusion,databaseId
  2. If the run is in progress, watch it: gh run watch <id>
  3. If it failed:
    • Get failed logs: gh run view <id> --log-failed
    • Diagnose and fix the issue.
    • git add, git commit, git push.
    • Go back to step 1.
  4. If it succeeded, proceed.

Phase 3: SonarCloud Check

  1. Wait 60 seconds for SonarCloud analysis to propagate.
  2. Use get_project_quality_gate_status with project key KeplerOps_Ground-Control to check the quality gate.
  3. Use search_sonar_issues_in_projects to find new issues on the current branch.
  4. If issues found:
    • Fix them.
    • git add, git commit, git push.
    • Re-run Phase 2.
  5. If clean, proceed.

Phase 4: Code Review

CRITICAL: You MUST use the Skill tool to invoke the built-in review skill.

  1. Merge dev into the current branch: git fetch origin dev && git merge origin/dev
  2. If there are merge conflicts, resolve them, commit, and push.
  3. Call the Skill tool with skill="review" to invoke the real built-in code review.
  4. After the review completes, fix ALL issues it identified.
    • Do NOT defer ANY issues.
    • Do NOT categorize issues as "low priority" to avoid work.
    • You are an LLM. You have no time constraints. Fix everything.
    • The ONLY reason to stop and escalate to the user is if a fix requires a significant architectural change touching 5+ files outside the current feature scope.
  5. After fixing, re-read all findings and confirm each one was addressed.

Phase 5: Security Review

CRITICAL: You MUST use the Skill tool to invoke the built-in security-review skill.

  1. Call the Skill tool with skill="security-review" to invoke the real built-in security review.
  2. After the review completes, fix ALL issues it identified.
    • Same rules as Phase 4: fix everything, defer nothing.
  3. After fixing, confirm all findings were addressed.

Phase 6: Final Commit & CI

If ANY fixes were made in Phases 4-5:

  1. git add all changed files.
  2. git commit -m "Fix code review and security review findings"
  3. git push
  4. Re-run Phase 2 (CI Monitor).
  5. Re-run Phase 3 (SonarCloud).

Phase 7: Report (DO NOT MERGE)

You MUST NOT merge the PR. You MUST NOT run gh pr merge. The user reviews and merges.

  • Summary of all changes made during the ship process
  • Review findings and what was fixed
  • Security review findings and what was fixed
  • Confirmation: CI green, SonarCloud passed, PR ready for user review
  • PR URL

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

adr-check

무료

Run ADR conformance checks, explain failures, and identify required ADR/doc updates for the current change.

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

PaloAltoNetworks/shifter72026년 10월 14일 업데이트

Review a change for architectural drift, guardrail weakening, and ADR impact before shipping.

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

PaloAltoNetworks/shifter72026년 10월 14일 업데이트

Stand up or rebuild an AWS Shifter tenant end to end (teardown, bootstrap, secrets, image bakes, deploy via the real deploy.yml dispatch, health check, base-range smoke, and a POLARIS range walkthrough). AWS only. Use when asked to rebuild, redeploy, or stand up an AWS tenant such as proof or aws-dev from a clean state.

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

PaloAltoNetworks/shifter72026년 10월 14일 업데이트

Monitor GitHub workflows, propose fixes for failures, and report status

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

PaloAltoNetworks/shifter72026년 10월 14일 업데이트

stage

무료

Stage files, run pre-commit, fix failures, loop until clean

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

PaloAltoNetworks/shifter72026년 10월 14일 업데이트

PaloAltoNetworks의 스킬 모두 보기

이 스킬의 문제 신고