← スキル一覧に戻る

promote-command
by BreakerOfStems
⭐ 0🍴 0📅 2026年1月23日
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
- Parse the command pattern from the argument
- Validate it's a safe pattern to add (check against deny list patterns)
- Read the current
.claude/settings.json - Add the pattern to the
permissions.allowarray if not already present - Write the updated settings back
- Confirm the addition
Pattern Format
Commands should be in the format: Bash(command:*)
Examples:
Bash(pnpm:*)- Allow all pnpm commandsBash(cargo test:*)- Allow cargo test with any argumentsBash(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
レビュー
💬
レビュー機能は近日公開予定です