From datarails-financeos
Analyze P&L and performance by department. Creates departmental reports and comparative analysis with Excel and PowerPoint outputs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/datarails-financeos:departments --year <YYYY> [--department <name>] [--output-xlsx <file>] [--output-pptx <file>]--year <YYYY> [--department <name>] [--output-xlsx <file>] [--output-pptx <file>]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze departmental P&L performance and resource allocation.
Analyze departmental P&L performance and resource allocation.
Creates detailed departmental reports for team leads and management reviews.
| Argument | Description | Default |
|---|---|---|
--year <YYYY> | REQUIRED Calendar year | — |
--department <name> | Specific department (optional) | All departments |
--output-xlsx <file> | Excel output path | tmp/Department_Analysis_YYYY_TIMESTAMP.xlsx |
--output-pptx <file> | PowerPoint output path | tmp/Department_Review_YYYY_TIMESTAMP.pptx |
When generating Excel or PowerPoint files, apply Datarails brand styling:
Font: Poppins (fall back to Calibri if unavailable). Weights: 400 regular, 600 semibold, 700 bold.
Colors:
| Role | Hex | Use |
|---|---|---|
| Navy | 0C142B | Header/banner background |
| Main text | 333333 | Primary text |
| Secondary | 6D6E6F | Muted/subtitle text |
| Border | 9EA1AA | Cell borders |
| Section bg | F2F2FB | Section header / row header background (lavender) |
| Input bg | EAEAFF | Editable/input cell background |
| Input text | 4646CE | Editable cell text (indigo) |
| Favorable | 2ECC71 | Positive variance / good KPI delta |
| Unfavorable | E74C3C | Negative variance / bad KPI delta |
| Chart 1 | 0C142B | Actuals (navy) |
| Chart 2 | F93576 | Budget (hot pink) |
| Chart 3 | 00B4D8 | Teal |
| Chart 4 | FFA30F | Amber |
Excel layout:
Number formats: _(* #,##0_);_(* (#,##0);_(* "-"_);_(@_) (default), $#,##0 (dollars), $#,##0.0,,"M" (millions), 0.0% (percent)
Variance coloring: Any cell showing a delta/change: green (2ECC71) if favorable, red (E74C3C) if unfavorable. Apply automatically based on value sign and metric context.
PowerPoint: Navy (0C142B) background, 16:9 widescreen, Poppins font, white text, amber (FFA30F) accent lines, card backgrounds 001F37.
If asked to add live / refreshable Datarails formulas (DR.GET) to a generated workbook, the only valid form is:
=DR.GET(Value, "[DimensionName]", CellRef, "[DimensionName]", CellRef, ...)
=DR.GET(Value,"financials","Amount","SUM",...)
is invented syntax that the Datarails Add-in cannot parse or refresh."[Scenario]").
Dimension values are always cell references, never hardcoded strings.Value
referring to the string constant "Value"
(wb.defined_names.add(DefinedName("Value", attr_text='"Value"'))) —
otherwise Excel autocorrects the bare token to its built-in VALUE() and
the formula breaks.=DR.GET(...) only — never wrapped in IFERROR/IF/ROUND.The get-formula skill (/dr-get-formula) is the full reference — parameter
cells, validated dimension values, report layouts. Prefer it for whole formula
workbooks; apply this contract when adding DR.GET formulas to a workbook here.
/dr-departments --year 2025
/dr-departments --year 2025 --department Engineering
/dr-departments --year 2025 \
--output-xlsx reports/depts_2025.xlsx \
--output-pptx reports/dept_review.pptx
# Share with department heads
/dr-departments --year 2025
# Individual department analysis for team
/dr-departments --year 2025 --department Marketing
# Department comparison for leadership
/dr-departments --year 2025
# Department historical analysis
/dr-departments --year 2024
/dr-departments --year 2025
# Use for next year planning
Financial:
Operational:
Performance:
Excel Report:
PowerPoint Review:
Works with:
/dr-insights - Context for trends/dr-dashboard - Department KPIs/dr-reconcile - Validation/dr-extract - Data sourcing/dr-insights - Trend analysis/dr-dashboard - KPI monitoring/dr-reconcile - Data validation/dr-extract - Data extractionProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
npx claudepluginhub datarails/dr-claude-code-plugins-re --plugin datarails-financeos