mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 04:00:44 +08:00
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills with fallback to legacy runtime/skills for unmigrated trees. - session-bootstrap hook handler resolves repo root via PROJECT_ROOT. - Update architecture/migration docs and in-tree skill references. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
No EOL
818 B
Markdown
28 lines
No EOL
818 B
Markdown
# Workflow Patterns
|
|
|
|
## Sequential Workflows
|
|
|
|
For complex tasks, break operations into clear, sequential steps. It is often helpful to give Claude an overview of the process towards the beginning of SKILL.md:
|
|
|
|
```markdown
|
|
Filling a PDF form involves these steps:
|
|
|
|
1. Analyze the form (run analyze_form.py)
|
|
2. Create field mapping (edit fields.json)
|
|
3. Validate mapping (run validate_fields.py)
|
|
4. Fill the form (run fill_form.py)
|
|
5. Verify output (run verify_output.py)
|
|
```
|
|
|
|
## Conditional Workflows
|
|
|
|
For tasks with branching logic, guide Claude through decision points:
|
|
|
|
```markdown
|
|
1. Determine the modification type:
|
|
**Creating new content?** → Follow "Creation workflow" below
|
|
**Editing existing content?** → Follow "Editing workflow" below
|
|
|
|
2. Creation workflow: [steps]
|
|
3. Editing workflow: [steps]
|
|
``` |