Jump to content

AI LLM for Coding: Difference between revisions

From Torben's Wiki
mNo edit summary
 
Line 45: Line 45:
** Cypress: cypress run --e2e --quiet
** Cypress: cypress run --e2e --quiet
* For Refactoring/renaming: better do it manually, via vscode, that is a lot faster
* For Refactoring/renaming: better do it manually, via vscode, that is a lot faster
===Cavemen style===
https://github.com/JuliusBrussee/caveman
npx skills add JuliusBrussee/caveman -a github-copilot
It has an option to install to local home dir instead of to project repo.

Revision as of 12:24, 16 April 2026

Google Gemini

pros: free to use with google account create your API key at https://aistudio.google.com/app/api-keys

Install

npm install -g @google/gemini-cli@latest
gemini
# or just run
npx https://github.com/google-gemini/gemini-cli

usage

cd /tmp
export GEMINI_API_KEY="xxx"
git clone https://github.com/entorb/meeting-meter
cd myProject
gemini

to switch model from pro to flash:

export GEMINI_MODEL="gemini-2.5-flash"

secret alternative: .env file

GEMINI_API_KEY=xxx

Google Antigravity

https://antigravity.google/download

Claude

Web

https://claude.ai
pro: Daily reset free quota
cons: need to manually upload single files

Console

Claude Console via API and VISA Pre-Paid: https://console.anthropic.com
pro: fully integrated in code base
cons: costs money, 5€ are easily spend

npm install -g @anthropic-ai/claude-code
cd myProject
claude

Tips

  • E2E tests (e.g. Cypress) are very important
  • Use tools for code formatting, linting, type-hints
  • Configure these tools to produce minimum output to reduce token consumption. e.g. for
    • Prettier: --log-level silent
    • Cypress: cypress run --e2e --quiet
  • For Refactoring/renaming: better do it manually, via vscode, that is a lot faster

Cavemen style

https://github.com/JuliusBrussee/caveman

npx skills add JuliusBrussee/caveman -a github-copilot

It has an option to install to local home dir instead of to project repo.