Establishing project context

From Undermybelt/hermes-skills · View interactive version

Establishing project context is an AI agent skill from the GitHub repository Undermybelt/hermes-skills. Use when entering a project for the first time, or when the user asks to establish shared language, define domain terms, or create a project glossary.

How to use this skill

Skill file

Establishing Project Context

Overview

Maintain a CONTEXT.md file at the project root that defines the project's domain language — a single source of truth for terminology shared between the agent and the human. Borrowed from Domain-Driven Design's "ubiquitous language" principle.

CONTEXT.md is about the user's project domain, NOT about Aegis governance. For Aegis governance docs, see docs/current/ and docs/adr/.

Where CONTEXT.md Lives

```

ordering → src/ordering/CONTEXT.md

billing → src/billing/CONTEXT.md

```

System-wide terms still go in root CONTEXT.md.

Create files lazily — only when you have something to write.

When to Use

On first entering a project:

  1. Check if CONTEXT.md (or CONTEXT-MAP.md) exists
  2. If not, ask briefly: "Want me to set up a shared language glossary for this project?"
  3. If yes, start with 3-5 core domain terms, then iterate

During brainstorming / planning / debugging:

CONTEXT.md Format

See CONTEXT-FORMAT.md in this directory for the canonical template.

Key rules:

Integration with Aegis Workflows

Boundary: CONTEXT.md vs baseline/

CONTEXT.md and docs/aegis/baseline/ serve different purposes:

| | CONTEXT.md | baseline/ |

|---|-----------|-----------|

| What | Domain language, ubiquitous terminology | Technical architecture snapshot |

| Audience | Domain experts + agents | Agents + developers |

| Content | Terms, definitions, resolved ambiguities | Ownership, contracts, dependencies, anti-patterns |

| Updates | Immediately on term resolution | After architecture review or material change |

| Trigger | establishing-project-context skill | brainstorming, writing-plans, code-review, systematic-debugging |

Do NOT put implementation details in CONTEXT.md.

Do NOT put domain glossary terms in baseline/.

Red Flags

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.