npx claudepluginhub techygarg/lattice --plugin latticeThis skill uses the workspace's default tool permissions.
Read apply skills order:
Guides structured design through 5 progressive levels (Capabilities, Components, Interactions, Contracts, Implementation) before coding new features, refactoring code, or designing modules.
Explores project context, asks clarifying questions, proposes 2-3 design approaches with trade-offs, presents designs section-by-section for approval, and writes spec docs before implementation.
Turns ideas into designs before coding features, components, or changes by exploring user intent, requirements, codebase, and alternatives via investigation agents.
Share bugs, ideas, or general feedback.
Read apply skills order:
framework:knowledge-priming -- Load project context (tech stack, architecture, conventions) ground decisions real projectframework:context-anchoring -- Create or load feature context anchor docframework:collaborative-judgment -- Surface real design judgment calls structured options instead silent assuming (always)framework:design-first -- Walk through 5 progressive design levelsframework:architecture -- Apply structural rules Component and Interaction levelsframework:domain-driven-design -- Apply domain modeling Component, Interaction, Contract levelsUse framework:context-anchoring set up feature living doc.
If key use cases or success criteria unclear now, use framework:collaborative-judgment surface what needs answering before starting Level 1.
Drive through framework:design-first 5 levels sequentially. Each level, present design output, get user approval, then persist approved output into context anchor doc before advancing. Context doc is blueprint -- if not written down, not exist.
Enrichment rule: After user approves each level, use framework:context-anchoring Enrich behavior write following into context doc:
NOT advance next level until current level output persisted. Context doc must be single source truth every stage.
When applying architectural atoms each level, use framework:collaborative-judgment surface real design judgment calls immediately — not batch during design, each level constrains next.
Apply architectural atoms levels where add value:
Level 1 (Capabilities):
framework:design-first.## Design: Level 1 -- Capabilities section.Level 2 (Components):
framework:architecture -- validate each component maps defined architectural layer, dependencies follow loaded architecture rules, component boundaries clear.framework:domain-driven-design -- identify aggregates, entities, value objects. Determine which components live domain layer which infrastructure.## Design: Level 2 -- Components section. Log architectural decisions (layer choices, DDD classifications) Decisions Log.Level 3 (Interactions):
framework:architecture -- validate data flows follow patterns defined loaded architecture doc and boundary crossing rules respected.framework:domain-driven-design -- define aggregate interactions, domain events. Cross-aggregate communication should use domain events eventual consistency.## Design: Level 3 -- Interactions section. Log flow decisions Decisions Log.Level 4 (Contracts):
framework:domain-driven-design -- define repository interfaces, value object types, aggregate root boundaries. Contracts should reflect tactical patterns agreed earlier levels.framework:architecture -- validate contracts respect boundary-data rules and interface ownership per loaded architecture doc.## Design: Level 4 -- Contracts section. Log contract decisions Decisions Log.After Level 4 (Contracts) approved and persisted:
framework:context-anchoring Enrich add ## Design Summary section to context doc containing:
framework:code-forge molecule or equivalent implementation skill./code-forge when ready begin coding against approved blueprint.