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

merge-upstream-main

Merge the public openai/codex-security main branch into this fork's main branch and push the result to the fork remote. Use when asked to sync or merge upstream main for this repository.

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

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.5 KB
  • agents/openai.yaml239 B

SKILL.md(원문)

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

Merge Upstream Main

Sync this fork from https://github.com/openai/codex-security.git with a Git merge. Do not rebase or rewrite main.

Inspect The Repository

  1. Confirm the current repository, branch, worktree, and remotes with git rev-parse --show-toplevel, git branch --show-current, git status --short --branch, and git remote -v.
  2. Continue only on main with a clean worktree, including no untracked files. Do not switch branches, stash changes, or discard work automatically. Report the state and ask the user how to proceed when either condition is not met.
  3. Read the applicable AGENTS.md instructions before resolving conflicts or running checks.

Identify The Remotes

  • The canonical upstream is the remote whose normalized GitHub repository is openai/codex-security. Reuse an existing matching remote. If none exists, add it as upstream with the canonical URL above when that remote name is available. If upstream already points elsewhere, stop and ask rather than rewriting it.
  • The fork remote is the remote tracked by local main, when that remote is not the canonical repository; otherwise prefer a noncanonical origin, then the sole remaining noncanonical remote.
  • Never select the canonical repository as the fork remote. If no fork remote exists, or multiple candidates make the destination ambiguous, stop and ask the user to identify or configure the fork remote. Do not guess a repository URL or rewrite an existing remote.

Show the selected upstream and fork remote names and URLs before fetching. This guards against pushing the fork merge to the canonical repository.

Use task-specific upstream_remote and fork_remote shell variables for the selected remote names, and quote their expansions in commands.

Merge And Verify

  1. Fetch both selected remotes with git fetch "$upstream_remote" and git fetch "$fork_remote".
  2. Fast-forward local main to the fork's remote-tracking main with git merge --ff-only "$fork_remote/main". If local and fork main have diverged, stop and report the commits on each side instead of choosing a history strategy.
  3. Merge upstream with git merge --no-edit "$upstream_remote/main". A fast-forward is acceptable when the fork has no unique commits.
  4. If conflicts occur, inspect each one and reconcile the fork's behavior with the upstream change. Do not resolve all conflicts with a blanket ours or theirs strategy. Continue the merge only after the result is coherent.
  5. Run the repository checks relevant to the merged or conflict-resolved files. A clean, conflict-free upstream merge does not require inventing new tests.
  6. Push local main with git push "$fork_remote" main:main without force.
  7. Fetch both remotes again, then verify:
    • git merge-base --is-ancestor "$upstream_remote/main" main succeeds.
    • git rev-list --left-right --count "$fork_remote/main...main" reports 0 0.
    • git status --short --branch is clean.

Never force-push, rebase main, skip hooks, or discard changes. If a command fails, diagnose it and continue only when doing so preserves both upstream and fork history.

Report the selected remotes, whether the update fast-forwarded or created a merge commit, the resulting commit, checks run, push result, and final verification.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Assess an immutable patch artifact's program impact, regression risk, and auto-merge eligibility. Use for generated patch files, provider pull-request diffs, or commit ranges when reviewers need evidence about affected runtime paths, contracts, tests, and recoverability. This skill is read-only and does not generate, edit, apply, push, or merge the patch.

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

bex-co/bex-security512026년 10월 19일 업데이트

Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

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

bex-co/bex-security512026년 10월 19일 업데이트

Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide or scoped-path Codex Security scan. Run repeated complete independent Standard scans with the Codex Security deep-scan tool, which aggregates their validated findings and prepares the canonical artifacts; then complete the same scan once. Do not use for PRs, commits, branch diffs, or working-tree diffs.

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

bex-co/bex-security512026년 10월 19일 업데이트

Define, review, or update SECURITY.md guidance for a repository or component. Use when the user wants to clarify what Codex Security should review, what is out of scope, which security properties must hold, or whether existing guidance still matches the code.

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

bex-co/bex-security512026년 10월 19일 업데이트

Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate security findings in a repository or code change. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

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

bex-co/bex-security512026년 10월 19일 업데이트

Use only when the user explicitly asks to fix and verify a validated or plausible security vulnerability. Do not use for ordinary bug fixes, correctness or design review findings, general validation, or full PR, commit, branch, patch, or repository scans.

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

bex-co/bex-security512026년 10월 19일 업데이트

bex-co의 스킬 모두 보기

이 스킬의 문제 신고