skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
google/adk-python96 installs

adk-style

Python style and codebase conventions for ADK (Agent Development Kit): private-by-default file visibility, imports, type hints, Pydantic v2 models, formatting, docstrings, logging, async I/O, file and test layout, and unit test structure. Use when writing or editing ADK source or tests, deciding whether a new file or symbol should be public or private, naming or placing a test file, fixing a formatter, linter, or type-check failure (pyink, isort, ruff, mypy, addlicense, compliance-checks), or asking whether code matches house style. Don't use for reviewing a whole changeset (use adk-review), writing a developer guide or design doc for a code unit (use adk-unit-guide or adk-unit-design), building or configuring agents (use adk-agent-builder), or installing the toolchain (use adk-setup).

How do I install this agent skill?

npx skills add https://github.com/google/adk-python --skill adk-style
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a comprehensive set of style guidelines and coding conventions for the Agent Development Kit (ADK). It covers best practices for Python development, including async I/O, type hinting, and testing, while explicitly advising against insecure practices like logging sensitive information.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

ADK Style Guide

Conventions for src/google/adk/ and tests/unittests/. Most are enforced by a pre-commit hook or a CI job, so a violation blocks the PR rather than surfacing in review. Read the one reference for the topic you are touching.

Pick a reference

TaskReference
Adding a .py file; deciding public vs private; __init__.py and __all__visibility.md
Writing import lines; relative vs absolute; circular imports; TYPE_CHECKING; lazy importsimports.md
Annotating args and returns; AgentMode vs raw mode strings; _NodePathBuilder, _BranchPath, and build_node; Optional vs | None; keyword-only args; isinstance; asserts; mypy; # type: ignore and casttyping.md
Defining a Pydantic model, validator, private attribute, or on-wire payloadpydantic.md
Indentation, line length, quotes; running the formatter; what each hook checksformatting.md
Writing a docstring or an explanatory commentdocumentation.md
Emitting a log record; naming the module logger; picking a levellogging.md
Anything that performs I/O — network, disk, databaseasync.md
Where a new file goes; license header; where its test goes and what to call itfile-organization.md
Writing or restructuring a unit test; the testing_utils fakestesting.md

A check failed — where to look

Failing checkReference
check-new-py-prefixvisibility.md
compliance-checkslogging.md (logger name), typing.md (from __future__ import annotations), imports.md (cli/ import direction)
pyink, isort, ruff, addlicense, codespellformatting.md
Mypy Check CI jobtyping.md
tests/unittests/test_import_loading.pyimports.md

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/google/adk-python/adk-style">View adk-style on skillZs</a>