Skip to content
Back to skills

Golden Pattern Extractor

ASecurity

Identify preferred local implementation patterns and encode them for agents to copy. Use when a repo has inconsistent patterns, needs canonical examples, templates, or docs/quality/golden-patterns.md updates.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
code-qualitygo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add pax-k/pax-fullstack-harness --skill golden-pattern-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Golden Pattern Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Golden Pattern Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pax-k-golden-pattern-extractor/badge)](https://www.skillsdirectory.com/skills/pax-k-golden-pattern-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: golden-pattern-extractor
description: Identify preferred local implementation patterns and encode them for agents to copy. Use when a repo has inconsistent patterns, needs canonical examples, templates, or docs/quality/golden-patterns.md updates.
---

# Golden Pattern Extractor

## Purpose

Find the best examples already in a repo and turn them into copyable guidance so agents replicate good patterns instead of accidental ones.

## Inspect First

- repeated implementations across source directories
- architecture docs, tests, lint rules, technical debt docs, and recent reviews
- examples of both preferred and deprecated patterns

## Procedure

1. Find candidate patterns.
   - Look for repeated handlers, services, components, migrations, errors, tests, and config modules.
   - Prefer examples that are simple, tested, and aligned with architecture docs.

2. Choose golden examples.
   - Document why each example is preferred.
   - Mark deprecated or risky alternatives clearly.

3. Encode patterns.
   - Update `docs/quality/golden-patterns.md`.
   - Add templates only when the pattern is frequently repeated and stable.
   - Recommend lint or boundary checks when misuse is common.

4. Coordinate cleanup.
   - Use `entropy-auditor` for broad drift findings.
   - Use `agent-reviewer` to check pattern migrations.

## Validation

- Confirm each golden pattern points to a real source path.
- Confirm examples are current and tested where feasible.
- Confirm deprecated patterns have a replacement.

## Completion Criteria

- Agents know exactly which local examples to copy and which to avoid.

Files in this skill

  • SKILL.md1.6 KB
  • agents/openai.yaml228 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.