Communitygithub.com

Rylai DOCX

python-docx を用いて Word DOCX ファイルの作成、検査、編集、検証を行います。Markdown 変換、テキスト置換、メタデータ検査、オプションで PDF レンダリングをサポートします。

Rylai DOCX とは?

Rylai DOCX は、Rylai Codex-Hermes-Claude ワークフロー用のスキルで、python-docx パッケージを利用して Word DOCX ファイルを操作します。Markdown からスタイル付き DOCX への変換、既存文書の構造・メタデータの検査、テンプレート変数の置換によるテキスト編集、LibreOffice を使用した PDF レンダリングが可能です。CLI ツール `scripts/docx_tool.py` を介してすべての操作を実行し、元のファイルを上書きせず新しい出力パスに保存するため安全です。品質ルールとして、既存文書の視覚的慣習を尊重し、実用的な見出しスタイルと読みやすい表を維持し、`inspect` コマンドでメタデータや段落数などを検証します。LibreOffice が利用できない場合でも、テキストベースの検証は可能です。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/HEAD/skills/docx

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

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

ドキュメント

Rylai DOCX は何をしますか?

これはオリジナルの Rylai Codex-Hermes-Claude ワークフローです。ドキュメント作業にはオープンソースの python-docx パッケージを使用し、ローカルレンダリングが有用な場合にのみ LibreOffice を使用します。

ランタイム

  • バンドルスクリプトに必要なもの: Python 3 と python-docx。
  • オプション: PDF レンダリング用の LibreOffice (soffice)。
  • scripts/docx_tool.py はこのスキルフォルダからの相対パスで解決します。
  • ユーザーがインストールを許可しない限り、パッケージをインストールしないでください。
  • 新しい文書または変更した文書の作成者メタデータは、ユーザーが明示的に別の作成者を要求しない限り Rylai に設定します。

ワークフロー

  1. ソースファイルを検査し、要求された文書構造を特定します。
  2. 最終的な文書本文には指示を含めないでください。
  3. ユーザーのソースを上書きせずに、新しい出力パスを作成します。
  4. 保存した DOCX を再度開いて、読み取り可能であることを確認します。
  5. レイアウトが重要な作業では、LibreOffice で PDF にレンダリングし、結果を検査します。

バンドル CLI

シンプルな Markdown からスタイル付き DOCX を作成:

python scripts/docx_tool.py create input.md output.docx --title "報告書"

サポートされる Markdown には、見出し、段落、箇条書き、番号付きリスト、引用、シンプルな強調、インラインコード、およびパイプテーブルが含まれます。

構造とメタデータを検査:

python scripts/docx_tool.py inspect output.docx
python scripts/docx_tool.py inspect output.docx --text

ソースを変更せずにテキストを置換:

python scripts/docx_tool.py replace input.docx output.docx \
  --set "{{client}}=Rylai Studio" \
  --set "{{date}}=2026-08-09"

LibreOffice が利用可能な場合に PDF にレンダリング:

python scripts/docx_tool.py render output.docx rendered

品質ルール

  • ユーザーが再設計を要求しない限り、既存の文書の視覚的な慣習を保持します。
  • 視覚的に拡大された本文段落ではなく、実際の見出しスタイルを使用します。
  • 表を読みやすく保ち、1ページに多くの列を詰め込みすぎないようにします。
  • inspect コマンドを使用して、メタデータ、段落数、表数、抽出テキストを確認します。
  • LibreOffice が利用できない場合は、視覚的検証がスキップされたことを報告します。

Individual skills in this repo

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

Rylaispirit/rylai-codex-hermes-skills

Plan, build, render, and verify academic presentation decks with citations, accessible visuals, clear argument flow, speaker-ready pacing, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Create publication-quality chart images from supplied data using an available plotting library, with explicit scales, labels, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, and review persuasive copy for landing pages, product pages, ads, email, headlines, offers, calls to action, positioning, and message variants.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, revise, and audit creative or long-form writing with a portable core workflow that does not depend on missing legacy templates.

Rylaispirit/rylai-codex-hermes-skills

Create or optimize marketing images, social graphics, product mockups, banners, cover art, listing visuals, brand assets, image prompts, WebP files, and OG images.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, extract, merge, split, rotate, and render PDF files with local open-source tools, including structural and visual verification.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, extract, edit, render, and verify PowerPoint presentations with python-pptx and optional LibreOffice.

Rylaispirit/rylai-codex-hermes-skills

Create editable PowerPoint decks from a local JSON specification using Rylai's visual system, python-pptx, deterministic slide types, and optional rendering.

Rylaispirit/rylai-codex-hermes-skills

Perform an evidence-led SEO audit using accessible pages, source code, crawl data, and current search documentation without assuming missing plugins.

Rylaispirit/rylai-codex-hermes-skills

Extract a practical design system from screenshots or mockups and produce implementation-ready UI specifications using vision and repository context.

Rylaispirit/rylai-codex-hermes-skills

Plan and produce video with available AI tools or programmatic frameworks. Use for video prompts, avatars, explainers, demos, templates, pipelines, and generation.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, edit, and verify Excel XLSX workbooks with openpyxl, including CSV import, formulas, styling, error checks, and optional LibreOffice rendering.

関連スキル