Best for
- Use when starting a design, planning architecture, or when the user says 'design a feature', 'blueprint', 'start designing', 'plan the architecture', or 'let's design before coding'.
techygarg/lattice/skills/molecules/design-blueprint/SKILL.md
Run a complete design workflow -- from establishing context through 5 progressive design levels to an approved blueprint. Composes context anchoring, design-first methodology, architecture, and DDD into a unified process. Handles both new features (create context doc) and resuming existing work (load context doc). Use when starting a design, planning architecture, or when the user says 'design a feature', 'blueprint', 'start designing', 'plan the architecture', or 'let's design before coding'.
Decision brief
Run a complete design workflow -- from establishing context through 5 progressive design levels to an approved blueprint. Composes context anchoring, design-first methodology, architecture, and DDD into a unified process.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/techygarg/lattice --skill "skills/molecules/design-blueprint"Inspect the Agent Skill "design-blueprint" from https://github.com/techygarg/lattice/blob/75b7e0728587f2e822e8cdbe11583a6f9a38a4b3/skills/molecules/design-blueprint/SKILL.md at commit 75b7e0728587f2e822e8cdbe11583a6f9a38a4b3. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Use framework:learning-harvest Load behavior. Focus hint: "design session — focus: design patterns, reliability, structural health".
Use framework:learning-harvest Load behavior. Focus hint: "design session — focus: design patterns, reliability, structural health".
If key use cases or success criteria unclear now, use framework:collaborative-judgment surface what needs answering before starting Level 1.
After Level 4 (Contracts) approved and persisted:
Read apply skills order:
Permission review
The documentation asks the agent to read local files, directories, or repositories.
**Document Discovery**: Check existing context anchor doc feature (scan context base directory, match by feature name or frontmatter).Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 170 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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:learning-harvest -- Load prior operational learnings inform design; harvest new patterns at session end (always)framework: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:learning-harvest Load behavior. Focus hint: "design session — focus: design patterns, reliability, structural health".
Use framework:context-anchoring set up feature living doc.
Load requirement constraints: Read requirement_doc from context doc frontmatter.
## Technical Constraints. Treat as non-negotiable — same authority as architecture rules. Surface to user before Level 1.framework:collaborative-judgment. User decides; record any change back in requirement doc ## Technical Constraints if it is a local file. If external, record the change in the context doc's Decisions Log instead — this molecule never writes back to an external system.Write the back-link: If requirement_doc resolved to a readable local file at .lattice/requirements/features/{feature-name}.md, write into its ## Links section: - Design: [{feature-name}.md](../../context/{feature-name}.md). Discrete file edit, done once — skip if the link is already present.
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.
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.
When applying architectural atoms each level, use framework:collaborative-judgment surface real design judgment calls immediately — not batch during design.
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:
Verify completeness: Context doc must now contain all four design level sections (Capabilities, Components, Interactions, Contracts) plus every decision made during design process. If any level output missing from doc, enrich now before proceeding.
Check requirement spec drift: Read requirement_doc from context doc frontmatter.
[path]. Verify before continuing." (a broken local path is an error)## Technical Constraints. Present findings: each divergence as [field/behavior] — changed from [X] to [Y]. Reason: [from Decisions Log], or "L4 consistent with requirement spec — no overrides" if none. Ask: "Record this in the requirement doc?"requirement_doc until confirmed. Confirmed and local → write each as - Design override: [field/behavior] — changed from [X] to [Y]. Reason: [...], or - Design alignment: L4 consistent with requirement spec — no overrides. if none. Confirmed and external → this molecule never writes to an external system; note the findings in Design Summary instead. Declined → note in Design Summary instead: "Drift check results not written to requirement doc — see Decisions Log."status: approved until this check is complete.Write design summary: Use framework:context-anchoring Enrich add ## Design Summary section to context doc containing:
Set approved status: Write status: approved to context doc frontmatter. STOP: discrete file edit — not prose. Without this, code-forge will not proceed.
STOP: do not write status to requirement_doc. The feature file's status is owned by whoever manages the requirement — a human, or an external system it may live in. This molecule manages its own context doc only.
Log completion decision: Add decision entry Decisions Log: "Design approved at Level 4. Status set to approved — ready for implementation."
Present summary user as confirmation.
Design complete. NOT proceed Level 5 (Implementation).
Harvest learnings. Use framework:learning-harvest Harvest behavior. Session context: "design session — architectural decomposition and contract definition". Synthesize and propose cross-cutting patterns from this session — decomposition approaches, architectural trade-offs, scope decisions that could inform future designs. User confirms what enters the document. STOP: run this before the next bullet — do not jump straight to the /code-forge suggestion.
Suggest user invoke /code-forge when ready begin coding against the approved design.
Alternatives
XiaomiMiMo/MiMo-Code
Produces a structured design specification (DESIGN.md + structural layout + Decision Trace) before any visual artifact is built — the "blueprint" phase that keeps AI-generated design from feeling templated. Use this skill whenever the user asks to design, plan, mock up, or restructure any visual output — PPT / slides / decks, landing pages, dashboards, posters, charts, infographics, marketing pages, UI components, prototypes, illustrations — even when they only say "make a slide about X" or "hel
HKUDS/Vibe-Trading
Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.
AI-Unified-Process/marketplace
Creates Vaadin Browserless server-side unit tests for Vaadin views covering navigation, component interactions, form validation, grid operations, and notifications. Use when the user asks to "write Browserless tests", "write Vaadin UI unit tests", "unit test a Vaadin view without a browser", "create view tests with the official Vaadin testing framework", or mentions Browserless testing, SpringBrowserlessTest, browserless-test-junit6, UI Unit Testing, or server-side Vaadin testing.
freenet/freenet-agent-skills
Build and maintain decentralized applications on Freenet using river as a template. Guides through designing contracts (shared state), delegates (private state), and UI, and through upgrading a live dApp safely. Use when user wants to create a new Freenet dApp, design contract state, implement delegates, build a Freenet-connected UI, OR upgrade an existing dApp — bump freenet-stdlib, ship a new contract/delegate version (v2), fix a bug that re-keys the WASM, or migrate state across a contract/de