One three one rule

From Devsoul2026/Hermes-One-Click · View interactive version

One three one rule is an AI agent skill from the GitHub repository Devsoul2026/Hermes-One-Click. Structured decision-making framework for technical proposals and trade-off analysis. When the user faces a choice between multiple approaches (architecture decisions, tool selection, refactoring strategies, migration paths), this skill produces a 1-3-1 format: one clear problem statement, three dist

How to use this skill

Skill file

1-3-1 Communication Rule

Structured decision-making format for when a task has multiple viable approaches and the user needs a clear recommendation. Produces a concise problem framing, three options with trade-offs, and an actionable plan for the recommended path.

When to Use

Do NOT use for simple questions with one obvious answer, debugging sessions, or tasks where the user has already decided on an approach.

Procedure

  1. Problem (one sentence)
  1. Options (exactly three)
  1. Recommendation (one option)
  1. Definition of Done
  1. Implementation Plan

Verification

Example

User: "Give me a 1-3-1 for adding retry logic to our API client."

Agent:

Problem: API calls to external services fail intermittently under load and need graceful retry handling.

Options:

Pros: Simple, well-understood pattern; single implementation shared across all callers.

Cons: No circuit-breaking; callers still block during retries.

Pros: Configurable per-endpoint; built-in support for circuit breakers and rate limits.

Cons: Adds a dependency; decorator pattern can obscure control flow.

Pros: Non-blocking; failed calls are tracked and replayable; scales well.

Cons: Significant complexity increase; requires a queue backend; overkill for low-volume services.

Recommendation: Option A. The call volume doesn't justify queue infrastructure, and a shared utility with exponential backoff + jitter covers the failure mode cleanly without new dependencies.

Definition of Done:

Implementation Plan:

  1. Create utils/api_retry.py with configurable max retries, base delay, and retryable status codes.
  2. Add jitter using random.uniform(0, base_delay) to prevent thundering herd.
  3. Wrap existing API calls in api_client.py with the retry utility.
  4. Add unit tests mocking HTTP responses for each retry scenario.
  5. Verify under load with a simple stress test against a flaky endpoint mock.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.