trkbt10/indexion-agent-orient

コードエージェントが実装前に、コードの所有者、影響範囲、および安全でない編集箇所を学習するための事前編集構造ブリーフを生成して使用します。

indexion-agent-orient とは?

このスキルは、コードエージェントが編集を実装する前に、コードベースの構造に関する事前知識を得るための「構造ブリーフ」を生成・活用します。主にClaude Code、Cursor、CodexなどのAIエージェント向けに設計されており、コードの所有者(担当者)、影響を受けるコンシューマーサーフェス(API、UI、ワークフローなど)、および安全でない編集箇所(危険なリファクタリング箇所や共有リソース)を特定します。これにより、エージェントは文脈を理解した上で変更を加えることができ、誤った編集や予期しない副作用を防止できます。スキルはMarkdown形式のブリーフを生成し、エージェントのシステムプロンプトに組み込むか、会話の冒頭で参照することで、一貫性と安全性の高いコード生成を実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/trkbt10/indexion-skills/tree/main/skills/indexion-agent-orient

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

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

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

ドキュメント

indexion-agent-orient は何をしますか?

コードエージェントが実装前に、コードの所有者、影響範囲、および安全でない編集箇所を学習するための事前編集構造ブリーフを生成して使用します。

概要

このスキルは、AIコードエージェントがコードベースの構造を事前に理解するための「構造ブリーフ」(Structure Brief)を生成します。これにより、エージェントは以下の情報を把握した上で編集を行えます:

  • コード所有者: 各ファイルやモジュールの責任者またはチーム
  • コンシューマーサーフェス: 変更が影響を与える可能性のあるAPI、UI、ワークフロー
  • 安全でない編集箇所: 危険なリファクタリング箇所、共有リソース、依存関係のクリティカルパス

使用方法

  1. 構造ブリーフを生成するには、以下のコマンドを実行します:

    orient generate ./path/to/project
    
  2. 生成されたブリーフは structure-brief.md として保存されます。

  3. ブリーフをエージェントのコンテキストに含めるには:

    @structure-brief.md
    

サポートされるプラットフォーム

  • Claude Code
  • Cursor
  • Codex (GitHub Copilot)
  • その他のAIエージェント(カスタムプロンプトで対応可能)

動作の仕組み

構造ブリーフは、プロジェクトのファイル構造、インポートパス、コメント、ドキュメントを解析して自動的に生成されます。解析結果をもとに、各ファイルの役割と所有権、外部への影響範囲、および編集時に注意すべき危険領域を特定します。エージェントはこのブリーフを事前に読み込むことで、より安全で文脈に適したコード変更を行うことができます。

注意事項

  • 構造ブリーフは静的なスナップショットであり、プロジェクトの変更に応じて定期的に再生成する必要があります。
  • すべてのコードベースで正確に機能するとは限らないため、必要に応じて手動で調整してください。
  • ブリーフ内の情報は参考として使用し、エージェントの判断を完全に置き換えるものではありません。

Individual skills in this repo

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

trkbt10/indexion-documentation

Documentation analysis — assess coverage, detect code-to-doc drift with plan reconcile, visualize dependencies with doc graph. Answers "what needs docs?" and "are docs still accurate?"

trkbt10/indexion-identity

Detect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.

trkbt10/indexion-kgf

Debug and inspect KGF specs — view tokenization results, parse trees, and extracted edges from source files. Use when adding/fixing language support or when indexion's analysis output looks wrong.

trkbt10/indexion-readme

README construction — initialize template structure, generate per-package READMEs from doc comments, plan writing tasks, assemble root README from docs/ and package READMEs via doc.json config, and verify edits with `plan drift`.

trkbt10/indexion-refactor

After writing code, detect and clean up duplication at three levels — copy-paste blocks, cross-package shared code, unnecessary wrappers, and concept-level SoT violations. Detect with indexion, fix, and verify.

trkbt10/indexion-sdd

Generate SDD requirements from RFCs/specs and quantitatively verify implementation conformance. spec draft → spec align → spec verify → automated validation loop with codex/claude. Operate spec-to-impl drift gates as CI checks.

trkbt10/indexion-segment

Split text into contextual chunks for RAG/embedding pipelines. Document segmentation and section extraction using window, tfidf, punctuation, or hybrid strategies chosen by intent.

trkbt10/indexion-wiki

Project wiki lifecycle — create pages, track source changes with ingest, update stale pages, lint structural integrity, detect code-to-doc drift with reconcile, and manage search indexes. A runbook for navigating and maintaining the wiki as an agent.

関連スキル