スキル一覧に戻る
mgd34msu

workflow-patterns

by mgd34msu

Plug in, Receive good vibes.

2🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: workflow-patterns description: Reusable workflow patterns for skills and agents including sequential checklists, conditional routing, validation loops, and progressive disclosure. Use when designing structured procedures.

Workflow Patterns

Reusable patterns for structuring workflows in skills and agents.

Sequential with Checklist

Use when steps must be completed in order with tracking:

## Form Processing Workflow

Track progress:
- [ ] Step 1: Analyze form (run analyze_form.py)
- [ ] Step 2: Create field mapping
- [ ] Step 3: Validate (run validate.py)
- [ ] Step 4: Fill form
- [ ] Step 5: Verify output

When to use: Multi-step processes where completion tracking matters.

Conditional Routing

Use when different paths apply based on context:

## Document Workflow

1. Determine task type:
   - **Creating new?** -> Follow Creation workflow
   - **Editing existing?** -> Follow Editing workflow

## Creation workflow
[steps for new documents]

## Editing workflow
[steps for existing documents]

When to use: Tasks with distinct modes or branches.

Validation Loop

Use when iterative refinement is needed:

1. Make changes
2. Validate: `python validate.py`
3. If errors:
   - Fix issues
   - Return to step 2
4. Only proceed when validation passes

When to use: Operations requiring correctness verification.

Progressive Disclosure Patterns

Pattern 1: Quick Start + References

Front-load common usage, defer details:

## Quick start
[Most common usage - get user productive fast]

## Advanced
- **Forms**: See [FORMS.md](references/forms.md)
- **API details**: See [REFERENCE.md](references/reference.md)

Pattern 2: Domain Organization

Organize by topic when multiple domains exist:

bigquery/
  SKILL.md (overview + navigation)
  references/
    finance.md
    sales.md
    product.md

Pattern 3: Conditional Depth

Provide escape hatches for advanced needs:

## Basic usage
[Simple approach that works 80% of the time]

**For tracked changes**: See [REDLINING.md](references/redlining.md)
**For batch processing**: See [BATCH.md](references/batch.md)

Degrees of Freedom

Match instruction specificity to the situation:

SituationFreedom LevelExample
Multiple valid approachesHigh"Analyze code structure and suggest improvements"
Preferred pattern existsMedium"Use this template, customize as needed"
Fragile/critical operationLow"Run exactly: python migrate.py --verify"

Combining Patterns

Patterns can be nested:

## Main Workflow

1. Determine mode:
   - **Quick fix?** -> Use Quick Fix workflow
   - **Full analysis?** -> Use Analysis workflow

## Quick Fix workflow
- [ ] Identify issue
- [ ] Apply fix
- [ ] Validate: `npm test`
- [ ] If fails, return to step 2

## Analysis workflow
See [DEEP_ANALYSIS.md](references/deep-analysis.md) for comprehensive steps.

Anti-Patterns

Anti-PatternProblemFix
No clear entry pointUser doesn't know where to startAdd "Quick Start" section
Too many branchesDecision paralysisProvide sensible defaults
No validation stepErrors discovered too lateAdd explicit verification
References too deepContent hard to findKeep one level from SKILL.md

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です