Architecture Patterns
wshobson/agents
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
Architectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations.
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install FutureTense/keymaster coordinator-lifecycle --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .claude/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .claude/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycleType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install FutureTense/keymaster coordinator-lifecycle --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .agents/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .agents/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install FutureTense/keymaster coordinator-lifecycle --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .cursor/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .cursor/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/FutureTense/keymaster.git --path .agents/skills/coordinator-lifecycle--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install FutureTense/keymaster coordinator-lifecycle --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .gemini/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .gemini/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install FutureTense/keymaster coordinator-lifecycleInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .github/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .github/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install FutureTense/keymaster coordinator-lifecycle --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/coordinator-lifecycle .opencode/skills/coordinator-lifecycle && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "coordinator-lifecycle" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/coordinator-lifecycle into .opencode/skills/coordinator-lifecycle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "coordinator-lifecycle", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
coordinator-lifecycleArchitectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations.
Coordinator Lifecycle is an agent skill from FutureTense/keymaster. Architectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations.
Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Home Assistant integration for managing Z-Wave enabled locks. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b6a1ea8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Coordinator Lifecycle loads about 857 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 289 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from FutureTense/keymaster at commit b6a1ea8, republished under its MIT licence (© FutureTense). 289 words, ~857 tokens.
.claude/skills/coordinator-lifecycle/SKILL.md (or your agent's skills folder).This skill guides modifications to KeymasterCoordinator,
KeymasterLockCoordinator (custom_components/keymaster/coordinator.py),
entity platforms, and migration logic (migrate.py). For full design details,
refer to docs/keymaster-fanout-architecture.md.
Keymaster separates durable storage and refresh ownership from entity-facing runtime notifications to prevent event loop exhaustion on large installations:
| Component | Lifetime | Role | Target |
|---|---|---|---|
KeymasterCoordinator | Runtime | Owns locks, storage, refresh | Keepalive |
KeymasterLockCoordinator | Per lock | Mirrors one lock entry | Entities |
Entity Binding:
KeymasterLockCoordinator
(CoordinatorEntity[KeymasterLockCoordinator]), resolved via
manager.async_get_lock_coordinator(config_entry.entry_id).KeymasterCoordinator.Notification Dispatch:
async_schedule_keymaster_notifications(entry_ids, *, all_entry_ids=False).hass.loop.call_soon to coalesce updates and
prevent nested event-queue overflow.lock_coordinator.async_set_updated_data(lock).Parent-to-Child Sync:
async with self._parent_sync_transaction(): so multi-slot
child sync operations emit a single coalesced notification flush upon
outermost exit.Child Entity Platforms:
switch.py: Slot enable/disable, notifications, schedule toggles.text.py / number.py: PIN configuration, slot count, autolock parameters.datetime.py / time.py: Access schedule date and time limits.sensor.py / binary_sensor.py: Active PIN status, connection state, slot
status sensors.button.py: Manual sync/clear/reset triggers.event.py: Doorbell/unlock event logging.State Synchronization (Synced Enum):
custom_components/keymaster/const.py:Synced.ADDING ("Adding")Synced.DELETING ("Deleting")Synced.DISCONNECTED ("Disconnected")Synced.OUT_OF_SYNC ("Out of Sync")Synced.SYNCED ("Synced")Scheduling Notifications:
async_schedule_keymaster_notifications([entry_id]) rather than calling
entity callbacks or async_set_updated_data directly on the manager.Autolock Integration:
autolock/ logic interacts with lock state changes and door sensors.
Ensure timer cancellations and rescheduled locks are clean upon entity
removal or coordinator unload.Storage & Migrations:
Store(hass, STORAGE_VERSION, STORAGE_KEY).migrate.py handles schema migrations only when loading legacy storage
formats.© FutureTense, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/coordinator-lifecycle of FutureTense/keymaster.
Open the folder on GitHubat commit b6a1ea8
Coordinator Lifecycle next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Coordinator Lifecycle this skillFutureTense/keymaster | 349 | — | ~857 | Automated safety check: Pass | MIT | |
| Architecture Patternswshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Android Clean Architectureaffaan-m/ECC | 274k | 4 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Architecture Patternsdavila7/claude-code-templates | 32k | 4 repos | ~483 | Automated safety check: Pass | MIT | |
| Architecture Docs Writerprisma/orm | 48k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Architecture Decision Recordsaffaan-m/ECC | 274k | 4 repos | ~1.8k | Automated safety check: Pass | MIT |
wshobson/agents
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
affaan-m/ECC
Applies Clean Architecture to Android and Kotlin Multiplatform projects: module layout, dependency rules, UseCases, Repositories and data layer patterns.
davila7/claude-code-templates
Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.
prisma/orm
Guides writing and rewriting architecture subsystem docs, ADRs and reference pages so they make sense to a developer with no prior project context.
affaan-m/ECC
Capture architectural decisions as numbered ADR markdown files in docs/adr/ with context, alternatives considered, consequences, and an index README.
JanDeDobbeleer/oh-my-posh
Cross-language architecture and clean-code principles for this project: Clean Code, Object Calisthenics, SOLID, guard clauses, hot-path cost, and the code review checklist.
FutureTense/keymaster
Standards and commands for linting, code formatting, typing validation (Ruff, MyPy, Codespell, ESLint, Pre-commit/Prek, Tox), and adherence to Home Assistant Python 3.14 standards in Keymaster.
FutureTense/keymaster
Workflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools.
FutureTense/keymaster
Guide for developing, testing, and maintaining lock platform providers (e.g., zwavejs, zigbee2mqtt, zha, schlage, akuvox) implementing BaseLockProvider in Keymaster.
FutureTense/keymaster
Procedure and guidelines for verifying and maintaining 100% patch test coverage on all modified and added lines across Keymaster PRs and branches.
FutureTense/keymaster
Procedure for preparing and submitting pull requests in keymaster, enforcing the required PR template (.github/PULLREQUESTTEMPLATE.md), checklist validation, and quality gates.
FutureTense/keymaster
Workflows for developing, building, bundling, and testing the TypeScript / Lit Lovelace dashboard strategy in lovelacestrategy/.
Architectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations. Coordinator Lifecycle is an agent skill from FutureTense/keymaster. Architectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations.
Run `npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a claude-code`. Or copy the skill folder (.agents/skills/coordinator-lifecycle in FutureTense/keymaster) into .claude/skills/coordinator-lifecycle in your project. Claude Code loads it when a task matches its description.
Run `npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a codex`. Or copy the skill folder (.agents/skills/coordinator-lifecycle in FutureTense/keymaster) into .agents/skills/coordinator-lifecycle in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FutureTense/keymaster --skill coordinator-lifecycle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coordinator-lifecycle, .gemini/skills/coordinator-lifecycle, .github/skills/coordinator-lifecycle and .opencode/skills/coordinator-lifecycle in your project.
SKILL.md names no scripts, command-line tools or credentials: Coordinator Lifecycle is instructions for the agent only. Our summary lists: A credential in STORAGE_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Coordinator Lifecycle is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 857 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Coordinator Lifecycle: Architecture Patterns (wshobson/agents, 40k stars), Android Clean Architecture (affaan-m/ECC, 274k stars), Architecture Patterns (davila7/claude-code-templates, 32k stars) and Architecture Docs Writer (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
FutureTense (a GitHub user) maintains it in FutureTense/keymaster, which has 349 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 1, 2026.
Source: FutureTense/keymaster on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.