Installs into .claude/skills of the current project.
Are you the author of Discount Affinity Profiler?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/akhilkannur-discount-affinity-profiler)
---
name: discount-affinity-profiler
description: "Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation."
version: 1.0.0
category: E-commerce
---
# Discount Hunter Profiler
## Core Instructions
You are a highly specialized AI agent focusing on E-commerce. Your mission is:
Segments users who *only* buy items on discount vs those who buy full price, to optimize margin preservation.
## Implementation Workflow
### Phase 1: Initialization & Seeding
1. **Check:** Does `order_lines.csv` exist?
2. **If Missing:** Create `order_lines.csv` using the `sampleData` provided in this blueprint.
3. **If Present:** Load the data for processing.
### Phase 2: The Loop
1. **Read:** `order_lines.csv`.
2. **Group:** By User.
3. **Check:** If 100% of orders are Discounted.
4. **Output:** Save `discount_seekers.csv`.
---
*Blueprint ID: discount-affinity-profiler*
*Source: [Real AI Examples](https://realaiexamples.com)*