.agents/skills/docs/SKILL.md
Review the current conversation context and git changes, then persist durable repository knowledge into `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`.
npx skillsauth add latitude-dev/latitude-llm docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to keep durable repository knowledge in sync with the current coding session.
The sources of truth are:
docs/*.md, relevant specs/*.md, and AGENTS.mdThis skill is for durable knowledge, not changelog prose.
docs/ contains precise and exhaustive Markdown documentation for each domain or system.docs/reliability.md, docs/evaluations.md, docs/annotations.md, docs/scores.md, docs/issues.md, docs/simulations.md, docs/organizations.md, docs/projects.md, docs/users.md, docs/settings.md, docs/spans.md).specs/ is a temporary folder used while a feature or system is under construction.specs/ should have its own Markdown file and usually include a task list to track progress.Use this structure for specs:
# Name
> **Documentation**: `docs/reliability.md`, `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)
specs/ into docs/.docs/ for the current spec is recommended.Use this skill automatically before finishing a task when the session introduced, removed, or clarified durable knowledge such as:
Use it when the user explicitly asks to:
docs/AGENTS.mdIf there is no durable knowledge change, do not edit docs just to summarize work. Say that no documentation update is needed.
If the worktree contains unrelated changes, do not document them unless the user asked you to.
git status and git diff.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 docs/ unless the implementation or the conversation made them durable truth.docs/ only when the knowledge is durable and no existing doc is a reasonable home.AGENTS.mdAdd or update AGENTS.md when the session established a general rule that should guide future agent work across the repository.
Good candidates include:
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.
AGENTS.md.Persist knowledge only if it is likely to matter after this session:
Do not persist:
Use the closest existing doc when possible:
docs/reliability.md: cross-cutting reliability system designdocs/evaluations.md: evaluation lifecycle and behaviordocs/annotations.md: annotation model and flowsdocs/annotation-queues.md: queueing and assignment behavior for annotationsdocs/scores.md: scoring logic and score lifecycledocs/issues.md: issue detection, grouping, and issue workflowsdocs/simulations.md: simulation concepts and flowsdocs/organizations.md: organization tenancy and membership rulesdocs/projects.md: project structure and project-scoped behaviordocs/users.md: user identity and user lifecycledocs/settings.md: configuration and settings behaviordocs/spans.md: span ingestion, storage, and query semanticsIf a change spans multiple domains, update multiple docs.
docs/ and AGENTS.md if appropriate.AGENTS.md prescriptive and reusable by future coding agents.docs/*.md files by domain.AGENTS.md for any new repo-wide durable rule.data-ai
Continuous Agentation annotation handling. Use when the user says "watch mode", asks you to watch for Agentation annotations, process feedback as it arrives, or keep fixing annotation-driven changes until told to stop or a timeout is reached.
development
apps/web UI — routes, @repo/ui, TanStack Start server functions and collections, forms, Tailwind layout rules, design-system updates, and useEffect / useMountEffect policy.
tools
Installing dependencies, running dev/build/test/lint, filtering packages, single-test runs, git hooks, preparing a clone (.env.development / .env.test), or Docker-backed local services and dev servers.
tools
Writing or debugging tests, choosing unit vs integration style, Postgres/ClickHouse tests, regenerating ClickHouse test schema, or exporting test helpers from packages without pulling test code into production bundles.