Skip to content
Skill

Context and decisions

Keeps business terms consistent in a glossary and routes hard decisions to ADRs

Context and decisions is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Context and decisions

This skill manages stable domain language separately from architectural reasoning. When a project's terms are re-explained often, carry several meanings, or cause module-boundary mistakes, the agent first looks for an existing glossary or context map and reuses it. A new CONTEXT.md is proposed only when no equivalent exists and a term is resolved, and it is created only after explicit user approval.

During a modeling conversation the agent challenges contradictions with the current glossary, separates overloaded words into distinct concepts, and tests relationships with concrete scenarios. It checks claims against code, tests and contracts, but treats code as current behavior rather than the intended business rule. Unconfirmed interpretations are marked as needing confirmation instead of being stated as fact.

Durable, hard-to-reverse decisions are handed to the architecture-decision-records skill, which keeps the repository's existing ADR location and format. The context document links to that record rather than copying it. Tasks, schedules and status stay in the project's existing issue tracker.

When your agent uses it

Govern stable domain context with a narrowly scoped CONTEXT.md when needed, and route hard-to-reverse decisions to ECC's existing architecture-decision-records skill. Use when domain terms require repeated explanation, one term has multiple meanings, unclear language causes module-boundary mistakes, or domain semantics must remain separate from architecture decisions.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (12 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/context-and-decisions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.claude/skills/context-and-decisions &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/context-and-decisions inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/context-and-decisions to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.agents/skills/context-and-decisions &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/context-and-decisions inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/context-and-decisions to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.cursor/skills/context-and-decisions &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/context-and-decisions inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/context-and-decisions

Or copy the folder to ~/.gemini/skills/context-and-decisions yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/context-and-decisions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.copilot/skills/context-and-decisions &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/context-and-decisions inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/context-and-decisions into your agent's skills folder as context-and-decisions. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Domain language glossary
Records precise definitions, relationships and confirmed ambiguities for business terms in one place.
Ambiguity challenging
Compares user wording against the glossary and asks which meaning is intended when terms conflict.
Scenario-based probing
Uses concrete edge cases to expose boundaries between related business concepts.
Evidence cross-checking
Compares stated terms against code, tests and contracts and surfaces mismatches for the owner to decide.
ADR handoff
Routes hard-to-reverse architectural decisions to the existing architecture-decision-records workflow and links to them.
Scope discipline
Avoids empty context files, implementation details and schedules inside the glossary.

Good for

  • Define an overloaded business term like account or cancellation consistently across a codebase
  • Check whether a requested feature contradicts the project's existing domain glossary
  • Mark an unclear domain rule as needing confirmation from the business owner
  • Record a confirmed term definition in the existing glossary with its source
  • Hand off a durable storage or module-boundary decision to the ADR workflow

Context and decisions FAQ

Does Context and decisions create a CONTEXT.md file automatically?

No. It reuses an existing mapped glossary or context document when one exists. A new CONTEXT.md is proposed only when no equivalent exists and a term is resolved, and the user must explicitly approve creating it.

Which tools does Context and decisions depend on?

It relies on the architecture-decision-records skill for decisions, and on living-docs-governance and docs-governance for lifecycle and routing. The skill has no scripts of its own.

When does Context and decisions activate?

When domain terms are repeatedly re-explained, one term has several meanings, unclear language causes implementation drift, or a durable decision should be handed to the ADR workflow. Ordinary bug fixes that only use established vocabulary do not trigger it.

Where do schedules and task status go?

They stay in the project's existing tracker, such as GitHub Issues or Linear. They are kept out of CONTEXT.md and ADRs.

How do I install Context and decisions in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/context-and-decisions to use it in all your projects, or to .claude/skills/context-and-decisions in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Context and decisions run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Context and decisions?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Context and decisions?

The closest alternatives to Context and decisions are Domain modeling, Memory sync, Agent log, Nvidia ontology management and Docbrain capture.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments