context-anchoring

Create and append per-feature context docs capturing decisions and constraints.

176|13|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/techygarg/lattice --skill context-anchoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-anchoring
Source: https://github.com/techygarg/lattice/tree/main/plugins/lattice/skills/context-anchoring
Command: npx skills add https://github.com/techygarg/lattice --skill context-anchoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

AI conversations often lose track of decisions, constraints, and rationale as context decays across sessions. Context anchoring binds decisions to a feature lifecycle, preserving knowledge for design, implementation, bugfix, and refactor work.

Core Features & Use Cases

  • Create per-feature context docs that live in the repository and capture what was decided, why, and what else was considered.
  • Load existing context docs to resume work without re-deriving decisions.
  • Enrich the context log by appending new decisions, constraints, and resolutions in chronological order.
  • Use alongside workflows like design-blueprint and code-forge to maintain living, versioned context.

Quick Start

Create a context doc for the feature you're working on and begin enriching its Decisions Log as decisions are made.

Frequently Asked Questions about context-anchoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist feature decisions and context across AI sessions?

Context anchoring persists feature decisions by creating living documentation in your repository. It captures decisions, constraints, and rationale as append-only logs, preserving knowledge for future work without re-deriving explanations.

What is the best way to maintain a decision log for software features?

Maintain a decision log by creating per-feature context docs that live natively in your git repository. Enrich the log by appending new decisions, constraints, and resolutions chronologically, ensuring a versioned history.

How do I resume a bugfix or refactor workflow without losing prior reasoning?

Resume a bugfix or refactor workflow by loading existing context docs. This reloads the feature's living history, allowing you to pick up where the last session ended without losing prior reasoning or constraints.

Does context anchoring require a specific database to store feature documentation?

Context anchoring does not require a database. It stores feature documentation as git-native, append-only logs directly within your repository, requiring only a per-feature context base to function.

Can I use context docs alongside design and implementation workflows?

Yes, you can use context docs alongside design and implementation workflows. The living, versioned context supports feature design, implementation, bugfix, and refactor workflows by capturing what was decided and why.

When should I not use git-native append-only logs for session persistence?

Git-native append-only logs may not suit workflows needing frequent edits to past entries or non-textual binary assets. Context anchoring works best for chronological decision tracking rather than mutable documentation.