CtrlK
BlogDocsLog inGet started
Tessl Logo

saga-orchestration

Implement saga patterns for distributed transactions and cross-aggregate workflows. Use when coordinating multi-step business processes, handling compensating transactions, or managing long-running workflows.

80

1.33x
Quality

70%

Does it follow best practices?

Impact

100%

1.33x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./tests/ext_conformance/artifacts/agents-wshobson/backend-development/skills/saga-orchestration/SKILL.md

The canonical home for this skill is saga-orchestration in wshobson/agents

SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers substantial, mostly executable code but reads as a monolithic dump: known-concept explanations, four large inlined templates, no implementation workflow, and no validation guidance for destructive compensating operations. Splitting templates into reference files and adding a short, sequenced implementation guide would address the weakest dimensions.

Suggestions

Move Templates 1-4 into references/ files (e.g., references/orchestrator.md, references/choreography.md) and keep only a brief overview plus pointers in SKILL.md, fixing the missing progressive disclosure.

Delete or compress the 'Core Concepts' section (choreography/orchestration diagram and state table) since Claude already knows these concepts; the state enum in Template 1 already encodes the states.

Add a short sequenced workflow for implementing a saga (define steps -> subclass SagaOrchestrator -> register service handlers -> test compensation paths) with an explicit validation checkpoint before relying on compensation, which would lift workflow clarity above the cap of 3.

DimensionReasoningScore

Conciseness

The 'Core Concepts' section re-explains choreography vs orchestration with an ASCII diagram and a state table that Claude already knows, and the ~370 lines of templates could be tightened (e.g., Template 2's per-service event handlers are illustrative padding). It is not anchor 2 because the bulk of the body is directly usable template code rather than prose padding.

3 / 5

Actionability

Provides mostly executable, complete Python templates (the SagaOrchestrator base, a concrete order-fulfillment saga, choreography variant, and timeout extension). Not anchor 5 because Template 4 references timedelta without an import and sets step.timeout_at, which is not a declared field of SagaStep.

4 / 5

Workflow Clarity

The execution sequence exists only implicitly through the templates; there is no step-by-step implementation guidance (define steps, subclass orchestrator, register handlers) and no validation or verification checkpoints. Because sagas drive destructive operations (payments, refunds, inventory) without validation steps, workflow clarity is capped at 3 per the rubric guidelines.

3 / 5

Progressive Disclosure

Section headers are clear, but the skill is a monolithic 485-line SKILL.md with no bundle files; the four large templates are exactly the content that should live in separate references/ files, and no internal file navigation exists. Not anchor 2 because structure and headers are genuinely good; not anchor 4 because nothing is split out and there are no well-signaled file references.

3 / 5

Total

13

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states both capability and explicit 'Use when' triggers with natural domain terminology. The main improvement opportunities are adding common synonyms (rollback, microservices, eventual consistency) and slightly sharper differentiation from generic workflow skills.

DimensionReasoningScore

Specificity

Lists several specific actions ('Implement saga patterns', 'coordinating multi-step business processes', 'handling compensating transactions') with only minor coverage gaps such as timeout handling and the orchestration-vs-choreography choice. It exceeds the 1-2 concrete actions of anchor 3 but stops short of anchor 5's comprehensive coverage because 'managing long-running workflows' remains fairly generic.

4 / 5

Completeness

Explicitly answers both what ('Implement saga patterns for distributed transactions and cross-aggregate workflows') and when ('Use when coordinating multi-step business processes, handling compensating transactions, or managing long-running workflows') with concrete trigger phrases, matching the anchor-5 example structure.

5 / 5

Trigger Term Quality

Natural trigger phrases users would say are present ('saga patterns', 'distributed transactions', 'compensating transactions', 'long-running workflows'), giving good keyword coverage. Not anchor 5 because common synonyms and variations such as 'rollback', 'microservices', or 'eventual consistency' are missing.

4 / 5

Distinctiveness Conflict Risk

The saga/compensating-transaction niche is mostly distinct with domain-specific triggers unlikely to fire for unrelated skills. Not anchor 5 because 'managing long-running workflows' could overlap with generic workflow-orchestration skills.

4 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
Dicklesworthstone/pi_agent_rust
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.