๋ฐ์ํ
๐ ๏ธ ์ค๋ฌด ์ํฌํ๋ก์ฐ ์์: ์คํ์์ค ํ๋ก์ ํธ ๊ฐ์ ๊ณผ ๋ฐฐํฌ ์๋ํ
1. ํ๋ก์ ํธ ์ ํ ๋ฐ ์ด๊ธฐ ํ์
- ์ํฉ: ํ์ด ๊ธฐ์ฌ ์ค์ธ ์คํ์์ค ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ถ์ํด์ผ ํ ๋
- ๋ช ๋ น:
git clone https://github.com/AashiDutt/Google-Agent-Development-Kit-Demo cd Google-Agent-Development-Kit-Demo gemini > Explore the current directory and describe the project architecture.
- ๊ฒฐ๊ณผ: Gemini CLI๋
agents/
,shared/
,common/
๊ฐ์ ๋๋ ํฐ๋ฆฌ ๊ตฌ์ฑ๊ณผ ์ญํ ์ ์์ฐ์ด๋ก ์์ฝํด ์ค๋๋ค
2. ์ด์ ๋ถ์ & ๋ฒ๊ทธ ์์ ์ ์
- ์ํฉ: ํน์ GitHub issue (#1)๊ฐ ๋จ์์์
- ๋ช ๋ น:
gemini > Here's a GitHub issue: [@search https://github.com/AashiDutt/Google-Agent-Development-Kit-Demo/issues/1]. Analyze and suggest a 3-step fix plan.
- ๊ฒฐ๊ณผ: CLI๊ฐ ๊ด๋ จ ํ์ผ๊ณผ ํจ์๋ฅผ ์ฐพ์ ๋จ๊ณ๋ณ ์์ ๋ฐฉ์์ ์์ฑํฉ๋๋ค
3. ์ฝ๋ ๋ฆฌํฉํ ๋ง ๋ฐ ํ ์คํธ ์๋ ์์ฑ
- ์ํฉ: ๋ฒ๊ทธ ์์ ์ดํ ์ฝ๋ ํ์ง ๋ณด์ฅ
- ๋ช ๋ น:
> Refactor function `process_agent()` to improve error handling. > Generate pytest tests for `process_agent()`. > !pytest --maxfail=1 --disable-warnings -q
- ๊ฒฐ๊ณผ: CLI๊ฐ diff ํํ๋ก ๋ฆฌํฉํ ๋ง์ ์ ์ํ๊ณ , pytest ํ ์คํธ ํ์ผ๊ณผ ๊ฒฐ๊ณผ ์์ฝ(report)์ ์์ฑ .
4. ๋ฌธ์ ๋ฐ ๋ค์ด์ด๊ทธ๋จ ์๋ ์์ฑ
- ์ํฉ: ์ฝ๋ ๋ณ๊ฒฝ ๋ด์ญ์ ๋ฌธ์ํํ๊ณ ํ์ ๊ณต์
- ๋ช ๋ น:
> Generate a markdown changelog for today's changes. > Generate a flowchart showing how agents communicate.
- ๊ฒฐ๊ณผ: README.md๋ docs/change-log.md๊ฐ ์๋ ์์ฑ๋๊ณ ,
.svg
ํ์ ํ๋ก์ฐ์ฐจํธ๋ ํจ๊ป ์ ๊ณต
5. CI/CD ํ์ดํ๋ผ์ธ ์ฐ๋
- ์ํฉ: GitHub Actions๋ Jenkins์ ์๋ํ๋ ์ํฌํ๋ก์ฐ ํตํฉ
- ๊ตฌ์ฑ:
.github/workflows/gemini.yml
ํ์ผ์ ๋ค์ ๋จ๊ณ๋ฅผ ํฌํจ: steps: - name: Checkout code uses: actions/checkout@v3 - name: Install Gemini CLI run: npm install -g @google/gemini-cli - name: Run Gemini tasks run: | gemini <<EOF Summarize all changes since last tag. Generate unit tests for new modules. Generate changelog markdown. EOF - name: Commit docs uses: EndBug/add-and-commit@v9 with: author_name: github-actions message: "chore: updated changelog and tests via Gemini CLI"
โ ์์ฝ ์ ๋ฆฌ
๋จ๊ณ | Gemini CLI ๋ช ๋ น ์์ | ํจ๊ณผ |
---|---|---|
์ํคํ ์ฒ ํ์ | Explore the directory... |
ํ๋ก์ ํธ ๊ตฌ์กฐ ํ์ |
์ด์ ๋ถ์ & ์์ ๊ณํ | Analyze GitHub issue... |
๋น ๋ฅธ ๋์ ๋ฐฉ์ ์ค๊ณ |
์ฝ๋ ๋ฆฌํฉํ ๋ง & ํ ์คํธ ์๋ํ | Refactor... + Generate pytest... + !pytest |
์ฝ๋ ํ์ง ๋ฐ ์์ ์ฑ ํฅ์ |
๋ฌธ์ํ ๋ฐ ๋ค์ด์ด๊ทธ๋จ ์์ฑ | Generate changelog + Generate flowchart |
ํ์ ํจ์จ ๊ทน๋ํ |
CI/CD ํตํฉ | ์ํฌํ๋ก์ฐ ์ ์ (GitHub Actions) | ๋ฐ๋ณต ์์ ์๋ํ |
์ด ์์์ฒ๋ผ Gemini CLI๋ ์ฝ๋ ์์ฑ → ๋ฒ๊ทธ ์์ → ๋ฌธ์ ์์ฑ → CI ํตํฉ๊น์ง ๊ฐ๋ฐ ์ํฌํ๋ก์ฐ ์ ๋ฐ์ ์ํํ๊ฒ ์ง์ํฉ๋๋ค. ์ค์ ๋ก ๋์ ํ๋ฉด ๊ฐ๋ฐ ์๋์ ํจ์จ์ด ๋์ ๋๊ฒ ๊ฐ์ ๋์ฃ .
๋ฐ์ํ
'AI ๊ฐ๋ฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
ํ๋ก์ ํธ ์ค๋ช ์๋ฅผ ์๋์ผ๋ก ๋ง๋ค์ด์ฃผ๋ Sidekick ์ฌ์ฉ๋ฒ (2) | 2025.08.28 |
---|---|
TanStack Start, shadcn, TypeScript ๋ก ๋์๋ณด๋ ๋ง๋ค๊ธฐ (2) | 2025.08.28 |
Gemini CLI ํ์ฉ ์ฌ๋ก (0) | 2025.06.28 |
Gemini CLI ์ค์น & ์ด๊ธฐ ์ค์ (0) | 2025.06.28 |
gRPC ๋ ๋ฌด์์ธ๊ฐ? gRPC ํ์ฉ ์ฌ๋ก์ ๊ตฌํ ๋ฐฉ๋ฒ (1) | 2025.06.17 |