ocp-strategy-extractor
Identifies growing switch/if-else blocks and refactors them into Strategy patterns.
Skill by esanacore
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/esanacore-ocp-strategy-extractor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ocp-strategy-extractor
What's inside
- Skill name
ocp-strategy-extractor- Description
- Identifies growing switch/if-else blocks and refactors them into Strategy patterns.
- License
- Apache-2.0
- Instructions
- 6 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# OCP Strategy Extractor Use this skill when you encounter a `switch` statement that is frequently modified to add new cases. Refactor into an interface and multiple implementations (Open/Closed Principle). **Constitution Alignment**: This skill strictly enforces the principles laid out in Eric's Engineering Constitution. Always adhere to the established workflows when applying this skill.
From esanacore/engineering-constitution, Apache-2.0.
More from esanacore/engineering-constitution
- 0.590score
srp-module-splitter
esanacore
Detects modules with multiple reasons to change and proposes refactors according to the Single Responsibility Principle.
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
readme-capabilities-sync
esanacore
Enforces Principle 1.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
coverage-gap-analyzer
esanacore
Evaluates coverage against targets in docs/TEST_PLAN.md and logs untested behaviors.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
dependency-rule-enforcer
esanacore
Ensures inner business logic layers do not depend on outer infrastructure layers.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
design-pattern-advisor
esanacore
Recommends Gang of Four patterns based on coupling pain points, preventing premature abstraction.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
engine-neutral-data-modeler
esanacore
Extracts logic from UI/rendering, enforcing a data-driven architecture.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
project-memory-updater
esanacore
Extracts key decisions and user preferences to propose additions to docs/MEMORY.md.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
requirements-traceability-mapper
esanacore
Parses PRODUCT_REQUIREMENTS.md and code/tests to update REQUIREMENTS_TRACEABILITY.md.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
source-summary-synchronizer
esanacore
Detects drift between raw knowledge sources and generated summaries, automating summarization.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
env-contract-validator
esanacore
Monitors .env.example/docker-compose.yml changes and enforces the Environment Contract in docs/ENV_VARS.md.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
least-privilege-reviewer
esanacore
Analyzes IAM roles, API scopes, and file permissions, recommending minimal access.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
negative-case-generator
esanacore
Generates negative test cases to prove that governance tooling and validators fail when they should.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Jul 16, 2026 (3 months ago)
- Last release
- Sep 30, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from esanacore
- 0.590score
readme-capabilities-sync
esanacore
Enforces Principle 1.
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
srp-module-splitter
esanacore
Detects modules with multiple reasons to change and proposes refactors according to the Single Responsibility Principle.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
changelog-release-manager
esanacore
Monitors CHANGELOG.md and executes the semantic versioning release process.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
ci-pipeline-bootstrapper
esanacore
Installs and configures GitHub Actions workflows from the constitution.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
coverage-gap-analyzer
esanacore
Evaluates coverage against targets in docs/TEST_PLAN.md and logs untested behaviors.
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
dependency-rule-enforcer
esanacore
Ensures inner business logic layers do not depend on outer infrastructure layers.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
ocp-strategy-extractor skill. Agent Mart. https://agentmart.dev/skills/esanacore-ocp-strategy-extractor (last updated 2026-10-24)