Adk style
Skill danielvogler/ai-skills-library/.agents/skills/adk-style
ADK development style guide for routine nits — Python idioms, codebase conventions, imports, typing, Pydantic patterns, formatting, logging, and file organization. Use this skill whenever writing code, tests, or reviewing PRs for the ADK project to ensure compliance with styling and coding conventions. Triggers on "code style", "how should I format", "naming convention", "lint", "nit", "imports", "typing", "Pydantic patterns", "testing rules".From its SKILL.md
npx -y skills add danielvogler/ai-skills-library --skill adk-styleAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 245 tokens by cl100k_base, as published. Nobody here has run it
ADK Style Guide
Style Guide (references/)
- Visibility — naming conventions for module-private, internal, and package-private visibility.
- Imports — relative vs absolute imports,
TYPE_CHECKINGpatterns. - Typing — strong typing, avoiding Any, bare type names, keyword-only arguments,
Optionalvs| None, abstract parameter types, mutable default avoidance, runtime type discrimination. - Pydantic Patterns — Pydantic v2 usage,
Field()constraints,field_validator,model_validator, private attributes, deprecation migration, post-init setup. - Formatting — indentation, line limits, and running pre-commit hooks.
- Documentation — comments and docstrings.
- Logging — lazy evaluation and log levels.
- File Organization — file headers and class organization.
Testing
references/testing.md — core principles, 9 rules for writing ADK tests, test structure template
What ships with it: 9 files
19.2 KB alongside SKILL.md
references/
- documentation.md586 B
- file-organization.md794 B
- formatting.md606 B
- imports.md1.1 KB
- logging.md955 B
- pydantic.md3.2 KB
- testing.md6.7 KB
- typing.md2.4 KB
- visibility.md2.8 KB