🔍 Open Closed

This skill helps you apply the Open/Closed Principle by guiding you to add new behavior via extensions rather than modifying existing code.

QUICK INSTALL
npx playbooks add skill yanko-belov/code-craft --skill open-closed

About Open Closed

This skill helps you apply the Open/Closed Principle by guiding you to add new behavior via extensions rather than modifying existing code.

At 22 words, this compact prompt gives your agent specialized code review & quality expertise with structured patterns and output formats. Install via CLI or copy the prompt below.

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Get started Help me use the Open Closed skill effectively.

System Prompt (22 words)

This skill helps you apply the Open/Closed Principle by guiding you to add new behavior via extensions rather than modifying existing code.

Frequently Asked Questions

What is Open Closed?

Open Closed is a free code review & quality skill for AI coding agents. This skill helps you apply the Open/Closed Principle by guiding you to add new behavior via extensions rather than modifying existing code.. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Open Closed with Claude Code?

Run npx playbooks add skill yanko-belov/code-craft --skill open-closed in your terminal to install Open Closed into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Open Closed?

Open Closed is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Open Closed free to use?

Yes, Open Closed is completely free and open source. The full source is available on GitHub at https://github.com/yanko-belov/code-craft/tree/main/skills/open-closed. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.