复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ruflo-6cbb8e7222cc ,按照其中的说明把「adr」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
$ARGUMENTS
Manage Architecture Decision Records. Parse $ARGUMENTS to determine the subcommand:
adr create <title> -- Create a new ADR with the next sequential number.
docs/adr/ for existing ADRs to determine the next numberdocs/adr/ADR-NNN-<slug>.md from the standard templatemcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store: key mem:ADR-NNN, tier semantic, and a JSON-encoded string valueadr list -- List all ADRs with their status.
Glob for docs/adr/ADR-*.mdRead each file's frontmatter/header to extract statusadr status <adr-id> <new-status> -- Update an ADR's status.
<adr-id> (e.g., ADR-042 or just 042)adr supersede <old-id> <new-id> -- Mark an ADR as superseded by another.
<old-id> status to "superseded by [ADR-]"<new-id>mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge from old to new with relation "supersedes"adr check -- Scan recent git changes for ADR violations.
git log --oneline -20 to get recent commitsgit diff HEAD~20..HEAD --name-only to get changed filesGrep those files for ADR references (ADR-\d+)adr graph -- Show ADR dependency graph.
mcp__plugin_ruflo-core_ruflo__agentdb_causal-query for all ADR relationshipsadr search <query> -- Semantic search across ADRs.
mcp__plugin_ruflo-core_ruflo__memory_search with the query in namespace adr-patternsGrep ADR files for keyword matches