Skip to content

Provide Agent Skills for using texrun from AI agents #63

Closed

Description

@nishide-dev

背景

texrun は AI エージェントから TeX 文書を安全に compile / inspect することを主な用途としている。エージェントが texrun を適切に使えるよう、Agent Skills(https://platform.claude.com/docs/ja/agents-and-tools/agent-skills/overview)をリポジトリの skills/ に用意し、利用者がインストールして使えるようにする。

スコープ

  • skills/ 配下に texrun 用の Agent Skill(SKILL.md と必要な参照ファイル)を作る
    • いつ使うか(LaTeX 文書の compile、エラー修正、レイアウト確認)が description から判断できること
    • texrun compile --json の結果(error → outcome、diagnostics の file:line、artifacts、preview.pages)を読み、修正→再 compile するループの手順
    • preview 画像を確認してレイアウトを検証する手順
    • 信頼できない文書には --backend container を使うなどの安全な使い方、exit code の扱い
    • texrun / engine image が無い場合の導入手順への案内
  • 利用者向けのインストール方法(Claude Code、Claude.ai、Claude API などの対応範囲を決める)を README と docs に記載する
  • skill の内容が CLI の実装と食い違わないようにする仕組み(例: CI で skill 内のコマンド例やフィールド名を検証)を検討する

完了条件

  • 利用者が手順に従って skill をインストールし、エージェントが texrun で文書を compile・修正・preview 確認できる
  • skill の記述が現在の CLI(--help、docs/cli.md)と一致している

Activity

  1. added
    documentation
    enhancement
    on Oct 6, 2026
  2. added a commit that references this issue on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions