← LÖVE · projekttervezési csomag adatlapja
Nézd meg, miben segít
Architektúra és döntési feljegyzések
Leírja a játékállapotok felelősét és a fontos architekturális döntések okát. Megőrzi az alternatívákat és kompromisszumokat, hogy az új fejlesztők a megoldást és korlátait is értsék.
documentation-and-adrs
Ezt a skillt használó ügynökök
Mikor hasznos?
Akkor használd, ha tudni kell, hová tartozik egy működés vagy miért született egy döntés.
Miben segít neked?
- Tényleges fájlokhoz köti a folyamatokat, modulokat és adatáramlást.
- Rögzíti az állapottulajdonost és sérthetetlen működési szabályokat.
- Leírja az alternatívákat, kompromisszumokat és döntési állapotot.
Például ezt kérheted
Dokumentáld, miért a szerver kezeli a kooperatív játék leltárát a kliensek helyett. Kapcsold a tárgyak létrehozását, átadását és betöltését valódi modulokhoz. Rögzítsd az elvetett alternatívát, a megszakadás viselkedését és a tesztbizonyítékot; jelöld, elfogadott döntésről vagy javaslatról van-e szó.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Architecture & Decision Records
Explain the system's structure, data flow and invariants so a developer knows where new behavior belongs, which boundaries must hold, and why significant technical decisions were made.
1. Architecture overviews that trace real boundaries
- System map: name the runtime processes, packages or services (
server,ui,workers,database, external providers) and state the single responsibility of each. - Data and control flow: walk through the main end-to-end flows (such as an incoming HTTP request, a background job lifecycle or a real-time event stream) from entry point to storage and back.
- State and ownership: state where each kind of state lives (database tables, in-memory caches, URL/client state, filesystem artifacts) and which module is allowed to mutate it.
- Invariants and constraints: highlight the rules that must never be violated (security invariants, transaction boundaries, tenant isolation, idempotency, ordering guarantees).
- Ground every diagram or module list in actual directory paths and entry files; never draw boxes for layers that do not exist in the repository.
2. Architecture Decision Records (ADRs)
Record an ADR whenever a choice has lasting consequences across modules, data models, dependencies, security or operations. Each ADR must state:
- Title and status:
Proposed,Accepted,Superseded by ADR-NNNorDeprecated, with the date or change context. - Context and problem: the technical, product and operational forces at play, stated neutrally without pre-judging the answer.
- Alternatives considered: the realistic options evaluated (including doing nothing or extending an existing pattern) and their trade-offs.
- Decision: the chosen approach and the concrete reason it won over the alternatives.
- Consequences: what becomes easier, what becomes harder, what risks or limits remain, and how the decision is enforced or verified.
3. Keep architecture docs alive
- When a new ADR supersedes an earlier decision, keep the old ADR for historical context, mark its status as
Superseded by ..., and update the active architecture overview to reflect current reality. - Never present an unaccepted proposal or future target architecture as the system that runs today.
Before you finish
- Every module, package and boundary named in the overview points to real paths in the repo.
- End-to-end data flow and state ownership are clear.
- Each ADR records status, context, alternatives considered, decision and consequences.
- Accepted decisions, open proposals and superseded historical records are clearly distinguished.
Csomagban lévő fájlok 2
LICENSE.txtSKILL.md
