Coding Philosophy for Openclaw

A framework for balancing intuitive discovery with rigorous engineering to build honest, useful, and scalable codebases.

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 nyx-archive-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 nyx-archive-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?

The Coding Philosophy skill provides a dual-mode approach to software development, distinguishing between Feeling-First (Creative Mode) and Structure-First (Engineering Mode). It acknowledges that code built by feeling is inherently honest and necessary for discovery, while code cleaned by structure is what makes a project maintainable and performant. This skill is a vital part of Openclaw Skills, helping AI agents and developers navigate the transition from rapid prototyping to production-ready architecture.

Rooted in the principles of fallibilism and relational ontology, this skill treats code as a form of communication with future developers. It encourages the preservation of creative archaeology during the discovery phase and provides a systematic checklist for refactoring once the core logic is established. By utilizing this skill, developers can avoid the pitfalls of premature abstraction while ensuring their systems do not collapse under the weight of unmanaged technical debt.

Coding Philosophy Use Cases

  • Rapid prototyping and discovery where speed of expression is prioritized over abstraction.
  • Refactoring experimental game code or UI components into structured, production-grade modules.
  • Managing technical debt and identifying "ghost code" artifacts during iterative development.
  • Optimizing hot-path performance for high-frequency loops and event handlers.
  • Adapting development workflows to meet strict API token budgets or resource constraints.

How Coding Philosophy Works

  1. Mode Selection: Identify if the current task requires discovery (Feeling-First) or optimization (Structure-First).
  2. Creative Discovery: Write expressive code that makes ideas real without the immediate burden of architectural perfection.
  3. Ghost Auditing: Review accumulated code to understand the "fossils" of abandoned ideas before clearing them.
  4. Pattern Extraction: Identify repeated logic across multiple contexts and consolidate them into named helper functions.
  5. Structured Refactoring: Apply a systematic checklist to cache lookups, organize by concern, and separate data from logic.
  6. Safe Deletion: Use the comment-before-delete protocol to ensure new implementations are stable before removing old logic.

Coding Philosophy Setup

To integrate this philosophy into your development environment, ensure you are tracking your Openclaw Skills versioning. Follow these steps for installation:

# Navigate to your local skills repository
cd openclaw-skills/library

# Clone the coding-philosophy skill repository
git clone https://clawhub.com/coding-philosophy.git

# Review the integration principles
cat coding-philosophy/SKILL.md

Coding Philosophy Data Schema & Taxonomy

The skill manages development metadata and refactoring states using the following taxonomy:

Data Point Definition Type
Development Mode Current state: Creative (Feeling) or Engineering (Structure) String
Hot Path Registry Inventory of functions running in high-frequency loops List
Refactoring Checklist Status of caching, extraction, and organization tasks Boolean Table
Migration Logic Code blocks required to preserve state across schema changes Code Block
Token Budget Mode Operational intensity based on available API credits Enum

Coding Philosophy Advanced Features

  • Token-Aware Workflows: Automatically switches to precision-mode development when API budgets are low to minimize cost.
  • Comment-Before-Delete Protocol: A safety-first methodology that prevents premature code loss and reduces restoration overhead.
  • Parts-Based Rendering Pipeline: Specialized logic for managing modular state restoration in complex web and game projects.
  • Relational Ontology Mapping: Focuses on naming conventions that emphasize the role of code as a communication tool for future maintainers.
  • Browser Cache Management: Integrated checks to remind developers of client-side cache-busting during JS/CSS updates.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*