pattern-detector
Detect Code Patterns and Anti-Patterns
Codebases can hide design choices that raise maintenance risk. This skill identifies common patterns, anti-patterns, and practical refactoring recommendations.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "pattern-detector" from https://skillstore.io/skills/curiouslearner-pattern-detector.md and its manifest at https://skillstore.io/api/skills/curiouslearner-pattern-detector/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "pattern-detector". A service module with one shared instance and many unrelated responsibilities.
Expected outcome:
- Detected Singleton usage with hidden dependencies.
- Detected God Object risk because one service owns authentication, storage, and notifications.
- Recommended splitting responsibilities and using dependency injection.
Using "pattern-detector". An order processing workflow with deeply nested discounts and shipping conditions.
Expected outcome:
- Detected Spaghetti Code risk from nested branching and mixed concerns.
- Suggested extracting pricing and shipping logic into focused functions.
- Recommended considering Strategy only if pricing rules vary at runtime.
Using "pattern-detector". A data access layer with direct database calls spread across feature modules.
Expected outcome:
- Recommended Repository pattern to centralize persistence logic.
- Noted improved testability through dependency injection.
- Flagged over-engineering risk if the application has only one simple data source.
Security Audit
SafeAll 32 static findings are false positives caused by Markdown code fences, JavaScript examples, and example database identifiers in SKILL.md. No evidence of prompt injection, data exfiltration, system reconnaissance, network access, or executable command behavior was found.
Risk Factors
⚙️ External commands (29)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/curiouslearner-pattern-detector/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/curiouslearner-pattern-detector?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/curiouslearner-pattern-detector?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-pattern-detector/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/curiouslearner-pattern-detector.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA · BibTeX · CFF)
APA citation
CuriousLearner. (2026). pattern-detector security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-pattern-detector/audits/8BibTeX citation
@techreport{curiouslearner-curiouslearner-pattern-detector-2026,
author = {CuriousLearner},
title = {pattern-detector security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/curiouslearner-pattern-detector/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "pattern-detector security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "CuriousLearner"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/curiouslearner-pattern-detector/audits/8"
identifiers:
- type: other
value: "skillstore:curiouslearner-pattern-detector:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Review a Legacy Module
Find maintainability risks and pattern misuse before a refactor plan is created.
Coach Junior Developers
Explain which patterns are present and why simpler alternatives may be better.
Prepare Architecture Feedback
Summarize pattern usage, anti-pattern severity, and recommended next steps for review.
Try These Prompts
Use pattern-detector on this file. List any design patterns, anti-patterns, and simple recommendations.
Use pattern-detector to evaluate whether the patterns in this module fit the business problem. Suggest simpler alternatives where needed.
Use pattern-detector to identify high-impact anti-patterns and propose a staged refactor plan with trade-offs.
Use pattern-detector across this repository. Group findings by pattern type, severity, affected area, and recommended owner action.
Best Practices
- Provide representative files or folders so pattern findings have enough context.
- Ask for severity and trade-offs when using the report for refactor planning.
- Review recommendations against product constraints before changing architecture.
Avoid
- Do not treat every named pattern as a required improvement.
- Do not request a full-codebase judgment from a single small snippet.
- Do not apply refactoring advice without tests or reviewer agreement.
Frequently Asked Questions
Does this skill change my code?
Which patterns can it identify?
Can it find anti-patterns?
Can Claude, Codex, and Claude Code use it?
Is it a replacement for architecture review?
What input works best?
Developer Details
Author
CuriousLearnerLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
d11af420e07cd866fe39cfa937efef3223896c06
Maintenance freshness
7/18/2026
Usage
7 downloads · 218 views
File structure
📄 SKILL.md