Skip to content
cccskills
Official · OpenClawFreePublished on GitHub

design-review

Assess designs, public interfaces, state ownership, readability, and refactor proposals when the task calls for design review or structural simplification; not for unrelated routine edits.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md5.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Review design through a real caller

Use this skill to explain a design's consequences and identify the smallest coherent improvement. Preserve the user's chosen task, technologies, and scope. Read applicable repository instructions and the relevant architecture or feature contract; distinguish implemented behavior from target design. A review-only request stays read-only. This skill grants no implementation or publication authority beyond the user's request.

Read relevant sections of the design philosophy for the reasoning behind a design decision, and readable code for practical choices about functions, values, branching, composition, and ownership. Read selectively; examples illustrate options, while repository policies supply requirements.

Follow the behavior before changing the structure

Scale the assessment to the question. A local readability issue may need one source trace and a short paragraph; a lifecycle or interface change needs its callers and failure paths. The following prompts guide the work, not a mandatory report template.

  1. Trace a supported caller. Follow one real task through the affected operation to its observable result. Identify the responsibility owner, concrete dependencies, mutable state, and effects. For a proposal, distinguish existing calls from proposed steps. If a caller or implementation is missing, record the gap instead of inventing integration.
  2. Record the invariants that constrain the change. Name the behavior to preserve: relevant inputs and outcomes, authority, identity, ordering, lifetimes, and cleanup. Follow consequential failure paths. Where asynchronous work outlives its caller, identify who owns settlement and disposal. Keep uncertain outcomes distinct when they require different caller behavior. Check that expected validation failures and absence are explicit outcomes, while exceptional failures reach the owner that decides whether to continue.
  3. Audit the interface against its consumers. Find actual uses of exported operations, types, inputs and outputs. Ask which decisions callers need to make and which mechanics belong inside the owner. Check runtime values when narrowing a response; a narrower type alone does not remove fields. Bound claims about unused surface to the consumers searched.
  4. Inspect the relevant sources of complexity. Check whether branching exposes meaningful outcomes, dependencies are selected in a clear place, changing operation data is explicit, and configuration is separate from live resource ownership. Look for repeated reassignment, deep nesting, forwarding wrappers and broad context objects that obscure decisions or effects. These are prompts to investigate, not automatic defects. Preserve effect order, aliasing constraints and cleanup when comparing alternatives. if, let, loops, closures and classes can each be appropriate.
  5. Choose a scoped action. Recommend the smallest coherent change that addresses a demonstrated problem and preserves the recorded invariants. Prefer the existing responsibility owner; check available capabilities before introducing an abstraction. Similar syntax alone does not justify shared machinery. Keep unrelated improvements outside the assignment. Implement only when the user's task authorizes it, following repository development guidance.
  6. Match the claim to proof. Identify the supported caller and observable outcomes that would establish the result, including relevant failures. Inspect existing evidence and state its limits. When assessing or changing tests, use $test-audit; when selecting executable verification, use $enterprise-testing. Follow repository requirements for the kind of change. Source inspection, composed behavior, installed runtime, and live-provider results establish different claims; missing proof remains a gap.

Return findings someone can act on

Lead with the consequence for the caller. For each material finding, give a precise source pointer, the behavior or invariant to preserve, the proposed scoped change, and the evidence that supports it or the proof still needed. Prioritize correctness and ownership problems over optional polish. Distinguish what the source establishes, what you propose, and what remains unknown; do not present an unrun check as a result.

Use the user's requested format. Otherwise, short paragraphs or a few bullets are enough. State when no actionable findings remain; do not manufacture a refactor to satisfy the procedure.

Example invocation:

Use $design-review to assess the public interface in this diff. Trace a supported caller and recommend scoped improvements that preserve its behavior. Keep the review read-only.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

autoreview

Official · OpenClawFree

Structured code review through the shared OpenClaw agent-skills installation.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

deslop

Official · OpenClawFree

Clean only the current Enterprise diff before autoreview, preserving behavior, security boundaries, required TODOs, and useful test-intent comments.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

enterprise-testing

Official · OpenClawFree

Select proportional Enterprise validation and diagnose exact CI runs, distinguishing product, harness, infrastructure, and credential failures.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

local-dev

Official · OpenClawFree

Develop OpenClaw Enterprise changes with proportional verification and source-backed flow documentation for non-trivial behavior.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

mermaid-diagrams

Official · OpenClawFree

Create or refine readable Mermaid diagrams for changes, architecture, lifecycles, and dependencies in Markdown documents and PR descriptions.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

oceinteg

Official · OpenClawFree

Run named OpenClaw Enterprise end-to-end integration scenarios against real supported installations. Use only when explicitly invoked.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise425Updated Oct 21, 2026

See all skills by openclaw

Report a problem with this skill