agentleFS
www-donghanhcungban-orgwww-donghanhcungban-org/X-Templates/.agents/skills/adr/SKILL.md

adr

Skill16 starsChanged 7 days agoMITView on GitHub

Tạo bản ghi quyết định kiến trúc (ADR) mới từ mẫu của khung, đánh số tăng dần, không sửa ADR cũ (đổi ý → ADR mới + đổi dòng trạng thái của ADR cũ). Dùng khi chốt quyết định kiến trúc/công nghệ lớn hoặc gõ /adr.

105 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fdr, adr-review and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • thiagofgfSkill

    fdr

    Use when creating, changing, reviewing, retiring, auditing, or backfilling implemented user-visible feature behavior, permissions, feature-specific rationale, tradeoffs, or relationships to architectural decisions.

    Also in 3 projects that use this

  • zgagnonSkill

    adr-review

    Use when reviewing code for Architecture Decision Record (ADR) compliance during refactoring or code review - checks code against all project ADRs and reports violations with specific fixes

    Also in 3 projects that use this

  • AnthropicSkill

    runbook

    Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.

    Also in 5 projects that use this

  • montymiSkill

    tech-spec

    Parse and review Technical Specification documents for completeness, consistency, and implementation readiness

    Also in 4 projects that use this

  • dedeneSkill

    untangle-codebase

    Audit or refactor a codebase or subsystem to reduce hidden coupling, scattered business rules, and unnecessary abstractions while preserving behavior and framework conventions. Use when asked to untangle, de-spaghetti, or reduce coupling in a codebase; when code is tangled or hard to change, tech debt has piled up, or one change needs edits in many places; or for an architecture cleanup or broad structural refactor. Not for incidental cleanup during an unrelated feature or a defect-only diff review.

    Also in 3 projects that use this

  • drewdrewthisSkill

    sweep

    Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.

    Also in 4 projects that use this

The file

Files
SKILL.md

/adr — một quyết định, một bản ghi

<FW> = .xtemplates/framework trong dự án đích, hoặc framework trong repo khung.

  1. Mẫu: <FW>/templates/ADR.md. Thư mục dự án: docs/adr/NNNN-<slug>.md (4 chữ số, tăng dần; ls docs/adr để lấy số kế).
  2. Viết đủ theo mẫu MADR của khung (ARC-ADR-003): Bối cảnh (vấn đề + ràng buộc + bằng chứng đã nghiên cứu, có ngày) · Yếu tố quyết định (3–5 điều đo được, vd chạy offline, license OSI) · Phương án đã xét (≥ 2, ưu/nhược, chi phí; luôn có "giữ nguyên hiện trạng") · Quyết định (một câu, gắn với yếu tố quyết định) · Hệ quả (tốt/xấu/nợ) · Xác nhận (cái gì bảo vệ quyết định: luật phụ thuộc, test, hook, mục blueprint; chưa có thì ghi "chưa có hàng rào — nợ", ARC-ADR-010) · Điều kiện đọc lại (sự kiện đo được khiến phải xem lại: tenant thứ hai, phiên bản EOL, vượt một máy) · Status (Proposed/Accepted/Superseded by NNNN/Deprecated) · Implementation status (chưa/đang/đã — do code chứng minh, kèm PR).
  3. Quyết định dính phiên bản/chuẩn/luật → /research trước, ghi nguồn + ngày (ARC-ADR-006; không xác minh được → "(chưa xác minh)"). Quyết định về hiệu năng/chi phí → có số đo hoặc PoC, không chọn theo cảm giác.
  4. Không sửa nội dung ADR đã Accepted. Đổi ý → ADR mới, ADR cũ chỉ đổi Status: Superseded by NNNN.
  5. Liên kết ADR từ PR/PLAN/PROGRESS ("Quyết định quan trọng"). Commit docs(adr): NNNN <tiêu đề> (hook chạy cổng commit).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.