← Back to Skills Marketplace
ckchzh

Class

by BytesAgain2 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
173
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install class
Description
Class & OOP reference — inheritance, polymorphism, composition, SOLID principles, design patterns. Use when designing class hierarchies, refactoring object-o...
README (SKILL.md)

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

Variable Description
CLASS_DIR Data directory (default: ~/.class/)

Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: class Version: 1.0.0 The skill is a purely educational reference for Object-Oriented Programming (OOP) concepts, including SOLID principles and design patterns. The implementation in 'scripts/script.sh' consists entirely of static text output via heredocs, with no network activity, file system modifications, or suspicious command execution.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install class
  3. After installation, invoke the skill by name or use /class
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
publish v1.0.0
Metadata
Slug class
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Class?

Class & OOP reference — inheritance, polymorphism, composition, SOLID principles, design patterns. Use when designing class hierarchies, refactoring object-o... It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.

How do I install Class?

Run "/install class" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Class free?

Yes, Class is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Class support?

Class is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Class?

It is built and maintained by BytesAgain2 (@ckchzh); the current version is v1.0.0.

💬 Comments