- Home
- Skills
- Agents & Orchestration
- architecture reassessment
architecture reassessment
Evidence-based architecture reviews to audit design assumptions, resolve recurring failures, and evaluate alternatives.
Free
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
| Question | Evidence | Finding |
|---|---|---|
| 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:
changefrom 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
| Concept | Disposition | Entry Level | Rationale |
|---|---|---|---|
| Redis Session Store | Adopt | Production-ready | Industry standard for low-latency session state. |
| DragonflyDB | Watch | Experimental | High performance but lacks managed service maturity for our stack. |
| Upstash | Adapt | Serverless | Good for our edge functions but check latency vs VPC Redis. |
Next steps
- Review the generated
2024-10-24-auth-architecture-review.mdin the/docs/arch/directory. - Initialize an
experimentphase to bench Redis latency vs current Postgres lookups. - Update the
ADR-004record toSupersededby 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
- Initialize review by defining the scope, changed boundaries, and the specific repository state.
- Audit implementation by tracing representative paths through the codebase and infrastructure.
- Execute evaluation using a structured evidence table to justify retaining or changing material choices.
- Compare landscape (optional) via web search to identify emerging patterns or stable alternatives.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
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.