Agentic share

From WaterplanAI/agentic-config · View interactive version

Agentic share is an AI agent skill from the GitHub repository WaterplanAI/agentic-config. Shared core logic for importing/exporting reusable assets into the v0.2 plugin architecture. Internal helper for agentic-import and agentic-export.

How to use this skill

Skill file

Agentic Asset Share

Core logic for moving reusable assets between projects and this repository.

Arguments

Parsed from: $ARGUMENTS

Canonical Locations (v0.2)

| Type | Project Source | Repository Target |

|------|----------------|-------------------|

| skill | .claude/skills/<name>/ or explicit skill dir | plugins/<plugin>/skills/<name>/ |

| template | templates/<name>/ | templates/<name>/ |

| agent | explicit agent markdown path | plugins/ac-workflow/agents/<name>.md |

Notes:

Execution Flow

  1. Parse mode, type, source, target, options.
  2. Validate mode (import or export).
  3. Validate asset type (skill, template, agent).
  4. Validate repository root:
  1. Resolve source and destination paths by type.
  2. Read source content (single file or directory tree).
  3. Apply sanitization:
  1. Validate sanitized output:
  1. Write output (or preview with --dry-run).
  2. Report summary and next steps.

Safety Rules

Commit Guidance (Optional)

After successful import/export, offer a commit for only touched asset paths.

Conventional message pattern:

feat(assets): import <asset_type> '<asset_name>'

(or export accordingly)

Error Cases

| Error | Action |

|-------|--------|

| Invalid mode/type | Abort with valid choices |

| Repository root not detected | Abort and request running from repo root |

| Source missing | Abort and print source path |

| Sanitization blockers remain | Abort and print blocker lines |

| Target exists without force | Ask for overwrite confirmation |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.