arch-lens-state-lifecycle

Community

Visualize state lifecycle with contract overlays.

AuthorTrecek
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This lens creates a diagram that surfaces how fields in a system transition through lifecycle states, with contract overlays that prevent state corruption and document validation gates.

Core Features & Use Cases

  • Visualize field lifecycle categories (INIT_ONLY, INIT_PRESERVE, MUTABLE, APPEND_ONLY) and their rules.
  • Map validation gates, resume detection, and state mutation mechanisms into a single Mermaid diagram.
  • Reuse alongside the mermaid skill to render diagrams for architecture reviews and onboarding.

Quick Start

Run the arch-lens-state-lifecycle skill to generate the state lifecycle diagram for your system.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: arch-lens-state-lifecycle
Download link: https://github.com/Trecek/useful-claude-skills/archive/main.zip#arch-lens-state-lifecycle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.