MCP HubMCP Hub
スキル一覧に戻る

create-agent-sop

majiayu000
更新日 Today
21 閲覧
58
9
58
GitHubで表示
メタautomation

について

このスキルは自律エージェント向けの標準化されたSOPテンプレートを生成し、ワークフローと手順の決定論的な実行を保証します。トリガーフレーズ、ステップ、成功基準などの要件を収集することで、明確で冪等性があり、観測可能なスキルを作成します。再現性が高く堅牢な性能が求められる、エージェント対応のワークフロースキルを構築する際にご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/create-agent-sop

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Create Agent SOP

Meta-skill for generating SOP skills that autonomous agents can execute without human intervention.

When to Use

  • Creating workflow skills (e.g., feature-development-loop, weekly-review)
  • Procedural skills with clear start/end states
  • Skills requiring deterministic, repeatable execution

Process

1. Gather Requirements

Ask user for:

  • Workflow name (hyphen-case, e.g., feature-development-loop)
  • Trigger phrases (when should this SOP activate?)
  • Steps (what are the major phases?)
  • Success criteria (how do we know it's done?)

2. Initialize Skill

pnpm exec tsx .claude/skills/create-agent-sop/scripts/init_sop_skill.ts <name> --path .claude/skills

3. Write SKILL.md

Follow the template in references/sop-template.md. Key sections:

---
name: <skill-name>
description: <what + when to use>
---

# <Skill Name>

## Prerequisites
[Tools, permissions, state requirements]

## Input Schema
[Typed parameters with defaults]

## Procedure
[Numbered steps with @command tags]

## Success Criteria
[Verification checks]

## Error Recovery
[Fallback paths]

4. Add Tools (Optional)

Before adding scripts, evaluate if the functionality should be a CLI tool instead:

Consider CLI Tool WhenUse Script When
Multiple clients could use itSkill-specific logic only
Reusable across skillsSimple validation/checks
Complex logic worth maintainingGlue code between tools
Would simplify the script significantlyOne-off operations

CLI tools go in packages/cli/ and are invoked via sp or tool-specific commands. Skills can then call these tools, keeping scripts minimal.

Scripts go in scripts/ for skill-specific operations:

scripts/validate.sh      # Prerequisite checks
scripts/check-state.ts   # Skill-specific state validation

5. Validate

Run the validation script to check against the 10 SOP characteristics:

pnpm exec tsx .claude/skills/create-agent-sop/scripts/validate_sop_skill.ts <skill-path>

Output shows pass/fail for each characteristic. See references/sop-characteristics.md for details.

6. Package

Create a distributable .skill file:

pnpm exec tsx .claude/skills/create-agent-sop/scripts/package_sop_skill.ts <skill-path> [output-dir]

Validates first, then creates <skill-name>.skill (zip format).

References

  • references/sop-characteristics.md - The 10 characteristics explained
  • references/sop-template.md - SKILL.md template for SOPs

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/create-agent-sop

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

sglang

メタ

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る

Algorithmic Art Generation

メタ

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

スキルを見る