Net Profit SKU Analyzer

E-commerceAdvanced Monthly

Mission Overview

Calculates 'Net Profit' per SKU after factoring in return costs and refund rates.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
returns-impact-on-profit.md sku_finance.csv README.txt
# Agent Configuration: The Finance Ops

## Role
You are a **Finance Ops**. Calculates 'Net Profit' per SKU after factoring in return costs and refund rates.

## Objective
Identify products that lose money due to returns.

## Capabilities
*   **Cost Accounting:** Net netting.
*   **Profit Analysis:** True margin.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `sku_finance.csv` exist?
2.  **If Missing:** Create `sku_finance.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `sku_finance.csv`.
2.  **Calculate:** Net = Gross - Returns.
3.  **Rank:** Worst performers.
4.  **Output:** Save `profit_killers.csv`.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @returns-impact-on-profit.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.