本文へ移動
cccskills
無料GitHub で公開日本語紹介

feast-dev

Feastへの開発参加に向けて、環境構築、テスト、Lint、コード構成、ドキュメント配置やPR作成の手順を確認できます。

原文原文の説明を見る

Development guide for contributing to the Feast codebase. Covers environment setup, testing, linting, project structure, and PR workflow for feast-dev/feast.

feast-dev/feastスター 7,347(GitHub 7,347 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • Feastの開発環境を準備したいとき
  • 変更前後のテストやLintを確認したいとき
  • 新しいストアの追加場所を調べたいとき
  • PR作成の規約を確認したいとき

日本語での紹介

できること

Feastの開発環境を整え、テスト、フォーマット、Lint、型チェックを実行する手順を確認できます。Python SDKやProtobuf定義、テスト群などのプロジェクト構成と、FeatureStoreやFeatureViewといった主要な要素も把握できます。変更の種類に応じたドキュメントの配置先、新しいストアや設定項目を追加する際の関連文書、PRタイトルやラベル、コミット署名の規約も案内します。

こんなときに便利

Feastへの初めてのコード貢献や、既存の開発手順を確認して作業を始めたいときに向いています。機能変更に必要なテストやドキュメントの場所を探す際にも役立ちます。

使い方の例

  • 「Feastの開発環境を準備する手順を教えてください」
  • 「オンラインストア追加時に必要なテストとドキュメントを確認してください」
  • 「PRを出す前に実行するチェックを案内してください」

注意点

Python 3.10以降、uv、gitが必要です。ライセンスはApache-2.0です。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Feast Development Guide

Environment Setup

# Install development dependencies (uses uv pip sync with pinned requirements)
make install-python-dependencies-dev

# Install minimal dependencies
make install-python-dependencies-minimal

# Install pre-commit hooks (runs formatters and linters on commit)
make install-precommit

Running Tests

Unit Tests

# Run all unit tests
make test-python-unit

# Run a specific test file
python -m pytest sdk/python/tests/unit/test_unit_feature_store.py -v

# Run a specific test by name
python -m pytest sdk/python/tests/unit/test_unit_feature_store.py -k "test_apply" -v

# Run fast unit tests only (no external dependencies)
make test-python-unit-fast

Integration Tests (local)

# Run integration tests in local dev mode
make test-python-integration-local

Linting and Formatting

# Format Python code
make format-python

# Lint Python code
make lint-python

# Run all precommit checks (format + lint)
make precommit-check

# Type checking (entire codebase)
uv run bash -c "cd sdk/python && mypy feast"

# Type-check a single file
uv run bash -c "cd sdk/python && mypy feast/path/to/file.py"

Code Style

  • Use type hints on all function signatures
  • Use from __future__ import annotations at the top of new files
  • Follow existing patterns in the module you are modifying
  • Do not put pip install commands in docstrings or code comments. Security scanners flag them as runtime package installs, which fail in air-gapped or mirror-only environments. Name the extra instead (e.g. "Requires the glide extra (feast[glide]).") and keep install commands in docs/.
  • PR titles must follow semantic conventions: feat:, fix:, ci:, chore:, docs:
  • Add a GitHub label to PRs (e.g. kind/bug, kind/feature, kind/housekeeping)
  • Sign off commits with git commit -s (DCO requirement)

Docker Images

# Build all Docker images
make build-docker

# Build feature server Docker image
make build-feature-server-docker

Documentation

# Build Sphinx documentation
make build-sphinx

# Build templates
make build-templates

# Build Helm docs
make build-helm-docs

Documentation and Blog Posts

  • Blog posts must be placed in /infra/website/docs/blog/ — do NOT place them under docs/blog/ or elsewhere.
  • Blog post files must include YAML frontmatter with title, description, date, and authors fields matching the format of existing posts in that directory.
  • All other docs go under docs/ and must be added to docs/SUMMARY.md (GitBook navigation) or they won't appear on the website.
Change typeDoc location
New online storedocs/reference/online-stores/<name>.md + update README.md and SUMMARY.md
New offline storedocs/reference/offline-stores/<name>.md + update README.md, overview.md, SUMMARY.md
New registry backenddocs/reference/registries/<name>.md + update SUMMARY.md
Config optiondocs/reference/feature-store-yaml.md
CLI flag/commanddocs/reference/feast-cli-commands.md
How-to / integrationdocs/how-to-guides/customizing-feast/ or docs/how-to-guides/ + update SUMMARY.md
Architecture / conceptdocs/getting-started/architecture/ or docs/getting-started/components/

Project Structure

sdk/python/feast/          # Main Python SDK
  cli/cli.py               # CLI entry point (feast apply, feast materialize, etc.)
  feature_store.py         # FeatureStore class - core orchestration
  repo_config.py           # feature_store.yaml configuration parsing
  repo_operations.py       # feast apply / feast teardown logic
  infra/                   # Online/offline store implementations
    online_stores/         # Redis, DynamoDB, SQLite, etc.
    offline_stores/        # BigQuery, Snowflake, File, etc.
  transformation/          # On-demand and streaming transformations
protos/feast/              # Protobuf definitions
sdk/python/tests/          # Test suite
  unit/                    # Fast, no external deps
  integration/             # Requires infrastructure

Key Abstractions

  • FeatureStore (feature_store.py): Entry point for all operations
  • FeatureView: Defines a set of features from a data source
  • OnDemandFeatureView: Computed features using request-time transformations
  • Entity: Join key definition (e.g. driver_id, customer_id)
  • DataSource: Where raw data lives (BigQuery, files, Snowflake, etc.)
  • OnlineStore: Low-latency feature serving (Redis, DynamoDB, SQLite)
  • OfflineStore: Historical feature retrieval (BigQuery, Snowflake, file)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

feast-architecture

無料概要あり

Feastの主要コンポーネントやデータの流れ、関連するコードの場所を把握し、機能の仕組みや変更箇所を調べるためのスキルです。

  • `feast apply`の処理を理解したいとき
  • レジストリの保存方式を調べたいとき
  • 特徴量データの流れを追いたいとき
feast-dev/feast7,3472026年10月25日 更新

feast-testing

無料概要あり

Feastのテスト実行や新規コンポーネントの単体テスト作成、レジストリやオンラインストアの不具合調査を支援する開発スキルです。

  • 変更箇所のテストを実行したいとき
  • 新しいコンポーネントの単体テストを書くとき
  • レジストリの不整合を調べたいとき
feast-dev/feast7,3472026年10月25日 更新

feast-user-guide

無料概要あり

Feastで特徴量の定義や保存先の設定、オンライン・履歴データの取得、ベクトル検索を使ったRAG用データ検索まで進める方法を案内します。

  • 特徴量を定義・登録したいとき
  • オンライン特徴量を取得したいとき
  • 学習用の履歴データを用意したいとき
feast-dev/feast7,3472026年10月25日 更新

feast-dev のスキルをすべて見る

このスキルの問題を報告する