🔧 阿川の電商水電行
Shopify 顧問、維護與客製化
💡
小任務 / 單次支援方案
單次處理 Shopify 修正/微調
⭐️
維護方案
每月 Shopify 技術支援 + 小修改 + 諮詢
🚀
專案建置
Shopify 功能導入、培訓 + 分階段交付

Gemini 3 Pro 現已在 Gemini CLI 中提供。

我們將最聰明的Gemini 3 Pro直接整合到 Gemini CLI 中,從而在終端機中釋放出全新的效能和生產力。這一強大的組合提供了先進的推理能力,可執行更有效率的命令;透過智能體編碼增強了對複雜工程工作的支援;並透過高級工具的使用,實現了更智慧、更客製化的工作流程。

我們正在逐步開放存取權限,以確保體驗始終快速可靠。

  • Gemini 3 Pro 現已在 Gemini CLI 中推出Google AI Ultra訂閱用戶(Google AI Ultra for Business 的存取權已列入計畫),也針對透過付費Gemini API 金鑰取得存取權限的用戶推出。

  • Gemini Code Assist 企業版用戶即將可進入。

  • 包括 Google AI Pro、Gemini Code Assist Standard 和免費層級用戶在內的所有其他用戶都可以在這裡加入候補名單,以便在可用時獲得存取權限

您也可以透過關注此GitHub 討論來追蹤我們的推廣進度。

透過 Gemini CLI 開始使用 Gemini 3 Pro

如果您是 Google AI Ultra 訂閱用戶或擁有付費的 Gemini API 金鑰,請立即將 Gemini CLI 版本升級至0.16.x以開始使用:

npm install -g @google/gemini-cli@latest

確認版本後,執行/settings ,然後將「預覽功能」切換為「true」 。 Gemini CLI 現在預設使用 Gemini 3 Pro。

用戶可以按照此影片中的說明,學習如何在 Gemini CLI 中啟用 Gemini 3 Pro。

以下是利用 Gemini CLI 中的 Gemini 3 Pro 加速開發並將您最偉大的想法變為現實的 5 種實用方法。

利用改進的代理程式編碼,在終端機中建構任何內容。

Gemini 3 Pro 之所以在編碼方面表現出色,是因為它能夠整合各種不同的訊息,包括文字、圖像和程式碼,並能遵循複雜而富有創意的指令。它能理解您想法背後的意圖,讓您一步到位地將粗略的概念轉化為可執行的初始版本。

1. 產生一個帶有 3D 圖形的可直接部署的應用程式

Gemini 3 Pro 的智慧編碼功能使其能夠同時處理創意簡報和技術規格兩種形式的提示。它可以接收提示,建立詳細的執行計劃,然後產生可執行的 Web 專案的完整框架,而不僅僅是一個檔案。

例如,假設你有一個視覺效果驚豔的原型創意——例如一個用於落地頁的 3D 圖形或一個簡單的技術演示。與其花費數小時搭建圖形庫和本地開發伺服器,不如一次性描述整個專案,立即獲得一個可執行的起點。

Objective: Build a visually stunning, photorealistic 3D Voxel simulation of the Golden Gate Bridge using Three.js, prioritizing quality and complex visuals (no simple blocks),  atmospheric depth and 60FPS performance.

Visuals & Atmosphere:
- Lighting: Slider (0-24h) controlling sun position, light intensity, sky color, and fog color.
- Fog: Volumetric-style fog using sprite particles that drift and bob. Slider 0-100. 0 = True Zero (Crystal Clear). 100 = Dense but realistic (not whiteout).
- Water: Custom GLSL shader with waves, specular reflections, and manual distance-based fog blending (exp2) for seamless horizon integration.
- Post-Processing: ACESFilmic Tone Mapping and UnrealBloom (optimized for glowing lights at night).

Scene Details:
- Bridge: Art Deco towers with concrete piers (anchored to seabed), main span catenary cables, and suspenders.
- Terrain: Low-poly Marin Headlands and SF Peninsula.
- Skyline: Procedural city blocks on the SF side.
- Traffic: Up to 400 cars using `InstancedMesh`, positioned accurately on top of the deck (ensure vertical alignment prevents clipping into the concrete). Each car features emissive headlights (white) and taillights (red).
- Ships: Procedural cargo ships with hull, containers, and functional navigation lights (Port/Starboard/Mast/Cabin) moving along the water.
- Nature: Animated flocking birds.
- Night Mode: At night, activate city lights, car headlights, ship navigation lights, tower beacons, street lights.

Tech & Controls:
- Core: Must output only single HTML file `golden_gate_bridge.html` to be run in a blank Chrome tab. Import Three.js/Addons via CDN map.
  -   `three` (Core library) via CDN (ES Modules).
  -   `three/examples/jsm/...` modules via Import Map.
  -   No build step (Vite/Webpack). Pure HTML/JS.

- UI: Visually appealing sliders for Time (0-24h), Fog Density (0-100%), Traffic Density (0-100%), and Camera Zoom.
- Optimization: `InstancedMesh` for all repetitive elements (cars, lights, birds).

2. 將視覺創意轉化為可執行的應用程式

你已經繪製了一個使用者介面草圖,現在需要將這個視覺概念轉換為功能程式碼。你可以拍下草圖的照片,然後直接將圖片檔案拖放到終端機中。

Gemini 3 Pro 的多模態理解功能可以分析繪圖,辨識按鈕、文字方塊和版面配置。然後,它會產生 HTML、CSS 和 JavaScript 程式碼,將您的草圖變為現實。

Create a UI for "Project Constellation," an internal brand intelligence tool prototype that shows a customer acquisition pipeline. The aesthetic is an ultra-creative, futuristic dark-mode nebula. Luminous, iridescent threads representing customer journeys weave through semi-transparent glass pillars. A sleek, floating data card with Tailwind CSS precision materializes when hovering over a pillar. I've prepared a sketch for you to work from: @sketch.png.

改善你的日常工作

雖然Vibe編碼演示展現了各種可能性,但真正考驗開發者工具的是它如何勝任你每天多次重複的實際工作。在這些常見的工作流程中,例如程式碼重構、錯誤除錯或基礎設施管理,即使是微小的改進,也能帶來真正的生產力提升。

Gemini 3 Pro 的先進推理能力正是在此發揮了顯著優勢。它能夠比以往任何時候都更加精準地掌握複雜的多步驟指令的細微差別,這對於您日常繁瑣細緻的工作至關重要。

以下是一些 Gemini 3 Pro 如何處理這些關鍵工程任務的範例。

3. 使用自然語言產生複雜的 shell 指令

使用 Gemini CLI,您可以透過自然語言直接使用 UNIX 命令列。無需記憶晦澀難懂的語法和 UNIX 命令的各種標誌,只需讓 Gemini 3 Pro 翻譯您的意圖並執行即可。 Gemini 甚至可以將複雜的格式化輸出解析回自然語言。

讓 Gemini CLI 為您處理在命令列中執行 Git Bisect 的所有複雜性,讓您可以專注於運用您的判斷力來尋找相關錯誤。

At some point I lost the commit that set my default theme to dark. 
Find it for me with git bisect and return the hash to me.

4. 從你的程式碼產生準確的文件

Gemini 3 Pro 的高階推理能力使其能夠讀取並理解程式碼庫的邏輯。它不僅能辨識語法,還能分析和綜合函數的用途,辨識其參數和回傳值,並將複雜的邏輯翻譯成清晰易懂的語言。

當您開發了一個複雜的應用程式,現在需要建立文件時,此功能非常有用。您無需手動編寫描述,Gemini 可以分析程式碼並自動產生與程式碼格式一致的文件。

"This is an application that does not have any documentation and we do not have a technical writer. Before you begin, review all of the code. Then make me a user documentation. This document should only explain user facing features, but make sure to explain every single feature such as usage of the app, command line options, authentication options, built in tools, and all other user facing features. For certain features such as MCP or extensions, also explain the topic and concept so that the user has a better understanding. Since this is an open source project, provide an architectural overview of how the code is laid out, a summary of each component, and how they can contribute to the open-source project. The document should be organized and formatted so that it is easy to read and find. Do not make it a single html page. Make sure to add a search feature."

5. 除錯執行中的 Cloud Run 服務的效能問題

Gemini 3 Pro 能夠協調跨不同服務的複雜工作流程,這些服務承載著團隊的上下文資訊。改進後的工具使用體驗意味著它可以規劃和執行多步驟任務,這些任務需要從多個來源(例如可觀測性、安全性和原始程式碼控制)收集訊息,以解決單一問題。

在這個例子中,它使用 Gemini CLI 擴展將無伺服器平台 (Cloud Run) 與流行的安全掃描器 (Snyk) 連接起來,以查找根本原因並提出修復建議,然後部署修復程序,將複雜的多工具調查簡化為單一的簡化操作。

Users are reporting that the "Save Changes" button is slow, investigate the 'tech-stack' service

立即了解更多訊息

這些範例只是個開始。真正的潛力不在於執行這些特定指令,而是 Gemini 3 Pro 如何適應您獨特的挑戰,無論您是優化日常 shell 指令、處理繁重的工程工作,還是建立針對團隊工具的個人化工作流程。 Gemini 3 Pro 將命令列轉變為能夠理解您上下文的智慧夥伴。

體驗 Gemini CLI 的最佳方式就是親自嘗試。造訪Gemini CLI 網站,並在社群媒體上分享你的範例,記得帶上 #GeminiCLI 標籤哦!我們迫不及待想看看你的作品!


原文出處:https://dev.to/googleai/5-things-to-try-with-gemini-3-pro-in-gemini-cli-55hg


精選技術文章翻譯,幫助開發者持續吸收新知。

共有 0 則留言


精選技術文章翻譯,幫助開發者持續吸收新知。
🏆 本月排行榜
🥇
站長阿川
📝17   💬10   ❤️5
420
🥈
我愛JS
📝2   💬8   ❤️4
90
評分標準:發文×10 + 留言×3 + 獲讚×5 + 點讚×1 + 瀏覽數÷10
本數據每小時更新一次
🔧 阿川の電商水電行
Shopify 顧問、維護與客製化
💡
小任務 / 單次支援方案
單次處理 Shopify 修正/微調
⭐️
維護方案
每月 Shopify 技術支援 + 小修改 + 諮詢
🚀
專案建置
Shopify 功能導入、培訓 + 分階段交付