context-co-update-ci-gate

Designs a pull-request CI gate that blocks merges when important paths change without context-map updates.

2|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill context-co-update-ci-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-co-update-ci-gate
Source: https://github.com/nguyenpv1980-wq/Project-Aegis/tree/main/.claude/skills/context-co-update-ci-gate
Command: npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill context-co-update-ci-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents documentation and context-map drift by enforcing that code changes touching important paths must also update the repo's context artifacts or explicitly declare that no context update is needed.

Core Features & Use Cases

  • Important-path detection: Defines which source, schema, workflow, and agent-instruction paths require a matching context update.
  • Co-update enforcement: Fails pull requests that change important paths without updating the context map or notes in the same PR.
  • Declared no-op escape hatch: Allows a reviewable no-context-change-needed declaration, but never a silent bypass.
  • Update protocol: Requires date and commit SHA stamps, evidence-backed status changes, and forbids deleting unresolved risk notes without proof.
  • Pipeline handoff: Produces a gate design for installation by CI pipeline tooling or a human, rather than editing workflow files directly.

Quick Start

Ask for a CI gate design that fails any PR changing important paths unless the context map or notes are updated in the same PR, with a visible no-context-change-needed escape hatch and an evidence-based update protocol.

Frequently Asked Questions about context-co-update-ci-gate

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

FAQPage Schema
How do I prevent documentation drift when merging pull requests that change critical paths?

You prevent documentation drift by implementing a CI gate that blocks pull requests from merging when important paths change without a matching context-map or notes update. This enforces co-updates within the same pull request.

What is a co-update CI gate for context maps?

A co-update CI gate is a pull-request check that fails merges when important paths, such as schema or API surfaces, are modified without corresponding context-map or notes updates, ensuring living architecture docs stay synchronized with code.

Can I bypass the context-map update requirement if my code change doesn't affect architecture?

You can bypass the context-map update requirement using a declared no-op escape hatch. This allows a reviewable no-context-change-needed declaration, but the fail-closed check logic never permits a silent bypass.

How do I set up a GitHub Actions CI gate for context-map synchronization?

You set up the CI gate by defining explicit important-path globs and fail-closed check logic. The Skill produces a gate design for installation by CI pipeline tooling or a human, rather than editing GitHub Actions workflow files directly.

What update protocol is required for context-map notes in a pull request?

The update protocol requires date and commit-SHA stamping on context-map updates. It mandates evidence-backed status changes and forbids deleting unresolved risk notes without proof, ensuring documentation changes remain auditable.

Does the CI gate check work with workflow files and agent-instruction files?

Yes, the CI gate check applies to repositories with workflow files and agent-instruction files. It defines important-path detection across source, schema, and agent-instruction paths that must stay synchronized with code changes.