Agent skill
advanced-skill-creator
Advanced patterns for creating complex, multi-step skills with error handling and state management.
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
# STATE.yaml
step: 2
status: in_progress
completed:
- step_1_auth
remaining:
- step_2_fetch
- step_3_process
errors: []
Error Recovery
# 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
- Define clear entry/exit points
- Validate inputs before processing
- Log all state transitions
- Provide rollback on failure
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?