Command Palette

Search for a command to run...

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

artifact-integrator

БесплатноЗапускает вложенные скриптыНе проверен

Deep integration analysis for newly created artifacts

oimiragieoот oimiragieo★ 48 звёзд на GitHub

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

Artifact Integrator

Purpose

Analyze newly created or modified artifacts for integration gaps and propose follow-up tasks to ensure full ecosystem integration.

When to Use

  • After any artifact creator skill completes
  • When Router Step 0.5 detects unprocessed integration queue entries
  • When manually checking integration health
  • When reviewing artifacts for completeness

Protocol

Step 1: Read Integration Queue

Read .claude/context/runtime/integration-queue.jsonl Filter for entries with "processed": false If no unprocessed entries, check if artifactId argument was provided for direct analysis.

Step 2: Analyze Each Artifact

For each unprocessed entry (or the directly specified artifact):

  1. Load the artifact graph: require('.claude/lib/workflow/artifact-graph.cjs')
  2. Load impact analyzer: require('.claude/lib/workflow/integration-impact.cjs')
  3. Call analyzeImpact({ artifactId, changeType, graphPath })
  4. Review the missingIntegrations and proposedTasks

Step 3: Generate Integration Plan

For each artifact with missing integrations:

Must-Have (P1) — Create tasks immediately:

  • Missing catalog entry → TaskCreate: "Add {name} to {catalog}"
  • Missing agent assignment → TaskCreate: "Assign {name} to relevant agent"
  • Missing routing entry → TaskCreate: "Update routing for {name}"
  • Missing hook registration → TaskCreate: "Register {name} in settings.json"

Should-Have (P2) — Create tasks with lower priority:

  • Missing documentation → TaskCreate: "Document {name} in {doc}"
  • Missing enforcement hook → TaskCreate: "Create enforcement for {name}"
  • Missing tests → TaskCreate: "Write tests for {name}"

Nice-to-Have — Note but don't create tasks:

  • Missing templates, optional docs

Step 3.1: Companion Matrix Analysis (Interwoven Creator Ecosystem)

For each artifact analyzed, run companion matrix validation to identify missing ecosystem companions:

Analysis:

  1. Use companion-check.cjs from .claude/lib/creators/companion-check.cjs
  2. Call checkCompanions(artifactType, artifactName) to get companion matrix
  3. Parse the companion checklist into categories:
    • Required companions (must-have for artifact completeness)
    • Recommended companions (should-have for best practices)
    • Optional companions (nice-to-have for full integration)

Task Generation:

  • For each missing required companion → Create P1 task: "Create {companion-type}:{companion-name} for {artifact-name}"
  • For each missing recommended companion → Create P2 task: "Consider creating {companion-type}:{companion-name} for {artifact-name}"
  • For missing optional companions → Note in report but don't create tasks

Safety Limits (SEC-ICE-002):

  • Max auto-spawned tasks per artifact: 3 (prevent cascade creation)
  • Max total companion tasks per integration run: 10 (prevent batch explosion)
  • If limits exceeded, queue remaining companions for manual review with warning in report

Example:

### Companion Matrix Analysis: skill:rate-limiter

**Required Companions (MISSING):**

- [ ] hook:rate-limit-validator (validates rate limit headers) — **TASK CREATED** (P1)
- [ ] schema:rate-limit-config (validates configuration) — **TASK CREATED** (P1)

**Recommended Companions (MISSING):**

- [ ] template:rate-limit-pattern (template for rate limiting implementations) — **TASK CREATED** (P2)

**Optional Companions (MISSING):**

- [ ] workflow:rate-limit-setup (onboarding workflow) — noted for future consideration

**Safety Check:**

- Auto-spawned tasks: 3 (within limit of 3 per artifact)
- Total companion tasks this run: 8 (within limit of 10)

Integration with Companion Check:

  • Companion matrix data sourced from ecosystem-impact-graph.json
  • Uses same companion-check.cjs library invoked by creator skills at Step 0.5
  • Ensures bidirectional consistency: creators check companions at creation, integrator validates companions post-creation

Step 3.5: Backward Propagation Processing (ADR-100 Phase 3.1-3.3)

When processing backward propagation signals from code-reviewer or architect:

Detection:

  • Queue entries with changeType: "backward-propagation"
  • Review findings containing BACKWARD_PROPAGATION section
  • Pattern reports indicating systemic duplication

Validation:

  1. Verify the pattern exists (check mentioned files/components)

    • Read each affected file to confirm pattern duplication
    • Count actual instances (not just claimed instances)
    • Validate pattern similarity (not just superficially similar)
  2. Assess if a new artifact is warranted

    • Threshold: >= 3 instances of identical or near-identical pattern
    • Impact: Would artifact reduce duplication by 50%+ LOC?
    • Maintenance: Would centralization improve maintainability?
  3. If warranted, queue for creation:

    • Write entry to integration-queue.jsonl with changeType: "backward-propagation"
    • Set proposedArtifact field
Полный SKILL.md на GitHub

Установить artifact-integrator в Claude Code и Claude Desktop

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

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

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

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

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

Read
Write
Edit
TaskCreate
TaskList
TaskUpdate
Bash

Вложенные файлы

commands/artifact-integrator.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/artifact-integrator.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

FAQ

Что делает скилл artifact-integrator?

Deep integration analysis for newly created artifacts

Как установить скилл artifact-integrator?

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

Скилл artifact-integrator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить artifact-integrator с