Task-based Skills Examples

VerifiedSafe

These predefined task-based skills encapsulate common development workflows into structured procedures. Each skill defines its own steps, allowed tools, and input arguments, enabling the AI to perform actions like creating conventional commits, reviewing pull requests, or deploying applications with consistent and reliable steps.

Sby Skills Guide Bot
DevelopmentBeginner
1106/2/2026
Claude Code
#git#commit#conventional-commit#version-control

Recommended for

Our review

This skill creates a commit with a message formatted according to the Conventional Commit convention.

Strengths

  • Automates creation of well-formatted commits
  • Ensures adherence to Conventional Commit standards
  • Uses Git tools directly

Limitations

  • Only works with staged changes
  • Requires Git to be installed
  • Does not handle merge conflict situations
When to use it

Use this skill when you need to create a commit with a structured message following best practices.

When not to use it

Avoid using it for non-conventional commits or when you need human input for message drafting.

Security analysis

Safe
Quality score92/100

The file contains only example YAML skill definitions and explanatory text. No destructive commands are issued; the examples describe safe, conventional development tasks (commit, review, deploy) with appropriate tool restrictions. The file itself does not perform any actions.

No concerns found

Examples

Create a commit
Create a commit for the staged changes with a conventional commit message.

タスク型スキルの例

例1: コミットスキル

---
name: commit
description: Create a conventional commit with proper message format
disable-model-invocation: true
allowed-tools: Bash(git:*)
---

# コミット作成

## 手順

1. `git diff --cached` でステージされた変更を確認
2. 変更内容を分析し、Conventional Commit 形式でメッセージを作成
3. コミットを実行

## メッセージ形式

\```
<type>(<scope>): <subject>

<body>

<footer>
\```

type: feat, fix, refactor, chore, docs, test, ci

例2: PR レビュースキル

---
name: review-pr
description: Review a pull request for code quality, security, and best practices
disable-model-invocation: true
argument-hint: "[PR番号またはURL]"
allowed-tools: Bash(gh:*), Read, Grep, Glob
---

# PR レビュー

## PR 情報の取得

$ARGUMENTS  PR を取得する:

1. `gh pr diff $ARGUMENTS` で差分を取得
2. `gh pr view $ARGUMENTS`  PR の概要を確認

## レビュー観点

- コードの正確性
- セキュリティ(OWASP Top 10
- パフォーマンス
- テストカバレッジ
- 命名規約の遵守

## 出力形式

各ファイルについて:
- 問題の深刻度(Critical / Warning / Info)
- 該当箇所(ファイル名:行番号)
- 問題の説明と改善案

例3: デプロイスキル

---
name: deploy
description: Deploy the application to production
disable-model-invocation: true
argument-hint: "[staging|production]"
allowed-tools: Bash(npm:*, docker:*, git:*)
---

# デプロイ

対象環境: $ARGUMENTS

## 手順

1. テストスイートを実行
2. ビルド
3. デプロイターゲットにプッシュ
4. デプロイ後の動作確認

## 注意事項

- production デプロイ前に staging での検証を確認する
- ロールバック手順を把握しておく
Related skills