Skill Enhance Pipeline
A meta-skill that upgrades one existing Lattice skill through a fixed six-step pipeline: baseline diff, dependency map, precision rewrite, three-tool QA gate, and independent verification.
Dev & CodingAdvanced★ 179⑂ 13AI score 7/10Last updated: Aug 25, 2026
What it does
- Reads the target skill, classifies its tier (atom / molecule / refiner) and molecule type (generative vs planning/interactive) so confirmation-gate rules are applied correctly.
- Captures a full git diff baseline before any edit, stored in a temp file, to serve as the preservation oracle for later steps.
- Spawns one background Explore agent to map dependencies: real behavior/mode names of referenced atoms, handoff contracts with sibling molecules, and an inventory of telegraphic/broken sentences.
- Rewrites in a strict order: grammar restoration → deduplication → precision pass (
**STOP:**prefixes on hard gates, every conditional branch resolved to exactly ONE action) → scenario walk (fresh start, interrupted session, partial output, minimal/maximal input) → preservation check vs. baseline → contract alignment → convention restoration. - Runs skill-review → skill-tighten → skill-validate in order, iterating until clean, then launches an independent verifier that re-derives correctness without trusting the diff author.
- Hard-forbids commit, push, stash, checkout, reset, and running the plugin build script; install/mirror commands are only surfaced to the user.
Who it's for
- Maintainers of the Lattice skill repository (techygarg/lattice).
- Skill and prompt authors who repeatedly audit documentation quality and consistency.
- Anyone who wants a determinism bar: two capable models reading a sentence should act identically.
Examples
- "Polish the design-blueprint molecule to production grade" → baseline captured, gates normalized to STOP form, QA looped until all three tools pass.
- "Modernize the code-forge skill" → as a generative molecule, no confirmation gates are transplanted in; only duplicates and telegraphic sentences are fixed.
- "Check that referenced atom names match the real files" → the contract-alignment pass fixes mismatched section headings, status values, and config keys.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/techygarg/lattice/HEAD/dev-skills/skill-enhance/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the dev-skills/skill-enhance folder from the GitHub repo techygarg/lattice into my ~/.claude/skills/skill-enhance/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/techygarg/lattice.git && mkdir -p ~/.claude/skills && cp -r lattice/dev-skills/skill-enhance ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and go to your working directory.
- Clone the repo:
git clone https://github.com/techygarg/lattice.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r lattice/dev-skills/skill-enhance ~/.claude/skills/ - This skill depends on Lattice's PROJECT.md conventions file plus the skill-review, skill-tighten, and skill-validate skills — copy those from the same repo too.
- Restart Claude Code, then say something like "enhance this skill" and point to the target skill path.
- It never commits or pushes, so review the resulting diff yourself before committing.
View source on GitHub ↗License: MIT