code-exemplars-blueprint-generator

Scans codebases to generate an exemplars.md documenting representative code patterns and standards.

Updated Jun 19, 2026
One-click install
npx skills add https://github.com/MatheusFelipeCorrea/Agrofarm --skill code-exemplars-blueprint-generator-matheusfelipecorrea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-exemplars-blueprint-generator
Source: https://github.com/MatheusFelipeCorrea/Agrofarm/tree/main/.github/skills/code-exemplars-blueprint-generator
Command: npx skills add https://github.com/MatheusFelipeCorrea/Agrofarm --skill code-exemplars-blueprint-generator-matheusfelipecorrea

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams struggle to maintain consistent coding standards because developers lack concrete, in-repo reference implementations. This Skill scans a codebase and produces an exemplars.md document identifying the best real files that demonstrate the project's established patterns, so new code follows existing conventions. ## Core Features & Use Cases - Automatic Stack Detection: Detects languages and frameworks across .NET, Java, React, Angular, Vue, Svelte, Next.js, Nuxt, Node.js, Python, Go, Rust, Rails, Flutter, Swift, and Kotlin, then applies framework-specific exemplar categories. - Monorepo-Aware Analysis: Detects multi-project repositories, scans each sub-project independently, and identifies cross-project exemplars such as API contract pairs, auth flows, and end-to-end data flows. - Layered Exemplar Coverage: Identifies exemplars across presentation, business logic, data access, cross-cutting concerns, background jobs, external integrations, and infrastructure, with optional code snippets and anti-pattern guidance. - Use Case: A tech lead onboarding new developers runs the generator on a React + Node.js monorepo and receives a structured exemplars.md with a quick-reference table, per-category exemplars, anti-patterns to avoid, and a new-feature checklist. ## Quick Start Ask the AI to scan this repository and generate an exemplars.md file documenting the best representative code examples for each architectural layer and pattern.

Frequently Asked Questions about code-exemplars-blueprint-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document coding standards from an existing codebase?

Run the exemplars generator to scan the repository and produce an exemplars.md file. It identifies the best real files per pattern category, explains why each is exemplary, and includes a quick-reference table and new-feature checklist for developers.

How to find representative code examples in a monorepo?

The generator auto-detects monorepo structures via workspace configs and project manifests, then scans each sub-project independently under labeled headings. It also identifies cross-project exemplars like API contract pairs, auth flows, and end-to-end data flows.

What programming languages and frameworks are supported?

Supported stacks include .NET, Java, React, Angular, Vue.js, Svelte, Next.js, Nuxt.js, Node.js, Python, Go, Rust, Ruby on Rails, Flutter, Swift, and Kotlin. Auto-detect mode identifies the stack from manifest files, dependencies, and folder conventions.

Can I control how deep the codebase scan goes?

Yes, the SCAN_DEPTH variable offers Basic, Standard, and Comprehensive modes. Comprehensive adds codebase quality observations covering consistency patterns, architecture adherence, test coverage patterns, and documentation quality.

Does the generated document include anti-patterns to avoid?

When INCLUDE_ANTI_PATTERNS is enabled, the output documents what to avoid, what to do instead, and links back to the correct exemplar. It flags boundary violations and inconsistencies relative to the codebase's own established patterns.