Agent skill

advanced-skill-creator

Advanced patterns for creating complex, multi-step skills with error handling and state management.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/advanced-skill-creator

Metadata

Additional technical details for this skill

openclaw
{
    "emoji": "\ud83d\udee0\ufe0f",
    "category": "development"
}

SKILL.md

Advanced Skill Creator

Advanced patterns for creating complex, multi-step skills with error handling and state management.

When to Use

  • Multi-step workflows with dependencies
  • Skills requiring state persistence
  • Complex error handling scenarios
  • Integration with external APIs

Patterns

State Machine Pattern

yaml
# STATE.yaml
step: 2
status: in_progress
completed:
  - step_1_auth
remaining:
  - step_2_fetch
  - step_3_process
errors: []

Error Recovery

python
# Retry with backoff
for attempt in range(3):
    try:
        result = api.call()
        break
    except APIError as e:
        if attempt == 2:
            raise
        time.sleep(2 ** attempt)

Best Practices

  1. Define clear entry/exit points
  2. Validate inputs before processing
  3. Log all state transitions
  4. Provide rollback on failure

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results