format-standardize
生成された成果物に対して、ユーザーが指定するフォーマットやスタイルに合わせて統一感のある体裁に整え、見やすく高品質なドキュメントに仕上げるSkill。
📜 元の英語説明(参考)
Standardize formatting and apply consistent style to the deliverable. Use after generation to ensure the output matches the user's formatting standards and conventions.
🇯🇵 日本人クリエイター向け解説
生成された成果物に対して、ユーザーが指定するフォーマットやスタイルに合わせて統一感のある体裁に整え、見やすく高品質なドキュメントに仕上げるSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o format-standardize.zip https://jpskill.com/download/16960.zip && unzip -o format-standardize.zip && rm format-standardize.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16960.zip -OutFile "$d\format-standardize.zip"; Expand-Archive "$d\format-standardize.zip" -DestinationPath $d -Force; ri "$d\format-standardize.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
format-standardize.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
format-standardizeフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Format & Standardize Skill
目的
生成された成果物が、一貫したフォーマット、スタイル、構造の標準に従うことを保証します。これは、成果物をプロフェッショナルに見せ、保守しやすくするための「磨き」のステップです。
実施内容
- 生成された成果物をレビューする
- フォーマットの好みを理解するために、彼らの標準をロードする
- 標準化を適用する:
- コードのフォーマット (インデント、命名、構造)
- ドキュメントのフォーマット (ヘッダー、リスト、間隔)
- すべての要素にわたる一貫性
- プロフェッショナルな外観
- 指定されている場合は、彼らのツール/規約を使用する:
- 例: 「コードには Prettier を使用する」
- 例: 「Markdown 標準のヘッダーを使用する」
- 納品前に完全な一貫性を検証する
タイプ別のフォーマットチェック
コードの機能
- [ ] 一貫したインデント (スペース/タブ)
- [ ] 命名規則 (camelCase, snake_case など)
- [ ] 演算子と中括弧の周りの一貫した間隔
- [ ] コメントが一貫してフォーマットされている
- [ ] インポート/エクスポートが整理されている
- [ ] 行の長さが一貫している
- [ ] セミコロンの有無が一貫して適用されている
- [ ] 引用符のスタイル (シングル/ダブル) が一貫している
ドキュメント
- [ ] 一貫したヘッダーレベル (# ## ###)
- [ ] 一貫したリストのフォーマット (箇条書き vs 番号)
- [ ] コードブロックが適切にフォーマットされている
- [ ] リンクが適切にフォーマットされている
- [ ] セクション間の間隔が一貫している
- [ ] テーブルのフォーマット (該当する場合)
- [ ] 一貫した句読点
リファクタリング
- [ ] フォーマット前後のコードが一貫している
- [ ] 説明が明確にフォーマットされている
- [ ] 違いが明確に強調表示されている
テストスイート
- [ ] テストファイルの構成
- [ ] テスト関数の命名が一貫している
- [ ] アサーションのフォーマットが一貫している
- [ ] セットアップ/ティアダウンのインデント
- [ ] コメントの一貫したフォーマット
コンテンツ作成
- [ ] セクションヘッダーが一貫している
- [ ] 例のフォーマットが一貫している
- [ ] リストのフォーマットが一貫している
- [ ] 全体を通してトーン/ボイスが一貫している
- [ ] 読みやすさのための改行
プロセス
- 生成された成果物を受け取る
- StandardsRepository を使用して、保存された標準をロードする (フォーマットの好みを検索する)
- 標準化ルールを適用する
- 適切なツールでコード/テキストをフォーマットする:
- コード: ESLint, Prettier, または手動でのフォーマット
- ドキュメント: Markdown 標準
- コンテンツ: スタイルガイドの一貫性
- 一貫性のために最終チェックを行う
- フォーマットされた出力を返す
標準のロード
StandardsRepository を使用して、フォーマットの好みにアクセスします:
const standards = standardsRepository.getStandards(context.projectType)
if (standards && standards.commonPatterns) {
// commonPatterns からフォーマットの好みを適用する
standards.commonPatterns.forEach(pattern => {
// 例: "2 スペースのインデントを使用する", "インポートをアルファベット順にソートする"
applyFormattingPattern(pattern)
})
}
インターフェースの詳細については、.claude/lib/standards-repository.md を参照してください。
出力フォーマット
# フォーマット適用済み
## 使用された標準
- [最初のフォーマット標準]
- [2 番目のフォーマット標準]
- [適用されたツール/規約]
## 変更点
- [適用されたフォーマット変更のリスト]
- [例: "インポートをアルファベット順にソートしました"]
- [例: "2 スペースのインデントを適用しました"]
## フォーマットされた成果物
[完全なフォーマットされた出力、すぐに使用可能]
## バリデーション
- 一貫したフォーマット: ✓
- プロフェッショナルな外観: ✓
- レビュー/納品準備完了: ✓
成功基準
✓ すべてのフォーマットが一貫している ✓ ユーザーの標準に従っている ✓ プロフェッショナルな外観 ✓ コードレビューまたは公開の準備ができている ✓ フォーマットの不整合が残っていない
一般的なフォーマットルール
コードの場合:
- 彼らのリンターを使用する (ESLint, Pylint など)
- 彼らのコードフォーマッターを適用する (Prettier, Black など)
- 彼らの命名規則に従う
- 全体を通して一貫したインデント
ドキュメントの場合:
- 一貫した markdown フォーマット
- 適切なヘッダー階層
- 一貫したコードブロックのフォーマット
- 適切なリンクのフォーマット
コンテンツの場合:
- 一貫したセクション構造
- 一貫したリストのフォーマット
- 全体を通してプロフェッショナルなトーン
- 適切な句読点と大文字表記
例
入力 (フォーマット前):
const MyComponent = ( props ) => {
return (
<div>
{ props.title }
</div>
);
};
export default MyComponent
フォーマット後 (標準的な React の規約を想定):
const MyComponent = (props) => {
return (
<div>
{props.title}
</div>
);
};
export default MyComponent;
変更点:
- 関数のパラメーターのスペースを削除
- JSX 式の中括弧の周りのスペースを削除
- セミコロンを追加
- 一貫したインデント
注記
- ユーザーが標準でフォーマットの好みを定義している場合は、それらを使用してください
- プロフェッショナルなフォーマットは、認識される品質を大幅に向上させます
- 一貫性は、特定の選択 (スペース vs タブ - 1 つを選択してそれを守る) よりも重要です
- このステップにより、成果物が「本番環境対応」に見えるようになります
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Format & Standardize Skill
Purpose
Ensures the generated deliverable follows consistent formatting, style, and structure standards. This is the "polish" step that makes work look professional and maintainable.
What to Do
- Review the generated deliverable
- Load their standards to understand formatting preferences
- Apply standardization:
- Code formatting (indentation, naming, structure)
- Documentation formatting (headers, lists, spacing)
- Consistency across all elements
- Professional appearance
- Use their tools/conventions if specified:
- Example: "Use Prettier for code"
- Example: "Use Markdown standard headers"
- Verify complete consistency before delivery
Format Checks by Type
Code Features
- [ ] Consistent indentation (spaces/tabs)
- [ ] Naming conventions (camelCase, snake_case, etc.)
- [ ] Consistent spacing around operators and braces
- [ ] Comments formatted consistently
- [ ] Imports/exports organized
- [ ] Line length consistent
- [ ] Semicolons or no-semicolons applied consistently
- [ ] Quotes style (single/double) consistent
Documentation
- [ ] Consistent header levels (# ## ###)
- [ ] Consistent list formatting (bullets vs numbers)
- [ ] Code blocks properly formatted
- [ ] Links properly formatted
- [ ] Consistent spacing between sections
- [ ] Table formatting (if applicable)
- [ ] Consistent punctuation
Refactoring
- [ ] Before code formatted consistently
- [ ] After code formatted consistently
- [ ] Explanations formatted clearly
- [ ] Highlight differences clearly
Test Suite
- [ ] Test file organization
- [ ] Test function naming consistent
- [ ] Assertion formatting consistent
- [ ] Setup/teardown indentation
- [ ] Comments consistent format
Content Creation
- [ ] Section headers consistent
- [ ] Example formatting consistent
- [ ] List formatting consistent
- [ ] Tone/voice consistent throughout
- [ ] Line breaks for readability
Process
- Take the generated deliverable
- Load their saved standards using StandardsRepository (look for formatting preferences)
- Apply standardization rules
- Format code/text with appropriate tools:
- Code: ESLint, Prettier, or manual formatting
- Docs: Markdown standards
- Content: Style guide consistency
- Do a final pass for consistency
- Return the formatted output
Loading Standards
Use StandardsRepository to access formatting preferences:
const standards = standardsRepository.getStandards(context.projectType)
if (standards && standards.commonPatterns) {
// Apply their formatting preferences from commonPatterns
standards.commonPatterns.forEach(pattern => {
// Example: "Use 2-space indentation", "Sort imports alphabetically"
applyFormattingPattern(pattern)
})
}
See .claude/lib/standards-repository.md for interface details.
Output Format
# Formatting Applied
## Standards Used
- [First formatting standard]
- [Second formatting standard]
- [Tools/conventions applied]
## Changes Made
- [List of formatting changes applied]
- [Example: "Sorted imports alphabetically"]
- [Example: "Applied 2-space indentation"]
## The Formatted Deliverable
[Complete formatted output, ready to use]
## Validation
- Consistent formatting: ✓
- Professional appearance: ✓
- Ready for review/delivery: ✓
Success Criteria
✓ All formatting is consistent ✓ Follows user's standards ✓ Professional appearance ✓ Ready for code review or publication ✓ No formatting inconsistencies remain
Common Formatting Rules
For Code:
- Use their linter (ESLint, Pylint, etc.)
- Apply their code formatter (Prettier, Black, etc.)
- Follow their naming conventions
- Consistent indentation throughout
For Documentation:
- Consistent markdown formatting
- Proper header hierarchy
- Consistent code block formatting
- Proper link formatting
For Content:
- Consistent section structure
- Consistent list formatting
- Professional tone throughout
- Proper punctuation and capitalization
Example
Input (Before Formatting):
const MyComponent = ( props ) => {
return (
<div>
{ props.title }
</div>
);
};
export default MyComponent
After Formatting (assuming standard React conventions):
const MyComponent = (props) => {
return (
<div>
{props.title}
</div>
);
};
export default MyComponent;
Changes Made:
- Removed spaces in function parameters
- Removed spaces around JSX expression braces
- Added semicolon
- Consistent indentation
Notes
- If user defined formatting preferences in standards, USE THEM
- Professional formatting increases perceived quality significantly
- Consistency matters more than the specific choice (spaces vs tabs - pick one and stick with it)
- This step makes the deliverable look "production-ready"