Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

lat-md

Skill by vercel-labs

Guides AI assistants in writing and maintaining lat.md files, structured markdown that documents a project's architecture, design decisions, and test specs. It is for developers and agents editing the lat.md/ directory.

  • Score 90
  • 2.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install lat-md

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel-labs/lat.md /tmp/lat.md && mkdir -p ~/.claude/skills && cp -r /tmp/lat.md/templates/skill ~/.claude/skills/lat-md

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install lat-md in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

lat-md is an agent skill that covers the syntax, structure rules, and conventions for writing lat.md files. These files describe what a project does and why, including domain concepts, design decisions, business logic, and test specifications. The guide asks the assistant to keep lat.md as a focused snapshot of the current implemented state, not a journal, changelog, or list of proposals, and to avoid duplicating source code.

Each section needs a leading paragraph of 250 characters or fewer. Sections link to other sections and to source symbols with wiki links, and source code points back to sections with @lat comments. Test specs can require a matching code reference for each leaf section. The skill is for developers and AI agents working in the lat.md/ directory, and it says to run lat check after edits.

Written from the project's SKILL.md and checked against it.

What it can do

  • Section structure rulesRequires a leading paragraph of 250 characters or fewer under every heading.
  • Wiki linksCross-references other sections, repository paths, and source code symbols with [[target]] syntax.
  • Code refsTies source code back to lat.md sections with @lat comments in // or # style.
  • Test specsDescribes tests as sections and can require each leaf section to have a matching @lat comment.
  • Diagram guidanceAdvises prose by default and Mermaid diagrams only for complex interactions with many subjects.
  • ValidationDirects the assistant to run lat check to validate links, code refs, and section structure.

What you need

  • The lat CLI, for running lat check and lat init

Try asking

  • Write a lat.md section describing the architecture of this project's auth module.
  • Review my lat.md files and check that each section has a valid leading paragraph.
  • Add a test spec under lat.md/tests for the login flow and link it with an @lat comment.

Good to know

  • Generated skill files and AGENTS.md should not be edited to record project guidance.
  • Only // and # comment styles are supported for @lat code refs.
  • Unsupported file formats validate as references but cannot be opened by Lat.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: templates/skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to lat-md

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

lat-md: common questions

What is a lat.md file?

The source describes lat.md files as structured markdown that explain what a project does and why, covering architecture, design decisions, and test specs. They do not duplicate source code.

What should not go into lat.md?

The guide lists step-by-step code walkthroughs, auto-generated API docs, changelog entries, proposals, temporary notes, and insignificant implementation details as poor candidates.

How are lat.md sections checked?

The source says lat check validates wiki links, relative markdown links, @lat code refs, leading paragraphs, and required test references. It also checks that each lat.md directory has an accurate index.

How do I install lat-md?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is lat-md free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is lat-md safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to lat-md?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

lat-md Install

Add to stack

Loading.