Archwhere

    by Tapas Kar

    1

    Keep your architecture map and code in sync using the archwhere MCP server for automated mapping and validation.

    Free

    Security scanned

    Works with the AI Agents you already use

    Archwhere

    Example session with this skill installed

    I'm planning to modify the auth logic in src/lib/auth.ts and src/hooks/useUser.ts. What parts of the system does this touch, and does it break any architecture rules?

    • Read your context and instructions
    • Compiled the archwhere

    I have analyzed the impact of your proposed changes using archwhere. The files you mentioned are mapped to the security and core components.

    Architecture Impact Report

    ComponentKindFiles AffectedReview RequiredStatus
    auth-servicesecuritysrc/lib/auth.tsYes (Watch pattern: auth-*)Valid
    user-profilecoresrc/hooks/useUser.tsNoValid

    Impact Analysis

    1. Security Zone: src/lib/auth.ts is part of a security kind component. Per repo rules, any changes here must trigger an owner-review.
    2. Dependency Check: Current changes do not introduce new dependencies between auth-service and user-profile.
    3. Consistency: All files are currently covered by the globs defined in arch/architecture.json.

    Next steps

    • Proceed with the edits but do not add the owner-review label yourself.
    • Run npx archwhere check after the edits to ensure no new unmapped files were created.
    • Format your PR title as [auth-service] security: update auth logic in lib.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Maintaining a clean architecture map is a constant struggle as codebases evolve. This skill ensures your architecture documentation and architecture.json stay synchronized with every code change you make.

    What it does

    • Architectural mapping identifies which logical components and kinds (core, security, infra) are affected by specific file changes.
    • Automated scaffolding generates an initial arch/architecture.json model from existing repo structures.
    • Constraint enforcement validates that all files are mapped and dependencies align with declared architectural rules.
    • Change documentation updates ARCHITECTURE.md and user flows automatically when models or processes shift.
    • Workflow compliance formats PR titles by component and flags changes to security-sensitive zones for human review.

    How it works

    1. Analyze impact by running what_touches on your planned file changes to see which components are affected.
    2. Execute changes and update the arch/architecture.json globs or dependencies if new modules are added.
    3. Validate state using the check command to ensure no files are left unmapped and no rules are broken.
    4. Document shifts by regenerating the ARCHITECTURE.md and updating user-visible flows in the map.

    Frameworks & tools

    This skill utilizes the archwhere MCP server and CLI. It manages JSON-based architecture maps and integrates with git-based workflows for PR naming and review flagging.

    Why this beats prompting it yourself

    Generic prompts often lose track of file-to-component mappings in large repos. This skill provides a specialized loop that forces validation via the archwhere CLI, ensuring your agent never "hallucinates" the system boundary or forgets to document a new module.

    Use cases

    • Scaffold an architecture map for a legacy repo with no existing documentation.
    • Verify that a refactor hasn't accidentally leaked logic into a security-sensitive component.
    • Automatically update a project's ARCHITECTURE.md after a major backend restructuring.
    • Identify which team or owner needs to review a PR based on component watch patterns.

    Known limitations

    The MCP server is read-only unless explicitly started with the --write flag. It requires a structured arch/architecture.json file to function effectively.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    • Free with an Agensi account

    Software
    archwhereNode.js

    Permissions

    Network Access
    Listed5 days ago

    What's inside

    Creator

    Tapas Kar

    Tapas Kar

    Frequently Asked Questions

    Archwhere automates the synchronization between your codebase and its architectural documentation. It prevents 'architecture drift' by ensuring that every file change is mapped to a logical component and that all dependencies adhere to your defined structural rules.

    This skill requires the Archwhere CLI and is designed to work with any AI agent that supports the Model Context Protocol (MCP). It integrates seamlessly into Git-based workflows to assist with pull request naming and component-based reviews.

    Yes, Archwhere includes an automated scaffolding feature that analyzes your existing repository structure to generate an initial 'architecture.json' model, making it easy to document legacy projects.

    Archwhere operates in a read-only state by default for safety. To allow the agent to update your 'architecture.json' or 'ARCHITECTURE.md' files during a workflow, the MCP server must be started with the '--write' flag enabled.

    By using the 'check' command through the MCP server, the skill validates that every file in your repo is mapped and that no new code violates your component boundaries, flagging errors immediately if rules are broken.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free