- Home
- Skills
- Agents & Orchestration
- Design Options: Compare 2-4 Approaches, Then Decide
Works with the AI Agents you already use
Design Options: Compare 2-4 Approaches, Then Decide
Before committing to an architecture, library or migration, your agent lays out 2-4 genuinely different approaches with cost, risk and reversibility, recommends one and records the decision.
$3
Design Options: Compare 2-4 Approaches, Then Decide
Example session with this skill installed
Compare 3 approaches for implementing a real-time notification system in our Next.js app. We currently use Supabase and Tailwind.
- Read your context and instructions
- Compiled the design options
I have analyzed the goals and surveyed the existing stack. Here are three distinct approaches for the notification system.
Decision: Real-time Notification Architecture (2024-05-20)
| Feature | Option A: Supabase Realtime | Option B: Polling / DB Flags | Option C: External Pub/Sub (Pusher) |
|---|---|---|---|
| Concept | Listen to INSERT on a notifications table via Postgres Changes. | Client fetches new rows every 30-60 seconds via useEffect. | Trigger Pusher event via Edge Function on DB change. |
| Cost | Low. Uses existing infrastructure. No new deps. | Very Low. Simple logic, high DB read frequency. | Medium. New API keys, extra dependency, monthly cost. |
| Risks | Connection limits on free tier. | High latency; unnecessary server load at scale. | Adds external point of failure and vendor lock-in. |
| Reversibility | Two-way door. Easy to swap for a socket. | Two-way door. | One-way door (API integration depth). |
Chosen: Option A — Supabase Realtime
Because we are already heavily invested in the Supabase ecosystem and the current user load is well within the websocket connection limits. It provides the best UX with the lowest architectural overhead.
Rejected:
- Option B: Rejected due to poor UX (delayed notifications) and inefficient resource use.
- Option C: Rejected as it introduces unnecessary complexity and cost before we hit Supabase scale limits.
Revisit if:
We exceed the concurrent connection limits of our current Supabase tier or require advanced presence features not supported by their broadcast protocol.
Next steps
- Define the
notificationstable schema with appropriate RLS policies. - Draft the implementation plan for the
useNotificationshook.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop jumping straight into implementation when architectural choices are still up in the air. This skill forces a deliberate pause to evaluate design trade-offs, ensuring you choose the most maintainable path before writing a single line of code.
What it does
- Requirement synthesis extracts core goals and constraints from your brief to focus the technical search.
- Dependency auditing surveys your existing repo to prioritize reuse of current conventions and libraries over new tech debt.
- Multi-path generation produces 2 to 4 distinct technical approaches, including conservative options and experimental paths.
- Risk assessment analyzes each option based on file impact, new dependencies, and "one-way door" reversibility.
- Decision logging records the final choice and rationale to prevent future architectural drift.
How it works
- Trigger the process by asking to compare approaches for a new feature, migration, or data model.
- Review the generated comparison of 2 to 4 technical paths, including their costs and failure modes.
- Select the recommended path or request a "spike" if a technical unknown needs a quick prototype first.
- Receive a formatted decision record to store in your project documentation.
Why this beats prompting it yourself
Generic prompts often return the most popular internet solution rather than the best fit for your specific repo. This skill explicitly forces the AI to look at your existing code first and strictly applies YAGNI principles to prevent over-engineering.
Use cases
- Comparing state management libraries or data fetching patterns.
- Deciding between different database schema designs or migration strategies.
- Evaluating whether to build a custom component or install a new UI library.
- Solving complex refactoring tasks where multiple valid paths exist.
Known limitations
Does not perform automated benchmarking. Limited to 4 approaches per session to maintain focus. Requires an existing codebase context for dependency auditing.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
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.