context-and-decisions
Что он делает
Этот инструмент помогает систематизировать и объяснять значения важных терминов проекта. Сложные решения он передает в существующую систему фиксации решений.
Когда использовать
- ✓Когда технические термины приходится объяснять снова и снова.
- ✓Когда слово имеет несколько значений внутри проекта.
- ✓Когда нужно зафиксировать важные решения, которые трудно отменить.
Ссылка на скилл
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/context-and-decisions/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Объясни, что означает «активный клиент» в этом проекте, и зафиксируй решение о том, как обрабатывать просроченные платежи.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Сначала инструмент ищет объяснения терминов в существующих документах. Если их нет, он создает файл для записи значений. Важные решения передаются в другую систему фиксации.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Domain Context and Decision Handoff
Govern “what these business terms mean” separately from “why this option was chosen.” Do not create an empty shell when no stable content exists.
Domain Context Artifact: Domain Language Only
When terms require repeated explanation, one term has multiple meanings, or unclear language causes module-boundary errors, first reuse the repository's existing glossary/domain-model document or the context role in .governance/docs-map.json. Only when no equivalent exists should you lazily create the default CONTEXT.md from templates/context.example.md.
Record only:
- domain terms and precise definitions;
- relationships among core concepts;
- confirmed ambiguities and the chosen interpretation;
- ambiguities still awaiting confirmation from a domain owner.
Do not include implementation details, current state, task schedules, full requirements, decision rationale, or history. Keep those in code/MAP, STATUS/Issue Tracker, Spec, ADR, and LOG respectively. Terms must be traceable to code, contracts, or business evidence. Mark unconfirmed items as needs confirmation; do not guess.
ADR Handoff: Reuse the Existing Capability
This skill does not define a second ADR directory, numbering scheme, lifecycle, or template. When a decision is hard to reverse, would confuse a future reader without context, and involves a real tradeoff:
- Read and execute
architecture-decision-records, preserving the repository's existing ADR location and format. - If no convention exists, let that skill choose the minimum viable location; do not create a separate system here.
- Link to the ADR from
CONTEXT.md, the project map, or the relevant Spec/Issue instead of copying the decision body. - When a decision is accepted, superseded, or deprecated, append an event to project history according to the living-document rules.
Routine implementation details, easily reversible changes, and short-lived experiments do not need ADRs.
When to Activate
- Domain terms are repeatedly re-explained or ambiguous language causes implementation drift.
- The project needs a stable domain-language entry point but has no equivalent document.
- Context work uncovers a durable decision that should be handed to
architecture-decision-records.
When to Use
Use this skill when stable domain language needs one evidence-backed home, or when context work reveals a hard-to-reverse decision that belongs in the repository's existing ADR system.
How It Works
- Reuse the mapped context or glossary artifact when one exists; create
CONTEXT.mdonly when no equivalent source of truth is available. - Record precise domain definitions, relationships, confirmed interpretations, and explicitly unconfirmed ambiguities without mixing in implementation or task state.
- Route durable tradeoffs to
architecture-decision-recordsand link the resulting ADR instead of copying its rationale into context documents. - Keep schedules, blockers, and execution status in the existing issue tracker.
Examples
- Define an overloaded business term once and link it to the code or contract that proves its meaning.
- Mark a domain interpretation as
needs confirmationuntil a domain owner resolves it. - Hand off a durable storage or boundary decision to the existing ADR workflow and link it from the context artifact.
Anti-Patterns
- Copying current tasks, schedules, full requirements, or implementation details into
CONTEXT.md. - Creating empty context files or a second ADR system for completeness.
- Treating unconfirmed domain interpretations as facts, or copying ADR bodies into maps and logs.
Related Skills
architecture-decision-records: the sole ADR methodology for hard-to-reverse decisions.living-docs-governance: lifecycle maintenance for the project map, status, and history.docs-governance: cross-capability routing and closeout order.
Scheduling and Task Boundary
Keep tasks, status, blockers, and schedules in the project's existing tracker, such as GitHub Issues or Linear, as the single source of truth. Use local .scratch/ only when no external tracker exists and the project explicitly adopts it. Do not put schedules in CONTEXT.md, ADRs, PROJECT_STATUS, or the history index database.
Частые вопросы
Что не стоит помещать в этот документ?
Не добавляйте детали реализации, графики задач, полные требования и историю решений. Эта информация хранится в других местах, например в коде, трекерах задач или записях о решениях.
Что такое ADR?
ADR расшифровывается как Architecture Decision Record (запись архитектурного решения). Это документ, который объясняет важное решение, трудно поддающееся отмене, о том, как что-то устроено в проекте или почему выбрано именно так.
Когда создавать новый файл контекста?
Создавайте новый файл контекста, только если в проекте нет существующего глоссария или документа с доменной моделью, которые объясняют термины.
Подробности
Оригинальное описание автора
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.
repo: affaan-m/ECC
Популярность
- Звёзды на GitHub
- 280k
- Место в рейтинге
- #154
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
accessibility
280kПомогает агенту создавать интерфейсы, которыми может пользоваться каждый. Следит, чтобы сайты и приложения работали для людей с нарушениями зрения или моторики.
agent-architecture-audit
280kЗаставляет агента проверить, всё ли работает правильно. Находит и исправляет проблемы в системах ИИ, чтобы они работали как задумано.
agent-eval
280kПомогает агенту сравнивать ИИ-инструменты для программирования. Измеряет, какой быстрее, дешевле и надёжнее для конкретных задач.
agent-harness-construction
280kПомогает агенту лучше понимать, как выполнять задачи. Оптимизирует инструменты и инструкции агента, чтобы повысить шансы на успех.
Похожие скиллы
technical-documentation
394kПомогает агенту писать и проверять понятную техническую документацию и инструкции для агентов, чтобы людям и ИИ-инструментам было легко по ним работать.
archify
260kУстанавливает Archify, который превращает небольшую спецификацию JSON в проверенную интерактивную HTML-диаграмму, которую можно экспортировать как изображение или видео.
concept-diagrams
260kСоздает понятные плоские учебные диаграммы в одном файле HTML с графикой SVG, охватывая физику, биологию, анатомию, планировки и процессы.