AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Establishing Project Context

skill-ganyuanran-aegis-establishing-project-context · by GanyuanRan

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.

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-ganyuanran-aegis-establishing-project-context

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ganyuanran-aegis-establishing-project-context)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Establishing Project Context? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

  • Single project: /CONTEXT.md
  • Monorepo / multiple bounded contexts: /CONTEXT-MAP.md maps context names to their locations:

`` 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:

  • When user uses a vague or overloaded term, propose a precise canonical term
  • Check against existing CONTEXT.md glossary before proposing
  • Write each term resolution immediately — don't batch

CONTEXT.md Format

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

Key rules:

  • Only include terms meaningful to domain experts
  • Don't couple CONTEXT.md to implementation details
  • Each term: name, one-sentence definition, and what to avoid calling it
  • Record resolved ambiguities so they aren't re-litigated

Integration with Aegis Workflows

  • brainstorming: Reads CONTEXT.md in Step 1 (Explore project context), tightens terminology during Step 4 (Ask clarifying questions)
  • writing-plans: Uses CONTEXT.md terms in plan task descriptions
  • systematic-debugging: References CONTEXT.md for canonical component names

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

  • Don't turn CONTEXT.md into architecture documentation (that's ADRs)
  • Don't add implementation details (class names, file paths, config keys)
  • Don't batch term updates — write immediately when resolved
  • Don't create CONTEXT.md without user consent

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.