architecture-compass
Architectural thinking partner for an existing repository — scans the codebase, conducts a structured interview, agrees on current architectural state and…
Facilitate a structured conversation to customize how the review molecule works -- atom loading rules, severity classification, report format, scope rules, insight capture, and health logging. Produces a formal review-standards.md document that the review molecule will use as
$ npx -y skills add techygarg/lattice --skill review-refiner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/review-refinerContext preview
The summary Claude sees to decide when to auto-load this skill.
Facilitate a structured conversation to customize how the review molecule works -- atom loading rules, severity classification, report format, scope rules, insight capture, and health logging. Produces a formal review-standards.md document that the review molecule will use as
name: review-refiner description: "Facilitate a structured conversation to customize how the review molecule works -- atom loading rules, severity classification, report format, scope rules, insight capture, and health logging. Produces a formal review-standards.md document that the review molecule will use as its process configuration. Use when the user says 'customize review', 'configure review', 'review preferences', 'review settings', 'change review process', or 'set up review'."
This refiner configures the review *process* -- how the review molecule orchestrates atom output. It does NOT configure what atoms check for.
| Belongs here (process orchestration) | Belongs in atom refiners (quality standards) | |---------------------------------------|----------------------------------------------| | Which atoms load and when | What checks an atom runs | | Severity level definitions | What constitutes a violation | | Report format and grouping | Checklist items and anti-patterns | | Delta scope rules | Layer definitions, naming rules | | Insight capture preferences | Domain modeling rules | | Health log format | Security check thresholds | | Custom review dimensions | Atom-specific validation logic |
If a user asks about changing what an atom checks for, redirect them to the appropriate atom refiner (architecture-refiner, clean-code-refiner, ddd-refiner).
Before starting the interview, check whether a custom document already exists:
1. Read `.lattice/config.yaml` — does `paths.review_standards` point to a file? 2. If yes, read that file. Ask the user:
3. If no config or no existing document, proceed with the full interview flow.
Look for signals that inform the conversation:
Share relevant findings with the user at the start: "I looked at your review history and noticed [patterns]. I'll use that as context for our conversation."
If the project is new with no review history, proceed with defaults as the starting point.
The first decision in the conversation. Present the three options:
"How would you like to configure your review process?
1. **Customize specific sections** (overlay) — Keep the defaults and change only what differs for your project. This produces a slim document. Most teams choose this. 2. **Define everything from scratch** (override) — Walk through all sections and produce a comprehensive standalone document. 3. **Add project-specific sections only** (overlay with additions) — Keep all defaults as-is and add new sections for your team's specific rules (e.g., custom review dimensions).
The defaults cover a solid review workflow. Option 1 is recommended unless your review process needs to be fundamentally different."
Map the choice:
This should be fast. Many sections will be "keep as-is."
1. Present each section's default briefly (a 2-3 sentence summary, not full content). 2. Ask: "Does this match your project, or would you like to change it?" 3. If the user says it matches → skip it (section will NOT appear in the output). 4. If the user wants changes → dive into
Composable AI skills that teach assistants structured thinking — design-first, context-aware, and architecture-guided.
Repo: techygarg/lattice
Architectural thinking partner for an existing repository — scans the codebase, conducts a structured interview, agrees on current architectural state and…
Facilitate a structured conversation to define architecture principles for a repository. Supports multiple architecture styles: clean architecture (default),…
Enforce architectural rules when generating or modifying code, and validate proposed designs before approval (design mode). Defaults to clean architecture;…
Investigate, reproduce, and safely fix a bug with regression protection. Composes context, diagnosis, architecture, code quality, and testing guardrails into a…
Facilitate a structured conversation to define clean code principles for a repository. Produces a formal clean-code.md document that the clean-code atom will…
Apply clean code principles when generating or modifying implementation code. Enforces function focus, naming clarity, complexity management, error handling,…