architecture reassessment

    by Daniele Bordignon

    1

    Evidence-based architecture reviews to audit design assumptions, resolve recurring failures, and evaluate alternatives.

    Free

    Security scanned

    Works with the AI Agents you already use

    architecture reassessment

    Example session with this skill installed

    Run an architecture reassessment on the current auth service because we are seeing persistent race conditions during token refresh and need to consider a move to Redis-backed sessions.

    • Read your context and instructions
    • Compiled the architecture reassessment

    I have completed the architecture reassessment for the auth service. I traced the token refresh logic, compared it against the original JWT-only decision records, and evaluated the feasibility of a Redis-backed session store.

    2024-10-24 Architecture Review: Auth Service State

    Evaluation of Material Choices

    QuestionEvidenceFinding
    Current constraints?High concurrency during peak loads; 500ms latency spikes in DB.Current stateless JWT approach lacks a revocation mechanism.
    Original assumptions?Assumed low-frequency refresh; assumed DB could handle session verification.Assumptions invalidated by 10x growth in active users.
    Contradictions?auth-gatekeeper.ts attempts to black-list tokens in an in-memory cache.Cache is non-distributed, causing inconsistent auth states.
    Viable alternatives?Redis-backed sessions; Sticky sessions with local cache; DynamoDB.Redis is viable; local cache rejected due to horizontal scaling needs.
    Why change?Reduced DB load and instant revocation outweigh infrastructure cost.Recommended: Change to Redis.

    Decision Summary

    • Decision: change from stateless JWT to Redis-backed session management.
    • Rationale: The current implementation cannot handle the race conditions occurring between the distributed nodes' local blacklists.
    • Exclusions: This review does not cover the migration of existing user passwords or OAuth provider integrations.

    Outside Landscape Comparison

    ConceptDispositionEntry LevelRationale
    Redis Session StoreAdoptProduction-readyIndustry standard for low-latency session state.
    DragonflyDBWatchExperimentalHigh performance but lacks managed service maturity for our stack.
    UpstashAdaptServerlessGood for our edge functions but check latency vs VPC Redis.

    Next steps

    1. Review the generated 2024-10-24-auth-architecture-review.md in the /docs/arch/ directory.
    2. Initialize an experiment phase to bench Redis latency vs current Postgres lookups.
    3. Update the ADR-004 record to Superseded by the new findings.

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

    About this skill

    Stale design assumptions and shifting system boundaries lead to technical debt and brittle infrastructure. This skill provides an evidence-based framework to reassess your architecture when recurring failures or dependency changes expose flaws in your original logic.

    What it does

    • Baseline pinning records specific repository revisions and requirements to ground the review.
    • Code-to-record validation identifies drift between shipped behavior, ADRs, and roadmaps.
    • End-to-end tracing maps happy paths and failure recovery against state consistency and resource limits.
    • Choice evaluation audits existing decisions against current constraints and viable alternatives.
    • Landscape comparison optionally benchmarks your stack against industry standards without leaking private data.
    • Decision preservation generates dated reports that supersede old ADRs while maintaining rationale history.

    How it works

    1. Initialize review by defining the scope, changed boundaries, and the specific repository state.
    2. Audit implementation by tracing representative paths through the codebase and infrastructure.
    3. Execute evaluation using a structured evidence table to justify retaining or changing material choices.
    4. Compare landscape (optional) via web search to identify emerging patterns or stable alternatives.
    5. Generate report as a dated Markdown file containing findings, new decisions, and blockers.

    Frameworks & tools

    This skill is language-agnostic and works in any repository containing architecture decision records (ADRs), documentation, or complex system logic. It integrates with standard development environments and web search tools for landscape analysis.

    Why this beats prompting it yourself

    Generic prompts often lead to vague suggestions or "best practices" that ignore your actual constraints. This skill enforces a strict evidence-gathering phase, ensuring every architectural change is backed by measured behavior and verified requirements rather than LLM hallucinations.

    Use cases

    • Audit design assumptions after a series of recurring production incidents.
    • Re-evaluate the stack when a core dependency or hardware target changes.
    • Sync architecture documentation with actual implementation after rapid scaling.
    • Benchmark internal systems against modern industry alternatives for a roadmap.

    Known limitations

    This is a design review tool, not a substitute for a comprehensive security audit or automated code migration. Findings require manual verification before implementation.

    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 12 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    This skill helps engineering teams move beyond 'gut feeling' by using an evidence-based framework to audit architectural drift, resolve recurring failures, and validate if your current tech stack still meets today’s system boundaries.

    The skill is language-agnostic and works with any repository containing Architecture Decision Records (ADRs), documentation, or complex system logic, making it compatible with most modern development environments.

    Unlike generic prompts, this skill enforces a strict 'baseline pinning' and 'evidence-gathering' phase that anchors every recommendation to your actual code state, preventing the hallucinations and vague 'best practices' often found in manual prompting.

    You receive the complete architecture review workflow, including the evidence-table logic, landscape comparison modules, and a standardized reporting template that generates dated Markdown files for your documentation.

    No, this skill is a design-level review tool; while it identifies flaws and proposes alternatives, it does not automatically refactor code or perform deep-level security penetration testing.

    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