MA

minghinmatthewlam/agent-guards

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

46 stars 品質 67 トレンド 20MIT

AIコーディングエージェントのガードレール、スキル、ブートストラップスクリプトの共有

概要

Codex と Claude を渡る深刻なエージェントワークフローを実行するためのガードレール、スキル、ブートストラップスクリプトを共有しました。 このリポジトリは真理のソースです: - 共有コマンド/プロンプト - 繰り返しワークフローのオンデマンドスキル - 繰り返しブートストラップと同期スクリプト - docs/agent-philosophy でオピニオンエージェントのオペレーティングシステム。 マッド エージェントのセットアップは、グローバルなプロンプト、スキル、リポジトリのドキュメントに同じルールが表示されるときに膨大化されます。 このリポジトリは、コードを最初に読み、実際の検証パスを定義して実行します。 - 正しいリポジトリは最も簡単なパスをパスします。 - 重要な間違いが再発することを防ぎます。 - 重要な結果と証拠を明確に報告します。 その分裂が共鳴すると、 AGENTS.md と docs/agent-philosophy.md から始まる。 - エージェント.

概要(AI 翻訳)

Codex と Claude を渡る深刻なエージェントワークフローを実行するためのガードレール、スキル、ブートストラップスクリプトを共有しました。

このリポジトリは真実のソースです。

  • 1つのグローバル [AGENTS.md]] 両方のツールに同期
  • 共有コマンド/プロンプト
  • 繰り返しワークフローのためのオンデマンドスキル
  • ブートストラップを再確認し、スクリプトを同期
  • [docs/agent-philosophy.mdのオピニオンエージェント動作モデル

なぜこの例

エージェントのセットアップは、グローバルなプロンプト、スキル、リポジトリのドキュメントに同じルールが表示されるときに膨大化されます。

このリポジトリは、単純な動作モデルを1つ保持します。

  • 最初にコードを読みます。
  • 実際の検証パスを定義して実行します。
  • 正しいリポジトリは最も簡単なパスを渡します。
  • 再発から重要な間違いを防ぐ。
  • 重要な結果を報告し、明確に証明して下さい。

もしその分が共鳴すると、AGENTS.mdと[docs/agent-philosophy.mdで始まる。

取得する

  • [[AGENTS.md:CodexとClaudeの両方にリンクされた1つのグローバルガードレールファイル
  • [skills/:検証、リポジトリのセットアップ、再発防止、レビュー、および専門的な作業のための再利用可能なワークフロー
  • [commands/:エコシステムの両方で動作する共有プロンプトファイル
  • [hooks/: クロード・コードとコーデックスのポト・レマインダー・ホック
  • `scripts/sync.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

agent-guards

Shared guardrails, skills, and bootstrap scripts for running serious agent workflows across Codex and Claude.

This repo is the source of truth for:

  • one global AGENTS.md synced to both tools
  • shared commands/prompts
  • on-demand skills for repeated workflows
  • repo bootstrap and sync scripts
  • an opinionated agent operating model in docs/agent-philosophy.md

Why This Exists

Agent setups get bloated when the same rules appear in global prompts, skills, and repository documentation.

This repo keeps one simple operating model:

  • read the code first;
  • define and run a real verification path;
  • make the correct repository path the easiest path;
  • prevent important mistakes from recurring;
  • report the important result and proof clearly.

If that framing resonates, start with AGENTS.md and docs/agent-philosophy.md.

What You Get

  • AGENTS.md: one global guardrail file, symlinked to both Codex and Claude
  • skills/: reusable workflows for verification, repository setup, recurrence prevention, review, and specialized work
  • commands/: shared prompt files that work in both ecosystems
  • hooks/: the poteto-reminder hook for Claude Code and Codex
  • scripts/sync.sh: syncs guardrails, commands, and skills into the right user-level locations
  • scripts/new-repo.sh: bootstraps a fresh git repo with optional repo-local AGENTS.md / CLAUDE.md
  • templates/: repo bootstrap files plus reusable loop contracts for recurring automations

Notable Skills

Core workflow skills:

Skill What it does
create-verification-skill Builds and proves a repo-local guide for running and checking the real product
maintain-verification-skill Checks that guide against current code and live behavior, then repairs drift
create-architecture-audit-skill Builds and proves a repo-local audit of what each crate or package owns, which way dependencies may point, and where the code breaks those rules
repo-setup Makes the intended architecture obvious and important violations fail mechanically
learn-from-mistake Diagnoses an agent failure, strengthens the owning system, and retries the task
concisely Keeps reports concise while surfacing important outcomes, evidence, and project learning
teach Wraps pstack teach for code: a system map, then interfaces, schemas, and signature chains, with visuals in an HTML page
architect Designs changes through explicit code ownership, dependency boundaries, data models, and caller interfaces
review-loop Runs an independent review loop on non-trivial changes before merging until no high-priority findings remain

Task-specific skills:

Skill What it does
skills-audit Audits a repo’s skills against practical quality checks
find-bugs Finds high-confidence correctness bugs and edge cases in existing code
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add minghinmatthewlam/agent-guards
MCP 初心者?mcpskill.org のガイドから始めましょう →