offer

Official

Add a new energy provider offer type.

AuthorMyElectricalData
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates adding a new tariff offer type to the energy offers system by generating the calculator, seeding the pricing types, and wiring it into the API, enabling auto-discovery and end-user usage.

Core Features & Use Cases

  • Create a full calculator class for a new offer code that inherits from BaseOfferCalculator and exposes required attributes.
  • Update seed.py with DEFAULT_PRICING_TYPES and optionally seed default offers.
  • Ensure auto-discovery so the new type appears in the offer-types API and pricing-types endpoint.
  • Validate via step-by-step workflow (01-Explore to 06-Validate) and provide test scaffolding.

Quick Start

Run the interactive workflow to create a new offer type: /offer <CODE> --new

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: offer
Download link: https://github.com/MyElectricalData/myelectricaldata_new/archive/main.zip#offer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.