check-data-pipeline

Validate ADK tool scripts for file paths, ToolContext usage, and function signatures.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sunLeee/optimization --skill check-data-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-data-pipeline
Source: https://github.com/sunLeee/optimization/tree/main/.claude/skills/quality/check/data-pipeline
Command: npx skills add https://github.com/sunLeee/optimization --skill check-data-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates and enforces ADK data-pipeline patterns across tool scripts, ensuring file path usage, ToolContext access, and function signatures adhere to defined conventions.

Core Features & Use Cases

  • Enforces file path definition rules to prevent hard-coded paths in tool functions.
  • Validates that tool functions access configuration and data via ToolContext state keys (with app: prefixes).
  • Checks for correct function signatures and usage patterns to reduce data access risks in pipelines.
  • Use Case: Auditing an ADK project to surface and fix violations in data-pipeline scripts before deployment.

Quick Start

Run the data-pipeline check against your ADK project to validate that file paths, ToolContext usage, and function signatures conform to the CLAUDE.md rules.

Frequently Asked Questions about check-data-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check ADK data pipeline scripts for hard-coded file paths?

To check ADK data pipeline scripts for hard-coded file paths, run the validation tool against your project. It scans Python tool functions to enforce file path definition rules and surfaces violations before deployment.

What is the correct way to access configuration in ADK ToolContext?

The correct way to access configuration in ADK ToolContext is by using app: prefixed state keys. The data pipeline validator checks your tool functions to ensure all configuration and data access strictly follows this pattern.

Can I use this validation tool for Python scripts outside of ADK projects?

This validation tool is specifically designed for Python-based data pipeline tooling within ADK projects. It applies static checks to scripts, agent functions, and configuration loading to enforce ADK safety rules.

What function signature rules are enforced for ADK tool scripts?

ADK tool scripts must follow function signature rules that mandate tool-context based parameter access. The validator checks your Python functions to ensure correct signatures and usage patterns, reducing data access risks.

Why does my ADK data pipeline check fail on configuration loading?

Your ADK data pipeline check may fail on configuration loading if your scripts use hard-coded paths or lack app: prefixed state keys. The validator enforces ToolContext usage to prevent these unsafe data access patterns.

How to validate ADK tool patterns before deploying a data pipeline?

To validate ADK tool patterns before deploying a data pipeline, run the static analysis check against your project. It audits file paths, ToolContext usage, and function signatures to ensure conformity with CLAUDE.md rules.