delegation

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "delegation" with this command: npx skills add michaelmonetized/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

[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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Miaoji Asin Clinic Pro

亚马逊ASIN诊所Pro版,90天行动计划+竞品对标+季节性优化日历。 从合规度、广告度、评论度、视觉度、内容度五维升级为可执行的长期作战方案。 基础功能可使用 miaoji-asin-clinic 免费版。

Registry SourceRecently Updated
Coding

wechat-publish-pro

Pure Python tool to convert Markdown to styled HTML and publish articles to WeChat official account drafts with AI-based content refinement and theme support.

Registry SourceRecently Updated
Coding

Miaoji Asin Clinic

基于ASIN和品类,快速诊断亚马逊Listing五维健康指数并智能排序修复优先级,提供详细分析与个性化修复方案。

Registry SourceRecently Updated
Coding

Toonany

A Claude Code skill for creating AI-generated short dramas (漫剧) from novels and stories. Use when user mentions "漫剧创作", "小说转剧本", "分镜生成", "短剧制作", "故事线生成", "大纲...

Registry SourceRecently Updated