agentleFS
GoogleKnown publishergoogle/adk-python/.agents/skills/adk-style/SKILL.md

adk-style

Skill22k starsChanged 4 months agoApache-2.0View on GitHub

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).

1 other project uses a version of this.

Trending

Less talk lately.about the whole repository

Dec 2025: 2 mentionsJan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 2 mentionsApr 2026: 12 mentionsMay 2026: 8 mentionsJun 2026: 3 mentionsJul 2026: 2 mentionsAug 2026: 2 mentionsSep 2026: 1 mentionOct 2026: 4 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the google/adk-python repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about google/adk-python

The biggest 5 of 63 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 63

Talked about on GitHub, Bluesky and Hacker News (63 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 11

6 more on Bluesky

On Hacker News · 2

The file

Files
SKILL.md

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; 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.