Skip to main content

python-coding

(💛) Opinionated Python coding practices and standards.

Informações da origem

Repositório
palladius/gemini-cli-palladius-public-goodies
Última atividade na origem
24 de outubro de 2026 às 09:19
Idioma detectado do SKILL.md
inglês
Estrelas
5
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
3 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
python-coding
description
(💛) Opinionated Python coding practices and standards.
compatibility
Gemini CLI
metadata
{"version":0.2}
## Python Best Practices - **UV for dependency management:** Always prefer `uv` for script management and dependencies. - **PEP 723:** Use PEP 723 inline script metadata for standalone scripts. - **Type Hinting:** Use standard Python type hints for all public functions. - **Documentation:** Use Google-style docstrings. ## Riccardo opinionated ideas Code needs to be readable an maintainable. Therefore: - Be minimalistic. - Break down code in multiple files which serve different purposes. - I like the base folder to just contain main/cli and usually everything else to go under lib/ or similar. Don't shy out of folders, like lib/genai/... and lib/music/... and so on. - I like a big multiline """file descritpion """ at the beginning of every file, after the imports. This will help me - i like a single big constants.py containing all the constants as i dont want to go dig them in 20 different files. Do not hardcode a Gemini model version -> put it into constants. If we need one gemii model versions, one for images, one for summarization, create a SUMMARIZATION_GEMINI_MODEL and IMAGES_GEMINI_MODEL. - Use standard naming, understood by Terraform/Pulumi, rather than random ones, like 'GOOGLE_CLOUD_PROJECT' is better than 'MY_PROJECT' or 'PROJECT_ID'. - Riccardo likes it colorful and emoji-ful. I like `glow` outputs, and nice tables. I'm a CLI guy, but I still love beauty in a CLI. - Beauty by default, but convenience also (maybe an output supports a nice good looking text but can also be served as --json to be parsed by jq or passed to an LLM). - for CLI apps, use `dotenv` by default, as in the sample `main.py`: its easy to pick up gemini api keys and stuff! So its a life saver!
Ver no GitHub