スキル一覧に戻る
pluginagentmarketplace

tutorials-samples

by pluginagentmarketplace

Developer relations plugin with community building and advocacy strategies

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

SKILL.md


name: tutorials-samples description: Creating tutorials, code samples, and example applications for developer onboarding sasmp_version: "1.4.0" version: "2.0.0" updated: "2025-01" bonded_agent: 04-technical-writer bond_type: SECONDARY_BOND

Tutorials & Code Samples

Create effective tutorials and sample code that accelerate developer learning.

Skill Contract

Parameters

parameters:
  required:
    - tutorial_type: enum[quickstart, walkthrough, deep_dive, workshop]
    - topic: string
  optional:
    - languages: array[string]
    - duration_target: duration

Output

output:
  tutorial:
    content: markdown
    code_samples: array[CodeBlock]
    repository_structure: object

Tutorial Types

TypeGoalLength
QuickstartFirst success5-10 min
WalkthroughBuild something30-60 min
Deep diveMaster topic1-2 hours
WorkshopHands-on practice2-4 hours

Tutorial Structure

1. Introduction
   - What you'll build
   - What you'll learn
   - Prerequisites

2. Setup
   - Environment preparation
   - Dependencies installation
   - Configuration

3. Steps (3-7 steps)
   - Clear numbered instructions
   - Code with explanations
   - Expected results

4. Conclusion
   - What you accomplished
   - Next steps
   - Related resources

Code Sample Best Practices

DO

// Good: Complete, runnable example
const client = new APIClient({ apiKey: process.env.API_KEY });

async function getUser(userId) {
  try {
    const user = await client.users.get(userId);
    console.log(`User: ${user.name}`);
    return user;
  } catch (error) {
    console.error(`Failed to get user: ${error.message}`);
    throw error;
  }
}

getUser('user_123');

DON'T

// Bad: Incomplete, unclear
client.users.get(id).then(u => console.log(u));

Sample Application Patterns

PatternUse Case
MinimalSingle feature demo
Full-stackComplete application
Use-caseSpecific scenario
CloneProduction starter

Repository Structure

sample-app/
├── README.md        # Quick start
├── .env.example     # Environment template
├── src/             # Source code
├── docs/            # Additional docs
└── tests/           # Example tests

Retry Logic

retry_patterns:
  code_doesnt_work:
    strategy: "Test in clean environment"

  user_stuck:
    strategy: "Add more detail, screenshots"

  outdated_deps:
    strategy: "Update, add version notes"

Failure Modes & Recovery

Failure ModeDetectionRecovery
Code failsUser reportsFix immediately
Deps outdatedSecurity alertUpdate, test
Missing stepsUser stuckAdd detail

Debug Checklist

□ Works on clone/download?
□ Clear README instructions?
□ Environment variables documented?
□ Error handling included?
□ Comments explain "why"?
□ Tests pass?

Test Template

test_tutorials:
  unit_tests:
    - test_code_runs:
        assert: "All samples execute"
    - test_deps_current:
        assert: "No security issues"

  integration_tests:
    - test_fresh_clone:
        assert: "Works from scratch"

Quality Checklist

  • Works on clone/download
  • Clear README instructions
  • Environment variables documented
  • Error handling included
  • Comments explain "why"

Observability

metrics:
  - tutorials_published: integer
  - samples_tested: integer
  - user_completion_rate: float

See assets/ for sample templates.

スコア

総合スコア

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

レビュー

💬

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