javierhbr/agnostic-agent-loop/context-manager

Claude Code and agent skill by javierhbr/agnostic-agent-loop

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Enforce mandatory context workflow before code changes: read local AGENTS.md files, respect architecture boundaries, and update context docs after structural changes.

Install

npx vskill@latest install javierhbr/agnostic-agent-loop/context-manager

SKILL.md

The same SKILL.md was published earlier as javierhbr/agnostic-agent-loop/context-manager.

skill:context-manager

Does exactly this

Enforces mandatory context workflow: read local AGENTS.md files before edits, respect architecture boundaries, and update context docs after structural changes.


When to use

Apply this skill when a task includes any of the following:

  • Editing files.
  • Creating, moving, or deleting source directories.
  • Changing dependencies between architectural layers.

Required Workflow

  1. Identify all directories that will be edited.
  2. For each directory, check whether AGENTS.md exists.
  3. If AGENTS.md exists, read it before editing.
  4. If AGENTS.md does not exist and the directory contains source files, create documentation context first.
  5. Validate dependency direction against architecture boundaries.
  6. Perform edits.
  7. If structure, entrypoints, or boundaries changed, update the affected AGENTS.md files in the same turn.

Stop Conditions

Stop and fix context before proceeding if any of these occur:

  • Editing starts before reading applicable AGENTS.md.
  • A new source directory is added without context documentation.
  • A dependency violates layer boundaries.
  • Architectural changes are made without updating context docs.
Hexagonal Architecture Boundaries
LayerCan Depend OnCannot Depend On
Core/DomainNothingApplication, Infrastructure, Config
Core/ApplicationDomain onlyInfrastructure, Config
Infrastructure/AdaptersDomain, ApplicationOther adapters directly
Infrastructure/ConfigAll layers—

References

  • AGENT_RULES.md: Unknown - verify (file not found in current repository).
  • CLAUDE.md: Available in repository root for tool-specific guidance.
  • OPENCODE.md: Unknown - verify (file not found in current repository).
  • COPILOT.md: Unknown - verify (file not found in current repository).

Execution Checklist

  • [ ] Read all relevant AGENTS.md files before editing.
  • [ ] Confirm imports respect architecture boundaries.
  • [ ] Apply code changes.
  • [ ] Update context documentation for structural changes.

If you need more detail

No additional resources — this skill is self-contained. Use the workflow above as your checklist.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/javierhbr/agnostic-agent-loop/context-manager/badge)](https://verified-skill.com/skills/javierhbr/agnostic-agent-loop/context-manager)

Something wrong with this skill or its page? Tell us.