Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

artifact-integrator工件集成器

Agent Skill

artifact-integrator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,234

周安装

53

GitHub Stars

25

下载量

432
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:artifact-integrator(工件集成器)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/artifact-integrator
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill artifact-integrator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill artifact-integrator

简介

artifact-integrator 分析新创建或修改的工件,识别集成缺口并提出后续任务建议。

  • 它通过读取集成队列来检测未处理的条目,确保生态系统完整集成。
  • 支持直接分析特定工件或通过参数指定工件 ID 进行审查。
  • 使用前应确认是否有权访问 .claude/context/runtime/integration-queue.jsonl 文件。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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)

  1. 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?

  1. If warranted, queue for creation:

- Write entry to integration-queue.jsonl with changeType: "backward-propagation" - Set proposedArtifact field with type and suggested name - Set priority based on impact: - P1 (3-5 instances, security/critical patterns) - P2 (6+ instances, quality/consistency patterns) - Include validation evidence (file paths, LOC counts, pattern excerpts)

  1. Report back in integration analysis report:
## Backward Propagation Analysis

**Pattern**: <validated pattern description>
**Instances Found**: <actual count> (claimed: <original count>)
**Proposed Artifact**: <type>:<name>
**Justification**: <why centralization is beneficial>
**Priority**: P1 | P2
**Next Steps**: Queued for creator skill invocation

Example Queue Entry:

{
  "artifactId": "hook:jwt-validation",
  "changeType": "backward-propagation",
  "timestamp": "2026-02-08T10:30:00Z",
  "processed": false,
  "source": "code-reviewer",
  "pattern": "Manual JWT validation logic duplicated in 4 route handlers",
  "affectedFiles": [
    "routes/auth.ts",
    "routes/api.ts",
    "routes/admin.ts",
    "routes/user.ts"
  ],
  "validatedInstances": 4,
  "estimatedLOCReduction": 120,
  "priority": "P1",
  "proposedArtifact": {
    "type": "hook",
    "name": "jwt-validation",
    "rationale": "Centralize JWT validation for consistent security enforcement"
  }
}

Rejection Criteria:

  • Pattern found in < 3 files (insufficient duplication)
  • Pattern variations are too different (not truly duplicated)
  • Existing artifact already handles this pattern (orphaned/underutilized)
  • LOC reduction < 30 lines (insufficient benefit)

Integration with Creator Skills:

  • Validated backward propagation entries trigger creator skill invocation
  • Creator skills (skill-creator, hook-creator, template-creator, schema-creator) consume queue entries
  • After creation, artifact-integrator processes the newly created artifact for standard integrations

Step 4: Update Graph

After creating integration tasks:

  • Add edges for newly discovered relationships
  • Update node integrationStatus based on current state
  • Save the graph

Step 5: Mark Queue Entries Processed

For each processed entry, update the JSONL to mark processed: true

Step 6: Report

Output a summary:

## Integration Analysis Report

Processed: {count} artifacts
Tasks created: {count}
Must-have gaps: {count}
Should-have gaps: {count}

### Details
[artifact-by-artifact breakdown]

Arguments

  • artifactId (optional) — Analyze a specific artifact instead of queue
  • mode (optional) — 'queue' (default) | 'single' | 'health-check'

Integration Rules by Artifact Type

TypeMust-HaveShould-Have
SkillCatalog + agent assignmentHook, workflow ref
AgentRegistry + routing keywordsSkills, model config
Hooksettings.json registrationDocs entry
WorkflowRegistry + agent mappingDocs entry
TemplateCatalog entryConsumer ref
SchemaCatalog entryConsumer wiring

Example Usage

Skill({ skill: 'artifact-integrator' });
// Processes queue, creates tasks, updates graph

Skill({ skill: 'artifact-integrator', args: 'skill:rate-limiter' });
// Analyzes specific artifact

Implementation Reference

Core Libraries:

  • .claude/lib/workflow/integration-impact.cjs - Impact analysis and task generation
  • .claude/lib/workflow/artifact-graph.cjs - Graph CRUD operations

Data Sources:

  • .claude/context/runtime/integration-queue.jsonl - Queue of artifacts needing integration
  • .claude/context/data/artifact-graph.json - Artifact relationship graph

Integration Queue Format:

{"artifactId":"skill:rate-limiter","changeType":"created","timestamp":"2026-02-07T10:30:00Z","processed":false}
{"artifactId":"agent:security-architect","changeType":"updated","timestamp":"2026-02-07T10:35:00Z","processed":false}

Workflow Integration

This skill is invoked by:

  • Router Step 0.5 (automatic when queue entries exist)
  • Creator skills (after artifact creation)
  • Manual health checks

Auto-invoke pattern:

// Router Step 0.5 pseudocode
if (integrationQueueHasUnprocessedEntries()) {
  Task({
    task_id: 'task-1',
    subagent_type: 'developer',
    prompt: 'Invoke Skill({ skill: "artifact-integrator" })',
  });
}

Iron Laws

  1. ALWAYS check the integration queue before starting any new artifact creation — Step 0.5 is mandatory; unprocessed entries compound into orphan debt that accumulates silently.
  2. NEVER create more than 3 auto-spawned companion tasks per artifact — SEC-ICE-002 hard limit; exceeding it overwhelms the agent pipeline; queue remaining companions for manual review.
  3. ALWAYS validate backward-propagation claims against actual code — require >= 3 confirmed duplicate instances AND >= 30 LOC reduction before queuing; never queue unverified claims.
  4. ALWAYS mark queue entries as processed: true before reporting complete — unprocessed entries persist indefinitely and will be retried on every subsequent invocation.
  5. NEVER report integration gaps without updating the artifact graph — the graph is the system of record for artifact relationships; gap reports without graph updates are invisible to future runs.

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Skipping integration queue checkUnprocessed entries accumulate silentlyAlways read integration-queue.jsonl at Step 1
Creating >3 companion tasks per artifactTask explosion overwhelms the agent pipelineEnforce SEC-ICE-002: max 3 per artifact, 10 total
Queuing backward-propagation without code validationFalse positives create unnecessary artifactsVerify >= 3 instances AND >= 30 LOC reduction
Not marking queue entries processedEntries retry indefinitely on next invocationSet processed: true before reporting completion
Reporting gaps without updating artifact graphGraph becomes stale; future analysis uses wrong dataAlways update graph edges after gap analysis
Running integration on unverified artifact IDsInvalid IDs cause silent failuresVerify artifact file exists before analysis

Related Skills

  • research-synthesis - Research phase before artifact creation
  • agent-creator - Creates agents (triggers integration analysis)
  • skill-creator - Creates skills (triggers integration analysis)
  • hook-creator - Creates hooks (triggers integration analysis)
  • workflow-creator - Creates workflows (triggers integration analysis)

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New integration pattern → .claude/context/memory/learnings.md
  • Issue found → .claude/context/memory/issues.md
  • Decision made → .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.73%
按下载量换算150

Claude

29.67%
按下载量换算128

Cursor

20.49%
按下载量换算89

Gemini CLI

9.33%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills