ローカルAPIに認証情報付きのHTTPリクエストを送り、疎通確認からエンドポイント別の結果整理まで進めるQAスキルです。
- ローカルAPIの疎通を確認したいとき
- 認証付きエンドポイントを調べたいとき
- 多数のAPIテストを分担したいとき
コード変更が各階層のAGENTS.mdに反映されているかを確認し、差分に応じた更新内容の作成と同期状態の管理を支援します。
Sync AGENTS.md context files with the current codebase. Use whenever you want to check if context is stale, update context after code changes, or regenerate a specific layer's AGENTS.md. Triggers on: 'sync context', 'update context', 'is context stale', 'refresh AGENTS.md', 'context out of date', 'update the context files', or any time code has changed and you want the AGENTS.md files to reflect it.
実行スコア 未検証
インストール方法を見るリポジトリ内の各階層にあるAGENTS.mdが、現在のコードと同期しているか確認する手順を案内します。.context/manifest.yamlに登録された同期済みGit SHAと、各ノードが担当するファイル範囲を照合し、担当範囲に変更がないノードはSHAを進めます。変更があるノードについては、現在のAGENTS.mdと対象差分をまとめた更新用の材料を出力します。LLMが必要な箇所だけを最小限更新した後、対象ファイル単位でマニフェストを進め、再確認する流れです。
コードを変更した後、エージェント向けのリポジトリ説明が古くなっていないか確かめたいときに使えます。特定の階層だけを更新したい場合や、追加・変更したファイルに合わせて「Key files」や設計上の注意点を見直したい場合にも役立ちます。
実行にはPython 3とpyyamlが必要です。同期スクリプトは.context/sync/sync.pyで、確認・同期材料の生成・更新後のSHA反映を別々の手順で行います。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Keeps all Plane-2 AGENTS.md files in sync with the codebase using git-SHA watermarks.
Run this any time after code changes to check for and fix stale context.
.context/manifest.yaml — the registry of all context nodes and their synced_sha.synced_sha..HEAD and intersects with that node's owns globs.AGENTS.md + scoped diff as a prompt bundle for the LLM to update minimally.synced_sha in the manifest.cd /path/to/flexprice # repo root
pip install pyyaml --break-system-packages -q
python3 .context/sync/sync.py --check
Exits 0 if all current. Exits 1 and lists stale nodes if any are behind HEAD.
python3 .context/sync/sync.py --sync
For each printed bundle, the LLM (this session) reads the bundle and produces an updated AGENTS.md.
Rules for the update:
.context/findings/<layer>.md.synced_sha to current HEAD and synced_at to now in frontmatter.After saving each updated file:
python3 .context/sync/sync.py --advance --file internal/service/AGENTS.md
# repeat for each updated file
python3 .context/sync/sync.py --check
# Should print: All context nodes are current.
python3 .context/sync/sync.py --sync --file internal/service/AGENTS.md
python3 .context/sync/sync.py --advance --file internal/service/AGENTS.md
When you create a new AGENTS.md for a directory, register it:
# .context/manifest.yaml — add a new node:
- file: internal/repository/AGENTS.md
owns:
- "internal/repository/**"
synced_sha: <current HEAD SHA from: git rev-parse HEAD>
synced_at: <ISO 8601 now>
.context/findings/.--sync and skip --advance — the manifest won't update and the node stays stale.You: sync context
Claude:
→ runs python3 .context/sync/sync.py --check
→ finds internal/service/AGENTS.md is stale (3 files changed)
→ runs --sync, reads the prompt bundle
→ produces updated internal/service/AGENTS.md (minimal changes only)
→ runs --advance --file internal/service/AGENTS.md
→ runs --check again → "All context nodes are current."
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
ローカルAPIに認証情報付きのHTTPリクエストを送り、疎通確認からエンドポイント別の結果整理まで進めるQAスキルです。
FlexPriceのディレクトリ構成や依存関係、主要な処理フローを資料に沿って把握し、変更の影響範囲や設計上の注意点を調べるスキルです。
Docker ComposeやMakefileを使ったFlexPriceの開発環境の起動・停止、Kafka UIの追加、サービスログの確認を案内します。
環境変数とDocker Composeを確認し、ローカル実行とRDSなどの共有サービスを組み合わせた開発環境の準備や起動方法を案内します。
GitHub CLIでプルリクエストやIssueを確認し、チェックの失敗ログを調べるほか、変更内容を整理してプルリクエストを作成します。
Goのコード整形、静的チェック、競合状態を調べるテスト、プロジェクトのテスト実行を順に進め、変更したコードの確認を支援します。