Agent skill

Skill Align

by techygarg in 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.

MITAuto-check passedTesting & QA

Install Skill Align

skills CLI
$ npx skills add techygarg/lattice --skill skill-align -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install techygarg/lattice skill-align --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dev-skills/skill-align .claude/skills/skill-align && rm -rf skills-src

Use ~/.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/

Facts

Skill name
skill-align
GitHub stars
198
Token cost
~2k tokens
SKILL.md length
806 words
Files
2 (incl. references)
Skills in repo
33
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 4 steps: Build the live inventory → Audit each document → Fix → …
  • The user says align docs
  • SKILL.md covers When to run, Phase 1 — Build the live…, Phase 2 — Audit each document and Phase 3 — Fix, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Skill Align is an agent skill from 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. Documentation drift is the most common source of user confusion in Lattice — a skill exists in the codebase but not in the docs, or a renamed skill leaves a stale reference in the bug report template. If you've made any change to skills/ and haven't run this, run it now. Use when the user says 'align docs', 'audit docs', 'update…

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/audit-checklist.md`).

It sits in Testing & QA, covering QA and bug reports and Agent instruction files. It works with GitHub. 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.

When your agent uses it

  • The user says align docs
  • Update documentation
  • Check docs are in sync
  • Audit skill inventory

Example prompts

  • “ve made any change to skills/ and haven”
  • “align docs”
  • “audit docs”
  • “/skill-align”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Build the live inventory
  2. Audit each document
  3. Fix
  4. Deploy (optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 4d6c35f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Skill Align loads about 2k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 180 tokens; SKILL.md has 806 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~180
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from techygarg/lattice at commit 4d6c35f, republished under its MIT licence (© techygarg). 806 words, ~1,985 tokens.

Download SKILL.mdSave it as .claude/skills/skill-align/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
skill-align
description
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. Documentation drift is the most common source of user confusion in Lattice — a skill exists in the codebase but not in the docs, or a renamed skill leaves a stale reference in the bug report template. If you've made any change to skills/ and haven't run this, run it now. Use when the user says 'align docs', 'audit docs', 'update documentation', 'skill align', 'check docs are in sync', 'audit skill inventory', 'ensure docs are aligned', 'are the docs up to date', or 'what needs updating'. Standalone — does not call other skills.

Lattice Sync

Core responsibility: Keep every public-facing document in sync with the actual skill inventory. The skills directory is the source of truth — all documents derive from it.

Input: None required. Reads the live state of skills/ and all documentation on every run. Optionally: a specific skill name or tier to focus the audit.

Output:

  • A findings report listing every gap as [GAP], [STALE], or [WRONG] with file and description
  • All found gaps fixed in-place across: README.md, docs/how-it-works.md, docs/configuration.md, docs/practical-guide.md, PROJECT.md, CLAUDE.md, .github/ISSUE_TEMPLATE/bug_report.yml
  • A final clean confirmation: "No gaps found" or a list of what was changed

How to verify this skill did its job:

bash
grep -rn "requirements atom\|framework:requirements\b" \
  docs/ README.md PROJECT.md CLAUDE.md .github/ skills/ \
  --include="*.md" --include="*.yml"

Any result from this grep means the sync is incomplete. A clean run returns no output.

Also verify: every skill in skills/ appears in the bug_report.yml dropdown and the how-it-works.md inventory tables.

When to run

  • After creating any new atom, molecule, or refiner
  • After renaming or removing a skill
  • After changing a skill's config key, consumed-by relationships, or output path
  • When a user suspects docs are out of date

Phase 1 — Build the live inventory

Read the skills directory tree. STOP: do NOT assume you already know the inventory — always read from files.

bash
find skills/ -name "SKILL.md" | sort

For each SKILL.md found, extract:

  • name: field (frontmatter)
  • tier: inferred from path (atoms/, molecules/, refiners/)
  • Config key: grep for paths\.\w+ in the file
  • Consumes: grep for framework: references (molecules only)
  • Produces: grep for .lattice/standards/ path (refiners only)
  • Output subfolder: grep for .lattice/\w+/ paths (molecules only)

Build a structured inventory:

atoms:    [name, config_key, has_refiner, has_defaults_md]
molecules: [name, composes[], output_subfolder]
refiners:  [name, config_key, produces_path, consumed_by_atom]

Read references/audit-checklist.md for the complete per-document audit rules before starting Phase 2.


Phase 2 — Audit each document

Work through every document in this order. For each, apply the checks in references/audit-checklist.md. STOP: a document with zero findings gets no entry in the report — do not print a heading or a "no gaps" line for it. Log every finding as:

[GAP]    file:line — description of what is missing or wrong
[STALE]  file:line — description of what refers to something that no longer exists
[WRONG]  file:line — description of a relationship (consumed-by, produces) that is incorrect

Documents to audit:

  1. docs/how-it-works.md
  2. docs/configuration.md
  3. docs/practical-guide.md
  4. README.md
  5. PROJECT.md — Skill Conventions, Known subfolders list, and Repository Structure counts all live here
  6. .github/ISSUE_TEMPLATE/bug_report.yml
  7. .github/ISSUE_TEMPLATE/skill_request.yml (generic — only check if skill-specific examples are present)
  8. .github/ISSUE_TEMPLATE/documentation.yml (generic — only check if skill names appear)
  9. knowledge-base/requirement-forge-requirements.md (if exists — check it matches current skill names)

Present a consolidated findings report before making any changes:

## Lattice Sync — Findings

### docs/how-it-works.md
[GAP] Atoms table missing: requirement-quality
[STALE] Refiners in Depth: requirement-forge-refiner consumed-by says "molecule" but should say "requirement-quality atom"

### .github/ISSUE_TEMPLATE/bug_report.yml
[GAP] Skill dropdown missing: requirement-quality (atom)

Total: N gaps, M stale references, P wrong relationships

Ask: "Ready to apply all fixes? Or are there any findings you want to skip?"


Phase 3 — Fix

Apply every agreed fix. For each document, make all changes in a single edit pass. STOP: do not make multiple passes over the same file.

After all fixes are applied, run one final verification grep to confirm no old references remain:

bash
# Check for stale atom names or wrong consumed-by text
grep -rn "<old-name>\|consumed.*molecule\|consumed.*wrong" \
  docs/ README.md PROJECT.md CLAUDE.md .github/ --include="*.md" --include="*.yml"

If the grep returns results, fix them before declaring done.


Phase 4 — Deploy (optional)

If the user wants to push the updated skills to their AI tool's skills directory:

bash
./tools/install.sh /path/to/your/skills/folder

Ask the user for the target path if not provided. Default for Claude Code: ~/.claude/skills/.


Show full SKILL.md (332 more words)Show less

Key relationships to always verify

The most error-prone relationship in Lattice documentation is the refiner → atom → molecule chain. Documents frequently drift to say a refiner is "consumed by the molecule" when it's actually consumed by an atom that the molecule composes.

For every refiner in the live inventory, derive the correct relationship dynamically:

  1. Read the refiner's SKILL.md — find which atom it says consumes it (look for "consumed by" or "reads this document")
  2. Read that atom's Config Resolution — confirm it reads the same paths.{key}
  3. Read the molecule that composes that atom — confirm the chain is complete
  4. If any document says the refiner is consumed by the molecule directly (not the atom), flag [WRONG]

Exception: review-refiner is consumed by the review molecule directly — it configures the molecule's workflow, not an atom. This is the only correct molecule-direct consumption in the current framework.


Known .lattice/ subfolders

Every molecule that writes living documents must use a named subfolder. If a new molecule is found that writes to .lattice/ and its subfolder is not in this list, flag it for addition to PROJECT.md:

  • standards/ — refiner outputs
  • context/ — feature anchor docs (context-anchoring atom)
  • learnings/ — operational learnings (learning-harvest atom)
  • reviews/ — review log
  • insights/ — architecture-compass output
  • requirements/ — epic/feature specs (requirement-forge)

What good looks like

The sync is complete when:

  • Every skill in skills/ appears in the docs/how-it-works.md inventory tables
  • Every refiner has a correct entry in docs/configuration.md paths table with the right consumed-by atom
  • Every molecule appears in bug_report.yml skill dropdown
  • Every atom appears in bug_report.yml skill dropdown
  • Every refiner appears in bug_report.yml skill dropdown
  • PROJECT.md known subfolders list covers every .lattice/ output directory
  • No document contains a skill name that no longer exists in source/
  • The pipeline descriptions in README.md and docs/how-it-works.md use current molecule names in the right order
  • Every molecule that hardcodes its own refiner list (refiners-update's map table, lattice-init's Step 3 priority list) has one entry per live refiner in source/refiners/ — no missing, no stale

See references/audit-checklist.md for the exhaustive per-document rules.

© techygarg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in dev-skills/skill-align of techygarg/lattice.

  • SKILL.md
  • references/audit-checklist.md

Open the folder on GitHubat commit 4d6c35f

Compare with similar skills

Skill Align 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 Align compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Align this skilltechygarg/lattice198—~2kAutomated safety check: PassMIT
Dev IssueFHIR/fhir-codegen154—~4kAutomated safety check: PassMIT
Dev ReportFHIR/fhir-codegen154—~4.1kAutomated safety check: PassMIT
Issue Repliesantoinecellerier/speaker-tuning-to-easyeffects142—~2kAutomated safety check: PassMIT
Harness Engineeringgithub/awesome-copilot40k—~2kAutomated safety check: PassMIT
Weavebench Cua ReproduceAMAP-ML/LongHorizon-Harness1.7k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Dev Issue

    FHIR/fhir-codegen

    Publishes a slot's feature request or bug report to GitHub as an issue, and keeps that issue in sync, in the role of a release-minded engineer.

    154 GitHub stars~4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Dev Report

    FHIR/fhir-codegen

    Drafts and iterates on local-development bug reports in the role of a staff-level Tech Lead.

    154 GitHub stars~4.1k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Issue Replies

    antoinecellerier/speaker-tuning-to-easyeffects

    Guides triaging GitHub issues and drafting or posting replies in this repo.

    142 GitHub stars~2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Harness Engineering

    github/awesome-copilot

    Official

    Adopt repository-level harness engineering for coding agents.

    40k GitHub stars~2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Weavebench Cua Reproduce

    AMAP-ML/LongHorizon-Harness

    Reproduce CUA-Harness experiments on WeaveBench from a GitHub checkout.

    1.7k GitHub stars~1.6k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Evidence-Driven Testing

    michaelshimeles/skills

    Records an annotated screen recording of the agent testing an app hands-on, then posts the video and a results summary to the PR and tracker issue.

    1.3k GitHub starsUsed in 1 repo~3.9k tokens
    Testing & QAAuto-check passed

More from techygarg/lattice

All 33 skills in this repo
  • Architecture Compass

    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…

    198 GitHub stars~4.4k tokensUpdated 2 days ago
    Auto-check passed
  • Lattice Init

    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…

    198 GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check passed
  • Skill Validate

    techygarg/lattice

    Validate any Lattice SKILL.md against all tier conventions — atoms, molecules, and refiners.

    198 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Architecture Refiner

    techygarg/lattice

    Facilitate a structured conversation to define architecture principles for a repository.

    198 GitHub stars~3.7k tokensUpdated 2 days ago
    Auto-check passed
  • Clean Code Refiner

    techygarg/lattice

    Facilitate a structured conversation to define clean code principles for a repository.

    198 GitHub stars~3k tokensUpdated 2 days ago
    Auto-check passed
  • Context Anchoring

    techygarg/lattice

    Manage per-feature living documents that capture decisions, constraints, and reasoning across AI sessions during active development.

    198 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Skill Align

What does Skill Align do?

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. Skill Align is an agent skill from techygarg/lattice.md to ensure they are fully aligned with the current skill inventory.

When should I use Skill Align?

Skill Align fits situations like: the user says align docs; update documentation; check docs are in sync; audit skill inventory.

How do I install Skill Align in Claude Code?

Run `npx skills add techygarg/lattice --skill skill-align -a claude-code`. Or copy the skill folder (dev-skills/skill-align in techygarg/lattice) into .claude/skills/skill-align in your project. Claude Code loads it when a task matches its description.

How do I install Skill Align in Codex?

Run `npx skills add techygarg/lattice --skill skill-align -a codex`. Or copy the skill folder (dev-skills/skill-align in techygarg/lattice) into .agents/skills/skill-align in your project. Codex loads it when a task matches its description.

Can I use Skill Align in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add techygarg/lattice --skill skill-align -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-align, .gemini/skills/skill-align, .github/skills/skill-align and .opencode/skills/skill-align in your project.

What does Skill Align need to run?

SKILL.md names no scripts, command-line tools or credentials: Skill Align is instructions for the agent only.

Does Skill Align access the network?

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.

Is Skill Align safe to install?

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.

What licence does Skill Align use?

Skill Align is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Align use?

About 2k tokens (SKILL.md is roughly 7.9k 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 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Skill Align?

Skills that share tags, products or a category with Skill Align: Dev Issue (FHIR/fhir-codegen, 154 stars), Dev Report (FHIR/fhir-codegen, 154 stars), Issue Replies (antoinecellerier/speaker-tuning-to-easyeffects, 142 stars) and Harness Engineering (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Align?

techygarg (a GitHub user) maintains it in techygarg/lattice, which has 198 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.