Index of every page on this site: llms.txt
All skills
superstone-han avatar

/claude-code-command-author

@f5f9792
Run it yourself

Claude Codeのカスタムslash command(Commands)を設計・生成・更新する。 「/コマンドを作りたい」「この作業を毎回同じ手順でやりたいのでコマンド化したい」「.claude/commandsにテンプレを追加したい」 「Claude Codeのcommands作って」「スラッシュコマンド作成」「引数付きコマンド」「allowed-toolsを設定したい」などの依頼で発動する。 プロジェクト用(.claude/commands)・個人用(~/.claude/commands)・サブディレクトリ(namespacing)・引数($ARGUMENTS/$1..)・bash事前実行(!)・ファイル参照(@)・context:fork などに対応する。

Use this Skill: https://skilld.dev/gh/superstone-han/dotfiles/claude-code-command-author

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

templatesfork.md

≈533 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Fork Command Template

会話を汚したくない、または重い処理を分離したいコマンド向けテンプレート。 実行が別コンテキストで行われ、結果だけが返される。

Template

---
description: <短い説明>
context: fork
agent: general-purpose
argument-hint: [optional-args]
---

# <Command Title>

## Your task
<やること。必要なら $ARGUMENTS や $1.. を使う>

## Constraints
- <制約>

## Output
- <出力形式>

agent の選択肢

agent 用途
general-purpose 汎用タスク(デフォルト)
explore コードベース探索
Bash コマンド実行特化

使いどころ

  • 重い分析タスク: 大量のファイルを読む、複雑な調査
  • 会話を汚したくない: 途中経過を見せたくない
  • 独立した作業: メインの会話と関係ない調査

Example: Deep Analysis

---
description: Deep analysis of codebase architecture
context: fork
agent: general-purpose
argument-hint: [area]
---

# Deep Architecture Analysis

## Your task
- Analyze the architecture of the specified area: $ARGUMENTS
- Identify patterns, dependencies, and potential issues
- Create a comprehensive report

## Constraints
- Read-only analysis
- Focus on architecture, not implementation details

## Output
- Markdown report with:
  - Overview
  - Key components
  - Dependency graph (Mermaid)
  - Recommendations

Example: Research Task

---
description: Research and summarize a topic
context: fork
agent: general-purpose
argument-hint: [topic]
---

# Research Task

## Your task
- Research the topic: $ARGUMENTS
- Gather information from the codebase
- Summarize findings

## Constraints
- Do not modify any files
- Focus on facts, not opinions

## Output
- Summary of findings
- Relevant file references
- Open questions (if any)

注意点

  • fork されたコンテキストは 元の会話履歴を引き継がない
  • 結果のみが返され、途中経過は見えない
  • 長時間実行の場合、ユーザーは待つことになる

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning8mo3 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    This skill is a utility designed to help users create custom slash commands for Claude Code. It provides structured templates and clear instructions that emphasize security best practices, such as using 'allowed-tools' to restrict shell command execution to a safe white-list and explicitly forbidding the use of networking or destructive tools like curl and rm.

  • Socket8mo

    1 alert: gptSecurity

  • Snyk8mo

    Risk: LOW · No issues

Signed by skilld at f5f9792. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 10 months ago

README badge

README badge for superstone-han/dotfiles/claude-code-command-author