javierhbr/agnostic-agent-loop/context-manager
Claude Code and agent skill by javierhbr/agnostic-agent-loop
- community
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-managerSKILL.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
- Identify all directories that will be edited.
- For each directory, check whether
AGENTS.mdexists. - If
AGENTS.mdexists, read it before editing. - If
AGENTS.mddoes not exist and the directory contains source files, create documentation context first. - Validate dependency direction against architecture boundaries.
- Perform edits.
- If structure, entrypoints, or boundaries changed, update the affected
AGENTS.mdfiles 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
| Layer | Can Depend On | Cannot Depend On | |
|---|---|---|---|
| Core/Domain | Nothing | Application, Infrastructure, Config | |
| Core/Application | Domain only | Infrastructure, Config | |
| Infrastructure/Adapters | Domain, Application | Other adapters directly | |
| Infrastructure/Config | All 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.mdfiles 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
- SKILL.md in the repositoryCheckinginternal/skills/packs/context-manager/SKILL.md
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
[](https://verified-skill.com/skills/javierhbr/agnostic-agent-loop/context-manager)