Back to list
yatarousan0227

agent-contracts-contracts-ci

by yatarousan0227

Contract-driven architecture for building LangGraph agents with declarative node definitions, automatic graph construction, and hybrid rule/LLM-based routing.

6🍴 0📅 Jan 20, 2026

SKILL.md


name: agent-contracts-contracts-ci description: Make contract-driven agents safe to change with strict validation, architecture docs, and contract diffs in CI. metadata: short-description: Contracts in CI

agent-contracts Contracts in CI

Use this skill when you want a stable workflow for changing agents safely (team + CI).

Goals

  • Catch contract mistakes early (strict=True)
  • Keep architecture up to date (visualize)
  • Review breaking contract changes (diff)
  1. Run tests: pytest
  2. Validate contracts (strict): agent-contracts validate --strict --module <your.nodes>
  3. Generate docs (optional): agent-contracts visualize --module <your.nodes> --output ARCHITECTURE.md
  4. Review breaking changes:
    • Use agent-contracts diff between two versions/modules
    • If breaking changes are expected, document them in release notes

How to Use diff Practically

Pick one pattern:

  • Versioned module: keep myapp/agents/v1.py and myapp/agents/v2.py as sources for --from-module/--to-module
  • Repo tags: run agent-contracts diff in two checkouts (CI jobs) and compare outputs

Guardrails

  • Treat state as loggable; avoid secrets in slices.
  • Prefer adding new slices/fields over mutating existing meanings.

References (load only when needed)

  • docs/cli.md
  • docs/roadmap.md
  • docs/skills/official/agent-contracts-contracts-ci/references/checklist.md

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon