Class

v1.0.0

Class & OOP reference — inheritance, polymorphism, composition, SOLID principles, design patterns. Use when designing class hierarchies, refactoring object-o...

0· 172·1 current·1 all-time
byBytesAgain2@ckchzh

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for ckchzh/class.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Class" (ckchzh/class) from ClawHub.
Skill page: https://clawhub.ai/ckchzh/class
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install class

ClawHub CLI

Package manager switcher

npx clawhub@latest install class
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, and provided commands all relate to OOP/class guidance. The only artifact (scripts/script.sh) implements the documented commands, so required resources are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run scripts/script.sh with specific subcommands (intro, solid, patterns, etc.). Those commands map to functions in the script that print reference material. The instructions do not request unrelated files, credentials, or external endpoints.
Install Mechanism
No install spec is present (instruction-only skill with an included script). No downloads or package installs are requested; the included script is local and appears to only emit documentation text.
Credentials
The skill declares a single optional configuration variable (CLASS_DIR) for a data directory but does not require any credentials or environment variables. The shipped script (as shown) does not read environment variables or secrets.
Persistence & Privilege
always is false and the skill does not request elevated privileges or modify other skills or system configuration. It is user-invocable and may be invoked autonomously by the agent (default), which is normal for skills; this combination is not concerning here given the script's benign content.
Assessment
This skill is low-risk: it runs a local shell script that prints OOP reference material and asks for no credentials or network access. If you plan to install it, you can: (1) review scripts/script.sh yourself (it's included) to confirm there are no commands that modify files, invoke network calls, or execute external programs; (2) ensure your agent runs with least privilege (don't expose secrets to the agent if not needed). If you see any future updates that add networking, file writes, or new environment requirements, re-evaluate before trusting the update.

Like a lobster shell, security has layers — review code before you run it.

latestvk977pcf6z813r4zqn57xhzwxqs83atzf
172downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Class — Object-Oriented Programming Reference

Quick-reference skill for OOP concepts, class design, SOLID principles, and common design patterns.

When to Use

  • Designing class hierarchies and choosing inheritance vs composition
  • Applying SOLID principles to refactor code
  • Understanding polymorphism, encapsulation, and abstraction
  • Choosing the right design pattern for a problem
  • Comparing OOP across languages (Java, Python, TypeScript, C++)

Commands

intro

scripts/script.sh intro

OOP fundamentals — classes, objects, the four pillars.

solid

scripts/script.sh solid

SOLID principles — SRP, OCP, LSP, ISP, DIP explained with examples.

inheritance

scripts/script.sh inheritance

Inheritance vs composition — when to use each, diamond problem, mixins.

patterns

scripts/script.sh patterns

Essential design patterns — Factory, Strategy, Observer, Singleton, Builder.

access

scripts/script.sh access

Access modifiers and encapsulation — public, private, protected across languages.

abstract

scripts/script.sh abstract

Abstract classes, interfaces, and protocols — contracts and polymorphism.

pitfalls

scripts/script.sh pitfalls

Common OOP pitfalls — God class, deep hierarchies, over-engineering.

comparison

scripts/script.sh comparison

OOP across languages — Java, Python, TypeScript, Go, Rust.

help

scripts/script.sh help

version

scripts/script.sh version

Configuration

VariableDescription
CLASS_DIRData directory (default: ~/.class/)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Comments

Loading comments...