artifact-integrator
БесплатноЗапускает вложенные скриптыНе проверенDeep integration analysis for newly created artifacts
от 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):
- Load the artifact graph:
require('.claude/lib/workflow/artifact-graph.cjs') - Load impact analyzer:
require('.claude/lib/workflow/integration-impact.cjs') - Call
analyzeImpact({ artifactId, changeType, graphPath }) - Review the
missingIntegrationsandproposedTasks
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:
- Use
companion-check.cjsfrom.claude/lib/creators/companion-check.cjs - Call
checkCompanions(artifactType, artifactName)to get companion matrix - 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.cjslibrary 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_PROPAGATIONsection - Pattern reports indicating systemic duplication
Validation:
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)
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?
If warranted, queue for creation:
- Write entry to
integration-queue.jsonlwithchangeType: "backward-propagation" - Set
proposedArtifactfield
- Write entry to
Установить artifact-integrator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditTaskCreateTaskListTaskUpdateBashВложенные файлы
FAQ
Что делает скилл artifact-integrator?
Deep integration analysis for newly created artifacts
Как установить скилл artifact-integrator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл artifact-integrator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic