Copy skill

From jpoutrin/product-forge · View interactive version

Copy skill is an AI agent skill from the GitHub repository jpoutrin/product-forge. Copy a skill from Product Forge to user or project level

How to use this skill

Skill file

Copy Skill

Copy a skill from Product Forge plugins to your user-level (~/.claude/) or project-level (.claude/) directory.

Usage

# List available skills
/copy-skill

# Copy to project (default)
/copy-skill product-design:python-style

# Copy to user level
/copy-skill product-design:python-style --user

# Explicit project level
/copy-skill git-workflow:commit-patterns --project

Arguments

What Gets Copied

Skills are copied as entire directories, including:

Example: parallel-agents skill contains both SKILL.md and agent-skills-mapping.yaml.

Directory Structure

# Project-level (default)
.claude/
└── product-design/
    └── skills/
        └── python-style/
            └── SKILL.md

# User-level (--user)
~/.claude/
└── product-design/
    └── skills/
        └── python-style/
            └── SKILL.md

Execution Instructions

When the user runs this command:

No Arguments - List Available Skills

  1. Scan Product Forge plugins cache for all available skills:

```bash

ls ~/.claude/plugins/cache/product-forge-marketplace/*/skills/ 2>/dev/null

```

  1. For each plugin with skills, list them with descriptions:
  1. Display formatted list:

```

Available skills from Product Forge:

product-design:

python-style - Python coding style and PEP standards

prd-management - Automatic PRD lifecycle management

parallel-agents - Multi-agent orchestration patterns

...

git-workflow:

commit-patterns - Git commit best practices

...

Usage: /copy-skill <plugin>:<skill-name> [--user | --project]

```

With Arguments - Copy Skill

  1. Parse arguments:
  1. Locate source skill:

```bash

SOURCE=~/.claude/plugins/cache/product-forge-marketplace/{plugin}/skills/{skill-name}

```

  1. Determine destination path:
  1. Check if destination exists:

```

Skill '{skill-name}' already exists at {destination}.

Options:

```

  1. Create destination directory structure:

```bash

mkdir -p {destination}

```

  1. Copy entire skill directory recursively:

```bash

cp -r {source}/* {destination}/

```

  1. Confirm success:

```

Skill copied successfully!

Source: ~/.claude/plugins/cache/product-forge-marketplace/{plugin}/skills/{skill-name}/

Destination: {destination}

Files copied:

The skill is now available in your {project|user} configuration.

```

Error Handling

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.