All skills
google avatar

/adk-unit-guide

@4a2d289
by googlegoogle/adk-python22k stars
4,084

Writes a hands-on developer guide for one ADK code unit — a minimal runnable example, how it works, a configuration-option table, advanced uses, limitations, and links to related samples — to `docs/guides/{topic}/{unit}/index.md`, then lists it in the index at `docs/guides/README.md`. Its reader is a developer calling the unit from their own application, at more depth than the published adk.dev documentation carries. Use when asked to "write a unit guide for {class}", "document how to use {feature}", "add a guide for {file}", or after shipping a user-facing class, node, or plugin. Don't use for internals documentation aimed at someone changing or extending the unit — that is a design document under `docs/design/` (use `adk-unit-design`). Don't use to write a runnable sample under `contributing/samples/` (use `adk-sample-creator`).

Use this Skill: https://skilld.dev/gh/google/adk-python/adk-unit-guide

This session only. Nothing lands on disk.

referencesguide-template.md

≈470 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Unit guide template

Copy this structure into docs/guides/{topic}/{unit}/index.md. The bullets are instructions for what to write in each section, not text to keep.

# {unit_name}

Two-sentence summary of the code unit.

## Introduction

Prose covering the purpose and application of the unit, the key classes that
depend on it, and the developer problems it solves.

## Get started

A single minimal implementation demonstrating the unit, with enough of the
surrounding classes to show where the call belongs. Omit top-level imports and
main() runner boilerplate to keep the code snippet focused.

## How it works

How the unit accomplishes its purpose from a caller's perspective, the classes
it depends on, the classes that depend on it, and the cross-class interactions a
caller will notice. Do not discuss internal implementation details (such as
private methods, internal data structures, or unexported helpers).

## Configuration options

A table of the options the unit itself introduces:

| Option | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `{option}` | `{type}` | `{default}` | What it controls. |

Follow the table with a paragraph per option covering real behaviour and usage
patterns, not a restatement of the type. Omit options inherited from a base
class, never include private attributes, and do not enumerate every attribute
and method — exhaustive API reference belongs in the generated reference
documentation.

## Advanced applications

Use cases beyond the minimum: the problem each solves and the implementation
for that circumstance. Omit the section when there are none.

## Limitations

Known limits of the unit.

## Related samples

Links to samples under `contributing/samples/` that exercise the unit, each
with a one-line description.

Omit a section outright when the code gives you nothing to put in it.

Source: SKILL.md on GitHub

No alerts7d3 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    This skill facilitates the creation of developer documentation for the ADK framework. It analyzes source code and design documents to generate structured guides. No security issues were identified.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: LOW · No issues

Signed by skilld at 4a2d289. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for google/adk-python/adk-unit-guide