Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates and processes Excel spreadsheets for construction estimates, schedules, logs and quantity takeoffs, with formulas and formatting.
Use this skill ↓36% 86%+50 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
Adapted from Anthropic's XLSX skill for construction spreadsheet workflows.
from openpyxl import Workbook
from openpyxl.styles import Font, Alignment, Border, Side, PatternFill
from openpyxl.utils import get_column_letter
def create_estimate_template(output_path: str, project_name: str):
"""Create construction cost estimate template."""
wb = Workbook()
ws = wb.active
ws.title = "Cost Estimate"
# Styles
header_font = Font(bold=True, size=12)
currency_format = '$#,##0.00'
thin_border = Border(
left=Side(style='thin'),
right=Side(style='thin'),
top=Side(style='thin'),
bottom=Side(style='thin')
)
header_fill = PatternFill(start_color="4472C4", end_color="4472C4", fill_type="solid")
# Project header
ws['A1'] = "CONSTRUCTION COST ESTIMATE"
ws['A1'].font = Font(bold=True, size=16)
ws['A2'] = f"Project: {project_name}"
ws['A3'] = "Date:"
ws['B3'] = "=TODAY()"
# Column headers (row 5)
Next to this one in the catalogue, plus more from the same author.