with one click
artifact-integrator
Deep integration analysis for newly created artifacts
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Deep integration analysis for newly created artifacts
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | artifact-integrator |
| description | Deep integration analysis for newly created artifacts |
| version | 1.1.0 |
| category | workflow |
| agents | ["architect","planner","developer"] |
| tools | ["Read","Write","Edit","TaskCreate","TaskList","TaskUpdate","Bash"] |
| verified | true |
| lastVerifiedAt | "2026-02-22T00:00:00.000Z" |
| source | builtin |
| trust_score | 100 |
| provenance_sha | 6286c3c564ac5576 |
Analyze newly created or modified artifacts for integration gaps and propose follow-up tasks to ensure full ecosystem integration.
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.
For each unprocessed entry (or the directly specified artifact):
require('.claude/lib/workflow/artifact-graph.cjs')require('.claude/lib/workflow/integration-impact.cjs')analyzeImpact({ artifactId, changeType, graphPath })missingIntegrations and proposedTasksFor each artifact with missing integrations:
Must-Have (P1) — Create tasks immediately:
Should-Have (P2) — Create tasks with lower priority:
Nice-to-Have — Note but don't create tasks:
For each artifact analyzed, run companion matrix validation to identify missing ecosystem companions:
Analysis:
companion-check.cjs from .claude/lib/creators/companion-check.cjscheckCompanions(artifactType, artifactName) to get companion matrixTask Generation:
Safety Limits (SEC-ICE-002):
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:
ecosystem-impact-graph.jsoncompanion-check.cjs library invoked by creator skills at Step 0.5When processing backward propagation signals from code-reviewer or architect:
Detection:
changeType: "backward-propagation"BACKWARD_PROPAGATION sectionValidation:
Verify the pattern exists (check mentioned files/components)
Assess if a new artifact is warranted
If warranted, queue for creation:
integration-queue.jsonl with changeType: "backward-propagation"proposedArtifact field with type and suggested nameReport 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:
Integration with Creator Skills:
After creating integration tasks:
integrationStatus based on current stateFor each processed entry, update the JSONL to mark processed: true
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]
artifactId (optional) — Analyze a specific artifact instead of queuemode (optional) — 'queue' (default) | 'single' | 'health-check'| Type | Must-Have | Should-Have |
|---|---|---|
| Skill | Catalog + agent assignment | Hook, workflow ref |
| Agent | Registry + routing keywords | Skills, model config |
| Hook | settings.json registration | Docs entry |
| Workflow | Registry + agent mapping | Docs entry |
| Template | Catalog entry | Consumer ref |
| Schema | Catalog entry | Consumer wiring |
Skill({ skill: 'artifact-integrator' });
// Processes queue, creates tasks, updates graph
Skill({ skill: 'artifact-integrator', args: 'skill:rate-limiter' });
// Analyzes specific artifact
Core Libraries:
.claude/lib/workflow/integration-impact.cjs - Impact analysis and task generation.claude/lib/workflow/artifact-graph.cjs - Graph CRUD operationsData Sources:
.claude/context/runtime/integration-queue.jsonl - Queue of artifacts needing integration.claude/context/data/artifact-graph.json - Artifact relationship graphIntegration 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}
This skill is invoked by:
Auto-invoke pattern:
// Router Step 0.5 pseudocode
if (integrationQueueHasUnprocessedEntries()) {
Task({
task_id: 'task-1',
subagent_type: 'developer',
prompt: 'Invoke Skill({ skill: "artifact-integrator" })',
});
}
processed: true before reporting complete — unprocessed entries persist indefinitely and will be retried on every subsequent invocation.| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Skipping integration queue check | Unprocessed entries accumulate silently | Always read integration-queue.jsonl at Step 1 |
| Creating >3 companion tasks per artifact | Task explosion overwhelms the agent pipeline | Enforce SEC-ICE-002: max 3 per artifact, 10 total |
| Queuing backward-propagation without code validation | False positives create unnecessary artifacts | Verify >= 3 instances AND >= 30 LOC reduction |
| Not marking queue entries processed | Entries retry indefinitely on next invocation | Set processed: true before reporting completion |
| Reporting gaps without updating artifact graph | Graph becomes stale; future analysis uses wrong data | Always update graph edges after gap analysis |
| Running integration on unverified artifact IDs | Invalid IDs cause silent failures | Verify artifact file exists before analysis |
research-synthesis - Research phase before artifact creationagent-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)Before starting:
Read .claude/context/memory/learnings.md
After completing:
.claude/context/memory/learnings.md.claude/context/memory/issues.md.claude/context/memory/decisions.mdASSUME INTERRUPTION: If it's not in memory, it didn't happen.
Creates structured plans from requirements. Generates comprehensive plans with steps, dependencies, risks, and success criteria. Coordinates with specialist agents for planning input and validates plan completeness. Uses template-renderer for formatted output.
Create, validate, and convert skills for the agent ecosystem. Enforces standardized structure for consistency. Enables self-evolution by creating new skills on demand, converting MCP servers and codebases to skills.
Research-backed skill refresh workflow for updating existing skills with TDD checkpoints, memory-aware integration, and EVOLVE/reflection trigger handling.
Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.
N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.