C.W.K.
Stream
Lesson 10 of 10 · published

고급 패턴 — Vibe Coding, 도구 합성

~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 문화가 leans 하는 곳

Gemini 의 design 문화가 자율적 "vibe coding" 에 더 무거워 — 고수준 목표 주고, 에이전트가 공격적으로 plan/execute. 패턴: 빡빡한 sandbox, 느슨한 approval, 긴 목표. 1M context 와 결합해서 Gemini 한테 "이 Express 4 codebase 를 Express 5 로 모더나이즈" 시키고 run 하게 둘 수 있어.

3 고급 패턴: (1) 멀티-도구 합성 — extension 도구, MCP server, Skill 을 한 prompt 에 chain; (2) 자율 batching — Gemini 가 큰 작업을 sub-task fan-out 으로 분해 (Claude Code 의 /batch 와 비슷, 다른 convention); (3) headless GitHub Actions — Gemini 가 PR 리뷰 + 자동 유지보수 위한 공식 Action ship.

Code

Multi-tool prompt with 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 에서 야심찬 자율 작업 run: sandbox 켜고, 1M-context 모델, extension 또는 MCP server 최소 1개. 명확한 목표 설정, 떠나, 돌아와서 리뷰. 에이전트가 산으로 간 데와 정확히 못 박은 데 적어.

Progress

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

댓글 0

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

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