SkillsReviewed · techygarg

Context Anchoring

Context Anchoring is a skill for developers who want AI assistants to preserve feature decisions across sessions, but it depends on confirmed document updates and reliable assistant behavior. It maintains one Markdown document per feature, recording decisions, reasons, alternatives, constraints, open questions and relevant files. Requirements remain in a separate document, and the skill excludes project-wide specifications and codebase assessments.

Researched 16 Nov 2026

In short.

Context Anchoring is a skill for developers carrying feature work across AI sessions, but its usefulness depends on an assistant consistently loading and maintaining the feature document with user confirmation. Its create, load and enrich procedures preserve decisions and their reasoning in repository files. The supplied template is concrete and compact, while approval and completion statuses depend on other named skills. Host compatibility, integration behavior and actual continuity across sessions were not assessed; nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied skills/context-anchoring/SKILL.md and skills/context-anchoring/assets/feature-doc-template.md at revision a772470df20aebdbfd9fa32c435901a876a750f0, plus the repository-level LICENSE. It excludes the rest of Lattice, referenced integration skills, any actual .lattice/config.yaml, user feature documents, linked requirements and assistant host implementations. Both selected skill files are eligible for unchanged redistribution with the MIT notice retained. Nothing was executed; runtime behavior, integrations and cross-session reliability remain unverified.

The overview

identity

Context Anchoring is an instruction-based skill in the techygarg/lattice repository. The supplied folder contains SKILL.md and assets/feature-doc-template.md. It covers the development of individual features through design, implementation, bug fixes and refactoring.

The repository location is [https://github.com/techygarg/lattice/tree/main/skills/context-anchoring]. The assessed content is pinned to revision a772470df20aebdbfd9fa32c435901a876a750f0.

assessment

This is a useful candidate for feature work where an assistant repeatedly loses the reasons behind earlier choices. Its strongest contribution is a repeatable record of what was decided, why it was chosen and which alternatives were considered.

That benefit is inferred from the document design. The evidence provides no measured improvement in consistency, development speed or error rates. Confirmation before creating, loading and enriching documents also adds interaction overhead.

users

The intended users are developers using AI assistants for feature design, implementation, debugging or refactoring across multiple sessions. Beginners get a fixed place to record decisions and unanswered questions. Experienced developers can preserve technical constraints, rejected approaches and links to relevant files.

Teams need to accept a separate living document for each feature. The skill explicitly leaves product-wide specifications, codebase-wide assessments and general project conventions to other processes.

capabilities

The skill specifies three main behaviors: create a feature document, load its existing context and enrich it with confirmed decisions. Loading includes presenting the feature status, requirement reference, decision count, latest decision, open questions and constraints.

Discovery uses feature metadata or filenames. Multiple matches require a user choice. Enrichment appends dated decisions with reasoning and alternatives, records answers to open questions, preserves constraint overrides and avoids duplicate key-file entries.

A linked requirement document can be read locally or retrieved through a suitable connected tool. If the reference cannot be resolved that way, the instructions ask the user to supply the current constraints. The skill does not write to the requirement document.

Using it

requirements

The documented operations require an AI assistant capable of following skill instructions and reading and writing repository files. The supplied files do not identify supported assistants, minimum versions or a host-specific installation method.

An existing requirements document is optional: its reference can be null. Resolving an external reference requires an appropriate connected tool, or the user must supply the relevant constraints. Git can preserve document history when the files are committed; automatic commits are not specified.

mechanism

Storage is resolved from paths.context_base in the repository's .lattice/config.yaml. If that setting is absent, the default is .lattice/context/. Each feature receives a kebab-case Markdown filename. Metadata at the top records the feature, requirement reference, creation date and status.

The decision log grows chronologically without rewriting earlier entries. Other sections can change: answered questions leave the open-question list, and overridden constraints remain visible with strike-through formatting and an explanatory decision entry.

The documented statuses are draft, approved and complete. This skill creates draft documents; design-blueprint sets approved after design review, and code-forge sets complete after implementation. These are instructions for cooperating skills and the assistant, with no automated enforcement demonstrated in the supplied folder.

setup

Keep SKILL.md and assets/feature-doc-template.md together in their supplied directory layout, retain the MIT notice and use the skill-loading mechanism supported by your assistant. The evidence supplies no installation command or verified host configuration.

Choose the context directory through .lattice/config.yaml if the default is unsuitable. The documented first-use procedure confirms the feature name, asks for an optional requirement reference and proposes a document with status draft. If the template is unavailable, SKILL.md includes a minimal fallback structure.

example

Illustrative example, not executed: a developer starts a CSV export feature and confirms creation of .lattice/context/csv-export.md with status draft and a link to its requirement ticket. The developer later confirms a decision to export only currently filtered rows. A log entry would record the date, that choice, its reason and the alternative of exporting every row.

In a later session, the intended loading behavior would surface that decision, the document status and any unresolved export questions before work continues. Whether a particular assistant performs this reliably is unknown.

Assessment & evidence

limitations

Persistence comes from the saved document. Useful continuity still depends on the assistant finding it, reading it and following its recorded commitments. The supplied folder includes instructions and a template, with no demonstrated enforcement, conflict detection or behavioral tests.

Several behaviors depend on material outside this folder. Approval and completion are assigned to other skills, while enrichment calls for silently queuing reusable patterns through learning-harvest. That queue's location, format and behavior are not established by the supplied evidence.

An append-only decision log can grow over time. The skill gives no size limit, summarization procedure or measured context-window requirements. It also requires user confirmation for its main document operations.

reasoning

The design separates relatively stable requirements from the reasoning that develops during implementation. Recording alternatives alongside each choice could help a later developer understand whether a decision still applies. Preserving overridden constraints also keeps a visible explanation of changing boundaries.

These are reasons to consider the approach, rather than measured outcomes. Its practical value depends on accurate entries, resolvable requirement references and careful handling of later decisions that revise earlier commitments.

alternatives

For a small feature, manually maintaining the supplied Markdown template is a possible alternative. It retains the same record structure, while discovery, confirmation and updates would depend on the developer's own habits.

For requirements tracking, the skill already allows an existing local document, Jira ticket, Linear issue or wiki reference. Those systems can remain the requirements source. Product-wide specifications and codebase assessments require a different document lifecycle; no competing product or broader workflow was assessed.

evidence

The complete supplied skill instructions are available at [https://raw.githubusercontent.com/techygarg/lattice/a772470df20aebdbfd9fa32c435901a876a750f0/skills/context-anchoring/SKILL.md]. They establish the intended procedures, storage rules, confirmation requirements and cross-skill references.

The supplied feature template is [https://raw.githubusercontent.com/techygarg/lattice/a772470df20aebdbfd9fa32c435901a876a750f0/skills/context-anchoring/assets/feature-doc-template.md]. The accompanying licence is [https://raw.githubusercontent.com/techygarg/lattice/a772470df20aebdbfd9fa32c435901a876a750f0/LICENSE].

These files establish documented behavior and the template's structure. Nothing was executed. Assistant compatibility, file operations, external-reference retrieval and cross-session behavior remain unverified.

Access & freshness

costs

The MIT licence grants software permissions free of charge. The supplied files provide no model, token, assistant subscription or connected-service pricing, so operating cost is unknown.

Creating and reviewing records requires human attention, and loading growing documents consumes assistant context. Neither the time required nor the resulting model usage is measured in the evidence.

rights

The accompanying repository licence is MIT, with Copyright (c) 2026 Rahul Garg. It permits use, copying, modification, distribution, sublicensing and sale, subject to including the copyright and permission notice in copies or substantial portions.

The software is provided without warranty. The supplied skill and template contain no separate licence notice. The accompanying MIT notice does not establish permission to redistribute requirements or other material later linked from a user's feature documents.

freshness

The supplied snapshot was captured on 16 November 2026 at 09:06:17.790 UTC from revision a772470df20aebdbfd9fa32c435901a876a750f0. That revision identifies the exact source content discussed here.

The repository URL points to main, whose contents can change. Changes after capture and differences from the current upstream files are unknown. No release number is established by the supplied files.

actions

Before adoption, establish how your assistant loads the skill and resolves its template and context directory. Decide how approval and completion will be handled if design-blueprint and code-forge are unavailable, and inspect learning-harvest before relying on its queue behavior.

A useful evaluation would create one sample feature document, record a confirmed decision, start a fresh session and inspect whether the assistant restores the status, decision and open questions correctly. Reviewing the resulting file changes would also show whether earlier decisions were preserved. This is a suggested evaluation; no such trial was performed.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/context-anchoring/SKILL.mdselected · checked 2026-11-16