SkillsGrove
SkillsGrove/Documentos de escritório/karansinghverma979/antigravity-custom-skills/office-forge

office-forge

Instalação

$npx skills add https://github.com/karansinghverma979/antigravity-custom-skills --skill office-forge
$git clone --depth 1 https://github.com/karansinghverma979/antigravity-custom-skills.git /tmp/antigravity-custom-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-custom-skills/office-forge ~/.claude/skills/office-forge
Por favor, instale esta Agent Skill para mim: https://github.com/karansinghverma979/antigravity-custom-skills/tree/cff60e6659baecfd782f2a2a0cb8f68314869c31/office-forge. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITHeadless document and spreadsheet generation architect (.xlsx, .pptx, .docx). Use whenever generating Excel spreadsheets with formulas and formatting, building 16:9 PowerPoint presentation decks, or producing local office files via openpyxl/python-pptx without requiring live Microsoft Office add-ins.
O SKILL.md abaixo é reproduzido de karansinghverma979/antigravity-custom-skills (commit cff60e6) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2026 Karan Singh Verma. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

📄 Office Forge: Headless Document & Spreadsheet Generator

Use this skill when generating standalone Excel workbooks (.xlsx), PowerPoint decks (.pptx), or Word documents (.docx) directly on disk via Python.


🏛️ Document Standards & Specifications

To ensure high-fidelity outputs without live Office applications:


🔄 Headless Generation Workflow

Step 1: Scaffolding Generation Script

Generate a starter Python builder for the desired format:

# For Excel (.xlsx):
python ~/.gemini/antigravity-cli/skills/office-forge/scripts/generate_office.py xlsx build_sheet.py

# For PowerPoint (.pptx):
python ~/.gemini/antigravity-cli/skills/office-forge/scripts/generate_office.py pptx build_deck.py

Step 2: Implement Logic & Formulas

  • For .xlsx: Ensure calculation cells use uppercase formulas (=SUM(B2:B10)), inputs are styled in blue text, and headers have high-contrast background fills.
  • For .pptx: Ensure widescreen 16:9 (13.333in x 7.5in) dimensions, one clear title per slide, and readable typography (>=14pt).

Step 3: Execute & Output Verification

Run the generator script locally to produce the binary file on disk:

python build_sheet.py

Verify the output file exists and has non-zero size.

Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2026 Karan Singh Verma

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.