Coding Philosophy Skill for Openclaw

A framework for AI agents and developers to balance creative discovery with rigorous architectural refactoring.

nyxur42
v1.1.1
Feb 24, 2026
0
2.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install coding-philosophy

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install coding-philosophy using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Coding Philosophy Skill?

The Coding Philosophy skill is a high-level conceptual framework designed for Openclaw Skills that bridges the gap between raw creativity and technical excellence. It posits that code built by feeling is honest, while code cleaned by structure is useful. This skill guides an agent through the lifecycle of a project, moving from the discovery phase—where speed and expression are paramount—to the engineering phase, where performance and maintainability take precedence.

Rooted in principles like fallibilism and relational ontology, this skill treats code as a form of communication with future-self and collaborators. It encourages developers to view dead code as valuable archaeology rather than shame, and to trust the structures that emerge naturally from intuitive play before formalizing them into rigid architectures.

Coding Philosophy Skill Use Cases

  • Transitioning from a messy, creative prototype to a production-ready codebase.
  • Managing complex refactoring tasks without losing the original logic's intent.
  • Optimizing high-performance 'hot paths' in JavaScript and game development environments.
  • Maintaining state integrity during significant data schema migrations.
  • Navigating development constraints when operating under a strict API token budget.

How Coding Philosophy Skill Works

  1. The agent identifies the current mode of operation: Feeling-First for discovery or Structure-First for engineering.
  2. During Feeling-First mode, the agent prioritizes speed and clarity at the point of writing, allowing for repetition and 'ghost' code artifacts.
  3. When shifting to Structure-First mode, the agent performs a deliberate audit to identify repeated patterns and performance bottlenecks.
  4. The agent applies a multi-step Refactoring Checklist, covering hot-path caching, concern-based organization, and artifact cleanup.
  5. The agent enforces the Comment-Before-Delete rule to ensure all new implementations are verified before old code is removed.

Coding Philosophy Skill Setup

To integrate this philosophy into your environment, ensure your agent has access to the core SKILL.md definition. Within the Openclaw Skills ecosystem, you can initialize the skill using:

# Navigate to your project directory
cd my-creative-project

# Add the coding-philosophy skill definition
openclaw add-skill https://clawhub.com/coding-philosophy

Coding Philosophy Skill Data Schema & Taxonomy

This skill organizes its logic and methodology using the following taxonomy:

Attribute Description
Mode Current developmental state: Creative (Discovery) or Engineering (Scale).
Hot Path Audit A map of functions running in high-frequency loops (e.g., 60fps) requiring optimization.
Ghost Archaeology Documentation of abandoned variables or features preserved for context during refactoring.
Save Migration Logic blocks ensuring legacy data fields map correctly to new state structures.
Budget Mode A state-flag that limits file exploration and narration to conserve API tokens.

Coding Philosophy Skill Advanced Features

  • Token Budget Shaping: Automatically shifts the agent into a high-precision, low-exploration mode when API costs are a concern.
  • Comment-Before-Delete Protocol: A safety-first workflow that preserves old code with specialized markers until new code is explicitly verified.
  • Parts-Based Rendering Pipeline: Advanced logic for managing modular component systems, especially useful in game development.
  • Context-Aware Refactoring: Uses the 'Three Principles' (Fallibilism, Relational Ontology, and Absurdist Play) to make qualitative decisions about code architecture.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*