Typescript Advanced Types
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
Guided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority…
$ npx skills add techygarg/lattice --skill lattice-init -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install techygarg/lattice lattice-init --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lattice-init .claude/skills/lattice-init && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .claude/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/techygarg/lattice/tree/main/skills/lattice-initType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add techygarg/lattice --skill lattice-init -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install techygarg/lattice lattice-init --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/lattice-init .agents/skills/lattice-init && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .agents/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add techygarg/lattice --skill lattice-init -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install techygarg/lattice lattice-init --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/lattice-init .cursor/skills/lattice-init && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .cursor/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/techygarg/lattice.git --path skills/lattice-init--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add techygarg/lattice --skill lattice-init -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install techygarg/lattice lattice-init --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/lattice-init .gemini/skills/lattice-init && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .gemini/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install techygarg/lattice lattice-initInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add techygarg/lattice --skill lattice-init -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/lattice-init .github/skills/lattice-init && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .github/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add techygarg/lattice --skill lattice-init -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install techygarg/lattice lattice-init --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/lattice-init .opencode/skills/lattice-init && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lattice-init" agent skill from https://github.com/techygarg/lattice/tree/main/skills/lattice-init into .opencode/skills/lattice-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lattice-init", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
lattice-initGuided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority…
Lattice Init is an agent skill from techygarg/lattice. Guided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority order, and creates or reconciles the .lattice/ config. Bridges the gap between installing skills and getting first value, and between upgrading Lattice and adopting its newest conventions. Use when the user says 'lattice init', 'set up lattice', 'initialize lattice', 'get started with lattice', 'configure lattice for…
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/requirements-migration.md`).
It sits in Development. It works with TypeScript. The repository describes itself as: Install engineering discipline into any AI coding assistant. Composable skills for design, implementation, review, and team standards. Better process, not just better prompts. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4d6c35f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gocargodotnetFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Lattice Init loads about 3.3k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 152 tokens; SKILL.md has 1,257 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from techygarg/lattice at commit 4d6c35f, republished under its MIT licence (© techygarg). 1,257 words, ~3,264 tokens.
.claude/skills/lattice-init/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Read apply skills order:
framework:knowledge-priming -- Load project context understand what project is what already existsDetect signals about project understand shape existing Lattice state.
Language/framework detection -- check files in repo root:
package.json → Node.js / TypeScripttsconfig.json → TypeScript (confirm over JavaScript)go.mod → Gopom.xml or build.gradle or build.gradle.kts → Java or KotlinCargo.toml → Rustrequirements.txt or pyproject.toml or setup.py → PythonGemfile → Ruby*.csproj or *.sln → C# / .NETPackage.swift → Swift<!-- synced with language-idioms-refiner "Detect the language" -- edit both -->
If multiple language markers are found in the repo root, note all of them and ask the user which is the primary stack before continuing.
Directory structure -- list top-level dirs. Identify common patterns:
src/, lib/, app/ → source codetest/, tests/, spec/ → test suitesdocs/ → documentationcmd/, internal/, pkg/ → Go project structuredomain/, infrastructure/, application/ → layered architectureExisting .lattice/ state -- check what Lattice artifacts already exist:
.lattice/config.yaml → central config (check for language key).lattice/standards/language-idioms.md → language idioms refiner output.lattice/standards/knowledge-base.md → knowledge priming output.lattice/standards/architecture.md → architecture refiner output (clean architecture, hexagonal, modular monolith, or custom style).lattice/standards/clean-code.md → clean code refiner output.lattice/standards/ddd-principles.md → DDD refiner output.lattice/standards/review-standards.md → review refiner output.lattice/context/ → feature context documents (count them).lattice/learnings/operational-learnings.md → accumulated operational learnings (managed by learning-harvest atom).lattice/reviews/review-log.md → review log.lattice/requirements/index.md → check shape: if epic sections and feature tables are written directly inside it (no epics/ directory alongside) and requirements_layout is absent from config, flag as legacy layout — upgrade available.lattice/verification.yaml → verification stages config consumed by the verification runner.lattice/scripts/run-verification.sh → vendored verification runnerPresent:
## Project Scan Results
**Project**: [detected language/framework] at [repo root]
**Structure**: [key directories found]
### Lattice Setup Status
Running mode: **[customized -- standards docs active below / built-in defaults -- full functionality]**
- `.lattice/config.yaml`: [exists / not created yet]
- Language: [detected language / language key from config / not detected]
- Language idioms: [.lattice/standards/language-idioms.md / built-in default]
- Knowledge base: [.lattice/standards/knowledge-base.md / built-in default]
- Architecture standards: [.lattice/standards/architecture.md / built-in default]
- Clean code standards: [.lattice/standards/clean-code.md / built-in default]
- DDD standards: [.lattice/standards/ddd-principles.md / built-in default]
- Review standards: [.lattice/standards/review-standards.md / built-in default]
- Context documents: [N found / none]
- Review learnings: [found at .lattice/learnings/operational-learnings.md / none]
- Review log: [found at .lattice/reviews/review-log.md / none]
- Requirements layout: [sharded / legacy — upgrade available / not found]
- Verification suite: [.lattice/verification.yaml configured / not set up]STOP (fresh install): if no .lattice/ state exists at all AND no legacy requirements layout was detected — create the minimal .lattice/config.yaml shown in Step 3, tell the user: "Lattice is ready. It runs on built-in defaults with full functionality. Refiner interviews that pin your team's conventions are optional — ask for them anytime." Skip to Step 4. Do not present the customization menu unprompted.
STOP: If .lattice/config.yaml and all core standards docs exist AND no legacy requirements layout was detected: Tell user "Lattice fully configured." Skip to Step 4.
STOP: if a legacy requirements layout was detected, do not skip on that basis alone — present it as a gap in Step 3 even when everything else is fully configured.
Reached only when something needs attention (a gap above) or the user asked to customize. Frame every item below as optional refinement -- Lattice is fully functional without any of it.
Priority order:
Requirements layout upgrade (if legacy layout detected in Step 1) -- "Your requirements index uses an older layout that hand-edits one shared file per feature, which causes merge conflicts when multiple developers work in parallel. The current layout shards it by epic and generates rollups from feature files instead of hand-editing them. One-time migration; does not touch any feature file's content beyond a link repointing (a rare exception is surfaced and confirmed, never silent). This upgrade only matters if your team keeps requirements in this repo -- teams tracking requirements in an external system (Jira, Linear, etc.) can skip it."
Knowledge-priming-refiner (if .lattice/standards/knowledge-base.md missing) -- "Captures project identity -- tech stack, architecture, directory layout, conventions. Every other skill uses this context make better decisions."
Language-idioms-refiner (if .lattice/standards/language-idioms.md missing) -- "Defines how your language expresses engineering patterns -- error handling, type system, naming, testing, DI. Multiple atoms use this to adapt pseudocode defaults to your language. Fast interview: proposes language-idiomatic defaults, you confirm or adjust."
Architecture-refiner (if .lattice/standards/architecture.md missing AND project has source code dir) -- "Defines project architecture standards — layer structure, dependency rules, validation checklist. Supports multiple styles: clean architecture (default), hexagonal / ports & adapters, modular monolith, or custom."
DDD-refiner (if .lattice/standards/ddd-principles.md missing AND project has domain folder or domain-like structure) -- "Captures aggregate design rules, entity patterns, domain event conventions so DDD atom enforces domain modeling style."
Clean-code-refiner (if .lattice/standards/clean-code.md missing) -- "Tailors coding standards -- function size limits, complexity thresholds, naming conventions. Defaults work well most projects, so optional."
Review-refiner (if .lattice/standards/review-standards.md missing) -- "Customizes how review molecule works -- atom loading rules, severity levels, report format, scope rules. Defaults work well most projects, so optional."
Verification setup (offer whenever .lattice/verification.yaml or .lattice/scripts/run-verification.sh is missing) -- Lattice's independent done-gate, deliberately not wired into any skill: .lattice/verification.yaml lists this project's real checks (build, unit, integration), a vendored runner reads that config and runs stages deterministically, and a verifier subagent returns one light verdict -- sessions stay quiet on green, hear only genuine failures on red. This is an additional capability, not part of any workflow: present what it does, answer questions about it, and let the user decide -- many projects will not want automated gating.
If the user accepts:
Detect candidate commands from the detected stack (e.g. package.json scripts, go test ./..., pytest, cargo test, dotnet test). Propose a stage list and confirm. Detect nothing runnable → say so and set up nothing: an empty stage list can only ever produce error results.
Write .lattice/verification.yaml: version: 1, optional runsDir, and one stage per confirmed command (name + command). Verification always stops on the first failed stage. Fold working-directory changes or timeouts into the command itself when needed. Schema reference: the header comment in run-verification.sh.
Vendor the runner to .lattice/scripts/run-verification.sh -- copy it from the Lattice distribution. Locate the source relative to how Lattice is installed, never guess a path: Claude Code plugin → $CLAUDE_PLUGIN_ROOT/scripts/run-verification.sh; Codex plugin → scripts/run-verification.sh two levels up from this skill's own directory (Codex plugins ship scripts as a sibling of skills/, not via an env var — there is no Codex plugin-root variable); framework dev checkout (neither applies) → scripts/run-verification.sh at the repo root. Exactly one of the two artifacts already existing → complete only the missing one.
Wire the gate: explain that nothing runs until something invokes it, then offer to append this marked block to the project's instruction file. Target file: CLAUDE.md if running as Claude Code, AGENTS.md if running as Codex or another AGENTS.md-convention host. If both files already exist in the project, append to both — either host may read the project later. If neither exists yet, create the one matching the current host only.
<!-- lattice:verification -->
Before declaring any work done, run this project's verification suite (.lattice/verification.yaml): spawn the `verifier` subagent when the host supports subagents; otherwise run `.lattice/scripts/run-verification.sh .lattice/verification.yaml` and read summary.json from the printed run directory. Green → reply in one line. Red → headline, failed stage name(s), their log paths; never open or paste a log into the session. Never mark work complete while any stage fails.
<!-- /lattice:verification -->On confirmation, append verbatim between the markers -- touch nothing else in the file; skip silently if the markers already exist. On decline, print the block and say where to paste it later.
For each gap, present user:
If user says "run":
references/requirements-migration.md and follow those steps directly in this session. Confirm the plan (epics detected, files to be created, index.md's new contents) before writing anything./[refiner-name] now start guided interview."If user says "skip" → Move to next item in priority order.
If user says "skip all" → Jump Step 4.
Config creation: If .lattice/config.yaml not exist and user not run any refiners (skipped all), create minimal config file:
# .lattice/config.yaml -- Lattice Framework Configuration
# All paths are relative to the repository root.
# Runs on built-in defaults until customized -- refiner interviews are optional (see docs/configuration.md).
version: 1
language: {detected-language}
paths: {}If the user runs at least one refiner, the refiner itself creates or updates the config file -- no need to create it here. Either way, set the language key from the detected language when the file is created.
## You're Ready
Lattice is set up. Here's the workflow:
1. **Design a feature**: `/design-blueprint` -- walks through 5 progressive design levels
2. **Implement**: `/code-forge` -- generates code from the blueprint with built-in quality checks
3. **Refactor safely**: `/refactor-safely` -- agrees the target structure first, adds characterization protection, and improves code without changing behavior
4. **Fix a bug**: `/bug-fix` -- reproduces the failure, adds a regression test, and applies the minimal safe repair
5. **Review**: `/review` -- audits generated code against atom standards
Atoms (architecture, clean-code, DDD, secure-coding, etc.) activate automatically during these workflows.
You can also use atoms standalone -- they apply checks based on what you're working on.If any refiners skipped Step 3, add reminder:
### Skipped refiners
You can run these anytime to further customize Lattice for your project:
- [list skipped refiners with their slash commands]© techygarg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/lattice-init of techygarg/lattice.
Open the folder on GitHubat commit 4d6c35f
Lattice Init next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Lattice Init this skilltechygarg/lattice | 199 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.3k | — | ~2.2k | Automated safety check: Pass | MIT | |
| OpenTUI Terminal Interfacescline/cline | 70k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 |
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
cline/cline
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
langgenius/dify
Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.
techygarg/lattice
Architectural thinking partner for an existing repository — scans the codebase, conducts a structured interview, agrees on current architectural state and recommended direction, and produces a…
techygarg/lattice
Audit and fix all Lattice documentation, README, docs/, PROJECT.md, GitHub issue templates, and CLAUDE.md to ensure they are fully aligned with the current skill inventory.
techygarg/lattice
Validate any Lattice SKILL.md against all tier conventions — atoms, molecules, and refiners.
techygarg/lattice
Facilitate a structured conversation to define architecture principles for a repository.
techygarg/lattice
Facilitate a structured conversation to define clean code principles for a repository.
techygarg/lattice
Manage per-feature living documents that capture decisions, constraints, and reasoning across AI sessions during active development.
Works with
Categories
Guided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority…. Lattice Init is an agent skill from techygarg/lattice.lattice/ config.
Lattice Init fits situations like: the user says lattice init; initialize lattice; get started with lattice; configure lattice for this project.
Run `npx skills add techygarg/lattice --skill lattice-init -a claude-code`. Or copy the skill folder (skills/lattice-init in techygarg/lattice) into .claude/skills/lattice-init in your project. Claude Code loads it when a task matches its description.
Run `npx skills add techygarg/lattice --skill lattice-init -a codex`. Or copy the skill folder (skills/lattice-init in techygarg/lattice) into .agents/skills/lattice-init in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add techygarg/lattice --skill lattice-init -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lattice-init, .gemini/skills/lattice-init, .github/skills/lattice-init and .opencode/skills/lattice-init in your project.
Going by SKILL.md and its folder, Lattice Init needs the command-line tools its instructions call (go, cargo and dotnet). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Lattice Init is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 963 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Lattice Init: Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Nx Import (nrwl/nx, 29k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
techygarg (a GitHub user) maintains it in techygarg/lattice, which has 199 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 6, 2026.
Source: techygarg/lattice on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.