コードベースをスキャンして高品質なコード例を特定し、開発標準を確立するためのカスタマイズ可能なAIプロンプトを生成します。
- GitHubスター
- 41,038
- ファイル
- 1
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
code-exemplars-blueprint-generator skillは何をしますか
code-exemplars-blueprint-generatorはAgent Skillsです。 コードベースをスキャンして高品質なコード例を特定し、開発標準を確立するためのカスタマイズ可能なAIプロンプトを生成します。.
skillのSKILL.mdから生成された要約。
code-exemplars-blueprint-generator skill について
このツールの主な機能は、既存のリポジトリ内から高品質なコードを特定することで、標準化された開発ガイドを作成することです。エージェントにコードベースのスキャンを指示し、exemplars.md ファイルを作成させるためのカスタマイズされたAIプロンプトを生成します。このファイルは、開発者が自身のプロジェクト内で確立されたパターンやアーキテクチャの原則に従い、一貫性を維持するためのリファレンスとして機能します。
開発者は、Python、Java、TypeScript、.NETなどの特定のプログラミング言語を選択して、生成プロセスを構成できます。分析の深さは基本から包括的なものまで調整可能で、最終的な出力に実際のコードスニペットを含めるか、説明コメントを含めるかをユーザーが決定できます。また、調査結果をパターンタイプ、アーキテクチャレイヤー、またはファイルタイプごとに整理できるため、生成されるドキュメントをチームの組織的なニーズに合わせることが可能です。このアプローチは、エージェントがファイル拡張子、設定ファイル、ディレクトリ構造を分析し、仮定の例ではなく実際のインプリメンテーションを見つけ出す能力に基づいています。
エージェントができること
- 1コーディング標準の確立チーム独自のコーディング標準やパターンを示す代表的なコード例を特定するためのプロンプトを生成します。
- 2アーキテクチャレイヤーのドキュメント化高品質なコードをプレゼンテーション層、ビジネスロジック層、データアクセス層に分類するガイドを作成します。
- 3コードベース分析の自動化特定のテクノロジースタックにおける実際のファイルパスと実装の詳細をカタログ化した詳細なMarkdownファイルを作成します。
- 4実装パターンの特定リポジトリをスキャンして、依存性の注入(Dependency Injection)、リポジトリパターン、またはコンポーネント構造の具体的な例を見つけ出します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
code-exemplars-blueprint-generator skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにcode-exemplars-blueprint-generator skillをインストールする
~/.claude/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.claude/skills/code-exemplars-blueprint-generatorClaude Code (project)にcode-exemplars-blueprint-generator skillをインストールする
.claude/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator .claude/skills/code-exemplars-blueprint-generatorCodexにcode-exemplars-blueprint-generator skillをインストールする
~/.agents/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.agents/skills/code-exemplars-blueprint-generatorGemini CLIにcode-exemplars-blueprint-generator skillをインストールする
~/.gemini/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.gemini/skills/code-exemplars-blueprint-generatorClaude.aiにcode-exemplars-blueprint-generator skillをインストールする
npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator code-exemplars-blueprint-generator && zip -r code-exemplars-blueprint-generator.zip code-exemplars-blueprint-generator # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-exemplars-blueprint-generator.zip
自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能github/awesome-copilot/skills/code-exemplars-blueprint-generator is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/code-exem ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗合格
- SKILL.md が Agent Skills の形式に従っているthe description does not say when to use the skillgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗検出事項
SKILL.md
GitHubで表示Code Exemplars Blueprint Generator
Configuration Variables
${PROJECT_TYPE="Auto-detect|.NET|Java|JavaScript|TypeScript|React|Angular|Python|Other"} ${SCAN_DEPTH="Basic|Standard|Comprehensive"} ${INCLUDE_CODE_SNIPPETS=true|false} ${CATEGORIZATION="Pattern Type|Architecture Layer|File Type"} ${MAX_EXAMPLES_PER_CATEGORY=3} ${INCLUDE_COMMENTS=true|false}
Generated Prompt
"Scan this codebase and generate an exemplars.md file that identifies high-quality, representative code examples. The exemplars should demonstrate our coding standards and patterns to help maintain consistency. Use the following approach:
1. Codebase Analysis Phase
- ${PROJECT_TYPE == "Auto-detect" ? "Automatically detect primary programming languages and frameworks by scanning file extensions and configuration files" :
Focus on ${PROJECT_TYPE} code files} - Identify files with high-quality implementation, good documentation, and clear structure
- Look for commonly used patterns, architecture components, and well-structured implementations
- Prioritize files that demonstrate best practices for our technology stack
- Only reference actual files that exist in the codebase - no hypothetical examples
2. Exemplar Identification Criteria
- Well-structured, readable code with clear naming conventions
- Comprehensive comments and documentation
- Proper error handling and validation
- Adherence to design patterns and architectural principles
- Separation of concerns and single responsibility principle
- Efficient implementation without code smells
- Representative of our standard approaches
3. Core Pattern Categories
${PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect" ? `#### .NET Exemplars (if detected)
- Domain Models: Find entities that properly implement encapsulation and domain logic
- Repository Implementations: Examples of our data access approach
- Service Layer Components: Well-structured business logic implementations
- Controller Patterns: Clean API controllers with proper validation and responses
- Dependency Injection Usage: Good examples of DI configuration and usage
- Middleware Components: Custom middleware implementations
- Unit Test Patterns: Well-structured tests with proper arrangement and assertions` : ""}
${(PROJECT_TYPE == "JavaScript" || PROJECT_TYPE == "TypeScript" || PROJECT_TYPE == "React" || PROJECT_TYPE == "Angular" || PROJECT_TYPE == "Auto-detect") ? `#### Frontend Exemplars (if detected)
- Component Structure: Clean, well-structured components
- State Management: Good examples of state handling
- API Integration: Well-implemented service calls and data handling
- Form Handling: Validation and submission patterns
- Routing Implementation: Navigation and route configuration
- UI Components: Reusable, well-structured UI elements
- Unit Test Examples: Component and service tests` : ""}
${PROJECT_TYPE == "Java" || PROJECT_TYPE == "Auto-detect" ? `#### Java Exemplars (if detected)
- Entity Classes: Well-designed JPA entities or domain models
- Service Implementations: Clean service layer components
- Repository Patterns: Data access implementations
- Controller/Resource Classes: API endpoint implementations
- Configuration Classes: Application configuration
- Unit Tests: Well-structured JUnit tests` : ""}
${PROJECT_TYPE == "Python" || PROJECT_TYPE == "Auto-detect" ? `#### Python Exemplars (if detected)
- Class Definitions: Well-structured classes with proper documentation
- API Routes/Views: Clean API implementations
- Data Models: ORM model definitions
- Service Functions: Business logic implementations
- Utility Modules: Helper and utility functions
- Test Cases: Well-structured unit tests` : ""}
4. Architecture Layer Exemplars
-
Presentation Layer:
- User interface components
- Controllers/API endpoints
- View models/DTOs
-
Business Logic Layer:
- Service implementations
- Business logic components
- Workflow orchestration
-
Data Access Layer:
- Repository implementations
- Data models
- Query patterns
-
Cross-Cutting Concerns:
- Logging implementations
- Error handling
- Authentication/authorization
- Validation
5. Exemplar Documentation Format
For each identified exemplar, document:
- File path (relative to repository root)
- Brief description of what makes it exemplary
- Pattern or component type it represents ${INCLUDE_COMMENTS ? "- Key implementation details and coding principles demonstrated" : ""} ${INCLUDE_CODE_SNIPPETS ? "- Small, representative code snippet (if applicable)" : ""}
${SCAN_DEPTH == "Comprehensive" ? `### 6. Additional Documentation
- Consistency Patterns: Note consistent patterns observed across the codebase
- Architecture Observations: Document architectural patterns evident in the code
- Implementation Conventions: Identify naming and structural conventions
- Anti-patterns to Avoid: Note any areas where the codebase deviates from best practices` : ""}
${SCAN_DEPTH == "Comprehensive" ? "7" : "6"}. Output Format
Create exemplars.md with:
- Introduction explaining the purpose of the document
- Table of contents with links to categories
- Organized sections based on ${CATEGORIZATION}
- Up to ${MAX_EXAMPLES_PER_CATEGORY} exemplars per category
- Conclusion with recommendations for maintaining code quality
The document should be actionable for developers needing guidance on implementing new features consistent with existing patterns.
Important: Only include actual files from the codebase. Verify all file paths exist. Do not include placeholder or hypothetical examples. "
Expected Output
Upon running this prompt, GitHub Copilot will scan your codebase and generate an exemplars.md file containing real references to high-quality code examples in your repository, organized according to your selected parameters.
このスキルのファイル
1code-exemplars-blueprint-generator skillに関する質問
Claude Codeにcode-exemplars-blueprint-generator skillをインストールするには
npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.claude/skills/code-exemplars-blueprint-generatorを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
code-exemplars-blueprint-generator skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
どのプログラミング言語がサポートされていますか?
このジェネレーターは、.NET、Java、JavaScript、TypeScript、React、Angular、およびPythonをサポートしています。
生成される exemplars.md ファイルの目的は何ですか?
このファイルは、一貫性を維持するために、コーディング標準やパターンを示す高品質で代表的なコード例を特定するためのものです。