Skip to content

Add xls-formatting-creator meta-skill#67

Open
alexa-perlov wants to merge 1 commit intomainfrom
aperlov/xls-formatting-creator
Open

Add xls-formatting-creator meta-skill#67
alexa-perlov wants to merge 1 commit intomainfrom
aperlov/xls-formatting-creator

Conversation

@alexa-perlov
Copy link
Copy Markdown
Collaborator

Summary

  • Adds /xls-formatting-creator slash command and companion meta-skill under financial-analysis/, mirroring the existing /ppt-template + ppt-template-creator pattern for Excel.
  • Takes one or more representative .xlsx files, extracts house-style formatting (fonts, fills, borders, number formats, column widths, named styles, theme colors), and generates a self-contained skill that encodes the conventions.
  • Headline feature: the color-coding extractor classifies each cell as numeric_input / text_label / formula / intra_link / external_link and tabulates modal font color per class, so conventions like blue-input / black-formula / green-cross-sheet-link get surfaced automatically rather than hand-documented.

What's in the generated skill

Each generated skill contains:

  • assets/reference.xlsx — one of the representative input workbooks, for future-reference when rules are ambiguous.
  • SKILL.md — self-contained: house color-coding rules, font table, number format strings, border conventions, column widths, layout conventions, and ready-to-use code paths for both openpyxl and Office JS.

Test plan

  • Install the marketplace locally (/plugin marketplace add <repo>/plugin install financial-analysis) and invoke /xls-formatting-creator <path.xlsx> against a real operating model or LBO output.
  • Confirm the extractor reports the correct modal font color for inputs, formulas, and cross-sheet links before encoding it in the generated skill.
  • Run the generated skill to build a new schedule and verify it looks house-compliant when opened in Excel.
  • Try against a workbook using a non-classic convention (e.g., red for inputs) to confirm the meta-skill adapts rather than hardcoding the banker default.

Mirrors the existing ppt-template-creator pattern but for Excel. Takes one
or more representative .xlsx files, extracts house-style formatting
patterns (fonts, fills, borders, number formats, column widths, and the
color-coding lineage convention), and generates a self-contained skill
that encodes those conventions for future use.

The color-coding extraction classifies each cell as numeric_input,
text_label, formula, intra-workbook link, or external link, then tabulates
the modal font color per class — surfacing conventions like blue = input,
black = formula, green = cross-sheet link.

Generated skills bundle the reference workbook under assets/ and document
both openpyxl and Office JS code paths.
@alexa-perlov alexa-perlov marked this pull request as ready for review April 16, 2026 21:00
@alexa-perlov alexa-perlov requested a review from cxyback April 16, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant