What problem does it solve?
This Skill helps you understand and work with the feature-engineer service that converts raw transaction events into enriched fraud-detection features in real time, so streaming anomaly detection can run reliably at scale.
Core Features & Use Cases
- Faust Stream Processing: Explains how the service consumes Kafka events asynchronously and publishes enriched records.
- Redis Sliding-Window Features: Covers the per-user 60-second amount window pattern used to compute mean, standard deviation, and z-scores.
- Risk Feature Engineering: Shows how merchant risk, odd-hour activity, and composite risk scoring are derived from each event.
- Observability and Reliability: Describes the native health and metrics endpoints, error handling, and implementation gotchas.
- Use Case: Use this Skill when modifying or reviewing
anomaly-detection/services/feature-engineer/main.py, tuning feature logic, or tracing how raw transactions become model-ready inputs.
Quick Start
Use the feature-engineer skill to explain how the service ingests Kafka transactions, computes Redis-backed features, and publishes enriched events.