mcpField
M
marketplace-recsys-feature-engineering

marketplace-recsys-feature-engineering

github.com/pproencaData & databases218197 installsUpdated 11w ago
Repository

About marketplace-recsys-feature-engineering

A feature-engineering skill for recommender systems in two-sided trust marketplaces. It helps teams derive and assess features from listing photos, metadata, and sitter responses, tying each feature to a specific decision and its maintenance cost.

Key features

  1. 0144 rules for the feature-engineering lifecycle
  2. 02Asset audits for coverage and privacy
  3. 03Image, text, and profile feature extraction guidance
  4. 04Similarity and affinity feature design
  5. 05Ablation experiments to assess feature value

Use cases

  1. 01Plan feature extraction from listing photos and descriptions
  2. 02Design sitter onboarding questions for recommendation signals
  3. 03Audit feature stores for coverage, drift, and privacy
  4. 04Assess whether a new feature merits maintenance

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pproenca/dot-skills --skill marketplace-recsys-feature-engineering

After installing, type/marketplace-recsys-feature-engineeringin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
gotchas.md
metadata.json
README.md
assets/templates/
_template.md
references/
_sections.md
audit-measure-coverage-before-modelling.md
audit-quantify-freshness-per-asset.md
audit-sample-every-asset-type-end-to-end.md
audit-separate-raw-assets-from-derived-features.md
audit-verify-rights-and-privacy-before-extraction.md
derive-cache-user-embedding-with-short-ttl.md
derive-decompose-affinity-into-interpretable-subscores.md
derive-fuse-modalities-before-item-similarity.md
derive-precompute-i2i-nearest-neighbours-offline.md
derive-score-u2u-as-symmetric-mutual-fit.md
derive-use-two-tower-for-user-item-affinity.md
firstp-ask-what-signal-a-human-uses.md
firstp-kill-features-a-popularity-baseline-already-captures.md
firstp-prefer-directly-observed-over-learned.md
firstp-reject-features-you-cannot-serve-at-inference.md
firstp-start-from-the-decision-not-the-algorithm.md
firstp-tie-every-feature-to-a-specific-solution.md
listing-declare-categorical-fields-for-bounded-vocabularies.md
listing-embed-description-with-pretrained-sentence-encoder.md
listing-encode-pet-requirements-as-structured-triples.md
listing-extract-stay-duration-shape-not-just-length.md
listing-hash-geo-to-hierarchies-not-raw-lat-lon.md
listing-multi-hot-encode-amenity-lists.md
references/playbooks/
discovering.md

Details

From the project README

Marketplace Engineering Recsys Feature Engineering Best Practices

Comprehensive first-principles guide for deriving usable recommender features from the raw assets of a two-sided trust marketplace — listing photos, owner-supplied listing metadata, and sitter wizard responses — for item-to-item, user-to-item, and user-to-user solutions. Contains 44 rules across 8 categories ordered by cascade impact on the feature-engineering lifecycle, plus one playbook that composes the rules into an end-to-end feature discovery workflow.

This skill is the upstream precursor to marketplace-personalisation (AWS Personalize) and marketplace-search-recsys-planning (OpenSearch retrieval). Those skills treat features as inputs they already have; this skill is about deciding what features to build from the raw assets, which decisions they serve, and how to prove each one is worth its maintenance cost.

When to Apply

Reference this skill when:

  • Planning what to extract from listing photos, descriptions, or amenity lists to power i2i similarity or u2i ranking
  • Designing or revising the sitter onboarding wizard with recsys features as the primary output
  • Deciding whether to build a vision embedding pipeline, a text encoder, or neither — and in what order
  • Composing existing base features into item-to-item, user-to-item, or user-to-user scoring
  • Auditing an existing feature store for coverage, drift, PII, duplication, or orphan features
  • Choosing a ship/kill criterion for a new recsys feature and designing the ablation A/B test
  • Answering the question: "we want to improve the similar-homes shelf — what feature should we build?"

Setup

This skill has no user-specific configuration — it is self-contained. References are live URLs to engineering blogs from Airbnb, Pinterest, DoorDash, Uber, Netflix, and Google, to open-source libraries (Feast, Sentence-Transformers, Hugging Face CLIP, H3), to foundational academic papers (Airbnb KDD 2018, Pinterest ItemSage, YouTube Semantic IDs, PinSage), and to Google's Rules of Machine Learning.

Rule Categories

Categories are ordered by cascade impact on the feature-engineering lifecycle: auditing mistakes build features on data that does not exist, first-principles mistakes produce features that do not map to real decisions, extraction mistakes poison everything downstream, and so on. Fix earlier-stage problems before later-stage problems.

#CategoryPrefixImpact
1Asset Audit and Inventoryaudit-CRITICAL
2First-Principles Feature Decompositionfirstp-CRITICAL
3Image Feature Extractionvision-HIGH
4Listing Text and Metadata Extractionlisting-HIGH
5Sitter Wizard and Profile Extractionwizard-HIGH
6Derived Similarity and Affinityderive-MEDIUM-HIGH
7Feature Quality and Governancequality-MEDIUM-HIGH
8Incremental Rollout and Value Proofprove-MEDIUM

Quick Reference

1. Asset Audit and Inventory (CRITICAL)
2. First-Principles Feature Decomposition (CRITICAL)
3. Image Feature Extraction (HIGH)
4. Listing Text and Metadata Extraction (HIGH)
5. Sitter Wizard and Profile Extraction (HIGH)
6. Derived Similarity and Affinity (MEDIUM-HIGH)
7. Feature Quality and Governance (MEDIUM-HIGH)
8. Incremental Rollout and Value Proof (MEDIUM)

Discovering New Features

One playbook composes the rules into an end-to-end workflow:

  • references/playbooks/discovering.md — Discover new features from raw marketplace assets: a seven-step workflow that starts with an asset audit and a decision decomposition and ends with a shipped ablation A/B against a feature-ablated baseline. Use when the task is "what should we build next?" rather than "fix this specific feature."

Read the playbook first when the task is an open-ended "how do we extract more signal from X?" Read individual rules when a specific implementation question arises.

How to Use

Related Skills

  • marketplace-personalisation — Post-extraction personalisation on AWS Personalize: event tracking, schema design, two-sided matching, cold start, feedback loops. Hand off once your features are in the store and you are ready to train a ranker.
  • marketplace-search-recsys-planning — OpenSearch retrieval planning: query understanding, index design, ranking, search-plus-recs blending. Hand off when the bottleneck is retrieval rather than feature availability.
  • marketplace-pre-member-personalisation — Pre-member journey from anonymous visit to paid membership: anonymous signal inference, onboarding intent capture, pre-member measurement. Hand off at the paid-member boundary.

Reference Files

FileDescription
references/_sections.mdCategory definitions, impact ordering, cascade rationale
references/playbooks/discovering.mdEnd-to-end feature discovery playbook
gotchas.mdAccumulated feature-engineering diagnostic lessons (living)
assets/templates/_template.mdTemplate for authoring new rules
metadata.jsonVersion, discipline, authoritative references

Comments

Markdown supported