Generates customizable AI prompts to scan codebases and identify high-quality code examples for establishing development standards.
- GitHub stars
- 41,038
- Files
- 1
- Last commit
- Nov 11, 2026
- License
- MIT
- Allowed tools
- —
What does the code-exemplars-blueprint-generator skill do?
code-exemplars-blueprint-generator generates customizable AI prompts to scan codebases and identify high-quality code examples for establishing development standards.
Summary generated from the skill's SKILL.md.
About the code-exemplars-blueprint-generator skill
Creating standardized development guides by identifying high-quality code within existing repositories is the primary function of this tool. It generates customized AI prompts that instruct an agent to scan a codebase and produce an exemplars.md file. This file serves as a reference for developers to maintain consistency by following established patterns and architectural principles found in their own projects.
Developers can configure the generation process by selecting specific programming languages such as Python, Java, TypeScript, or .NET. The tool allows for adjustable analysis depth ranging from basic to comprehensive, and users can decide whether to include actual code snippets or explanatory comments in the final output. It organizes findings by pattern type, architecture layer, or file type, ensuring the resulting documentation matches the team's organizational needs. This approach relies on the agent's ability to analyze file extensions, configuration files, and directory structures to locate real implementations rather than hypothetical examples.
What an agent can do with it
- 1Establish coding standardsGenerate a prompt to identify representative code examples that demonstrate your team's specific coding standards and patterns.
- 2Document architectural layersCreate a guide that categorizes high-quality code into presentation, business logic, and data access layers.
- 3Automate codebase analysisProduce a detailed markdown file that catalogs real file paths and implementation details for specific technology stacks.
- 4Identify implementation patternsScan a repository to find specific examples of dependency injection, repository patterns, or component structures.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the code-exemplars-blueprint-generator skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the code-exemplars-blueprint-generator skill in 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 the code-exemplars-blueprint-generator skill in 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 the code-exemplars-blueprint-generator skill in 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 the code-exemplars-blueprint-generator skill in 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 the code-exemplars-blueprint-generator skill in 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
Automated checks
Ran Nov 15, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work · What to fix for more points
- Source repository linked and reachablegithub/awesome-copilot/skills/code-exemplars-blueprint-generator is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/code-exem ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Pass
- SKILL.md follows the Agent Skills formatthe description does not say when to use the skillgithub.com/github/awesome-copilot/blob/HEAD/skills/code-exem ↗Finding
SKILL.md
View on 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.
Files in this skill
1code-exemplars-blueprint-generator skill questions
How do I install the code-exemplars-blueprint-generator skill in Claude Code?
Run npx degit github/awesome-copilot/skills/code-exemplars-blueprint-generator ~/.claude/skills/code-exemplars-blueprint-generator. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the code-exemplars-blueprint-generator skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
What programming languages are supported?
The generator supports .NET, Java, JavaScript, TypeScript, React, Angular, and Python.
What is the purpose of the generated exemplars.md file?
The file identifies high-quality, representative code examples to demonstrate coding standards and patterns to maintain consistency.