claude-project-context-manager
A skill and agent plugin that reads your project's architecture documentation — README.md, architecture.md, and related files — and enforces
Open source Open in the app JSON README (API)
About
A skill and agent plugin that reads your project's architecture documentation — README.md, architecture.md, and related files — and enforces those documented conventions on every code change Claude makes. Includes a /project-context skill for on-demand rule extraction, an architecture-reviewer subagent that performs deep read-only compliance analysis with structured PASS/WARN/FAIL reports, and a SessionStart hook that automatically loads project context when Claude launches. Ensures file plac...
Details
- Kind
- Plugins
- Topic
- Security & identity
- Publisher
- its-animay
- Origin
- marketplace
- Category
- ferramentas
- Stars
- 3
- Last push
- 2026-02-09T12:36:27Z
- Repository state
- ativo
- Added
- 2026-08-30 01:48:58
- Updated
- 2026-08-30 01:48:58
- Origin id
its-animay/claude-project-context-manager/claude-project-context-manager
README
# Project Context Manager Plugin A skill + agent plugin for Claude Code that scans project documentation and enforces architectural rules on every write operation. ## Components ### Skill: `/project-context` Invoke with `/project-context` to scan the project for architecture documentation and extract rules. Once loaded, Claude will check every subsequent Write or Edit against the documented conventions. **Scanned files**: - `README.md` - `architecture.md` / `ARCHITECTURE.md` - `docs/architecture.md` - `CLAUDE.md` **Enforced categories**: - Tech stack and framework conventions - Directory structure rules - Naming conventions - Architectural layer boundaries - Dependency restrictions - Required code patterns - Testing requirements ### Agent: `architecture-reviewer` A read-only subagent that performs deep architectural review. Delegates to this agent for thorough multi-file analysis when making significant structural changes. Produces structured reports with **PASS**, **WARN**, and **FAIL** findings. ### Hook: SessionStart Automatically scans for architecture docs when a new Claude session starts, so project context is available immediately. ## Installation ```bash claude --plugin-dir /path/to/project-context-manager ``` Verify it loaded: ```bash /plugins list ``` ## How It Works 1. On session start, the hook scans for architecture documentation. 2. When `/project-context` is invoked, Claude reads all doc files and extracts architectural rules. 3. A PreToolUse prompt hook fires before every Write/Edit, checking the proposed change against the extracted rules. 4. For deeper review, the `architecture-reviewer` agent can be invoked to analyze multiple files and produce a structured compliance report.