OpenClaw CC Rules for Openclaw

A comprehensive framework for AI agents to follow professional coding standards, featuring Plan Mode, Git safety protocols, and structured task tracking.

badxtdss
v1.0.1
Apr 1, 2026
0
740
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install openclaw-cc-rules-gitee

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 openclaw-cc-rules-gitee 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 OpenClaw CC Rules?

OpenClaw CC Rules is a sophisticated skill designed to bring industry-standard software development workflows to AI coding agents. By drawing inspiration from top-tier AI programming tools, this skill establishes a structured behavior specification that ensures agents operate with foresight and precision. It focuses on a "Think Before You Do" philosophy, enforcing a rigorous Plan Mode for complex tasks and maintaining clear task states throughout the development lifecycle.

This skill is essential for maintaining code quality and repository integrity when using Openclaw Skills. It provides the necessary guardrails for architectural analysis, multi-file refactoring, and safe version control operations. By implementing these rules, developers can ensure their AI agents behave as reliable collaborators rather than simple script generators.

OpenClaw CC Rules Use Cases

  • Implementing complex new features that require architectural planning and multi-file modifications.
  • Refactoring large codebases where dependency management and change order are critical.
  • Standardizing Git operations to ensure clean commit histories and prevent accidental data loss.
  • Conducting deep codebase exploration and impact analysis before initiating code changes.
  • Managing long-running development tasks through structured status tracking and blocking-issue identification.

How OpenClaw CC Rules Works

  1. The agent triggers Read-Only Exploration to map out project structure and identify dependencies without modifying files.
  2. For complex tasks, the agent enters Plan Mode to document implementation steps, assess risks, and seek user confirmation.
  3. A structured task list is initialized to track progress across Pending, In Progress, Completed, and Blocked states.
  4. Code modifications follow a bottom-up sequence, prioritizing low-level dependencies before touching high-level logic or UI components.
  5. The Git Safety Protocol governs the staging and committing process, ensuring all changes are verified and documented using professional message standards.

OpenClaw CC Rules Setup

To integrate these rules into your environment, ensure your agent has access to the repository and the OpenClaw Skill system is active. Install the skill using the following command:

openclaw skill add openclaw-cc-rules

Once installed, the rules will automatically activate during code modification, architectural design, or Git operation scenarios to enhance your Openclaw Skills workflow.

OpenClaw CC Rules Data Schema & Taxonomy

The skill organizes workflow data using the following taxonomy:

Feature Data Element Specification
Task Tracking Status pending, in_progress, completed, blocked
Task Tracking Description Dual format: content (imperative) and activeForm (present continuous)
Plan Mode Lifecycle Explore → Understand → Plan → Confirm
Git Protocol Message Format Type: brief description (feat, fix, refactor, etc.)
Exploration Allowed Tools read, ls, cat, grep, find, git status/diff/log

OpenClaw CC Rules Advanced Features

  • Intelligent Plan Mode triggers that activate automatically when changes impact more than three files or require architectural decisions.
  • Strict Git safety guardrails that explicitly forbid destructive commands like force pushes or hard resets unless specifically authorized.
  • Multi-file change strategy that enforces an ordered modification sequence based on dependency hierarchies.
  • Integrated post-coding checklist including automated linting, documentation verification, and TODO audits.
  • Detailed read-only exploration requirements that prevent accidental writes during the discovery phase of a task.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*