본문으로 건너뛰기
cccskills
무료GitHub에 공개

external-pattern-integrator

Integrates patterns from external sources (URLs or local files) into local skills, agents, and plugins. Use when comparing external agent definitions against local equivalents, extracting best practices from frameworks like GSD or BMAD-METHOD, enhancing local skills with external workflow patterns, or adding interoperability with external tool ecosystems. Runs a 3-phase workflow — parallel candidate mapping, contextual enhancement, and validation — with source attribution and backlog tracking for deferred enhancements.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md8.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Invocation Input

Read the source references supplied by the active harness. Parse one or more URLs or readable local paths. If none are supplied, or an unsubstituted argument placeholder is supplied, ask for at least one source before creating scratch output, fetching, editing, or creating a durable backlog item.

Workflow Overview

Phase 1: Parallel Candidate Mapping
├── For each external source (concurrent):
│   ├── Fetch/read the external file
│   ├── Analyze its purpose and patterns
│   └── Scan local files for candidates (frontmatter only)
└── Output: Tracking document with source → candidates mapping

Phase 2: Contextual Enhancement (concurrent per source)
├── Understand local file's workflow context FIRST
├── Compare against external patterns
├── Identify enhancements that fit the workflow stage
├── Add external artifact recognition for interoperability
└── Edit files with coordinated changes

Phase 3: Validation
└── Run linting on all modified files

Phase 1: Parallel Candidate Mapping

Step 1.1: Create Scratch Tracking Document

Create a task-local tracking document at .tmp/scratch/analysis/external-pattern-integration-{date}.md. It is an intermediate analysis record, not a durable backlog item:

# External Pattern Integration

**Date**: {YYYY-MM-DD}
**Sources**: {list of URLs/files from arguments}
**Status**: IN_PROGRESS

## Source Analysis

### Source 1: {URL or path}

**Purpose**: {What this external agent/skill does}
**Key Patterns**:
- {Pattern 1}
- {Pattern 2}

**Local Candidates** (by frontmatter similarity):
| Local File | Similarity Reason | Priority |
|------------|-------------------|----------|
| {path} | {why it matches} | {High/Medium/Low} |

### Source 2: {URL or path}
...

Step 1.2: Fetch External Sources

For each supplied URL or local path:

If URL: Fetch through the available documentation or web-reading capability and save only transient extracts under .tmp/scratch/ when a file is needed. If local file: Read directly.

Step 1.3: Analyze External Source

For each external source, extract:

  1. Purpose: What problem does it solve?
  2. Key Patterns: What techniques does it use?
  3. Artifact Files: What files does it create/read? (for interoperability)
  4. Workflow Stage: Where in a development workflow does it fit?

Step 1.4: Scan Local Candidates

Scan these locations for candidates (frontmatter only, not full files):

plugins/*/skills/*/SKILL.md
plugins/*/agents/*.md
.claude/skills/*/SKILL.md
.claude/agents/*.md

Match by:

  • Similar purpose (from description field)
  • Similar workflow stage
  • Overlapping functionality

Priority Assignment:

  • High: Direct functional overlap (same workflow stage, similar purpose)
  • Medium: Adjacent functionality (related workflow stage)
  • Low: Tangential (shared patterns but different purpose)

Step 1.5: Deduplicate Candidates

If a local file appears as candidate for multiple external sources:

  1. Assign to the BEST match (highest similarity)
  2. Note secondary matches for cross-reference during enhancement

Phase 2: Contextual Enhancement

Run concurrently for each external source. For each candidate local file:

Step 2.1: Understand Workflow Context

BEFORE comparing, determine:

  1. Is this file part of a multi-file workflow?

    • Check for references to other skills/agents in the file
    • Check if other files reference this one
    • Look for phase indicators (discovery → planning → implementation → verification)
  2. What stage of the workflow is this file for?

    • Discovery/Research (gathering context)
    • Planning (creating specs, acceptance criteria)
    • Implementation (writing code)
    • Verification (testing, validation)
    • Orchestration (coordinating other agents)
  3. What are the upstream/downstream dependencies?

    • What artifacts does this file expect as input?
    • What artifacts does this file produce?

Step 2.2: Compare and Identify Enhancements

Read the full external source and full local file. Identify:

Enhancement TypeDescriptionFits Current Stage?
Missing patternExternal has X, local lacks itYes/No
Stronger guidanceExternal has better instructions for YYes/No
Better structureExternal organizes Z more clearlyYes/No
Artifact recognitionExternal creates files local should recognizeYes/No

Critical Rule: Only recommend enhancements that fit the file's workflow stage. If an enhancement belongs in a different stage, note which file should receive it instead.

Step 2.3: Add External Artifact Recognition

For interoperability, add a section to context-gathering skills:

## External Framework Artifacts

<external_artifacts>

When gathering context, also check for these artifacts from external frameworks:

**Get Shit Done (GSD)**:
- `STATE.md` - Current project state and progress
- `ROADMAP.md` - Feature roadmap and planning
- `codebase-map.md` - Generated codebase structure
- `research-*.md` - Research documents
- `plan-*.md` - Execution plans

**BMAD-METHOD**:
- `*.agent.yaml` - Agent definitions
- `workflows/*.md` - Workflow definitions
- `party-mode-session.md` - Multi-agent collaboration notes

If found, incorporate their context into discovery.

</external_artifacts>

Step 2.4: Coordinate Cross-File Changes

If enhancements affect multiple files in a workflow:

  1. List all affected files
  2. Determine the order of changes (upstream before downstream)
  3. Ensure consistency (same terminology, compatible artifacts)
  4. Make changes atomically (all or none)

Step 2.5: Apply Enhancements

Edit local files with:

  • Clear section markers for new content
  • Source attribution: SOURCE: Adapted from {external source URL/path}
  • Preserved existing functionality (additive changes preferred)

Phase 3: Validation

Step 3.1: Run Linting

uv run prek run --files {all modified files}

Fix any issues before proceeding.

Step 3.2: Finalize Scratch Tracking

Update the scratch tracking document with:

## Results

**Files Modified**:
| File | Enhancements Applied | Source |
|------|---------------------|--------|
| {path} | {what was added} | {external source} |

**Deferred Enhancements** (didn't fit current files):
| Enhancement | Reason Deferred | Suggested Location |
|-------------|-----------------|-------------------|
| {pattern} | {why} | {where it should go} |

**Status**: COMPLETE

Step 3.3: Record Deferred Work in the Configured Backend

If an enhancement is deferred, create or match one logical work item through the configured development-harness backlog backend. Do not create filesystem backlog files or another local state store. The work item description must include the source reference, the exact pattern, why it does not fit the current workflow stage, and the suggested destination. Link the resulting durable record identifier in the scratch tracking document.

Step 3.4: Commit Changes

Stage and commit with message:

feat(skills): integrate patterns from {source names}

Enhancements:
- {file1}: {what was added}
- {file2}: {what was added}

Sources:
- {URL1}
- {URL2}

Success Criteria

  • All external sources fetched and analyzed
  • Tracking document created with candidate mapping
  • Workflow context understood before making changes
  • Enhancements fit the file's workflow stage
  • Cross-file changes coordinated
  • External artifact recognition added for interoperability
  • All modified files pass linting
  • Deferred enhancements recorded as logical items in the configured backend, with their scratch tracking reference
  • Changes committed with source attribution

Example Usage

User: /external-pattern-integrator https://github.com/glittercowboy/get-shit-done/blob/main/agents/gsd-codebase-mapper.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add automated documentation updater to any Claude skill. Creates a Python sync script that downloads upstream docs, processes markdown for AI consumption, and maintains local cache with configurable refresh. Collects template variables, then delegates implementation through 5-phase workflow. Use when adding auto-updating reference documentation to plugins or skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

SAM-style feature initiation workflow — discovery through codebase analysis, architecture spec, task decomposition, validation, and context manifest. Use when a user asks to add a feature, plan a feature, or convert an idea into an executable SAM plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

Browser automation for AI agents using the agent-browser CLI and Playwright. Use when navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging into sites, or automating any browser task. Triggers on "open a website", "fill out a form", "click a button", "scrape data", "test this web app", "automate browser actions", or any programmatic web interaction request.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

Runs the description-drift experiment — spawns all Claude Code agents simultaneously to collect self-reported capabilities, then compares them against static frontmatter descriptions to reveal how reliable orchestrator routing based on descriptions actually is. Use when measuring description drift across the agent fleet, re-running the capability collection experiment, analyzing a specific agent's self-reported capabilities, or auditing whether frontmatter descriptions accurately reflect agent behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

Create or adapt Claude Code agent definitions. Use when creating an agent, changing subagent configuration, selecting agent scope, or designing a specialized delegation role.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Jamie-BitFlight/claude_skills672026년 10월 18일 업데이트

Jamie-BitFlight의 스킬 모두 보기

이 스킬의 문제 신고