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.
78
66%
Does it follow best practices?
Impact
100%
1.33xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./tests/ext_conformance/artifacts/agents-wshobson/backend-development/skills/saga-orchestration/SKILL.mdQuality
Discovery
89%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is a solid skill description that clearly identifies a specific architectural pattern domain and provides explicit trigger guidance via a 'Use when' clause. The trigger terms are well-chosen and domain-appropriate. The main weakness is that the 'what' portion could be more specific about the concrete actions performed (e.g., generating orchestrators, defining compensation logic, creating state machines).
Suggestions
Expand the capability list with more concrete actions, e.g., 'create saga orchestrators, define compensation steps, implement state machines, handle partial failure recovery' to improve specificity.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Names the domain (saga patterns, distributed transactions) and some actions (coordinating, handling compensating transactions, managing workflows), but doesn't list multiple concrete specific actions like 'create saga orchestrators, define compensation steps, implement retry policies'. | 2 / 3 |
Completeness | Clearly answers both 'what' (implement saga patterns for distributed transactions and cross-aggregate workflows) and 'when' (explicit 'Use when' clause covering coordinating multi-step processes, handling compensating transactions, managing long-running workflows). | 3 / 3 |
Trigger Term Quality | Includes strong natural trigger terms users would say: 'saga patterns', 'distributed transactions', 'cross-aggregate workflows', 'compensating transactions', 'long-running workflows', 'multi-step business processes'. These cover the key vocabulary a developer would use when needing this skill. | 3 / 3 |
Distinctiveness Conflict Risk | Saga patterns and distributed transactions are a very specific niche within software architecture. The trigger terms are distinct and unlikely to conflict with general workflow, transaction, or process management skills. | 3 / 3 |
Total | 11 / 12 Passed |
Implementation
42%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The skill provides comprehensive, executable Python code for saga orchestration patterns, which is its primary strength. However, it is excessively verbose for a skill file - four large code templates inline create a monolithic document that wastes context window. The conceptual explanations (saga types, state tables) are unnecessary for Claude, and the content would benefit greatly from being split across multiple files with a lean overview.
Suggestions
Split the four templates into separate referenced files (e.g., templates/orchestrator.md, templates/choreography.md) and keep SKILL.md as a concise overview with navigation links
Remove the 'Core Concepts' section (saga types diagram, execution states table) - Claude already understands these patterns
Add explicit implementation workflow with validation steps: e.g., '1. Define steps → 2. Implement compensations → 3. Test compensation paths → 4. Add timeouts → 5. Verify idempotency'
Consolidate Templates 1 and 4 since the timeout variant is a minor extension, and trim Template 2 to show only the delta from the base class
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The skill is extremely verbose at ~350+ lines. It includes unnecessary conceptual explanations (saga types, execution states table) that Claude already knows, and the ASCII diagram adds little value. The four full templates are largely redundant - Template 2 is a straightforward extension of Template 1, and Template 4 is a minor variation. Much of this could be condensed significantly. | 1 / 3 |
Actionability | The code templates are fully executable Python with complete class definitions, concrete method implementations, and realistic usage examples. The order fulfillment saga shows both the orchestrator definition and the service-side event handlers, making it copy-paste ready. | 3 / 3 |
Workflow Clarity | The saga execution flow is implicit in the code rather than explicitly documented as a step-by-step workflow. While the compensation logic is present in code, there are no explicit validation checkpoints or verification steps for implementing/testing a saga. The 'Don't skip compensation testing' advice is vague with no concrete testing approach. | 2 / 3 |
Progressive Disclosure | This is a monolithic wall of code with four large templates all inline. The templates should be split into separate files (e.g., ORCHESTRATOR.md, CHOREOGRAPHY.md, TIMEOUTS.md) with SKILL.md providing a concise overview and navigation. The Resources section links externally but doesn't organize the internal content across files. | 1 / 3 |
Total | 7 / 12 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 — 11 / 11 Passed
Validation for skill structure
No warnings or errors.
47823e3
Table of Contents
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.