🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

OpenClaw ADR

by @michealxie001

Architecture Decision Records (ADR) management. Creates, updates, and tracks architectural decisions with templates and linting.

Versionv1.0.0
💡 Examples

创建新决策

$ python3 scripts/main.py create "迁移到微服务架构"

✅ Created: docs/adr/0004-migrate-to-microservices.md

Next steps: 1. Edit the file to add context 2. Run: python3 scripts/main.py lint

查看决策列表

$ python3 scripts/main.py list

📋 Architecture Decision Records ================================

Accepted: [0002] 采用 PostgreSQL 作为主数据库 [0003] 实现 API 网关

Proposed: [0004] 迁移到微服务架构

Superseded: [0001] 使用本地缓存 → 被 0002 替代

检查格式

$ python3 scripts/main.py lint

🔍 ADR Lint Results ===================

✅ 0001-use-redis-for-caching.md ✅ 0002-adopt-postgresql.md ⚠️ 0003-microservices.md - Missing 'Decision Drivers' section - No date in header


⚙️ Configuration

.adr.json:

{
  "adr_dir": "docs/adr",
  "template": "madr",
  "default_status": "proposed",
  "required_sections": [
    "Context",
    "Decision",
    "Consequences"
  ]
}


View on ClawHub
TERMINAL
clawhub install openclaw-adr

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →