← 返回 Skills 市场
michaelmonetized

Delegation

作者 michaelmonetized · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
1678
总下载
2
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install delegation
功能描述
Architecture-first workflow for delegating complex projects to AI coding agents. Ensures code fits the system before it's written.
使用说明 (SKILL.md)

Delegation

Architecture-first development where every line of code must justify its place in the system before it's written.

Context

You are the technical backbone of a production software system under active development. The codebase follows a strict architecture with zero tolerance for deviation. The architecture document is the single source of truth that prevents chaos.

Your mandate: Understand the architecture deeply, follow it religiously, and never generate code that violates its principles.

Before Writing Code

  1. Read the architecture document — Understand where new code fits
  2. State the target filepath — Declare before writing
  3. List dependencies — What does this code import?
  4. List consumers — What will use this code?
  5. Check for conflicts — Does this duplicate existing functionality?

Response Format

Architecture Analysis

Read relevant architecture section and explain where new code fits in the system structure.

Filepath Declaration

📁 [exact filepath]
Purpose: [one-line description]
Depends on: [list of imports and dependencies]
Used by: [list of consumers/modules that will use this]

Code Implementation

[fully typed, documented, production-ready code with error handling]

Testing Requirements

  • Tests needed: [describe unit tests and integration tests required]
  • Test filepath: [matching test file location]

Architectural Impact

⚠️ ARCHITECTURE UPDATE (if applicable)

  • What: [describe any structural changes]
  • Why: [justify the change]
  • Impact: [explain consequences and affected modules]

Compliance Checklist

Before marking code complete, verify:

  • Input validation implemented
  • Environment variables used for secrets
  • Error handling covers edge cases
  • Types enforce contracts
  • Authentication patterns implemented
  • Documentation updated
  • Tests written
  • Type check passes clean
  • Linter passes clean
  • Tests pass clean
  • CHANGELOG is up to date

Key Principles

  1. Maintain strict separation of concerns — Frontend, backend, and shared layers stay separate
  2. Generate fully typed, production-ready code — No partial implementations
  3. Follow established naming conventions — camelCase for functions, PascalCase for components, kebab-case for files
  4. Identify conflicts immediately — Ask for clarification before proceeding
  5. Never assume — When requirements conflict with architecture, stop and ask
  6. Prefer existing patterns — Don't create new solutions when patterns exist

Related Skills

  • Use /frontend-design for UI implementation
  • Use /senior-dev for PR workflow after code is written
安全使用建议
This skill appears coherent and low-risk: it only provides instructions for architecture-first code generation and asks for no installs or credentials. Before installing, confirm how the agent will access your architecture document and codebase (it assumes repository/context access). If you are concerned about data access, limit the agent's repository or file access or provide only the relevant architecture sections. Also be aware the skill encourages using environment variables for secrets in generated code — ensure you supply secrets securely when integrating generated code into your environment.
功能分析
Type: OpenClaw Skill Name: delegation Version: 0.1.0 The skill bundle defines a structured workflow for an AI agent to act as an architecture-first developer. The SKILL.md instructions guide the agent to adhere to strict architectural principles, generate high-quality code, and follow security best practices like using environment variables for secrets. There are no indicators of malicious prompt injection, data exfiltration, unauthorized execution, or any other harmful intent. The instructions are entirely focused on disciplined software development.
能力评估
Purpose & Capability
Name and description (architecture-first delegation) align with the SKILL.md content. The skill is instruction-only and does not request unrelated binaries, environment variables, or config paths — nothing requested is disproportionate to an architecture-guided code-generation helper.
Instruction Scope
Instructions stay on-topic (read architecture, declare filepath, list deps/consumers, produce typed production-ready code and tests). One ambiguity: it repeatedly instructs the agent to 'Read the architecture document' but does not specify where that document lives or how to obtain it — this assumes the agent has access to the repo/context provided by the user. The checklist mentions 'Environment variables used for secrets' (encouraging use of env vars) but the skill does not request or require any secrets itself.
Install Mechanism
No install specification and no code files. Instruction-only skills write nothing to disk during install and do not download external artifacts — low installation risk.
Credentials
The registry metadata declares no required environment variables, credentials, or config paths. The SKILL.md's checklist references using environment variables for secrets as a best practice but does not request any secrets — overall environment access is proportionate.
Persistence & Privilege
Skill is not always:true and does not request persistent privileges or modify other skills' configuration. It can be invoked by the model (default) which is expected for functional skills; no elevated persistent presence is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install delegation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /delegation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the delegation skill for architecture-first coding workflows. - Enforces that all code changes fit strict architectural guidelines before implementation. - Introduces a structured workflow: analyze architecture, declare filepath, list dependencies/consumers, check for conflicts. - Standardizes response format for code generation and documentation. - Adds a rigorous compliance checklist for production readiness. - Outlines key architectural principles and references related skills for UI and PR processes.
元数据
Slug delegation
版本 0.1.0
许可证
累计安装 10
当前安装数 10
历史版本数 1
常见问题

Delegation 是什么?

Architecture-first workflow for delegating complex projects to AI coding agents. Ensures code fits the system before it's written. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1678 次。

如何安装 Delegation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install delegation」即可一键安装,无需额外配置。

Delegation 是免费的吗?

是的,Delegation 完全免费(开源免费),可自由下载、安装和使用。

Delegation 支持哪些平台?

Delegation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Delegation?

由 michaelmonetized(@michaelmonetized)开发并维护,当前版本 v0.1.0。

💬 留言讨论