Importation d'actifs externes

Importe des compétences, templates ou agents externes dans l'architecture plugin v0.2.

Spar Skills Guide Bot
DeveloppementIntermédiaire
0023/07/2026
Claude Code
#import#skill#template#agent#plugin

Recommandé pour


name: agentic-import description: "Import external reusable assets into this repository's v0.2 plugin architecture (skills, templates, agents)." project-agnostic: false allowed-tools:

  • Read
  • Write
  • Edit
  • Bash
  • Glob
  • Grep
  • Skill

Agentic Import

Import an external asset into this repository.

Arguments

  • asset_type: skill | template | agent
  • source_path: absolute path to source asset
  • target_name: optional destination name
  • options: optional flags (--plugin, --force, --dry-run)

Request: $ARGUMENTS

Execution

Delegate to shared logic via explicit skill invocation:

Skill(skill="agentic-share", args="import $ARGUMENTS")

Examples

# Import a skill into ac-tools
/agentic-import skill /path/to/project/.claude/skills/my-skill --plugin ac-tools

# Import template directory
/agentic-import template /path/to/project/templates/onboarding

# Import workflow agent file
/agentic-import agent /path/to/project/agents/spec-reviewer.md

# Preview without writing
/agentic-import skill /path/to/skill --plugin ac-git --dry-run

Pre-Flight Check

Before delegating, verify:

  1. Current directory is repository root (contains .claude-plugin/marketplace.json and plugins/).
  2. source_path exists.
  3. source_path is absolute.
  4. If asset_type=skill, a target plugin is provided or inferable.

If any check fails, stop with a clear error.

Skills similaires