blueprint:good-pattern

Extracts reusable code patterns from specified files or descriptions.

2|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/rickardp/blueprint-mode --skill blueprint-good-pattern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blueprint:good-pattern
Source: https://github.com/rickardp/blueprint-mode/tree/main/plugins/blueprint-mode/skills/good-pattern
Command: npx skills add https://github.com/rickardp/blueprint-mode --skill blueprint-good-pattern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pattern capture helps teams extract recurring code structures into reusable templates, reducing duplication and drift.

Core Features & Use Cases

  • Parse an input argument for a file path or descriptive text.
  • Find / Read the target file content and validate it for pattern extraction.
  • Create a standardized pattern under patterns/good/[name].[ext].
  • Report the captured pattern and provide references for reuse.
  • Use Case: when documenting coding standards or sharing best practices across a codebase.

Quick Start

Provide a file path or a description to extract a reusable code pattern.

Frequently Asked Questions about blueprint:good-pattern

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

FAQPage Schema
How do I capture reusable code patterns from source files?

To capture reusable code patterns, provide a file path or description to the skill. It parses the input, reads the target source file, and stores a standardized pattern template under patterns/good/ to enforce consistency across your codebase.

What is the best way to document coding standards from an existing codebase?

Documenting coding standards is done by extracting recurring code structures into reusable templates. This skill parses your source files and saves standardized pattern templates under patterns/good/, reducing code duplication and drift across your codebase.

Can I extract a code pattern template by just describing it instead of providing a file path?

Yes, you can extract a code pattern template using a descriptive text input instead of a file path. The skill operates by parsing a provided path or description, locating the target file content, and storing the validated pattern for reuse.

Do I need any external dependencies to automate code pattern extraction?

No external dependencies are required to automate code pattern extraction. The skill requires minimal setup and independently handles parsing, reading, and storing standardized patterns under patterns/good/ for your codebase.

Why should I extract code patterns into reusable templates?

Extracting code patterns into reusable templates reduces duplication and drift in your codebase. It helps teams enforce consistency by converting recurring source code structures into standardized references under patterns/good/.

Where are extracted code patterns stored for future reuse?

Extracted code patterns are stored as standardized templates under the patterns/good/ directory. The skill creates a file named patterns/good/[name].[ext] and provides a final report of the extraction for team reuse.