Logo vun Generate Manifest

Generate Manifest

OrganisatiounBeléift
google
generate-manifest

Scan an ADK recipe directory and generate a manifest.yaml for it based on the schema at .github/schemas/manifest-schema.json. Use when the user wants to create or generate a manifest.yaml for a recipe under core/, contrib/, or plugins/.

Iwwersiicht

Editeurgoogle
Repositoryadk-recipes
Skill-Nummgenerate-manifest
Stären
10.4K
Forks
2.9K
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum google op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Generate Manifest an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/google/adk-recipes/tree/main/.agents/skills/generate-manifest
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/google/adk-recipes.git /tmp/adk-recipes
mkdir -p .claude/skills
cp -r /tmp/adk-recipes/.agents/skills/generate-manifest .claude/skills/generate-manifest
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Generate Manifest an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Generate Manifest automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Generate Manifest net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Generate Manifest

Scan a recipe directory and produce a valid manifest.yaml for it, then validate it against the schema.

Process

1. Identify the target recipe

The user will provide a path to a recipe directory (e.g. core/python/rag-agent-search, contrib/python/my-recipe, plugins/retail/store-ops). If they don't, ask for it before proceeding.

2. Read the schema

Read .github/schemas/manifest-schema.json from the repo root to understand the current required and optional fields, allowed enum values, and constraints. Do not rely on memory — always read the live schema file so changes to it are automatically picked up.

3. Scan the recipe directory and infer only what the code proves

Read the following files if they exist:

  • pyproject.toml / requirements.txt — primary language (for language field)
  • app/agent.py or equivalent entry point — single vs multi-agent, agent count
  • Makefile — deploy targets (determines deployable)
  • app/ source files — stateful writes, datasource patterns
  • AGENTS.md — architecture notes if present

Field-by-field rules — read carefully before filling any field:

FieldRule
typeInfer from code. standalone = has its own runnable entry point: look for an if __name__ == "__main__" block, a make playground/run target, an adk web/adk run invocation, or a CLI. module = only importable (it just exports a root_agent/Agent for another workflow to orchestrate, with no way to run on its own). When ambiguous, re-read the schema's type description and prefer module only when there is genuinely no entry point.
deployableOPTIONAL. true only if a single make target or script deploys everything with no manual steps. Omit the field entirely if false (schema default is false).
largeOPTIONAL. Whether to opt into the relaxed size tier. Exact limits depend on whether the recipe lives under core/ or contrib/ or plugins/ and are defined in .github/policy.yml (recipe_size_limits) — as of writing: contrib/ and plugins/ default is 70 files / 2 MB and large is 200 files / 10 MB; core/ default is 500 files / 50 MB. Omit the field unless the recipe would otherwise exceed the default tier's limits (schema default is false).
statusAlways "active" unless there is explicit evidence of abandonment.
languageRead from file extensions or pyproject.toml. Never guess.
descriptionRead README.md and AGENTS.md only (author-written intent, not code). Write a draft of at most 15 words summarising what the recipe does. The schema requires at least 10 characters, so keep the draft comfortably above that. Append the comment # TODO: review and expand this draft description. If neither file exists or the intent is unclear, fall back to "DESCRIPTION" with the same TODO comment.
architecture.agentInfer from code only: count Agent( or equivalent constructor calls. single or multi. Omit the whole architecture block if uncertain.
architecture.statefulInfer from code: true only if the recipe writes persistently to an external system (DB, vector store, GCS) during normal operation — not just one-time setup.
architecture.datasourcesInfer from code: hardcoded = data literals in source; local = files bundled in repo; external = live systems queried at runtime. Can be multiple.
dependenciesInclude the block but comment it out entirely. Do NOT infer library or service names — GCP product names change and guesses will be wrong. Use the commented-out sample shown in the template.
ownership.teamAlways use the exact placeholder "TODO: Replace with your team name" — this is the literal string the validator checks for, so it correctly fails validation until a human fills it in. Never invent or infer a team name.
ownership.pocAlways use the exact placeholder "TODO: Replace with your GitHub user ID" — this is the literal string the validator checks for. Never invent or infer a GitHub ID from email addresses, file authors, or any other source.
ownership.contributorsOPTIONAL. Omit the field entirely. Leave a commented-out sample line so the author knows it exists. Never infer contributor IDs.
tagsInclude but comment out entirely, with a sample entry showing the expected style. Do NOT generate real tags — tag choices are the author's call.
licenseOPTIONAL. If the recipe's source tree contains a LICENSE file or the author has explicitly stated a license, record the SPDX identifier (e.g. "Apache-2.0", "MIT", "BSD-3-Clause"). Otherwise comment it out. Never infer or guess — only set it if it is explicitly declared.

4. Make judgment calls explicitly

Before writing the manifest, briefly state what you found for each inferred field (type, deployable, architecture.*) and cite the specific file/line that supports your conclusion. This lets the user catch errors before they land in the file.

5. Write the manifest

Write manifest.yaml to the root of the recipe directory. Match the concise inline-comment style used by the existing manifests in core/ and contrib/ — allowed values shown as # Options: [...] after each field:

yaml
type: "..."          # Options: [standalone | module]
status: "active"     # Options: [active | inactive]
language: "..."      # Options: [python | java | go | kotlin | typescript]
description: "..."   # TODO: review and expand this draft description

# deployable: true   # (optional) one-command deploy, no manual steps; omit if false (default)
# large: true        # (optional) opt into the relaxed size tier; see .github/policy.yml (recipe_size_limits) for the exact numbers; omit if false (default)

architecture:          # (optional) omit the whole block if nothing below can be inferred from code
  agent: "..."          # Options: [single | multi]
  stateful: false       # Options: [true | false]
  datasources:          # Options: [hardcoded | local | external]
    - "..."

# dependencies: (optional) uncomment and fill in with canonical names
#   libraries:
#     - "ADK"
#     - "pandas"            # example — replace with actual libraries used
#   services:
#     - "GCP Project"
#     - "Cloud Run"         # example — replace with actual GCP/external services used

ownership:
  team: "TODO: Replace with your team name"
  poc: "TODO: Replace with your GitHub user ID"
  # contributors: (optional) uncomment and add GitHub IDs of additional contributors
  #   - "github-id-1"

# tags: (optional) uncomment and replace with meaningful labels
#   - "rag"               # example — use technology names, patterns, and use-case keywords
#   - "gemini"

# license: "Apache-2.0"  # (optional) SPDX identifier; only set if explicitly declared — see https://spdx.org/licenses/

Omit architecture entirely if none of its sub-fields can be determined from the code.

6. Validate

After writing the manifest, run the validator from the repo root (do not cd into tools/, and do not pass --active):

bash
uv run validate manifest <recipe-path>

<recipe-path> must be relative to the repo root (e.g. core/python/my-recipe, contrib/python/my-recipe, plugins/retail/store-ops), not an absolute path.

Interpret the result carefully — there are two kinds of failure:

  • Real schema errors (missing required field, invalid enum value, description under 10 characters, malformed YAML): fix these in the manifest and re-validate until they are gone.
  • ownership.team / ownership.poc placeholder errors: these are EXPECTED and must be left as-is. The validator deliberately fails while the placeholders are in place, to force a human to supply real values before merge. Do NOT invent a team name or GitHub ID to make validation pass.

So a correctly generated manifest will still report [FAIL] — but only on the two ownership placeholders, and nothing else. That is the intended outcome; report it to the user as "valid except for the ownership placeholders you need to fill in". Do not change or modify any other files in the repository. Also do not commit the changes.

7. Report back

Tell the user:

  1. What was inferred from the code and which file/line supports each inference.
  2. Which fields need human input before the manifest will pass validation: ownership.team and ownership.poc (placeholders — validation intentionally fails until these are replaced with real values). Also flag description (draft generated — must be reviewed and expanded) and dependencies/tags (commented out, ready to uncomment and fill in).

Heefeg gestallte Froen

Wat mécht de KI-Skill Generate Manifest?

Scan an ADK recipe directory and generate a manifest.yaml for it based on the schema at .github/schemas/manifest-schema.json. Use when the user wants to create or generate a manifest.yaml for a recipe under core/, contrib/, or plugins/.

Firwat Generate Manifest op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Generate Manifest besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Generate Manifest an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/google/adk-recipes/tree/main/.agents/skills/generate-manifest an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Generate Manifest benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Generate Manifest benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Generate Manifest domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Generate Manifest gratis?

Jo. De Skill gëtt vum google ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇