Menghasilkan prompt AI yang dapat disesuaikan untuk memindai codebase dan mengidentifikasi contoh kode berkualitas tinggi guna menetapkan standar pengembangan.
- Bintang GitHub
- 41.038
- File
- 1
- Commit terakhir
- 11 Nov 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill code-exemplars-blueprint-generator?
code-exemplars-blueprint-generator adalah agent skill. Menghasilkan prompt AI yang dapat disesuaikan untuk memindai codebase dan mengidentifikasi contoh kode berkualitas tinggi guna menetapkan standar pengembangan.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill code-exemplars-blueprint-generator
Fungsi utama dari tool ini adalah membantu pembuatan panduan pengembangan standar dengan cara mengidentifikasi kode berkualitas tinggi di dalam repositori yang sudah ada. Tool ini menghasilkan prompt AI khusus yang menginstruksikan agent untuk memindai codebase dan menghasilkan file exemplars.md. File ini berfungsi sebagai referensi bagi developer untuk menjaga konsistensi dengan mengikuti pola dan prinsip arsitektur yang telah ditetapkan dalam proyek mereka sendiri.
Developer dapat mengonfigurasi proses pembuatan dengan memilih bahasa pemrograman spesifik seperti Python, Java, TypeScript, atau .NET. Tool ini memungkinkan pengaturan kedalaman analisis mulai dari tingkat dasar hingga komprehensif, dan pengguna dapat memutuskan apakah ingin menyertakan potongan kode asli atau komentar penjelasan dalam output akhirnya. Tool ini mengorganisir temuan berdasarkan tipe pola, layer arsitektur, atau tipe file, guna memastikan dokumentasi yang dihasilkan sesuai dengan kebutuhan organisasi tim. Pendekatan ini mengandalkan kemampuan agent untuk menganalisis ekstensi file, file konfigurasi, dan struktur direktori guna menemukan implementasi nyata, bukan sekadar contoh hipotetis.
Apa yang bisa dilakukan agent dengannya
- 1Menetapkan standar codingHasilkan prompt untuk mengidentifikasi contoh kode representatif yang mendemonstrasikan standar dan pola coding spesifik tim Anda.
- 2Mendokumentasikan layer arsitekturBuat panduan yang mengategorikan kode berkualitas tinggi ke dalam layer presentation, business logic, dan data access.
- 3Otomatisasi analisis codebaseHasilkan file markdown mendetail yang mencatat path file asli dan detail implementasi untuk stack teknologi tertentu.
- 4Mengidentifikasi pola implementasiPindai repositori untuk menemukan contoh spesifik dari dependency injection, repository patterns, atau struktur komponen.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill code-exemplars-blueprint-generator
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill code-exemplars-blueprint-generator di Claude Code
~/.claude/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.claude/skills/code-exemplars-blueprint-generatorInstall skill code-exemplars-blueprint-generator di Claude Code (project)
.claude/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator .claude/skills/code-exemplars-blueprint-generatorInstall skill code-exemplars-blueprint-generator di Codex
~/.agents/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.agents/skills/code-exemplars-blueprint-generatorInstall skill code-exemplars-blueprint-generator di Gemini CLI
~/.gemini/skills/code-exemplars-blueprint-generator/SKILL.md
$ npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.gemini/skills/code-exemplars-blueprint-generatorInstall skill code-exemplars-blueprint-generator di Claude.ai
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
Pengecekan otomatis
Berjalan 15 Nov 2026Laporan lengkap →Lolos cek otomatis kami. Ini bukan audit keamanan: baca skripnya sebelum membiarkan agent menjalankannya. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkaugithub/awesome-copilot/skills/code-exemplars-blueprint-generator is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/code-exem ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensialNo scripts in the skill folderLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Lolos
- SKILL.md mengikuti format Agent Skillsthe description does not say when to use the skillgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Temuan
SKILL.md
Lihat di GitHubCode 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.
Berkas dalam skill ini
1Pertanyaan seputar skill code-exemplars-blueprint-generator
Bagaimana cara install skill code-exemplars-blueprint-generator di Claude Code?
Jalankan npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.claude/skills/code-exemplars-blueprint-generator. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill code-exemplars-blueprint-generator?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Bahasa pemrograman apa saja yang didukung?
Generator ini mendukung .NET, Java, JavaScript, TypeScript, React, Angular, dan Python.
Apa tujuan dari file exemplars.md yang dihasilkan?
File tersebut mengidentifikasi contoh kode berkualitas tinggi dan representatif untuk mendemonstrasikan standar serta pola coding guna menjaga konsistensi.