warranty-tracker
БесплатноБез исполняемых скриптовНе проверенTrack and manage construction warranties. Monitor expiration dates, claims, and manufacturer documentation.
от datadrivenconstruction★ 461 звезда на GitHubОб этом скилле
Warranty Tracker
Business Case
Problem Statement
Warranty management is often neglected:
- Missing warranty documentation
- Expired warranties untracked
- Difficult to file claims
- Scattered across multiple files
Solution
Centralized warranty tracking system that monitors expiration dates, stores documentation, and manages claims.
Business Value
- Cost savings - File claims before expiration
- Organization - Central warranty repository
- Compliance - Meet handover requirements
- Proactive - Automatic expiration alerts
Technical Implementation
import pandas as pd
from datetime import datetime, date, timedelta
from typing import Dict, Any, List, Optional
from dataclasses import dataclass, field
from enum import Enum
class WarrantyType(Enum):
"""Types of warranties."""
MANUFACTURER = "manufacturer"
CONTRACTOR = "contractor"
INSTALLER = "installer"
EXTENDED = "extended"
PERFORMANCE = "performance"
class WarrantyStatus(Enum):
"""Warranty status."""
ACTIVE = "active"
EXPIRING_SOON = "expiring_soon" # Within 90 days
EXPIRED = "expired"
CLAIMED = "claimed"
VOID = "void"
class ClaimStatus(Enum):
"""Warranty claim status."""
DRAFT = "draft"
SUBMITTED = "submitted"
UNDER_REVIEW = "under_review"
APPROVED = "approved"
DENIED = "denied"
RESOLVED = "resolved"
class BuildingSystem(Enum):
"""Building systems."""
STRUCTURAL = "structural"
ROOFING = "roofing"
HVAC = "hvac"
ELECTRICAL = "electrical"
PLUMBING = "plumbing"
ELEVATORS = "elevators"
FIRE_PROTECTION = "fire_protection"
GLAZING = "glazing"
FLOORING = "flooring"
PAINTING = "painting"
APPLIANCES = "appliances"
EXTERIOR = "exterior"
OTHER = "other"
@dataclass
class WarrantyDocument:
"""Warranty document reference."""
document_id: str
filename: str
document_type: str # certificate, manual, conditions
upload_date: date
file_path: str
@dataclass
class Warranty:
"""Warranty record."""
warranty_id: str
item_description: str
system: BuildingSystem
warranty_type: WarrantyType
manufacturer: str
contractor: str
start_date: date
end_date: date
duration_years: int
coverage_details: str
exclusions: str
contact_name: str
contact_phone: str
contact_email: str
location: str
documents: List[WarrantyDocument] = field(default_factory=list)
notes: str = ""
@property
def status(self) -> WarrantyStatus:
"""Calculate current warranty status."""
today = date.today()
if today > self.end_date:
return WarrantyStatus.EXPIRED
elif (self.end_date - today).days <= 90:
return WarrantyStatus.EXPIRING_SOON
else:
return WarrantyStatus.ACTIVE
@property
def days_remaining(self) -> int:
"""Days until warranty expires."""
return (self.end_date - date.today()).days
def to_dict(self) -> Dict[str, Any]:
return {
'warranty_id': self.warranty_id,
'item': self.item_description,
'system': self.system.value,
'type': self.warranty_type.value,
'manufacturer': self.manufacturer,
'contractor': self.contractor,
'start_date': self.start_date.isoformat(),
'end_date': self.end_date.isoformat(),
'duration_years': self.duration_years,
'status': self.status.value,
'days_remaining': self.days_remaining,
'contact': self.contact_email
}
@dataclass
class WarrantyClaim:
"""Warranty claim record."""
claim_id: str
warranty_id: str
issue_description: str
issue_date: date
reported_date: date
status: ClaimStatus
reported_by: str
resolution: str = ""
resolution_date: Optional[date] = None
cost_covered: float = 0.0
documents: List[str] = field(default_factory=list)
notes: str = ""
class WarrantyTracker:
"""Track and manage construction warranties."""
EXPIRING_THRESHOLD_DAYS = 90
def __init__(self, project_name: str, substantial_completion_date: date):
self.project_name = project_name
self.completion_date = substantial_completion_date
self.warranties: Dict[str, Warranty] = {}
self.claims: Dict[str, WarrantyClaim] = {}
self._warranty_counter = 0
self._claim_counter = 0
def add_warranty(self,
item_description: str,
system: BuildingSystem,
warranty_type: WarrantyType,
manufacturer: str,
contractor: str,
duration_years: int,
coverage_details: str,
contact_email: str,
start_date: date = None,
contact_name: str = "",
contact_phone: str = "",
Установить warranty-tracker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл warranty-tracker?
Track and manage construction warranties. Monitor expiration dates, claims, and manufacturer documentation.
Как установить скилл warranty-tracker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл warranty-tracker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub