MotleyAI

Living Architecture — AI skill for Claude Code

AI community

Claude Code plugin + CLI that keeps coding agents from eroding your architecture: normative principles attached to a LikeC4 model, which is also the import law for Python and TypeScript, plus an OpenS.

How to install Living Architecture

This entry records only its repository, not the path inside it, so there is no exact command to give. Open MotleyAI/living-architecture and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Living Architecture does

Claude Code plugin + CLI that keeps coding agents from eroding your architecture: normative principles attached to a LikeC4 model, which is also the import law for Python and TypeScript, plus an OpenSpec-generating PR flow.

Alternatives in AI

  • Claude Code Sourcemap Learning Notebook — Reverse-engineering Claude Code's 512K+ lines of TypeScript — architecture, design decisions, and 11 transfera 160 ★
  • CLI Anything Zotero — CLI server for Zotero 7/8/9 — let AI manage your library 129 ★
  • Fallow Skills — Agent skills for fallow, codebase intelligence for TypeScript and JavaScript 116 ★

README

living-architecture

A Claude Code plugin + CLI for agents writing Python and TypeScript code

[![CI](https://github.com/MotleyAI/living-architecture/actions/workflows/ci.yml/badge.svg)](https://github.com/MotleyAI/living-architecture/actions/workflows/ci.yml) [![PyPI](https://img.shields.io/pypi/v/living-architecture)](https://pypi.org/project/living-architecture/) [![npm](https://img.shields.io/npm/v/living-architecture)](https://www.npmjs.com/package/living-architecture) [![Python](https://img.shields.io/pypi/pyversions/living-architecture)](https://pypi.org/project/living-architecture/) [![License: MIT](https://img.shields.io/github/license/MotleyAI/living-architecture)](https://github.com/MotleyAI/living-architecture/blob/main/LICENSE)

![living-architecture: a LikeC4 model allows api → core → store and rejects the api → store shortcut; the arc42 principles of core carry enforced, review and target status tags](https://raw.githubusercontent.com/MotleyAI/living-architecture/main/docs/images/living-architecture.png)

  • **Normative principles attached to a [LikeC4](https://likec4.dev) architecture model, which also serves as an import whitelist.**

  • **Enforced by a complete PR workflow that generates [OpenSpec](https://github.com/Fission-AI/OpenSpec) changes, whose archives double as ADRs.**

Introduction

Every PR an agent writes can be reasonable on its own while the codebase still drifts, one random decision at a time. Putting every rule for every component into CLAUDE.md bloats context to the point where they are all ignored anyway. Random agent decisions from one PR are treated as design patterns by the next session, with the codebase gradually growing bizarre structure no one wanted. And six months later, nobody can say why the code is the way it is.

The plugin, `la`, prevents architectural drifts via these interlocking components:

  • Principles attached to the parts of your code. A LikeC4 model maps your packages to ele