feast
Use for Feast feature store tasks: feature repositories, definitions, CLI, retrieval, materialization, serving, RAG/vector search, integrations, and Feast contributor workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- feast
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use for Feast feature store tasks: feature repositories, definitions, CLI, retrieval, materialization, serving, RAG/vector search, integrations, and Feast contributor workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/repo-provenance.md2.7 KB
- 参考文档references/repo-routing-metadata.json387 B
- 参考文档references/troubleshooting.md4.3 KB
- 脚本scripts/check_feast_environment.py3.7 KB
03 SKILL.md 正文
Feast
Use this skill when the user asks to work with Feast as a feature store or to contribute to the Feast codebase. Feast manages feature definitions, registry state, offline training retrieval, online serving, materialization, feature servers, vector/RAG retrieval, and optional data infrastructure integrations.
Start Here
- If the user is operating a Feast project, identify the feature repository root and
feature_store.yamlfirst. - If the user is defining objects, inspect or create Python definitions before running
feast apply. - If the user is retrieving features, confirm the definitions were applied and the online store was materialized or pushed.
- If the user is using remote services, auth, cloud stores, vector DBs, or clusters, confirm the required Feast extra, service, credentials, and safe validation path before running commands.
- If the user is changing Feast source code, use targeted tests and lint/type checks before broad suites.
Install And Smoke Check
Public install patterns:
pip install feast
pip install "feast[redis]" # example optional backend extra
pip install "feast[snowflake]" # example offline store extra
Minimal import and CLI checks:
python - <<'PY'
import feast
from feast import FeatureStore, Entity, FeatureView, Field
print("Feast import OK", getattr(feast, "__version__", "unknown"))
PY
feast --help
feast version
Run scripts/check_feast_environment.py --help when you need a bundled diagnostic for installed Feast, CLI availability, and optional extras.
Route By Task
| User request | Use this sub-skill |
|---|---|
Create a feature repo, inspect feature_store.yaml, choose CLI commands, run init, apply, plan, list objects, or handle registry paths |
sub-skills/feature-repos-and-cli/SKILL.md |
Define Entity, Field, data sources, FeatureView, OnDemandFeatureView, stream/batch feature views, feature services, labels, or permission metadata |
sub-skills/feature-definitions/SKILL.md |
| Retrieve historical or online features, materialize, push rows, build training datasets, diagnose null/stale online values, or handle saved datasets | sub-skills/retrieval-and-materialization/SKILL.md |
| Run or debug feature server, offline server, registry server, transformation server, MCP, TLS, auth/RBAC, remote stores, or production serving topology | sub-skills/servers-and-remote/SKILL.md |
Build RAG or vector-search workflows with vector fields, vector online stores, document embeddings, chunking, or retrieve_online_documents |
sub-skills/rag-and-vector-search/SKILL.md |
| Select optional extras, configure stores/providers/compute engines, use dbt/MLflow/OpenLineage/DQM, or design custom store/provider extensions | sub-skills/integrations-and-extensibility/SKILL.md |
| Modify Feast source, choose focused tests, run Ruff/MyPy/Pytest, update docs/protos, work on Go/Java/operator code, or prepare a PR | sub-skills/repo-development/SKILL.md |
Common Decision Points
- Local quickstart: prefer local provider, file offline store, SQLite online store, and the
feature-repos-and-cliplusretrieval-and-materializationroutes. - Definition errors: stay in
feature-definitionsuntil constructors, schemas, sources, and feature services are valid; then route tofeature-repos-and-cliforapply. - Online nulls: check materialization/push windows, entity join keys, feature refs, and registry state in
retrieval-and-materializationbefore blaming serving. - Remote/service errors: use
servers-and-remotefor endpoint/auth/TLS behavior andintegrations-and-extensibilityfor missing extras or backend selectors. - Vector/RAG: define vector
Fieldmetadata infeature-definitions, then userag-and-vector-searchfor vector store config and document retrieval. - Contributing: use
repo-development; do not run broad integration suites or service-backed examples unless prerequisites and safety are clear.
Bundled References And Scripts
- Read
references/repo-provenance.mdbefore deciding whether this skill matches a current Feast checkout or should be refreshed. - Read
references/troubleshooting.mdfor cross-cutting install/import, CLI discovery, optional dependency, and routing failures. - Run
scripts/check_feast_environment.pyfor a safe import/CLI/extra diagnostic that does not contact external services.
Safety Rules
- Do not run
feast teardown, cloud-backed materialization, Kubernetes/operator examples, release scripts, or service-backed integration tests without explicit confirmation and prerequisites. - Do not assume optional extras are installed. Check imports and route backend selection to
integrations-and-extensibility. - Keep generated project examples local and tiny unless the user explicitly asks for production/cloud/service deployment.
- For source changes, start with the smallest relevant lint/type/test commands, then broaden only if needed.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).