Communityコーディング&開発github.com

claude-office-skills/xlsx-manipulation

openpyxl を使用して Excel スプレッドシートをプログラムで作成、編集、操作します。

xlsx-manipulation とは?

このスキルは、Claude Code などの AI エージェントが Python の openpyxl ライブラリを使用して、Excel (.xlsx) ファイルをプログラムで作成、編集、操作できるようにします。主な機能は、ワークブックとワークシートの作成・削除・読み込み、セル値の読み書き、数式の設定、セルの書式設定(フォント、色、配置)、行や列の挿入・削除、グラフの追加、条件付き書式設定、データの並べ替えやフィルター処理などです。このスキルを利用することで、AI エージェントは手動での Excel 操作を必要とせずに、複雑なデータ処理やレポート生成を自動化できます。主に Claude Code や Codex などのコマンドラインインターフェースを備えた AI エージェントを対象としており、Python 環境が整っていればすぐに使用できます。openpyxl の豊富な機能を活用し、ファイルの保存や既存ファイルの読み込みにも対応しているため、データの入出力から変換、整形までをシームレスに実行できます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/xlsx-manipulation

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

xlsx-manipulation は何をしますか?

openpyxl を使用して Excel スプレッドシートをプログラムで作成、編集、操作します。

概要

このスキルは、AI エージェントが Python の openpyxl ライブラリを使用して、Excel ファイル(.xlsx)を操作するための機能を提供します。ワークブックの作成、シートの追加・削除、セルの値の読み書き、書式設定、グラフの作成など、一般的な Excel 操作をプログラム的に実行できます。

使用例

from openpyxl import Workbook

# 新しいワークブックを作成
wb = Workbook()
ws = wb.active
ws.title = "データ"

# セルに値を設定
ws['A1'] = '名前'
ws['B1'] = '年齢'
ws['A2'] = '山田太郎'
ws['B2'] = 30

# ファイルに保存
wb.save('example.xlsx')

主な機能

  • ワークブック操作: 新規作成、既存ファイルの読み込み、保存
  • シート操作: 追加、削除、名前変更、コピー
  • セル操作: 値の読み書き、数式の設定、結合セルの操作
  • 書式設定: フォント、色、罫線、配置、数値書式
  • グラフ作成: 棒グラフ、折れ線グラフ、円グラフなど
  • 条件付き書式: セルの条件に基づく書式設定
  • データ処理: 並べ替え、フィルター、ピボットテーブル

環境要件

  • Python 3.6 以上
  • openpyxl ライブラリ(pip install openpyxl)

注意事項

  • このスキルは .xlsx 形式のみをサポートします(.xls は非対応)
  • 大量のデータを扱う場合はメモリ使用量に注意してください
  • 画像やマクロ(VBA)の操作はサポートしていません

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

関連スキル