agentleFS
TienDat-VnaTienDat-Vna/BackSpec/.agents/skills/system-dna-manager/SKILL.md

system-dna-manager

Skill1 starsChanged 46 days agoMITView on GitHub

Quản lý cấu hình DNA và bộ não hệ thống (CONSTITUTION.md, CLAUDE.md, AGENTS.md, Core-Shell Map, Decision Matrix, Role Matrix) theo chuẩn kiến trúc Microservice.

The file

Files
SKILL.md
<!-- GENERATED FROM registry/skills/system-dna-manager/SKILL.md — DO NOT EDIT DIRECTLY --><!-- GENERATED FROM .shared/skills/01-spec-management/system-dna-manager/SKILL.md — DO NOT EDIT DIRECTLY -->

Skill — System DNA & Brain Manager (Backend Microservice)

Skill này chịu trách nhiệm quản lý, đồng bộ và bảo vệ DNA và Bộ Não Cốt Lõi của hệ thống Backend Microservice.

🧠 1. BỘ NÃO CỐT LÕI (SYSTEM BRAIN ARCHITECTURE)

Hệ thống được vận hành bởi Kiềng 3 Chân Quản Trị:

                       ┌─────────────────────────┐
                       │     CONSTITUTION.md     │
                       │ (Hiến pháp, Ngưỡng Test)│
                       └────────────┬────────────┘
                                    │
                    ┌───────────────┴───────────────┐
                    ▼                               ▼
         ┌─────────────────────┐         ┌─────────────────────┐
         │      CLAUDE.md      │         │      AGENTS.md      │
         │ (Bộ nhớ Claude Code)│         │ (Multi-Engine Rules)│
         └─────────────────────┘         └─────────────────────┘
  1. CONSTITUTION.md: Bản Hiến Pháp tối thượng, quy định stack công nghệ, ranh giới zero-trust, ranh giới database per service, ngưỡng test coverage (>= 80%), giới hạn kích thước file/method/PR.
  2. CLAUDE.md: Bộ nhớ ngữ cảnh dành cho Claude Code: ADRs, layer kiến trúc, anti-patterns.
  3. AGENTS.md: Hướng dẫn cho tất cả AI Coding Agents (Antigravity, Gemini, Open-Agent), chứa các quy tắc domain và 15 điều cấm kỵ.

🧬 2. QUẢN LÝ SPEC & PHÂN LOẠI MODULE

  1. Tra cứu Bounded Context:
    • Tham khảo .sdd/core-shell-map.md để phân loại:
      • CORE: Logic nghiệp vụ cốt lõi, Saga, Outbox, Auth, DDL migration -> Yêu cầu Full Spec.
      • SHELL: CRUD đơn giản, Adapter ngoài, Read-only Query -> Light Spec.
  2. Ma trận Quyết định (Decision Matrix):
    • Tham khảo .sdd/decision-matrix.md trước khi khởi tạo bất kỳ spec hoặc module mới.
  3. Quản lý Spec Directory (.sdd/specs/):
    • Mọi tính năng phải có thư mục .sdd/specs/feat-{{feature}}/ chứa SPEC.md, PLAN.md, TASKS.md, CHANGELOG.md.
    • Cập nhật chỉ mục trung tâm tại .sdd/specs/_INDEX.md.

🛡️ 3. QUY TẮC BẢO VỆ DNA

  • Mọi thay đổi trong CONSTITUTION.md, CLAUDE.md, AGENTS.md phải được sự chấp thuận của Tech Lead / Human Architect (xem skill human-authority-override).
  • Tuyệt đối không để xảy ra phân mảnh cấu hình giữa các môi trường hoặc giữa các AI Engine.

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.