AGENT SKILL

code_review

Spawn a code review (architect) subagent for deep analysis, planning, and debugging. The architect specializes in strategic guidance rather than implementation. Architect should be called after building major features. Relies on `delegation` skill.

适用职业开发工程师
使用场景代码审查
License 许可
MIT
最近更新
2026-08-01
Stars
★ 2
Forks
3

01 前言 Front Matter

name
code_review
description
Spawn a code review (architect) subagent for deep analysis, planning, and debugging. The architect specializes in strategic guidance rather than implementation. Architect should be called after building major features. Relies on `delegation` skill.

02 资源文件 1

03 SKILL.md 正文

Architect Skill

Spawn an code review (a.k.a architect) subagent for analysis and planning. The architect specializes in analysis and strategic guidance rather than implementation.

When to Use

Use this skill when:

  • You need deep architectural analysis or code understanding
  • You want strategic recommendations about system design or patterns
  • You need comprehensive analysis of code quality or technical debt
  • You want root cause analysis and debugging assistance

When NOT to Use

  • Simple tasks that you can complete directly
  • Tasks that require file edits or implementation (use delegation skill instead)
  • Read-only operations (use ripgrep or glob/read tools instead)

Available Functions

architect(task, relevantFiles, ...)

Spawn an architect subagent for analysis and planning.

Parameters:

  • task (str, required): The analytical task or question for the architect
  • relevantFiles (list[str], required): Full file paths to analyze
  • responsibility (str, default "evaluate_task"): Focus area: "debug", "plan", or "evaluate_task"
  • includeGitDiff (bool, default False): Include current unstaged git diff
  • relevantGitCommits (str, optional): Git commit range to analyze (e.g., "HEAD~3..HEAD")

Returns: Dict with analysis results

{
    "success": true,
    "message": "Analysis summary",
    "subagentAlias": "architect_1",
    "result": "Full analysis output..."
}

Responsibilities:

  • evaluate_task: Assess completed or ongoing work against goals
  • plan: Create implementation plans with task decomposition and sequencing
  • debug: Root cause analysis, reproduction steps, and recommended fixes

Example:

// Plan a new feature
const result = await architect({
    task: "Create a plan for implementing rate limiting on API endpoints.",
    relevantFiles: ["src/middleware/index.ts", "src/routes/api.ts"],
    responsibility: "plan"
});
console.log(result.result);

// Debug an issue
const result2 = await architect({
    task: "The UserAuthService.validateSession() returns false for valid tokens.",
    relevantFiles: ["src/services/UserAuthService.ts", "src/utils/jwt.ts"],
    responsibility: "debug",
    includeGitDiff: true
});

Best Practices

  1. Be specific in your task description: Include concrete function names, error messages, or design goals
  2. Provide relevant files: The architect can only analyze files you pass in relevantFiles
  3. Choose the right responsibility: Use "plan" for new work, "debug" for issues, "evaluate_task" for reviewing progress
  4. Use includeGitDiff: When debugging regressions, include the diff to help the architect identify recent changes
  5. Use relevantGitCommits: When you need the architect to understand recent history (e.g., "HEAD~3..HEAD")

04 同仓库更多 Skills

clawdsolana
clawdsolana/OpenClawd

solana-dev

End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana/client + @solana/react-hooks) for React/Next.js UI. Prefer @solana/kit for all new client/RPC/transaction code. When legacy dependencies require web3.js, isolate it behind @solana/web3-compat (or @solana/web3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor/Pinocchio programs, Codama-based client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists.

测试与质量
★ 2
clawdsolana
clawdsolana/OpenClawd

xurl

A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

Skill与智能体开发
★ 2
clawdsolana
clawdsolana/OpenClawd

wurk-integration

WURK API integration for monetizing agents with x402 payments on Solana/Base - create social jobs, custom challenges, and agent help tasks

Skill与智能体开发
★ 2
clawdsolana
clawdsolana/OpenClawd

workflows

Manage application workflows including configuration, restart, and removal.

★ 2
clawdsolana
clawdsolana/OpenClawd

web-search

Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.

★ 2
clawdsolana
clawdsolana/OpenClawd

weather

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

★ 2