スキル一覧に戻る
BreakerOfStems

promote-command

by BreakerOfStems

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

SKILL.md


name: promote-command description: Promote a captured command to the baseline permissions allowed-tools: Read, Edit, Bash argument-hint:

Promote Command to Baseline

Add a captured command pattern to the baseline settings.json permissions.

Instructions

  1. Parse the command pattern from the argument
  2. Validate it's a safe pattern to add (check against deny list patterns)
  3. Read the current .claude/settings.json
  4. Add the pattern to the permissions.allow array if not already present
  5. Write the updated settings back
  6. Confirm the addition

Pattern Format

Commands should be in the format: Bash(command:*)

Examples:

  • Bash(pnpm:*) - Allow all pnpm commands
  • Bash(cargo test:*) - Allow cargo test with any arguments
  • Bash(kubectl get pods:*) - Allow getting pods

Safety Checks

Before promoting, verify the pattern:

  • Does not match any deny patterns
  • Is not overly broad (avoid patterns like Bash(*:*))
  • Follows the principle of least privilege

Example

User: /promote-command pnpm

Result: Adds "Bash(pnpm:*)" to settings.json allow list

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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