Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill lat-md명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | lat-md |
| description | >- Use when this capability is needed. |
This skill covers the syntax, structure rules, and conventions for writing lat.md/ files. Load it whenever you need to create or edit sections in the lat.md/ directory.
lat.md/ files describe what the project does and why — domain concepts, key design decisions, business logic, and test specifications. They do NOT duplicate source code. Think of each section as an anchor that source code references back to.
Good candidates for sections:
Bad candidates:
Every section must have a leading paragraph — at least one sentence immediately after the heading, before any child headings or other block content.
The first paragraph must be ≤250 characters (excluding [[wiki link]] content). This paragraph is the section's identity — it appears in search results, command output, and RAG context.
# Good Section
Brief overview of what this section documents and why it matters.
More detail can go in subsequent paragraphs, code blocks, or lists.
## Child heading
Details about this child topic.
# Bad Section
## Child heading
This is invalid — "Bad Section" has no leading paragraph.
lat check enforces this rule.
Sections are addressed by file path and heading chain:
lat.md/path/to/file#Heading#SubHeadingfile#Heading#SubHeading (when the file stem is unique)Examples: lat.md/tests/search#RAG Replay Tests, cli#init, parser#Wiki Links.
Cross-reference other sections or source code with [[target]] or [[target|alias]].
See [[cli#init]] for setup details.
The parser validates [[parser#Wiki Links|wiki link syntax]].
Reference functions, classes, constants, and methods in source files:
[[src/config.ts#getConfigDir]] — function
[[src/server.ts#App#listen]] — class method
[[lib/utils.py#parse_args]] — Python function
[[src/lib.rs#Greeter#greet]] — Rust impl method
[[src/app.go#Greeter#Greet]] — Go method
[[src/app.h#Greeter]] — C struct
lat check validates that all targets exist.
Tie source code back to lat.md/ sections with @lat: comments:
// @lat: [[cli#init]]
export function init() { ... }
# @lat: [[cli#init]]
def init():
...
Supported comment styles: // (JS/TS/Rust/Go/C) and # (Python).
Place one @lat: comment per section, at the relevant code — not at the top of the file.
Describe tests as sections in lat.md/ files. Add frontmatter to require that every leaf section has a matching @lat: comment in test code:
---
lat:
require-code-mention: true
---
# Tests
Authentication test specifications.
## User login
Verify credential validation and error handling.
### Rejects expired tokens
Tokens past their expiry timestamp are rejected with 401, even if otherwise valid.
### Handles missing password
Login request without a password field returns 400 with a descriptive error.
Each test references its spec:
# @lat: [[tests#User login#Rejects expired tokens]]
def test_rejects_expired_tokens():
...
Rules:
require-code-mention: true must be referenced by exactly one @lat: commentlat check flags unreferenced specs and dangling code refsOptional YAML frontmatter at the top of lat.md/ files:
---
lat:
require-code-mention: true
---
Currently the only supported field is require-code-mention for test spec enforcement.
Always run lat check after editing lat.md/ files. It validates:
@lat: code refs point to existing sectionsrequire-code-mention leaf sections are referenced in codeSource: 1st1/lat.md — distributed by TomeVault.