excel-translation

Batch translate engineering Excel calculation files from Spanish to English preserving formulas

5 stars

Best use case

excel-translation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Batch translate engineering Excel calculation files from Spanish to English preserving formulas

Teams using excel-translation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/excel-translation/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/data/analysis/excel-translation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/excel-translation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How excel-translation Compares

Feature / Agentexcel-translationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Batch translate engineering Excel calculation files from Spanish to English preserving formulas

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Excel Translation Skill

> Version: 1.0.0
> Category: Data Engineering
> Triggers: Translate Excel calculation files, Spanish to English conversion
> Tools: `scripts/python/translate_excel.py`

## Overview

This skill provides the capability to batch translate engineering calculation Excel files from Spanish to English. It uses a specialized dictionary of engineering terms and preserves the original file structure, formulas, and formatting.

## Capabilities

- **Batch Processing**: Translates all `.xlsx` files in a target directory.
- **Structure Preservation**: Maintains sheet names, cell locations, and formulas.
- **Engineering Vocabulary**: Uses a curated dictionary for accurate technical translation.
- **Safety**: Uses regex-based word boundary detection to prevent partial word replacement errors (e.g., preventing "DE" replacement inside "MODEL").

## Usage

### Command
```bash
python3 scripts/python/translate_excel.py
```

### Configuration
The script is currently configured to target:
`/mnt/github/workspace-hub/lng-a/62092_sesa/data/calculations`

To change the target, modify the `target_dir` variable in the `main()` function of the script.

### Dictionary
The translation dictionary is embedded in the script. To add new terms, update the `replacements` dictionary in `scripts/python/translate_excel.py`.

## Technical Details

- **Dependencies**: `openpyxl`
- **Logic**:
  1. Iterates through all `.xlsx` files in the target directory (skipping `*_en.xlsx`).
  2. Loads workbook using `openpyxl`.
  3. Translates sheet names (truncating to 31 chars if necessary).
  4. Iterates through all cells with string values.
  5. Applies regex-based replacement for short words and phrase-based replacement for longer terms.
  6. Saves the translated file with `_en.xlsx` suffix.

## Verification

After running the translation, verify the output files (ending in `_en.xlsx`) to ensure:
- Sheet names are legible and correct.
- Technical terms are translated correctly.
- No formula corruption occurred.

Related Skills

excel-workbook-to-python-v2

5
from vamseeachanta/workspace-hub

Convert engineering Excel workbooks to Python code using Codex Desktop cowork on Windows. Proven superior quality vs Linux openpyxl extraction (24 vs 7 functions, 81 vs 53 tests). Validated on Ballymore jumper installation analysis.

xlsx-to-python-core-principle-excel-values-test-data

5
from vamseeachanta/workspace-hub

Sub-skill of xlsx-to-python: Core Principle: Excel Values = Test Data.

test-oversized-skill

5
from vamseeachanta/workspace-hub

A test fixture skill that exceeds 200 lines with multiple H2/H3 sections for split testing.

interactive-report-generator

5
from vamseeachanta/workspace-hub

Generate interactive HTML reports with Plotly visualizations from data analysis results. Supports dashboards, charts, and professional styling.

data-validation-reporter

5
from vamseeachanta/workspace-hub

Generate interactive validation reports with quality scoring, missing data analysis, and type checking. Combines Pandas validation, Plotly visualization, and YAML configuration for comprehensive data quality reporting.

agent-os-framework

5
from vamseeachanta/workspace-hub

Generate standardized .agent-os directory structure with product documentation, mission, tech-stack, roadmap, and decision records. Enables AI-native workflows.

OrcaFlex Specialist Skill

5
from vamseeachanta/workspace-hub

```yaml

repo-ecosystem-hygiene

5
from vamseeachanta/workspace-hub

Interpret the daily read-only repo ecosystem hygiene audit and route remediation through approved workflows.

domain-knowledge-sweep

5
from vamseeachanta/workspace-hub

Systematic multi-source research of an engineering domain. Spawns parent issue → 6 research subissues (Standards, Academic, Industry, LinkedIn-marketing, Code-audit, Synthesis) → gap implementation subissues. Replaces LinkedIn-only extraction with defensible comprehensive sourcing.

subagent-write-verification

5
from vamseeachanta/workspace-hub

Independently verify subagent-claimed file writes with filesystem and git checks before treating the artifact as real, before committing it, and before referencing the path in downstream prompts.

git-operation-serialization-preflight

5
from vamseeachanta/workspace-hub

Before any commit, stash, merge, reset, rebase, or checkout in a multi-agent or shared-checkout environment, run a bounded preflight to detect active git writers and stale index/config locks, then serialize the mutating step under a single-writer guarantee.

public-knowledge-graph-governance

5
from vamseeachanta/workspace-hub

Maintain public-safe knowledge graph artifacts for llm-wiki and similar markdown knowledge bases. Use when changing graph generators, validators, schema docs, weekly freshness checks, or public/private source-scope boundaries.