Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.

MITAuto-check passedAgent Workflows

Install Docs

skills CLI
$ npx skills add latitude-dev/latitude-llm --skill docs -a claude-code

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

GitHub CLI
$ gh skill install latitude-dev/latitude-llm docs --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/latitude-dev/latitude-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs .claude/skills/docs && 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
docs
GitHub stars
4.7k
Token cost
~2.5k tokens
SKILL.md length
1,180 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.

  • Works in 7 steps: Inspect the session first → Inspect the repository evidence → Classify the knowledge → …
  • Tasks that involve Agent instruction files
  • SKILL.md covers Purpose, Repository docs and specs, When to use this skill and Workflow, plus 4 more sections
  • Calls git

What it does

Docs is an agent skill from latitude-dev/latitude-llm. Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules. Use after features, fixes, refactors, architecture changes, schema changes, or when the user mentions docs, documentation, design, architecture, business logic, conventions, or AGENTS.md.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Agent Workflows, covering Agent instruction files and Refactoring. It works with Git. The repository describes itself as: Open-source observability for AI agents. Find where your agents fail, dispatch your coding agent to fix it, and verify the fix against real traces. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files
  • Tasks that involve Refactoring

Example prompts

  • “/docs”

Requirements

  • Compatibility (from SKILL.md): opencode

Workflow steps

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

  1. Inspect the session first
  2. Inspect the repository evidence
  3. Classify the knowledge
  4. Map changes to the correct docs
  5. Write future-state documentation
  6. Escalate repo-wide rules into AGENTS.md
  7. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 12e8591. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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.

  • Compatibility

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Docs loads about 2.5k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 1,180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

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 latitude-dev/latitude-llm at commit 12e8591, republished under its MIT licence (© latitude-dev). 1,180 words, ~2,475 tokens.

Download SKILL.mdSave it as .claude/skills/docs/SKILL.md (or your agent's skills folder).
name
docs
description
Review the current conversation context and git changes, then persist durable repository knowledge into `dev-docs/*.md` by domain and into `AGENTS.md` for cross-cutting repo rules. Use after features, fixes, refactors, architecture changes, schema changes, or when the user mentions docs, documentation, design, architecture, business logic, conventions, or `AGENTS.md`.
compatibility
opencode
license
MIT

Documentation Sync

Purpose

Use this skill to keep durable repository knowledge in sync with the current coding session.

The sources of truth are:

  1. the current conversation
  2. the current git changes
  3. the existing dev-docs/*.md, relevant specs/*.md, and AGENTS.md

This skill is for durable knowledge, not changelog prose.

Repository docs and specs

  • dev-docs/ contains precise and exhaustive Markdown documentation for each domain or system (top-level *.md files).
  • docs/ holds the Mintlify product docs site (docs.json, topical folders such as getting-started/ and telemetry/, plus images/, logo/, favicons).
  • Each domain doc file should cover how the domain or system is architected, built, designed, and structured.
  • Keep domain docs organized by domain/system (for example: dev-docs/reliability.md, dev-docs/evaluations.md, dev-docs/annotations.md, dev-docs/scores.md, dev-docs/issues.md, dev-docs/simulations.md, dev-docs/organizations.md, dev-docs/projects.md, dev-docs/users.md, dev-docs/settings.md, dev-docs/spans.md).
  • specs/ is a temporary folder used while a feature or system is under construction.
  • Each spec or PRD in specs/ should have its own Markdown file and usually include a task list to track progress.
  • Specs define exactly what, how, and why to build while the feature is under construction, so temporary overlap with docs is acceptable.
  • Docs should describe the intended final system after all planned phases are complete, including post-MVP phases, precisely enough to remain authoritative after the corresponding spec is deleted.
  • Docs should not be written as a snapshot of the repository's currently implemented state.
  • If some part of the final design is still not fully specified, docs may say that the exact detail is still pending precise definition, but they should still be framed around the final intended system.
  • When working on a spec, proactively ask clarifying questions and challenge assumptions, gaps, ambiguities, and trade-offs as needed to build the best possible spec.
Spec structure

Use this structure for specs:

markdown
# Name

> **Documentation**: `dev-docs/reliability.md`, `dev-docs/evaluations.md`, ...

... (here goes the exact and precise specification and the plan)

## Tasks

> **Status legend**: `[ ] pending`, `[~] in progress`, `[x] complete`

### Phase N - ...

- [ ] **P0-1**: ...

... (here goes more tasks)

**Exit gate**:

- ... (here goes the definition of complete for this phase)

... (here goes more phases)
  • Each phase should usually map to its own GitHub PR, and each task inside should be a subtask of that PR.
  • When implementation stabilizes, promote durable knowledge from specs/ into dev-docs/.
  • Building the related dev-docs/ pages for the current spec is recommended.
  • Optionally, each phase can be linked to a Linear task if configured by the user.

When to use this skill

Use this skill automatically before finishing a task when the session introduced, removed, or clarified durable knowledge such as:

  • product behavior
  • domain rules or business logic
  • architecture or design changes
  • repository structure or ownership changes
  • schema, API, storage, query, or lifecycle changes
  • explicit conventions, constraints, or prohibitions agreed in the conversation

Use it when the user explicitly asks to:

  • update docs
  • document the changes
  • sync knowledge into dev-docs/
  • update AGENTS.md
  • capture design, architecture, or business logic decisions

If there is no durable knowledge change, do not edit docs just to summarize work. Say that no documentation update is needed.

Workflow

1. Inspect the session first
  • Read the current conversation carefully.
  • Extract durable decisions, not just code edits.
  • Note additions, removals, renames, behavior changes, and explicit rules.
  • Use the conversation as the filter for what belongs to the current session.

If the worktree contains unrelated changes, do not document them unless the user asked you to.

2. Inspect the repository evidence
  • Review git status and git diff.
  • Read the changed files that carry domain or architectural meaning.
  • Compare code changes against the existing docs before editing them.
  • If a relevant spec exists, read the sections that define the domain language and future-state behavior.
3. Classify the knowledge
  • dev-docs/: domain or system knowledge about behavior, architecture, structure, responsibilities, interfaces, lifecycle, and business logic.
  • AGENTS.md: stable repo-wide rules, conventions, constraints, and prohibitions that future agents should follow across sessions.
  • specs/: temporary plans. Do not move speculative or incomplete ideas into dev-docs/ unless the implementation or the conversation made them durable truth.
4. Map changes to the correct docs
  • Prefer updating existing domain docs first.
  • Update every impacted doc, not only the most obvious one.
  • Delete or rewrite stale sections when behavior was removed or replaced.
  • Create a new doc in dev-docs/ only when the knowledge is durable and no existing doc is a reasonable home.
5. Write future-state documentation
  • Document the repository as it should now be understood after the change.
  • Explain the model, responsibilities, invariants, flows, and important constraints.
  • Prefer precise durable statements over implementation trivia.
  • Organize by domain, not by commit chronology.
  • Avoid changelog wording such as "we changed", "in this PR", "recently", or dates.
Show full SKILL.md (467 more words)Show less
6. Escalate repo-wide rules into AGENTS.md

Add or update AGENTS.md when the session established a general rule that should guide future agent work across the repository.

Good candidates include:

  • architecture boundaries
  • naming or file organization conventions
  • storage or query constraints
  • migration or schema rules
  • testing rules
  • prohibited patterns
  • any cross-cutting repo decision

Example: "Do not add foreign key constraints" belongs in AGENTS.md.

Do not add narrow feature details that belong in a domain doc instead. If it is unclear whether a rule is repo-wide and durable, ask the user before editing AGENTS.md.

7. Verify
  • Re-read the edited docs and AGENTS.md.
  • Confirm they match the code and do not contradict existing guidance.
  • Make sure removed behavior is no longer documented.
  • Tell the user which docs changed and why, or that no documentation updates were needed.

Durable knowledge filter

Persist knowledge only if it is likely to matter after this session:

  • accepted behavior and user-facing semantics
  • domain concepts and relationships
  • important architecture and ownership boundaries
  • repository-wide conventions and prohibitions
  • data model, storage, and query behavior
  • operational constraints that affect future work

Do not persist:

  • temporary debugging notes
  • one-off commands or local environment accidents
  • rejected ideas
  • task-by-task changelog summaries
  • TODO lists unless the user asked for a spec or plan

Domain mapping hints

Use the closest existing doc when possible:

  • dev-docs/reliability.md: cross-cutting reliability system design
  • dev-docs/evaluations.md: evaluation lifecycle and behavior
  • dev-docs/annotations.md: annotation model and flows
  • dev-docs/annotation-queues.md: queueing and assignment behavior for annotations
  • dev-docs/scores.md: scoring logic and score lifecycle
  • dev-docs/issues.md: issue detection, grouping, and issue workflows
  • dev-docs/simulations.md: simulation concepts and flows
  • dev-docs/organizations.md: organization tenancy and membership rules
  • dev-docs/projects.md: project structure and project-scoped behavior
  • dev-docs/users.md: user identity and user lifecycle
  • dev-docs/settings.md: configuration and settings behavior
  • dev-docs/spans.md: span ingestion, storage, and query semantics
  • dev-docs/repositories.md: repository port naming, standard verbs, audit of domain ports
  • dev-docs/command-palette.md: global Cmd+K palette architecture and how to register new pages/actions/searchable entities
  • dev-docs/showcase.md: the shared read-only Showcase project (/projects/lat-demo) — project-scope/Biome enforcement, security model, blue/green regeneration, and backoffice lifecycle
  • dev-docs/design-system.md: apps/design-system component reference site (@repo/ui demos, local dev, deployment)

If a change spans multiple domains, update multiple docs.

Writing rules

  • Keep docs exhaustive, precise, and future-state.
  • Prefer the domain language used by the code and specs.
  • Explain responsibilities and invariants, not every function.
  • When behavior was removed, delete or rewrite the old documentation.
  • When conversation decisions are broader than one domain, update both dev-docs/ and AGENTS.md if appropriate.
  • Keep AGENTS.md prescriptive and reusable by future coding agents.

Quick checklist

  • I checked both the conversation and the git changes.
  • I filtered out unrelated worktree changes.
  • I identified durable additions, removals, and rule changes.
  • I updated the right dev-docs/*.md files by domain.
  • I removed or rewrote stale documentation.
  • I updated AGENTS.md for any new repo-wide durable rule.
  • I avoided changelog-style wording.
  • I told the user what documentation changed, or that none was needed.

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

Files

Just SKILL.md in .agents/skills/docs of latitude-dev/latitude-llm.

Open the folder on GitHubat commit 12e8591

Compare with similar skills

Docs 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.

Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs this skilllatitude-dev/latitude-llm4.7k—~2.5kAutomated safety check: PassMIT
Update Docspeterkrueck/Claude-Code-Development-Kit1.4k—~2.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Setup Matt Pocock Skillsywwynm/EverythingDone1449 repos~1.7kAutomated safety check: PassGPL-3.0
Squad Agent Collaboration Patternsmicrosoft/waza1.4k4 repos~500Automated safety check: PassMIT
Steadyagent WorkflowKhalilzhang0825/boring-is-all-you-need173—~1kAutomated safety check: PassMIT

Similar skills

  • Update Docs

    peterkrueck/Claude-Code-Development-Kit

    Update project documentation after code changes. An agent skill from peterkrueck/Claude-Code-Development-Kit.

    1.4k GitHub stars~2.7k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Setup Matt Pocock Skills

    ywwynm/EverythingDone

    Sets up an Agent skills block in AGENTS.md/CLAUDE.md and docs/agents/ so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc…

    144 GitHub starsUsed in 9 repos~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Official

    Shared collaboration rules for a team of squad agents covering worktree awareness, writing decisions to an inbox, cross-agent requests and reviewer lockout.

    1.4k GitHub starsUsed in 4 repos~500 tokens
    Agent WorkflowsAuto-check passed
  • Steadyagent Workflow

    Khalilzhang0825/boring-is-all-you-need

    Local-first Codex workflow for planning, debugging, reviewing, refactoring, improving AGENTS.md, building skills, publishing agent harness repositories, or running complex multi-step coding tasks…

    173 GitHub stars~1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Zed Config

    wcygan/dotfiles

    Zed editor configuration expert. An agent skill from wcygan/dotfiles.

    196 GitHub stars~930 tokensUpdated today
    Agent WorkflowsAuto-check passed

More from latitude-dev/latitude-llm

All 28 skills in this repo
  • Better Auth Best Practices

    latitude-dev/latitude-llm

    Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.

    4.7k GitHub starsUsed in 7 repos~1.6k tokens
    Auto-check passed
  • Artifact Designer

    latitude-dev/latitude-llm

    Create, validate, preview, and publish self-contained HTML artifacts.

    4.7k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • CI Watchdog

    latitude-dev/latitude-llm

    Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.

    4.7k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Temporal Developer

    latitude-dev/latitude-llm

    This skill should be used when the user asks to "create a Temporal workflow", "write a Temporal activity", "debug stuck workflow", "fix non-determinism error", "Temporal Python", "Temporal…

    4.7k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Managing Maintenance Windows

    latitude-dev/latitude-llm

    Enables or disables Latitude production maintenance mode by redirecting all publicly exposed production services to the Better Stack status page.

    4.7k GitHub stars~802 tokensUpdated today
    Auto-check passed
  • Mintlify Preview

    latitude-dev/latitude-llm

    Run the public Mintlify product docs site locally for live preview.

    4.7k GitHub stars~813 tokensUpdated today
    Auto-check passed

Works with

Questions about Docs

What does Docs do?

Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules. Docs is an agent skill from latitude-dev/latitude-llm.md for cross-cutting repo rules.

When should I use Docs?

Docs fits situations like: tasks that involve Agent instruction files; tasks that involve Refactoring.

How do I install Docs in Claude Code?

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

How do I install Docs in Codex?

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

Can I use Docs 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 latitude-dev/latitude-llm --skill docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs, .gemini/skills/docs, .github/skills/docs and .opencode/skills/docs in your project.

What does Docs need to run?

Going by SKILL.md and its folder, Docs needs the command-line tools its instructions call (git). Compatibility (from SKILL.md): opencode.

Does Docs access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Docs 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 Docs use?

Docs is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs use?

About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs?

Skills that share tags, products or a category with Docs: Update Docs (peterkrueck/Claude-Code-Development-Kit, 1.4k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Setup Matt Pocock Skills (ywwynm/EverythingDone, 144 stars) and Squad Agent Collaboration Patterns (microsoft/waza, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs?

latitude-dev (a GitHub organization) maintains it in latitude-dev/latitude-llm, which has 4,714 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 7, 2026.

Source: latitude-dev/latitude-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.