본문 바로가기
C.W.K.
Stream
Lesson 10 of 10 · published

고급 패턴 — 바이브 코딩과 도구 조합

~14 min · gemini, advanced, vibe-coding, automation

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

강한 격리와 넓은 문맥을 자율 작업에 함께 써

Gemini CLI는 높은 수준의 목표를 주고 에이전트가 계획과 실행을 적극적으로 이어가는 작업에 잘 맞아. 빡빡한 container sandbox 안에서 승인을 덜 자주 묻게 하고, 1M 문맥으로 저장소 전체를 보게 하면 "Express 4 코드베이스를 Express 5로 현대화해" 같은 큰 목표도 맡길 수 있어.

Extension, MCP 서버, Skill을 한 지시 안에서 조합하거나, 큰 일을 독립 하위 작업으로 나누거나, 공식 GitHub Action으로 PR 검토와 유지보수를 돌리는 방식이 대표적이야. 다만 sandbox가 시스템을 보호한다고 해서 결과 diff가 옳다는 뜻은 아니야. 자율 실행 뒤의 사람 검토는 여전히 필요해.

실전의 고급 흐름은 1) 여러 도구 조합, 2) 큰 작업의 병렬 분해, 3) 비대화형 GitHub Actions라는 세 갈래로 정리돼.

직접 확인할 항목: /batch.

Code

sandbox에서 여러 도구 함께 쓰기·bash
gemini --sandbox --model gemini-2.5-pro \
  "Read all files in src/ (use the 1M context).
   Generate an OpenAPI 3.1 spec from the route handlers.
   Use the cloud-run extension to deploy a docs site
     showing the spec at internal-api-docs.example.com.
   Send a Slack notification to #api-changes via the
     Slack MCP when done."
Gemini GitHub Action·yaml
# .github/workflows/gemini-review.yml
name: Gemini PR Review
on: { pull_request: { types: [opened, synchronize] } }
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with: { fetch-depth: 0 }
      - uses: google-gemini/gemini-cli-action@v1
        with:
          gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
          mode: review
          prompt: |
            Review for bugs, security, perf, style violations
            against GEMINI.md. Format:
            [SEVERITY] desc (file:line)

External links

Exercise

Gemini에서 야심찬 자율 작업을 실행해. sandbox를 켜고 1M 토큰 문맥 모델과 Extension 또는 MCP 서버를 하나 이상 써. 목표를 분명히 정한 뒤 작업을 맡기고, 나중에 돌아와 결과를 검토해. 에이전트가 엉뚱한 데로 간 부분과 정확히 짚은 부분을 모두 적어.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.