返回顶部
d

delegation

Architecture-first workflow for delegating complex projects to AI coding agents. Ensures code fits the system before it's written.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
1,581
下载量
2
收藏
概述
安装方式
版本历史

delegation

# 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 ```[language] [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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 delegation-1776419996 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 delegation-1776419996 技能

通过命令行安装

skillhub install delegation-1776419996

下载 Zip 包

⬇ 下载 delegation v0.1.0

文件大小: 1.95 KB | 发布时间: 2026-4-17 19:15

v0.1.0 最新 2026-4-17 19:15
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部