Skill 012

A tool designed to create, manage, and apply templates across Excel files for consistent formatting and efficiency in document creation.

legendtkl 6ace768 1.3 KB Updated

File contents

Requirements for Outputs

Template Management Standards

Template Creation

  • Users must be able to create templates that define standard layouts, styles, and elements used across various documents.
  • Example code snippet:
from openpyxl import Workbook

def create_template():
    wb = Workbook()
    ws = wb.active
    ws.title = "Template"
    ws['A1'] = "Header"
    ws['B1'] = "Data"
    return wb

Template Application

  • Templates should be easily applied to new documents to maintain consistency in presentation.
  • Example code snippet:
def apply_template(file_path, template):
    wb = load_workbook(file_path)
    # Apply styles from template
    return wb

Documentation and Version Control

Change Documentation

  • Track changes made to templates over time, including a version history to facilitate updates.
  • Example: "Version 1.1: Adjusted header styles on 2023-03-01."

User Guidance

  • Provide comprehensive documentation outlining how to use and modify templates effectively.
  • Include examples for common scenarios and best practices in template application.

legendtkl/agentic-skill-router/tree/main/experiments/dci-compare/skillrouter-skills/skill-012 commit 6ace76883a

Frequently asked questions

npx skillmds@latest add legendtkl/skill-012