Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-composition-protocol

БесплатноБез исполняемых скриптовНе проверен

The definitive guide to chaining, composing, and layering multiple skills together for complex multi-phase tasks. Use when a task requires more than 2-3…

onfire7777от onfire7777★ 17 звёзд на GitHub

Об этом скилле

Skill Composition Protocol

Purpose

Individual skills are functions. This skill teaches you to compose those functions into programs — multi-step workflows where the output of one skill becomes the input of the next, where skills run in parallel when independent, and where the whole pipeline produces results no single skill could achieve alone.


Composition Patterns

Pattern 1: Sequential Pipeline

Skills execute one after another, each building on the previous output.

Structure: Skill A → Output A → Skill B → Output B → Skill C → Final Output

When to use: When each skill needs the output of the previous one. Most common pattern.

Example — Building a Feature:

pm-problem-statement     → Clear problem definition
  ↓
pm-prd-development       → Requirements document
  ↓
architecture-patterns    → Technical design
  ↓
frontend-design          → UI/UX approach
  ↓
react-best-practices     → Implementation
  ↓
test-driven-development  → Tests + verified code
  ↓
code-review-excellence   → Reviewed, polished code

Rules for Sequential Pipelines:

  • Each skill's output must be concrete enough to serve as the next skill's input
  • If a skill's output is ambiguous, add a checkpoint to clarify before proceeding
  • Document what passes between each stage so the chain is traceable

Pattern 2: Parallel Fan-Out

Multiple skills execute simultaneously on the same input, then results are merged.

Structure:

                ┌→ Skill A → Output A ─┐
Input → Fork ──┼→ Skill B → Output B ──┼→ Merge → Combined Output
                └→ Skill C → Output C ─┘

When to use: When multiple independent analyses are needed on the same artifact.

Example — Security + Performance + Accessibility Review:

                        ┌→ owasp-security        → Security findings    ─┐
Completed feature → ────┼→ tlc-perf-lighthouse    → Performance findings ─┼→ Unified review report
                        ├→ accessibility-testing  → A11y findings        ─┤
                        └→ code-review-excellence → Code quality findings─┘

Rules for Parallel Fan-Out:

  • Only parallelize skills that are truly independent (no output dependencies)
  • Define a merge strategy before fanning out (union, intersection, priority-weighted)
  • Resolve conflicts between parallel outputs using the Priority Stack from master-skill-orchestrator

Pattern 3: Iterative Refinement Loop

A skill is applied repeatedly, with each iteration improving the output.

Structure:

Input → Skill A → Output → Evaluate → Good enough? 
                                ↓ No
                          Skill A (again, with feedback) → Output → Evaluate → ...

When to use: When quality emerges through iteration, not single-pass execution.

Example — Design Iteration:

Requirements → ui-ux-pro-max → Initial design
  ↓
ux-audit → Findings
  ↓
ui-ux-pro-max (with findings) → Improved design
  ↓
ux-audit → Fewer findings
  ↓
(repeat until audit passes)

Rules for Iterative Refinement:

  • Set a maximum iteration count (typically 3) to prevent infinite loops
  • Each iteration must address specific, named issues from the previous evaluation
  • If quality plateaus after 2 iterations, the problem is likely upstream — go back to an earlier pipeline stage

Pattern 4: Conditional Branching

Different skills activate based on the characteristics of the input or intermediate results.

Structure:

Input → Classify → If Type A → Skill A → Output
                   If Type B → Skill B → Output
                   If Type C → Skill C → Output

When to use: When the right approach depends on what you discover during analysis.

Example — Bug Triage:

Bug report → systematic-debugging → Classify bug type
  ↓
  ├─ If race condition    → simota-specter → Fix
  ├─ If regression        → simota-rewind → Find introducing commit → Fix
  ├─ If performance       → simota-bolt → Profile → Optimize
  ├─ If security vuln     → owasp-security → Assess severity → Patch
  └─ If unknown root cause → simota-scout → Deep investigation → Fix

Rules for Conditional Branching:

  • Classification must be explicit and documented
  • Always have a default/fallback branch for unexpected cases
  • Re-evaluate the classification if the chosen branch doesn't produce results

Pattern 5: Wrapper/Decorator

One skill wraps around another, adding a cross-cutting concern without changing the core skill's behavior.

Structure:

meta-thinking-engine ─────────────────────────────────────┐
│                                                          │
│  Input → Core Skill → Output                            │
│                                                          │
│  (metacognition monitors reasoning quality throughout)   │
└──────────────────────────────────────────────────────────┘

When to use: When a concern (security, quality, metacognition) should be active throughout, not just at on

Полный SKILL.md на GitHub

Установить skill-composition-protocol в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл skill-composition-protocol?

The definitive guide to chaining, composing, and layering multiple skills together for complex multi-phase tasks. Use when a task requires more than 2-3 skills, when you need to determine the optimal sequence of skill application, when skills need to pass outputs to each other, or when you need to build a custom workflow from existing skills. This is the "programming language" for skill orchestration — it turns individual skills into composable pipelines.

Как установить скилл skill-composition-protocol?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-composition-protocol запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить skill-composition-protocol с