소스 정보
- 저장소
- Morrison-Lab/ai-config
- 최근 소스 활동
- 2026년 8월 26일 10:39
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Morrison-Lab/ai-config --skill adv명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | adv |
| description | Get an adversarial review from another model available on this machine. |
| user-invocable | true |
| allowed-tools | ["Bash","Read"] |
Runs a local adversarial AI code review on outgoing branch commits using an alternate model/engine available on this machine.
Note: Until this skill is merged to main, you must set PRE_PUSH_REVIEW_LOCAL_DEV=1 in your environment to use the local branch copy.
Run the pre-push-review.py script with the --engine alternate flag to rotate through available models, or specify a specific engine.
# By default, use the trusted installed review script to prevent executing untrusted branch code.
# To override with a local checkout during development, set PRE_PUSH_REVIEW_LOCAL_DEV=1
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [ -n "$PRE_PUSH_REVIEW_LOCAL_DEV" ] && [ -n "$GIT_ROOT" ] && [ -f "$GIT_ROOT/scripts/pre-push-review.py" ]; then
REVIEW_SCRIPT="$GIT_ROOT/scripts/pre-push-review.py"
else
TRUSTED_DIR=$(python3 -c "import os, sys; candidates = ['~/.claude/skills/pre-push-review', '~/.gemini/skills/pre-push-review', '~/.cursor/skills/pre-push-review', '~/.codex/skills/pre-push-review', '~/.gemini/config/plugins/ai-config/skills/pre-push-review']; p = next((os.path.realpath(os.path.expanduser(f)) for f in candidates if os.path.exists(os.path.expanduser(f))), None); sys.exit('Error: Trusted pre-push-review skill not found') if not p else print(os.path.abspath(os.path.join(p, '..', '..')))")
TMP_WORKTREE=$(mktemp -d)
trap 'rm -rf "$TMP_WORKTREE"' EXIT
git -C "$TRUSTED_DIR" archive origin/main | tar -x -C "$TMP_WORKTREE" 2>/dev/null || { echo "Error: Failed to extract trusted origin/main review script. Set PRE_PUSH_REVIEW_LOCAL_DEV=1 to use local branch."; exit 1; }
REVIEW_SCRIPT="$TMP_WORKTREE/scripts/pre-push-review.py"
fi
if [ -n "$AGENT_NAME" ]; then
python3 "$REVIEW_SCRIPT" --engine alternate --exclude-engine "$AGENT_NAME"
else
python3 "$REVIEW_SCRIPT" --engine alternate
fi
Or explicitly choose an alternate engine (e.g., if you are currently using Claude, you might use Codex or OpenCode):
python3 "$REVIEW_SCRIPT" --engine codex
origin/main (or PR base).--allow-findings is specified).pre-push-review: The underlying script and skill for pre-push reviews.