cw-style-skill-creator について
cw-style-skill-creator は、Claude が従う文章スタイルのスキル作成を案内します。簡易な Markdown 形式と、検証して配布できる構成済みスキルパッケージの両方を扱います。
主な機能
- 01文章スタイル指示の作成
- 02Markdown とスキルパッケージに対応
- 03パターンと例に基づくルール作成
- 04複数の文章スキル種別に対応
- 05初期化とパッケージ化の手順
活用シーン
- 01既存の文章をスタイル指示に変換
- 02会話やキャラクターの声のルール作成
- 03配布可能な文章スキルパッケージの準備
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ haowjy/ creative-writing-skills --skill cw-style-skill-creatorインストール後、Claude Code で/cw-style-skill-creatorを入力して読み込まれたか確認します。
詳細
Style Skill Creator
Claude にあなたの文体を教えるスタイルスキルを作成します。
重要:対象は AI です
これは AI 向けの指示(Claude が読むもの)を作成するものであり、人間向けのドキュメント(作者が読むもの)ではありません。
| AI 向けの指示 | 人間向けのドキュメント |
|---|---|
| 「X を書くときは、Y をしてください」 | 「物語では Y のために X を使います」 |
| 指示的な命令 | 説明的な記述 |
| パターン+例 | 分析+根拠 |
ステップ 1:形式について尋ねる
必ず最初に尋ねてください:
Would you like me to create:
1. Simple markdown file (.md)
- Quick, lightweight
- Single file with style instructions
2. Full skill package (.skill)
- Properly structured and validated
- Can include reference files with examples
- Better for complex styles
Which format would you prefer?
シンプルな Markdown 形式
---
description: [What this style covers]
alwaysApply: false
---
# [Style Name]
[Brief intro]
## [Category]
[Directive instructions with examples]
保存場所: .cursor/rules/styles/[name].md またはユーザーが指定した場所
完全なスキルパッケージ形式
初期化
python /mnt/skills/examples/skill-creator/scripts/init_skill.py [skill-name] --path [output-dir]
SKILL.md、references/、scripts/、assets/ を含むディレクトリ構造を作成します。
カスタマイズ
SKILL.md の構成:
---
name: [skill-name]
description: Style skill for [specific writing type]
---
# [Style Name]
## Purpose
Teaches Claude to write [X] in the author's style.
## [Style Instructions]
[Directive instructions organized by category]
必要に応じて参照ファイルを追加します:
references/examples.md- 良い例/悪い例references/patterns.md- 詳細なパターン集
使用しないディレクトリを削除します(不要な場合は scripts/、assets/)
パッケージ化
python /mnt/skills/examples/skill-creator/scripts/package_skill.py [path-to-skill] [output-dir]
検証済みで、配布可能な .skill ファイルを作成します。
文体:指示的かつ技術的に
命令形を使います:
✅ 「アクションの描写では短い文を使う」
✅ 「会話タグを避ける」
✅ 「行動を通じて感情を表現する」
❌ 「作者は短い文を使う傾向がある」(これは分析であり、指示ではありません)
必ず例を含めます:
**Emotional beats:**
- Use action instead of emotional labels
- Example: "Her hands trembled" not "She felt nervous"
パターン+例の形式:
**[Pattern name]:**
- [Instruction about the pattern]
- Example: [Concrete example]
- Avoid: [What NOT to do]
よくあるスタイルスキルの種類
小説本文全般: 全体的な文体、文の構成、トーン
会話: 会話タグの使い方、動作の描写、含み、キャラクターの声
アクション: 文の長さ、詳細さ、テンポ
描写: 感覚的な詳細、比喩、詳細さ
キャラクターの声: キャラクターごとの話し方や語彙
書式: em ダッシュ、省略記号、場面転換、思考の表記
作成プロセス
1. 入力を収集する
ユーザーの説明から:
- 「自分の文体を説明してください」
- 「どのようなパターンを扱いますか?」
既存の文章から:
- 「パターンを特定するために、いくつか章を読んでもよいですか?」
- 提供された場合は、2~3 章を読みます
2. 形式について尋ねる
シンプルな .md 形式ですか、それとも完全な .skill パッケージですか?
3A. シンプルな方法
- セクションを含む Markdown ファイルを作成します
- 指示と例を追加します
.cursor/rules/styles/または指定された場所に保存します
3B. 完全なスキルの方法
init_skill.pyを実行します- スタイルの指示を記載して SKILL.md を編集します
- 必要に応じて参照ファイルを追加します
- 使用しないディレクトリを削除します
package_skill.pyを実行します- ダウンロードリンクを提供します
例
会話の文体(シンプルな .md)
---
description: Dialogue writing conventions
alwaysApply: false
---
# Dialogue Style
## Dialogue Tags
**Minimize "said":**
- Use action beats instead
- Example: She crossed her arms. "Fine."
- When using tags, prefer "said" to fancy verbs
## Interruptions
**Use em dashes:**
- For interrupted speech: "I thought we could—"
- Example: "Wait, I—" He grabbed her arm.
## Subtext
**Characters avoid directness:**
- Show tension through what's NOT said
- Example: "That's nice." (flat, clearly upset)
- Avoid: "I'm angry!" (too direct)
キャラクターの声
---
name: character-amber-voice
description: Amber's voice and speech patterns
---
# Character Voice: Amber
## Speech Patterns
**Careful word choice:**
- Adult consciousness = measured speech
- Avoids contractions when stressed
- Example: "I do not want to go" not "I don't wanna go"
**Politeness as defense:**
- Overly formal when uncomfortable
- Uses "please" and "thank you" excessively
## Internal Monologue
**Analytical:**
- Observes and categorizes
- Example: "Dr. Fuji's hands trembled—stress response, possibly guilt."
統合
ワークフロー:
- ユーザーが普段どおりに章を書きます
- このスキルがパターンをスタイルスキルに変換します
- cw-prose-writing がそれらのスキルを読み込み、従います
- 結果:ユーザーの文体に沿った、一貫性のある AI 生成の文章